summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* s3-lsa: pure cosmetic indentation fixes.Günther Deschner2009-10-281-18/+16
| | | | Guenther
* s3-lsa: use enum lsa_LookupNamesLevel in lsa_lookup_level_to_flags().Günther Deschner2009-10-281-7/+8
| | | | Guenther
* ldb:tdb backend - be also here more careful with the result valueMatthias Dieter Wallnöfer2009-10-271-2/+2
| | | | "msg_delete_attribute" doesn't return an LDB result constant.
* ldb:python bindings - make the intention by Jelmer ("int" vs. "enum") more clearMatthias Dieter Wallnöfer2009-10-271-0/+2
|
* Revert "ldb python bindungs - better use the "enum ldb_scope" for the search ↵Matthias Dieter Wallnöfer2009-10-271-3/+2
| | | | | | | | scope rather than "int"" This reverts commit 4f8826ff7f4789c5b5f363b733a42053f72aa526. Jelmer pointed out that the "enum"s don't work so well in combination with python.
* s3/docs: Document new pdbedit -K option.Karolin Seeger2009-10-271-0/+10
| | | | Karolin
* s3: pdbedit: add option --kickoff-time/-K to set the user's kickoff timeMichael Adam2009-10-271-4/+28
| | | | | | Use "never" as argument to set this to unlimited. Michael
* s4-dsdb: call dsdb_make_schema_global() from ldb_wrapAndrew Tridgell2009-10-272-1/+5
| | | | | | | Calling it from samdb_connect() can cause a stale schema to be put into the global schema. Thanks to Andrew Bartlett for spotting this.
* Second part of the fix for bug 6828 - infinite timeout occurs when byte lock ↵Jeremy Allison2009-10-261-6/+9
| | | | | | | | held outside of samba. Fixes case where a connection with a pending lock can me marked "idle", and ensures that the lock queue timeout is always recalculated. Jeremy.
* s4-dsdb: always cancel transactions on all partitionsAndrew Tridgell2009-10-271-13/+19
| | | | | If we get an error ending a transaction on one partition we need to continue on the other partitions.
* s4-ldb: '+' can also happen in base64 encoded index DNsAndrew Tridgell2009-10-271-1/+1
|
* s4:ldb Add detail to failures in the indexing codeAndrew Bartlett2009-10-271-2/+8
|
* s4:dsdb Rework partitions module for better tracingAndrew Bartlett2009-10-273-97/+76
| | | | | | | | | | | This means we need to create a fake 'module' which only has a 'next' pointer, so that we can now ldb_next_request() (which incorporates tracing). The remainaing stub of partition_request() is retained so that we can indicate which partition an operation is destined for. Similar tracing is added to the transaction handlers. Andrew Bartlett
* s4:ldb Add additional tracing of the ldb APIAndrew Bartlett2009-10-272-4/+80
| | | | | | | This helps pin down where errors occour, by printing a call stack and setting error strings and trace messages in the transaction case. Andrew Bartlett
* s4:dsdb Remove partition_extended_schema_update_nowAndrew Bartlett2009-10-271-51/+0
| | | | | | | The schema update now request is now handled above the partitions module. Andrew Bartlett
* s3: Rename new parameter "ldap ref follow" to "ldap follow referral".Karolin Seeger2009-10-264-9/+9
| | | | | | This parameter will be introduced with Samba 3.5.0. Karolin
* s3:docs: Public is not a synonym for access based shareenum.Karolin Seeger2009-10-261-1/+0
| | | | | | Fix build warning. Karolin
* s3:docs: fake dir create times is a global parameter.Karolin Seeger2009-10-261-1/+1
| | | | Karolin
* s4-ldb: fixed request handling for schemaUpdateNow opAndrew Tridgell2009-10-263-3/+3
|
* 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
|