summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge branch 'master' of ssh://git.samba.org/data/git/sambaAndrew Tridgell2009-10-254-15/+15
|\
| * ldb:backend "connect" functions - convert result values to LDB constantsMatthias Dieter Wallnöfer2009-10-254-15/+15
| | | | | | | | | | | | I think this is better since "ldb_backend_connect" and "ldb_connect" which propagate those values should return only LDB constants. Therefore a conversion (especially for "-1") would be needed.
* | s4-ldb: allow for unescaped '=' in a index DNAndrew Tridgell2009-10-252-4/+13
|/ | | | | | | The ldb_dn_explode code normally enforces all special characters, including a '=', must be escaped. Unfortunately this conflicts with the ltdb index DNs, which for binary attributes may be base64 encoded. This allows a unescaped '=' as a special case for index DNs.
* s4-samdb: reduce the number of samdb opens at startupAndrew Tridgell2009-10-256-44/+13
| | | | | Using common parameters means that the ldb_wrap code can return a reference rather than a new database
* s4-ldb: ensure DNs pass validity tests in indexingAndrew Tridgell2009-10-251-0/+4
|
* s4-ldb: fixed string length handling on index recordsAndrew Tridgell2009-10-251-2/+2
|
* s4-dsdb: ensure that new partitions inherit any transactionAndrew Tridgell2009-10-253-11/+26
|
* tdb: detect tdb store of identical records and skipAndrew Tridgell2009-10-251-0/+20
| | | | This can help with ldb where we rewrite the index records
* s4-ldb: don't allow modifies outside a transaction.Andrew Tridgell2009-10-251-0/+8
|
* s4-ldb: fixed re-index during a complex transactionAndrew Tridgell2009-10-251-10/+31
| | | | We may have modified index objects in the in-memory index tdb
* s4-python: fixed annoyance where control-C doesn't kill our python scriptsAndrew Tridgell2009-10-251-0/+10
| | | | | | | | | We want our scripts to die immediately when a user hits control-C. Otherwise we not only annoy the hell out of the user, we also risk db corruption as the control-C could get delivered as an exception which gets mis-interpreted (eg. as a missing db object). We use transactions for all our databases, so the right thing to do in all our command line tools is to die immediately.
* s4:dcesrv_samr: always use mem_ctx as initial parent for samr_*_stateStefan Metzmacher2009-10-241-7/+7
| | | | | | | We always steal the state to the policy handle on success, but untill then keep it on the short term context. metze
* s4:loadparm: don't leak the names of all shares in each lp_service() callStefan Metzmacher2009-10-241-1/+4
| | | | metze
* s4:dsdb/partition_init: don't leak a talloc_new() in case we have no data yetStefan Metzmacher2009-10-241-2/+5
| | | | metze
* libcli/auth: initialize creds in netlogon_creds_client_init_session_key()Stefan Metzmacher2009-10-241-2/+3
| | | | metze
* s4:gensec/schannel: remove unused talloc_reference() in schannel_update()Stefan Metzmacher2009-10-241-1/+1
| | | | | | We never expose creds to the caller in schannel_update(). metze
* libcli/auth: fix memory leak in schannel_creds_server_step_check_ldb()Stefan Metzmacher2009-10-241-24/+37
| | | | metze
* libcli/auth: don't leak the ldb_msg in schannel_store_session_key_ldb()Stefan Metzmacher2009-10-241-1/+1
| | | | metze
* Fix bug 6802 - A created folder does not properly inherit permissions from ↵Barry Sabsevitz2009-10-231-4/+38
| | | | parent.
* tdb: rename 'struct list_struct' into 'struct tdb_record'Stefan Metzmacher2009-10-239-54/+54
| | | | metze
* ldb python bindungs - better use the "enum ldb_scope" for the search scope ↵Matthias Dieter Wallnöfer2009-10-231-2/+3
| | | | rather than "int"
* s3: Fix crash in pam_winbind, another reference to freed memory.Bo Yang2009-10-241-3/+7
| | | | Signed-off-by: Bo Yang <boyang@samba.org>
* s4-python: we need to include Python.h firstAndrew Tridgell2009-10-2316-22/+16
| | | | | If we don't include Python.h first then we get a pile of warnings due to broken redefines of XOPEN_SOURCE in the Python includes.
* s4:dsdb 'attrs' must be static (otherwise segv with async)Andrew Bartlett2009-10-231-1/+2
| | | | | | The async code makes this really easy to mess up... Andrew Bartlett
* s4:dsdb Fix samba3sam test again.Andrew Bartlett2009-10-231-6/+9
| | | | | | | | | We again need to be careful not to call 'ldb_next_request' based functions in the partitions module. Or, we need to instead go back to having that work, and ditch the partition_request stuff... Andrew Bartlett
* s4:dsdb Add error string in 'no such object' because of 0 replies caseAndrew Bartlett2009-10-231-0/+3
|
* s4:dsdb Remove unused variablesAndrew Bartlett2009-10-231-2/+0
|
* s4:dsdb Do less allocation when searching for partitions modulesAndrew Bartlett2009-10-231-8/+10
| | | | | | (it didn't help that the previous allocation was on the wrong long-term context) Andrew Bartlett
* s4:setup Mark 'cn' in secrets as case insensitiveAndrew Bartlett2009-10-231-0/+1
| | | | | | | While this does not matter very much, others may later expect 'cn' to be case insensitive. Andrew Bartlett
* s4:secrets Look for LDAP secret with a name that is indexedAndrew Bartlett2009-10-231-1/+1
| | | | This avoids a very common unindexed lookup
* s4:gensec Use an index on computerName in schannel.ldbAndrew Bartlett2009-10-231-1/+4
|
* util:ldb Allow multiple entries to be added in one LDIF snippitAndrew Bartlett2009-10-231-4/+7
|
* s4:dsdb Split schema loading and schema data managementAndrew Bartlett2009-10-234-233/+316
| | | | | | | | | | | By splitting the module this way, we can load the schema at startup, after the partitions module is operational, but we leave the 'mess with details of entries in the partitions' module to operate only on the partitions module. Loading the schema later allows us to set the @ATTRIBUTES correctly on all the databases. Andrew Bartlett
* s4:dsdb Set partitions metadata as soon as it is set up.Andrew Bartlett2009-10-231-3/+3
|
* s4-selftest: lower some of the timeouts during make testAndrew Tridgell2009-10-232-7/+7
| | | | | This speeds up some of the delay based tests by a lot. There is no need to have long delays during testing.
* s4-samdb: make sure the static credentials are never freedAndrew Tridgell2009-10-231-0/+9
|
* s4-ldb: move the tdb_reopen_all() calls to ldb_wrap.cAndrew Tridgell2009-10-233-14/+9
|
* s4-ldb: use ldb_wrap_fork_hook() to cancel child transactionsAndrew Tridgell2009-10-232-2/+6
|
* s4-ldb: added ldb_transaction_cancel_noerr()Andrew Tridgell2009-10-233-1/+20
| | | | | This will be used to allow cancelling of transactions in a child after a fork()
* s4-server: call the ldb_wrap_fork_hook() after a fork()Andrew Tridgell2009-10-232-0/+5
| | | | | This will be used to allow us to cancel any pending transactions after a fork.
* s4-server: pre-open the main ldb databases in the serverAndrew Tridgell2009-10-231-8/+14
| | | | | By pre-opening these databases and leaving them open, we allow the new ldb_wrap_connect() code to share the ldb context between users.
* s4-ldbwrap: added re-use of ldb contexts in ldb_wrap_connect()Andrew Tridgell2009-10-2320-50/+119
| | | | | | | | | This allows us to reuse a ldb context if it is open twice, instead of going through the expensive process of a full ldb open. We can reuse it if all of the parameters are the same. The change relies on callers using talloc_unlink() or free of a parent to close a ldb context.
* s4-dsdb: add a static samdb_credentialsAndrew Tridgell2009-10-232-7/+19
| | | | | Similarly to system_session(), this creates a static samdb_credentials()
* s4-dsdb: create a static system_session contextAndrew Tridgell2009-10-2322-39/+54
| | | | | | This patch adds a system_session cache, preventing us from having to recreate it on every ldb open, and allowing us to detect when the same session is being used in ldb_wrap
* Simplify the logic.Jeremy Allison2009-10-221-5/+2
| | | | Jeremy.
* Fix bug 6829 - smbclient does not show special characters properly.Jeremy Allison2009-10-222-0/+20
| | | | | | | | | | | | All successful calls to cli_session_setup() *must* be followed by calls to cli_init_creds() to stash the credentials we successfully connected with. There were 2 codepaths where this was missing. This caused smbclient to be unable to open the \srvsvc pipe to do an RPC netserverenum, and cause it to fall back to a RAP netserverenum, which uses DOS codepage conversion rather than the full UCS2 of RPC, so the returned characters were not correct (unless the DOS codepage was set correctly). Phew. That was fun to track down :-). Jeremy.
* s3: Remove a pointless #endif/#ifdef pairVolker Lendecke2009-10-221-2/+0
|
* s4-lsa: fixed breakage of lsa serverAndrew Tridgell2009-10-221-0/+1
|
* s4-torture: fixed double free in libnet_group testAndrew Tridgell2009-10-221-1/+0
|
* s4:provision - Reintroduce accidentally removed parameters and checks from ↵Matthias Dieter Wallnöfer2009-10-221-13/+38
| | | | | | "guess_names" abartlet pointed out that those are essential for a safe and consistent provision.