summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* s3-printing: No need to register to smbd's children listSimo Sorce2011-08-101-19/+0
| | | | Signed-off-by: Andreas Schneider <asn@samba.org>
* tevent: cleanup nesting counter when doing a full reinit.Simo Sorce2011-08-101-0/+7
| | | | | | | We may be forking from within a loop, so we need to clean-up to avoid aborts when nesting is not allowed and we are in a new children. Signed-off-by: Andreas Schneider <asn@samba.org>
* lib-util: Make create_unlink_tmp argument optionalSimo Sorce2011-08-101-1/+6
| | | | | | Use tmpdir() if no dir is provided. Signed-off-by: Andreas Schneider <asn@samba.org>
* lib-util: Make useful function a common utility.Simo Sorce2011-08-103-26/+37
| | | | Signed-off-by: Andreas Schneider <asn@samba.org>
* libutil: use AI_ADDRCONFIG only when AI_NUMERIC is not definedSimo Sorce2011-08-101-5/+11
| | | | | | | This flag prevents startup w/o ip addresses assigned to any interface. If AI_NUMERIC is passed it should be safe to avoid it. Signed-off-by: Andreas Schneider <asn@samba.org>
* s3: Remove an unnecessary includeVolker Lendecke2011-08-101-1/+0
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Aug 10 18:10:39 CEST 2011 on sn-devel-104
* pytalloc: Regenerate ABI file.Jelmer Vernooij2011-08-101-0/+1
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Wed Aug 10 16:51:11 CEST 2011 on sn-devel-104
* pytalloc: Use consistent prefix for functions, add ABI file.Jelmer Vernooij2011-08-1023-229/+239
|
* s3:idmap_tdb2: fix bug 8368 : correctly initialize "idmap config * : script" ↵Michael Adam2011-08-101-1/+1
| | | | | | | | | with NULL this fixes the fallback to the deprecated spelling idmap:script Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Wed Aug 10 14:59:32 CEST 2011 on sn-devel-104
* s3:libsmb: make cli_session_setup_spnego() staticStefan Metzmacher2011-08-102-6/+4
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Aug 10 12:31:55 CEST 2011 on sn-devel-104
* s3:winbindd_cm: use cli_session_setup() instead of cli_session_setup_spnego()Stefan Metzmacher2011-08-101-15/+18
| | | | metze
* s3:libsmb: pass remote_realm to cli_session_setup_spnego() in ↵Stefan Metzmacher2011-08-101-1/+3
| | | | | | cli_session_setup() metze
* s3:libsmb: store the remote_realm on the cli_stateStefan Metzmacher2011-08-105-2/+20
| | | | metze
* s3:smb_macros.h: simplify _smb_setlen() and _smb_setlen_large()Stefan Metzmacher2011-08-101-6/+4
| | | | | | This also takes care of the correct casting. metze
* s3:include: smb.h base old smb header offsets on new definesStefan Metzmacher2011-08-101-32/+32
| | | | metze
* s3:include: smb.h merge some stuff from source4Stefan Metzmacher2011-08-101-0/+35
| | | | metze
* Revert "s3:test_async_echo: unsure the desired smb message sequence"Stefan Metzmacher2011-08-101-10/+0
| | | | | | | | | | | This reverts commit 34faeb8bba86fff57466c06682b7dcbffc48a52a. This is not needed anymore. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Aug 10 09:54:24 CEST 2011 on sn-devel-104
* tsocket: make use of tevent_queue_add_optimize_empty() to optimize for the ↵Stefan Metzmacher2011-08-101-37/+48
| | | | | | empty queue case metze
* s4:subtree_rename LDB module - fix the move/rename constraintsMatthias Dieter Wallnöfer2011-08-101-10/+7
| | | | | | | | | | | | | | | s4:subtree_rename LDB module - fix the move/rename constraints By the inspiration of an email request by ekacnet I have rechecked the move/rename constraints and re-read the chapter 3.1.1.5.4.1 located in the MS-ADTS technical documentation. It really turns out that the constraint checking is only performed on the root object of a request. In addition add my copyright notice (I've written these constraint checks). Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Wed Aug 10 01:05:19 CEST 2011 on sn-devel-104
* s4-drs: In dcesrv_drsuapi_DsRemoveDSServer use the subtree control to delete ↵Matthieu Patou2011-08-101-1/+2
| | | | | | | the NTDS entry This entry has most of the time subelements (connections between DCs) that will forbid a simple (non recursive) delete
* s4-dsdb: avoid printing a pointless debug lineMatthieu Patou2011-08-101-1/+1
|
* s4-drsuapi: crackname search also for deleted objectsMatthieu Patou2011-08-101-1/+4
|
* s4: create a small script to test drsuapi/cracknameMatthieu Patou2011-08-101-0/+75
|
* tevent: change the version to 0.9.14 after the tevent_queue changestevent-0.9.14Stefan Metzmacher2011-08-092-1/+79
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Aug 9 23:02:17 CEST 2011 on sn-devel-104
* tevent: fix some comments in tevent.hStefan Metzmacher2011-08-091-2/+2
| | | | metze
* tevent: add tevent_queue_add_entry() and tevent_queue_add_optimize_empty()Stefan Metzmacher2011-08-092-2/+131
| | | | | | | | | | | | This adds more flexible handling for the add operation: - It allows the caller to remove a tevent_req from the queue by calling talloc_free() on the returned tevent_queue_entry. - It allows the caller to optimize for the empty queue case, where it the caller wants to avoid the delay caused by the immediate event. metze
* tevent: splitout tevent_queue_add_internal() from tevent_queue_add()Stefan Metzmacher2011-08-091-8/+26
| | | | metze
* tevent: allow tevent_queue_add() to take a NULL trigger functionStefan Metzmacher2011-08-092-1/+10
| | | | | | This way the caller can add a blocker to the queue. metze
* tevent: add tevent_queue_running() functionStefan Metzmacher2011-08-092-0/+16
| | | | metze
* s3:vfs_prealloc: fix build on SLES8Björn Jacke2011-08-091-0/+1
| | | | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Björn Jacke <bj@sernet.de> Autobuild-Date: Tue Aug 9 19:29:08 CEST 2011 on sn-devel-104
* s3:libsmb/cli*: use CLI_BUFFER_SIZE instead of cli->max_xmitStefan Metzmacher2011-08-094-14/+14
| | | | | | | | | | | | The max_data parameter of trans2/nttrans calls are not bound to cli->max_xmit. Even with cli->max_xmit, which means the max size of the whole SMB pdu, we would get fragmented trans2/nttrans replies. That's why we can also use our maximum, which is CLI_BUFFER_SIZE. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Aug 9 18:14:38 CEST 2011 on sn-devel-104
* s3:torture/*: use CLI_BUFFER_SIZE instead of cli->max_xmitStefan Metzmacher2011-08-092-3/+3
| | | | | | | | | The max_data parameter of trans2/nttrans calls are not bound to cli->max_xmit. Even with cli->max_xmit, which means the max size of the whole SMB pdu, we would get fragmented trans2/nttrans replies. That's why we can also use our maximum, which is CLI_BUFFER_SIZE. metze
* script/librelease.sh: add git push for the release tagStefan Metzmacher2011-08-091-1/+6
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Aug 9 15:19:07 CEST 2011 on sn-devel-104
* ndr_drsuapi: fix compiler warningStefan Metzmacher2011-08-091-2/+3
| | | | metze
* s4-dsdb clarify that failure to load the schema items from DRS is expectedAndrew Bartlett2011-08-091-3/+3
| | | | | | | | | | This happens if we have a custom schema - we need to build up the schema until it loads, by converting more objects. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Aug 9 13:10:25 CEST 2011 on sn-devel-104
* move schema_fill_constructed() call to dsdb_setup_sorted_accessors()Andrew Bartlett2011-08-091-5/+7
|
* s4-dsdb Remove unused schema functionAndrew Bartlett2011-08-091-18/+0
|
* s4-dsdb: added SAMDB_INDEXING_VERSION to @INDEXLISTAndrew Tridgell2011-08-091-0/+11
| | | | | | | | this can be used to force re-indexing of samdb when we change something that affects index comparison, in this case the canonicalisation of booleans Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-dsdb: fixed booling conversion to check value lengthAndrew Tridgell2011-08-091-11/+14
| | | | | | this ensures we don't look past the end of the data Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* ldb: fix the canonicalisation of booleansAndrew Tridgell2011-08-091-3/+3
| | | | | | we were canonicalising "FALSE" to "FALS" Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-dbcheck: enable dbcheck now that backlinks are fixedAndrew Tridgell2011-08-091-1/+0
|
* s4-dsdb: add auto-normalisation of attributesAndrew Tridgell2011-08-093-3/+57
| | | | | | | | | | | | | | | this auto-normalises some attributes when they are added/modified. The list that we auto-normalise is currently: Boolean INT32 INTEGER UTC_TIME This fixes a problem with groupType being stored in an unnormalised form Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-dsdb: ensure rIDSetReferences is stored as an extended DNAndrew Tridgell2011-08-092-2/+18
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4-dsdb: ensure we setup the dn_format field in schema attributesAndrew Tridgell2011-08-092-31/+40
| | | | | | this ensures we setup dn_format when we do runtime schema changes Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-acl-test: use symbolic names for groupTypeAndrew Tridgell2011-08-091-11/+16
| | | | clearer than magic numbers
* s4-pysamba: fixed double conversion of int32Andrew Tridgell2011-08-091-1/+1
| | | | if the number is already negative, we shouldn't convert it
* s4-dsdb: make extended_dn_in a bit more efficientAndrew Tridgell2011-08-091-9/+17
| | | | checking filter elements in the right order makes it a little faster
* s4-samdb: support relative paths in SamDB() connectAndrew Tridgell2011-08-091-1/+2
| | | | | don't add the private path unless the database doesn't exist with the supplied path
* s4-dsdb: use dn_format shortcut to find DN formatAndrew Tridgell2011-08-092-4/+4
| | | | this saves some string comparisons
* pysamdb: move normalise_int32() to common moduleAndrew Tridgell2011-08-092-7/+7
| | | | this will be needed in quite a few places