summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2009-09-04s3-ntlm_auth: fix two segfaults in diagnostics mode.Günther Deschner1-2/+2
Guenther
2009-09-03Hopefully last part of the fix for bug 6651 - smbd SIGSEGV when breaking ↵Jeremy Allison1-2/+2
oplocks. This one is subtle. There is a race condition where a signal can be queued for oplock break, and then the file can be closed by the client before the signal can be processed. Currently if this occurs we panic (we can't match an incoming signal fd with a fsp pointer). Simply log the error (at debug level 10 right now, might be too much) and then return without processing the break request. It looks like there is another race condition with this fix, but here's why it won't happen. If the signal was pending (caused by a kernel oplock break from a local file open), and the client closed the file and then re-opened another file which happened to use the same file descriptor as the file just closed, then theoretically the oplock break requests could be processed on the wrong fd. Here's why this should be very rare.. Processing a pending signal always take precedence over an incoming network request, so as long as the client close request is non-chained then the break signal should always be harmlessly processed *before* the open can be called. If the open is chained onto the close, and the fd on the new open is the same as the old closed fd, then it's possible this race will occur. However, all that will happen is that we'll lose the oplock on this file. A shame, but not a fatal event. Jeremy.
2009-09-03s3:libsmb: Attempt to fix bug 6665Volker Lendecke1-0/+6
Before the async libsmb rewrites, we sent tid==0 on negprot. With the rewrite, we send 0xffff. This *should* not matter, but this is one difference in the sniffs I see.
2009-09-02s3-net: allow to exit "net rpc sh" with "q" as well.Günther Deschner1-1/+3
Guenther
2009-09-02s3-netlogon: use WERRORs in NETLOGON_INFO structures.Günther Deschner1-60/+20
Guenther
2009-09-02Do not redefine struprMatt Kraai2-0/+3
Signed-off-by: Günther Deschner <gd@samba.org>
2009-09-02s3-pdb_ldap: Fix bug #4296: Clean up group membership while deleting a user.Günther Deschner1-0/+46
Note that this only is tried with editposix=yes. Guenther
2009-09-02s3-netlogon: implement _netr_ServerPasswordSet2.Günther Deschner1-11/+55
Guenther
2009-09-02s3-netlogon: rework _netr_ServerPasswordSet.Günther Deschner1-62/+123
Guenther
2009-09-02s3-netlogon: implement _netr_LogonSamLogonWithFlags().Günther Deschner1-18/+40
Guenther
2009-09-02s3-smbpasswd: Fix Bug #6584: allow DOM\user when changing passwords remotely.Simo Sorce1-3/+16
Signed-off-by: Günther Deschner <gd@samba.org>
2009-08-30s3: Fix libtalloc so versionSimo Sorce1-1/+1
2009-08-30s3:winbind: Fix bug 5626Volker Lendecke3-29/+23
Apparently the AIX compiler can't deal with sizeless array declarations
2009-08-30w3:winbind: Convert WINBINDD_ALLOCATE_GID to the new APIVolker Lendecke16-40/+474
2009-08-30w3:winbind: Convert WINBINDD_ALLOCATE_UID to the new APIVolker Lendecke16-40/+488
2009-08-29s3:winbind: Convert WINBINDD_LIST_GROUPS to the new APIVolker Lendecke8-317/+215
2009-08-29s3:winbind: Convert WINBINDD_LIST_USERS to the new APIVolker Lendecke5-7/+214
2009-08-29s3:nsstest: Fix a very confusing behaviour in nsstestVolker Lendecke1-2/+2
Testing getgrent I thought I get the offset calculations wrong whereas it was only nsstest printing stuff with spaces...
2009-08-29s3:winbind: add a fake NDR winbind cache validatorVolker Lendecke1-0/+11
2009-08-29s3:winbind: Convert the getgrent functions to the new APIVolker Lendecke7-1038/+335
2009-08-29s3:winbind: Add a comment about fill_grent_mem_domusers...Volker Lendecke1-0/+4
2009-08-29s3:winbind: Add some missing error checksVolker Lendecke2-0/+6
2009-08-29s3:winbind: Fix a typoVolker Lendecke1-1/+1
2009-08-29s3:winbind: Add async wb_next_grentVolker Lendecke4-0/+194
2009-08-29s3:winbind: Add async QueryGroupListVolker Lendecke9-4/+391
2009-08-29w3:winbind: Convert WINBINDD_LOOKUPRIDS to the new APIVolker Lendecke16-100/+623
2009-08-29s3:winbind: Convert the GETDCNAME routines to the new APIVolker Lendecke5-22/+98
2009-08-29s3:winbind: Add async wb_dsgetdcnameVolker Lendecke3-0/+125
2009-08-29s3:winbind: Convert winbindd_dsgetdcname to the new APIVolker Lendecke5-117/+208
2009-08-29s3:winbind: Add an async dsgetdcname callVolker Lendecke9-3/+565
2009-08-29s3:winbind: Convert the GETPWENT routines to the new APIVolker Lendecke8-385/+281
2009-08-29s3:winbind: Add async next_pwentVolker Lendecke4-0/+164
2009-08-29s3:winbind: Add async fill_pwentVolker Lendecke3-0/+163
2009-08-29s3:winbind: Add async query_user_listVolker Lendecke12-5/+547
2009-08-29s3:winbind: simplify wb_seqnums_done a bitVolker Lendecke1-15/+24
2009-08-29s3:winbind: Make wb_seqnums.c update the winbind cache seqnumsVolker Lendecke1-1/+12
2009-08-29s3:winbind: Fix a bug found by RPC-SAMRVolker Lendecke8-47/+59
We need to enumerate passdb alias members Thanks to gd for bugging me :-)
2009-08-29s3:winbind: Fix a typoVolker Lendecke1-1/+1
2009-08-29s3:winbind: Rename wbint_GroupMembers to wbint_PrincipalsVolker Lendecke9-62/+62
2009-08-29s3:winbind: Rename wbint_GroupMember to wbint_PrincipalVolker Lendecke7-45/+44
2009-08-28s3: Add catia to the list of modules compiled by defaultAravind Srinivasan1-1/+1
Signed-off-by: Tim Prouty <tprouty@samba.org>
2009-08-28s3: Major revamp for catia vfs moduleAravind Srinivasan1-145/+837
This patch builds out catia to allow fully configurable mappings, including mappings from single byte to multi-byte characters. Additionally, a much more complete list of vfs operations are now covered. Signed-off-by: Tim Prouty <tprouty@samba.org>
2009-08-28s3: Add a new VFS op called SMB_VFS_TRANSLATE_NAMEAravind Srinivasan11-26/+138
This vop is designed to work in tandem with SMB_VFS_READDIR to allow vfs modules to make modifications to arbitrary filenames before they're consumed by callers. Subsequently the core directory enumeration code in smbd is now changed to free the memory that may be allocated in a module. This vop enables the new version of catia in the following patch. Signed-off-by: Tim Prouty <tprouty@samba.org>
2009-08-28s3-ldb: update dlinklist.h to match main copy (lib/util/dlinklist.h)Michael Adam1-6/+9
This also removes build warnings of redefined macros since it uses the embracing "#ifndef _DLINKLIST_H ... #endif". Michael
2009-08-28s3-ntlmssp: use generated ntlmssp code for debugging purpose.Günther Deschner2-1/+75
Guenther
2009-08-28s3-ntlmssp: add NDR helper routines for ntlmssp.Günther Deschner2-0/+189
Guenther
2009-08-28s3-ntlmssp: use interface constants in TargetInfo blob.Günther Deschner1-5/+5
Guenther
2009-08-28s3-ntlmssp: use NTLMSSP headers from IDL and remove duplicate constants.Günther Deschner4-48/+15
Guenther
2009-08-27s3:smbd: teach filename_convert() about fake files (2nd fix for bug #6642)Stefan Metzmacher1-0/+11
metze
2009-08-27s3:smbd: add is_fake_file_path() that takes only the raw path as stringStefan Metzmacher2-14/+23
metze