summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix typos in LDAP schema filesSumit Bose2011-05-175-6/+6
| | | | | | | | | Reported by: John Danks <john.danks@gmail.com> Signed-off-by: Günther Deschner <gd@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue May 17 11:56:08 CEST 2011 on sn-devel-104
* talloc: splitout _talloc_free_children_internal()Stefan Metzmacher2011-05-171-50/+27
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue May 17 10:49:13 CEST 2011 on sn-devel-104
* talloc: fixed a use after free error in talloc_free_children()Stefan Metzmacher2011-05-171-1/+16
| | | | | | This is similar to commit 6f51a1f45bf4de062cce7a562477e8140630a53d. metze
* talloc: use _talloc_free_internal() in talloc_free_children()Stefan Metzmacher2011-05-171-1/+1
| | | | metze
* talloc: test talloc_steal out of a talloc_poolStefan Metzmacher2011-05-171-0/+69
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue May 17 09:43:01 CEST 2011 on sn-devel-104
* talloc: add memset() calls to test_pool()Stefan Metzmacher2011-05-171-0/+17
| | | | | | This way we the pool based valgrind code. metze
* talloc: setup the new 'tc' before TC_UNDEFINE_GROW_CHUNK() _talloc_realloc()Stefan Metzmacher2011-05-171-0/+1
| | | | metze
* talloc: make really sure only optimize realloc if there's only one pool chunkStefan Metzmacher2011-05-171-1/+6
| | | | | | | *talloc_pool_objectcount(pool_tc) == 2 doesn't mean the one of the objects is the pool itself! So we better check for == 1 and calculate the chunk count. metze
* talloc: make use of _talloc_free_poolmem() in _talloc_realloc()Stefan Metzmacher2011-05-171-15/+1
| | | | | | This should follow the same logic... metze
* talloc: split the handling of FLAG_POOL/FLAG_POOLMEM in _talloc_free_internalStefan Metzmacher2011-05-171-32/+66
| | | | | | | | | | | | | | | The optimization of the object_count == 1 case should only happen for when we're not destroying the pool itself. And it should only happen if the pool itself is still valid. If the pool isn't valid (it has TALLOC_FLAG_FREE), object_count == 1 does not mean that the pool is the last object, which can happen if you use talloc_steal/move() on memory from the pool and then free the pool itself. Thanks to Volker for noticing this! metze
* s4-dfs: Use a workaround for ndr relative pointer bug/limitationMatthieu Patou2011-05-171-11/+8
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Tue May 17 01:33:27 CEST 2011 on sn-devel-104
* s4-torture: Add more tests to DFS referral suiteMatthieu Patou2011-05-171-4/+30
|
* torture: adapt to idl evolutionroot2011-05-172-48/+48
|
* s4-dfs: clean the codeMatthieu Patou2011-05-171-44/+50
|
* s4-dfs: fix bugs in idl and adapt code accordinglyMatthieu Patou2011-05-172-32/+25
|
* s4-python: add an option for just fixing gpo foldersMatthieu Patou2011-05-171-189/+196
|
* s4-python: keep wheel_gid as an integerMatthieu Patou2011-05-171-1/+1
|
* s4-python: raise an error if unable to bind remote ldap while joiningMatthieu Patou2011-05-171-0/+11
|
* Fix the SMB2 showstopper, found by an extended torture test from Volker.Jeremy Allison2011-05-161-3/+25
| | | | | | | | | | | | | | | | | In the oplock refactoring, the algorithm underwent an unnoticed change. In 3.5.x stat_opens were silently (i.e. no explicit code had comments explaining this) ignored when looking for oplock breaks and share mode violations. After the refactoring, the function find_oplock_types() no longer ignored stat_open entries in the share mode table when looking for batch and exclusive oplocks. This patch adds two changes to find_oplock_types() to ignore the case where the incoming open request is a stat open being tested against existing opens, and also when the incoming open request is a non-stat open being tested against existing stat opens. Neither of these cause an oplock break or share mode violation. Thanks a *lot* to Volker, who persevered in reproducing this problem. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Mon May 16 22:38:20 CEST 2011 on sn-devel-104
* Ensure we always write the correct incoming mid into the share modeJeremy Allison2011-05-162-4/+8
| | | | table entries.
* s3-rpc_server: Force ncalrpc dir to be mode 755.Andreas Schneider2011-05-161-13/+1
| | | | | | | | | | | | This completes aae9353ecf56323b63da66aa84d8a0a4f219d94d. directory_create_or_exist() is not needed cause create_pipe_sock() takes care of setting up the directory correctly. Andrew please check! Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Mon May 16 17:54:20 CEST 2011 on sn-devel-104
* s3-printing: remove cups_pull_comment_location from header fileDavid Disseldorp2011-05-161-4/+0
| | | | | | | Signed-off-by: Günther Deschner <gd@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon May 16 16:03:57 CEST 2011 on sn-devel-104
* s3: Document gpfs:syncioVolker Lendecke2011-05-161-0/+20
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon May 16 15:00:40 CEST 2011 on sn-devel-104
* gpfs.so: Add gpfs:syncio optionGregor Beck2011-05-161-0/+13
| | | | This enables optimizations for shared file access on gpfs
* waf: Enable Samba3 torture tests in top level build.Andreas Schneider2011-05-161-12/+12
| | | | | | | Signed-off-by: Günther Deschner <gd@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon May 16 13:57:01 CEST 2011 on sn-devel-104
* s3-selftest: no point in running base.chkpath and base.delaywrite twice.Günther Deschner2011-05-161-3/+3
| | | | | | | | Thanks to Bjoern Baumbach for pointing this out! Guenther Signed-off-by: Günther Deschner <gd@samba.org>
* s3-printing: Remove obsolete and unused cups_pull_comment_location().Andreas Schneider2011-05-161-157/+0
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-spoolss: Get the printer location from cups.Andreas Schneider2011-05-161-2/+33
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-printing: Get the location info from cups.Günther Deschner2011-05-1612-32/+85
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3: Added waf build header locations for clang complete.Andreas Schneider2011-05-161-0/+1
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s4-smbtorture: add test_netremotetod.Günther Deschner2011-05-162-0/+18
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon May 16 12:45:52 CEST 2011 on sn-devel-104
* s4-libcli/rap: add smbcli_rap_netremotetod().Günther Deschner2011-05-161-0/+47
| | | | Guenther
* s3-rap: add rap_NetRemoteTOD to IDL.Günther Deschner2011-05-161-0/+22
| | | | Guenther
* s3:libsmb convert user-specified domain to uppercaseChristian Ambach2011-05-161-0/+1
| | | | | | | | | | | | | | | | with client ntlmv2 auth = yes, there is a small difference between using smbclient -U user\domain and smbclient -U user -W domain if domain is provided in lowercase using -W will uppercase the given parameter, while picking the domain name from -U will not convert it to uppercase and this leads to failing NTLMv2 authentication with this patch, there is no difference between smbclient -U domain\user and smbclient -U user -W domain any more Autobuild-User: Christian Ambach <ambi@samba.org> Autobuild-Date: Mon May 16 11:42:55 CEST 2011 on sn-devel-104
* s3: Fix return check in nss_winsVolker Lendecke2011-05-161-1/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon May 16 00:30:42 CEST 2011 on sn-devel-104
* s3: Make&use set_socket_addr_v4Volker Lendecke2011-05-141-12/+14
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat May 14 18:57:57 CEST 2011 on sn-devel-104
* Use ZERO_STRUCTP in util_netVolker Lendecke2011-05-141-2/+2
|
* s3: Paranoia in smbsock_connect_state_destructorVolker Lendecke2011-05-141-0/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat May 14 14:19:01 CEST 2011 on sn-devel-104
* s3-param Deprecate a number of security parameters for 3.6Andrew Bartlett2011-05-136-85/+81
| | | | | | | | | | | This follows up on the agreement on the samba-technical list in Jan 2011 to deprecate these options, and to possibly remove these in the 4.0 release after user feedback. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri May 13 19:51:41 CEST 2011 on sn-devel-104
* do an explicit A record search for SRV entriesLuke Howard2011-05-131-4/+22
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s3-build: use ndr-standard in msrpc3Andrew Bartlett2011-05-131-3/+4
| | | | | | This avoids pulling in the symbols from the NDR_ subsystems directly. Andrew Bartlett
* build: Move NDR_DSSETUP and NDR_SPOOLSS into ndr-standardAndrew Bartlett2011-05-131-1/+1
| | | | | | | This is to address multiple defintion of symbol issues in msrpc3 linked libraries. Andrew Bartlett
* lib/util/charset Move built-in charset modules to the top levelAndrew Bartlett2011-05-139-47/+41
| | | | | | | This removes the 'charset' subsystem and allows these modules to be used across the whole of Samba. Andrew Bartlett
* s3-netapi Initialise global variables in libnetapiAndrew Bartlett2011-05-131-1/+1
| | | | | | | It is important to initalise the global variables when loading this configuration for the potentially first time. Andrew Bartlett
* s3-libnetapi Don't create a talloc_stackframe() in a global variableAndrew Bartlett2011-05-132-16/+37
| | | | | | | | | | This also ensures that libnetapi_free() invalidates the global stat_ctx variable, and changes the API so that the behaviour of the error string routines is to consistently return a allocated string. Pair-Programmed-With: Günther Deschner <gd@samba.org> Andrew Bartlett
* lib/util/ Fix crash bug caused by gfree_debug()Andrew Bartlett2011-05-131-1/+1
| | | | | | | The issue is that we should reset the debug_num_classes to 0 when we un-initialise the debug system. Andrew Bartlett
* s3-net: fix potential crash bug in display_print_driver3().Günther Deschner2011-05-131-1/+1
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri May 13 18:49:06 CEST 2011 on sn-devel-104
* s3:build: install libtdb with full version number instead of only SO versionMichael Adam2011-05-131-1/+6
| | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Fri May 13 17:45:01 CEST 2011 on sn-devel-104
* s3:build: install libtalloc with full version number instead of only SO versionMichael Adam2011-05-131-1/+6
|
* s3:build: build libtalloc.so.$VERSION with full version number instead only ↵Michael Adam2011-05-131-10/+17
| | | | SO version