summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-10-24s4:dsdb/partition_init: don't leak a talloc_new() in case we have no data yetStefan Metzmacher1-2/+5
metze
2009-10-24libcli/auth: initialize creds in netlogon_creds_client_init_session_key()Stefan Metzmacher1-2/+3
metze
2009-10-24s4:gensec/schannel: remove unused talloc_reference() in schannel_update()Stefan Metzmacher1-1/+1
We never expose creds to the caller in schannel_update(). metze
2009-10-24libcli/auth: fix memory leak in schannel_creds_server_step_check_ldb()Stefan Metzmacher1-24/+37
metze
2009-10-24libcli/auth: don't leak the ldb_msg in schannel_store_session_key_ldb()Stefan Metzmacher1-1/+1
metze
2009-10-23Fix bug 6802 - A created folder does not properly inherit permissions from ↵Barry Sabsevitz1-4/+38
parent.
2009-10-23tdb: rename 'struct list_struct' into 'struct tdb_record'Stefan Metzmacher9-54/+54
metze
2009-10-23ldb python bindungs - better use the "enum ldb_scope" for the search scope ↵Matthias Dieter Wallnöfer1-2/+3
rather than "int"
2009-10-24s3: Fix crash in pam_winbind, another reference to freed memory.Bo Yang1-3/+7
Signed-off-by: Bo Yang <boyang@samba.org>
2009-10-23s4-python: we need to include Python.h firstAndrew Tridgell16-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.
2009-10-23s4:dsdb 'attrs' must be static (otherwise segv with async)Andrew Bartlett1-1/+2
The async code makes this really easy to mess up... Andrew Bartlett
2009-10-23s4:dsdb Fix samba3sam test again.Andrew Bartlett1-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
2009-10-23s4:dsdb Add error string in 'no such object' because of 0 replies caseAndrew Bartlett1-0/+3
2009-10-23s4:dsdb Remove unused variablesAndrew Bartlett1-2/+0
2009-10-23s4:dsdb Do less allocation when searching for partitions modulesAndrew Bartlett1-8/+10
(it didn't help that the previous allocation was on the wrong long-term context) Andrew Bartlett
2009-10-23s4:setup Mark 'cn' in secrets as case insensitiveAndrew Bartlett1-0/+1
While this does not matter very much, others may later expect 'cn' to be case insensitive. Andrew Bartlett
2009-10-23s4:secrets Look for LDAP secret with a name that is indexedAndrew Bartlett1-1/+1
This avoids a very common unindexed lookup
2009-10-23s4:gensec Use an index on computerName in schannel.ldbAndrew Bartlett1-1/+4
2009-10-23util:ldb Allow multiple entries to be added in one LDIF snippitAndrew Bartlett1-4/+7
2009-10-23s4:dsdb Split schema loading and schema data managementAndrew Bartlett4-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
2009-10-23s4:dsdb Set partitions metadata as soon as it is set up.Andrew Bartlett1-3/+3
2009-10-23s4-selftest: lower some of the timeouts during make testAndrew Tridgell2-7/+7
This speeds up some of the delay based tests by a lot. There is no need to have long delays during testing.
2009-10-23s4-samdb: make sure the static credentials are never freedAndrew Tridgell1-0/+9
2009-10-23s4-ldb: move the tdb_reopen_all() calls to ldb_wrap.cAndrew Tridgell3-14/+9
2009-10-23s4-ldb: use ldb_wrap_fork_hook() to cancel child transactionsAndrew Tridgell2-2/+6
2009-10-23s4-ldb: added ldb_transaction_cancel_noerr()Andrew Tridgell3-1/+20
This will be used to allow cancelling of transactions in a child after a fork()
2009-10-23s4-server: call the ldb_wrap_fork_hook() after a fork()Andrew Tridgell2-0/+5
This will be used to allow us to cancel any pending transactions after a fork.
2009-10-23s4-server: pre-open the main ldb databases in the serverAndrew Tridgell1-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.
2009-10-23s4-ldbwrap: added re-use of ldb contexts in ldb_wrap_connect()Andrew Tridgell20-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.
2009-10-23s4-dsdb: add a static samdb_credentialsAndrew Tridgell2-7/+19
Similarly to system_session(), this creates a static samdb_credentials()
2009-10-23s4-dsdb: create a static system_session contextAndrew Tridgell22-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
2009-10-22Simplify the logic.Jeremy Allison1-5/+2
Jeremy.
2009-10-22Fix bug 6829 - smbclient does not show special characters properly.Jeremy Allison2-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.
2009-10-22s3: Remove a pointless #endif/#ifdef pairVolker Lendecke1-2/+0
2009-10-22s4-lsa: fixed breakage of lsa serverAndrew Tridgell1-0/+1
2009-10-22s4-torture: fixed double free in libnet_group testAndrew Tridgell1-1/+0
2009-10-22s4:provision - Reintroduce accidentally removed parameters and checks from ↵Matthias Dieter Wallnöfer1-13/+38
"guess_names" abartlet pointed out that those are essential for a safe and consistent provision.
2009-10-22s4-lsa: fixed the lsa server to cope with the new tests from gdAndrew Tridgell1-12/+33
2009-10-22s4-ldb: added a TODO about checking the indexlistAndrew Tridgell1-0/+2
2009-10-22s4-ldb: fixed some memory leaks in new indexing codeAndrew Tridgell1-1/+3
2009-10-22s4-ldb: don't try to index non-indexed attributesAndrew Tridgell1-0/+4
2009-10-22s4-selftest: removed raw.unlink from quicktestAndrew Tridgell1-1/+0
This test takes 40s, and quicktest already covers delete operations in base.delete
2009-10-22s4-ldb: ensure new dn_list elements are not owned by callerAndrew Tridgell1-1/+1
2009-10-22s4-ldb: over-allocate index records to save on realloc costsAndrew Tridgell1-1/+5
2009-10-22s4-ldb: fixed tdb error handling in ldb_index.cAndrew Tridgell1-3/+8
2009-10-22s4-ldb: delete empty index recordsAndrew Tridgell1-0/+8
2009-10-22s4-ldb: do more validation of idxptr listsAndrew Tridgell1-12/+31
2009-10-22s4-ldb: expose ltdb_err_map and ltdb_delete_noindexAndrew Tridgell2-2/+5
These will be used by ldb_index.c
2009-10-22s4-ldb: fast path for equal pointersAndrew Tridgell1-1/+1
We compare identical ldb_val values surprisingly often
2009-10-22selftest: make python run unbufferedAndrew Tridgell1-0/+3
This makes some output in make test easier to follow