| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |
| | |
| | |
| | | |
Jeremy.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
and includes.h.
Added "restrict acl with mask" parameter - defaults to false.
Fixedup builds of smbtorture and masktest.
Jeremy.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
the pam password change code to ensure that existing and working password
chat scripts don't break with 2.2.1. PAM password changing has to be explicitly
requested.
Allowed wildcards in pam password change matching (matches password chat
script matching). Had to add const (sorry Tim :-) to ms_fnmatch() to
stop warnings. Don't worry - the const changes are isolated and don't
cause any other warnings :-).
Jeremy.
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
with talloc.
Jeremy.
|
| | |
| | |
| | |
| | |
| | |
| | | |
Nigel Williams who did NIS/GINA !) to implement add/modify/delete shares
for Win2k. Needs testing as I made a few mods to the original code.
Jeremy.
|
| | |
| | |
| | |
| | | |
Jeremy.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
remove global static PAM variables, and to tidy up the PAM internals code.
Now looks like the rest of Samba.
Still needs testing.
Jeremy.
|
| | |
| | |
| | |
| | |
| | | |
I'll summarize the work on samba-technical in a separate mail.
Still a few memory leaks. I'm working on 'em.
|
| | |
| | |
| | |
| | |
| | |
| | | |
by moving to talloc() for cli_spoolss_XX(). Previously, the prs_struct's
where using the TALLOC_CTX from the cli_state struct which lasted
for the entire rpcclient session. Not good for long term connections.
|
| | |
| | |
| | |
| | | |
Jeremy.
|
| | |
| | |
| | |
| | | |
Jeremy.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Only set this to "on" if you know you have your PAM set up correctly.....
NB. Doesn't apply to plaintext password authentication, which must use
pam when compiled in.
Jeremy.
|
| | |
| | |
| | |
| | |
| | | |
Fixed off by one bug using StrnCpy instead of strdup().
Jeremy.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
horrid utmp hostname parameter - now uses the client name instead.
Also tidies up some of the unencrypted password checking when PAM
is compiled in.
FIXME ! An pam_accountcheck() is being called even when smb encrypted
passwords are negotiated. Is this the correct thing to do when winbindd
is running ! This needs *SEVERE* testing....
Jeremy.
|
| | | |
|
| | |
| | |
| | |
| | | |
Jeremy.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- move all utmp code into smbd/utmp.c
- created smbd/session.c for generic session handling (utmp and pam
currently)
- don't link with -lcrypt when using pam
- made "utmp" parameter global not per share
- hook session handling in session setup not tcon
- removed sily "unix realname" option
- cleaned up connection.c
- if session fails (eg. pam failure) user is now refused access
- made sure sesison cleanup happens on server exit
|
| | |
| | |
| | |
| | | |
- added a SMBctemp test in smbtorture
|
| | | |
|
|\| |
| | |
| | | |
'SAMBA_2_2_RELEASE'.
|
| | |
| | |
| | |
| | |
| | | |
version now 2.2.0.
Jeremy.
|
|/ /
| |
| | |
'SAMBA_2_2_RELEASE'.
|
| |
| |
| |
| |
| | |
Now we're missing only HP to get the complete set :-).
Jeremy.
|
| | |
|
| |
| |
| |
| |
| |
| | |
a bit to use AC_TRY_LINK to ensure functions are available for link
instead of AC_TRY_COMPILE.
Jeremy.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
configure.in:
include/config.h.in:
include/profile.h:
smbd/vfs-wrap.c:
smbd/vfs.c:
Added fchmod and fchown to VFS (sorry Gerald - but we needed them anyway).
smbd/dosmode.c:
smbd/files.c:
printing/printfsp.c:
smbd/close.c:
smbd/open.c:
Fixed "dos filemode" correctly so there are no race conditions. Forces test
of open of file O_WRONLY before allowing fchmod as root. Afterwards, calls
standard close function that preserves POSIX locks due to POSIX-me-harder
braindamage. :-). Andrew please review this code.
Jeremy.
|
| |
| |
| |
| |
| |
| | |
return a malloced area so added sys_acl_free_qualifier() calls to all supported
ACL interfaces to code with this (only Linux needs actual free call).
Jeremy.
|
| |
| |
| |
| |
| |
| | |
Fixed BOOL return in smbrun (should be int).
Fixed detection of IPC$ to add ADMIN$ share also.
Jeremy.
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
- fixed some uninitialised variable warnings
- removed smbrun utility (never used)
- removed some incorrect varargs usage
- removed smbrun smb.conf option
|
| | |
|
| |
| |
| |
| |
| | |
be read.
Jeremy.
|
| |
| |
| |
| |
| |
| |
| | |
exist for printer. Rather than using pid for suffix, use a 16 byte random
string. Created generate_random_str() function in genrand.c. Still needs
more testing but this is the way to go.
Jeremy.
|
| |
| |
| |
| |
| |
| |
| |
| | |
Thanks
to Andrew for all this code. Fixed extra line in lib/sysacls.c that broke
XFS ACL code.
Jeremy.
|
| |
| |
| |
| | |
Jeremy.
|
| |
| |
| |
| | |
Jeremy.
|
| |
| |
| |
| | |
Jeremy.
|
| | |
|
| |
| |
| |
| | |
Jeremy.
|
| |
| |
| |
| | |
Jeremy.
|
| |
| |
| |
| | |
Jeremy.
|
| |
| |
| |
| |
| |
| | |
delete share command". Implemented "delete" - more work to come on add and
change.
Jeremy.
|
| |
| |
| |
| |
| | |
internals to support server manager.
Jeremy
|
| |
| |
| |
| |
| |
| |
| |
| | |
function (same for NET_SHARE_DELETE and NET_SHARE_SET) we will be able to manage
the shares section in smb.conf via NT server manager........
This should enhance the friendliness of Samba in NT-only shops by an order of
magnitude.
Jeremy.
|
| |
| |
| |
| |
| | |
in the path though.... I'm looking into it.
Jeremy.
|
| |
| |
| |
| | |
Jeremy.
|
| |
| |
| |
| |
| |
| |
| |
| | |
I worked out and added the per-share get/set RPCs for security descriptors.
Currently this code returns Everyone, full access on get and permission denied
on set, but backending this with a tdb and checking it on tconX (to give full NT
semantics for security on shares) is now an excersise for the reader... :-).
Jeremy.
|
| |
| |
| |
| | |
Jeremy.
|
| |
| |
| |
| |
| |
| | |
new printing functionality please test this. I've tested it here and it seems
fine, but more testing is always welcome.
Jeremy.
|