summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2011-03-18s3:locking: simplify the non cluster case of brl_get_locks_readonly()Stefan Metzmacher1-21/+2
Pair-Programmed-With: Michael Adam <obnox@samba.org> metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Mar 18 13:00:51 CET 2011 on sn-devel-104
2011-03-18s3:locking: brl_get_locks_internal() should not expose a write lock if the ↵Stefan Metzmacher1-7/+24
caller wants read_only This triggered deadlocks in the cluster case of brl_get_locks_readonly(). Pair-Programmed-With: Michael Adam <obnox@samba.org> metze
2011-03-18s4-smbtorture: add netsessiongetinfo() test.Günther Deschner1-0/+1
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Mar 18 02:11:38 CET 2011 on sn-devel-104
2011-03-18s4-smbtorture: add test for rap_NetUserDelete().Günther Deschner1-0/+1
Guenther
2011-03-18s3-net: make sure we set correct default user flags in rap_user_add().Günther Deschner1-1/+1
Guenther
2011-03-18s4-smbtorture: add test for rap_NetUserAdd().Günther Deschner1-0/+1
Guenther
2011-03-18s3-utils: run minimal_includes.pl over utils/*.cGünther Deschner3-4/+0
Guenther
2011-03-18The searches struct is still being used and idled in SMB2 - move it to the ↵Jeremy Allison2-31/+33
global section until we decide if we want to idle SMB2 directory handles. Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Mar 18 01:13:53 CET 2011 on sn-devel-104
2011-03-17Fix crash bug on smbd shutdown when using FOPENDIR() found by Volker.Jeremy Allison1-1/+13
The key was allowing the dptr_idle code to be triggered. We were closing the dirp->dir handle without updating the underlying fd in the open fsp. Jeremy.
2011-03-17s3: Expose num_opens via api_RNetSessionEnumVolker Lendecke1-1/+1
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Mar 17 22:05:10 CET 2011 on sn-devel-104
2011-03-17Nulling out the op_mid is never the right thing to do. We depend onJeremy Allison1-1/+0
this value when searching for specific share mode entries. Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Mar 17 19:59:51 CET 2011 on sn-devel-104
2011-03-17Fix compiler warning in debug message.Jeremy Allison1-1/+1
2011-03-17s3:Makefile.in: make sure we rebuild bin/smbtorture4 if there where changesStefan Metzmacher1-0/+2
and bin/ndrdump4... metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Mar 17 16:31:45 CET 2011 on sn-devel-104
2011-03-17lib-util: put data_blob back in the public librarySimo Sorce1-1/+1
data_blob is defined ina public header, so it needs to be exposed in the public library. Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Thu Mar 17 15:39:08 CET 2011 on sn-devel-104
2011-03-17s3-waf: add --with-pam_smbpass configure option.Günther Deschner1-0/+1
We build pam_smbpass independent from this configure option though. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Mar 17 14:52:33 CET 2011 on sn-devel-104
2011-03-17s3-waf: move HAVE_LDAP_SASL_WRAPPING define to the HAVE_LDAP block.Günther Deschner1-5/+5
Guenther
2011-03-17s3:net Find uid before using itSumit Bose1-7/+7
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-17s3-username: rename static getpwnam_alloc to getpwnam_alloc_cached.Günther Deschner1-5/+5
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Mar 17 00:32:40 CET 2011 on sn-devel-104
2011-03-16s3-build: only include asn1 headers where actually needed.Günther Deschner11-1/+13
Guenther
2011-03-16s3: Fix Coverity ID 2231, REVERSE_INULLVolker Lendecke1-2/+3
No point in checking for !ctx after dereferencing it Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Mar 16 22:51:52 CET 2011 on sn-devel-104
2011-03-16s3: Fix Coverity ID 2232, REVERSE_INULLVolker Lendecke1-2/+4
No point checking for !cli after dereferencing it
2011-03-16s3: Fix Coverity ID 2233, REVERSE_INULLVolker Lendecke1-1/+1
We have dereferenced h already in dcerpc_lsa_open_policy2 in line 425
2011-03-16s3: Fix Coverity ID 2234: REVERSE_INULLVolker Lendecke1-2/+2
We have dereferenced "b" already in dcerpc_samr_Connect2 in line 521
2011-03-16s3: Fix Coverity ID 2140, DEADCODEVolker Lendecke1-1/+1
This routine was never executed after f0dcc90f because "netname" was always NULL. Jeremy, please check!
2011-03-16s3: Fix Coverity ID 2144, DEADCODEVolker Lendecke1-1/+1
We could never have assigned the real value in line 481. Andreas, please check!
2011-03-16s3: Fix Coverity ID 2147, FORWARD_NULLVolker Lendecke1-1/+1
How could this ever have worked???
2011-03-16s3: Fix Coverity ID 1402: PASS_BY_VALUEVolker Lendecke1-11/+11
There's no point in passing GROUP_MAP on the stack Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Mar 16 21:58:08 CET 2011 on sn-devel-104
2011-03-16s3: Fix Coverity ID 2213, PASS_BY_VALUEVolker Lendecke1-6/+6
There's little point to pass a copy of this structure on the stack. Günther, please check!
2011-03-16s3: Fix Coverity ID 1012, CHECKED_RETURNVolker Lendecke1-6/+5
This is probably more or less taste. Removing the necessity for a comment is a good thing though IMO.
2011-03-16s3: Fix Coverity ID 1013, CHECKED_RETURNVolker Lendecke1-6/+5
This is probably more or less taste. Removing the necessity for a comment is a good thing though IMO.
2011-03-16s3: Fix Coverity ID 1017, CHECKED_RETURNVolker Lendecke1-1/+3
Günther, please check!
2011-03-16s3: Fix Coverity ID 1018, CHECKED_RETURNVolker Lendecke1-3/+5
2011-03-16s3: Fix Coverity ID 1034, CHECKED_RETURNVolker Lendecke1-3/+1
In all other places we check the result of secrets_init.
2011-03-16s3: Fix Coverity ID 2100, BAD_SIZEOFVolker Lendecke1-1/+1
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Mar 16 18:52:18 CET 2011 on sn-devel-104
2011-03-16s3: Fix Coverity ID 2317: Uninitialized readVolker Lendecke1-1/+1
We passed the structure including the uninitialized elements to dcerpc_winreg_SetValue.
2011-03-16s3: Fix Coverity ID 2318: Uninitialized readVolker Lendecke1-1/+1
We passed the structure including the uninitialized elements to dcerpc_winreg_SetValue.
2011-03-16s3: Fix Coverity ID 2319: Uninitialized readVolker Lendecke1-1/+1
We passed the structure including the uninitialized elements to dcerpc_winreg_SetValue.
2011-03-16s3-packet: only include packet.h where needed.Günther Deschner3-1/+2
Guenther
2011-03-16s3-interfaces: only include interfaces.h where needed.Günther Deschner5-1/+4
Guenther
2011-03-16s3-msdfs: avoid global inclusion of msdfs.h.Günther Deschner5-1/+5
Guenther
2011-03-16s3-printing: fix memory leak in print_cups.cDavid Disseldorp1-16/+9
As found by valgrind, tmp_pcap_cache is not freed following printer list tdb update. Signed-off-by: Andreas Schneider <asn@samba.org> Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Wed Mar 16 16:37:58 CET 2011 on sn-devel-104
2011-03-16s3-printing: remove duplicate cups response processing codeDavid Disseldorp1-147/+94
There is currently a lot of duplicate code included for processing responses to CUPS_GET_PRINTERS and CUPS_GET_CLASSES requests. This change splits this code into a separate function. Signed-off-by: Andreas Schneider <asn@samba.org>
2011-03-16s3-printing: use printcap IDL for IPCDavid Disseldorp3-132/+109
Use printcap IDL for marshalling and unmarshalling messages between cups child and parent smbd processes. This simplifies the IPC and ensures the parent is notified of cups errors encountered by the child. https://bugzilla.samba.org/show_bug.cgi?id=7994 Signed-off-by: Andreas Schneider <asn@samba.org>
2011-03-16s3-build: stop including ldap and lber headers everywhere in the code.Günther Deschner8-51/+67
Instead use new header smb_ldap.h where all LDAP API related things are handled, while smbldap.h only deals with our smbldap_X() API. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Mar 16 10:54:51 CET 2011 on sn-devel-104
2011-03-16s3-includes: avoid global include of gssapi headers.Günther Deschner3-12/+20
Guenther
2011-03-16s3-libsmb: move smb encryption structs into own header.Günther Deschner7-28/+67
Guenther
2011-03-16libcli/security: move display_sec headers to own header file and add toGünther Deschner5-10/+4
security.h grouping header. Guenther
2011-03-16s3: Fix a cut&paste error in pdb_ads_connectVolker Lendecke1-1/+1
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Mar 16 08:22:28 CET 2011 on sn-devel-104
2011-03-16s3: Use jenkins hash for str_checksum, fix bug 8010Volker Lendecke1-11/+2
From the bugreport: I have a folder with ~90 photos: IMG_XXXX.JPG where XXXX is a four digit number, almost consecutive (photos from camera for one day). Current implementation gives about 30 different checksums for this set of files. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Mar 16 01:15:41 CET 2011 on sn-devel-104
2011-03-15s3-build: try to silence annoying "Ignoring invalid value 'vlp' for ↵Günther Deschner2-5/+6
parameter 'printing'" warning on the buildfarm. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Mar 15 23:38:43 CET 2011 on sn-devel-104