summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* s3:dbwrap: convert dbwrap_fetch(), dbwrap_fetch_bystring() and ↵Michael Adam2011-10-1115-67/+93
| | | | dbwrap_fetch_bystring_upper() to NTSTATUS
* s3:dbwrap: add dbwrap_fetch_locked(), a wrapper for db->fetch_lockedMichael Adam2011-10-112-0/+10
|
* s3:dbwrap: add dbwrap_record_delete(), a wrapper for record->delete_recMichael Adam2011-10-112-0/+6
|
* s3:dbwrap: add dbwrap_record_store(), a wrapper for record->storeMichael Adam2011-10-112-0/+6
|
* s3:dbwrap: add get-functions for db_record key, value and private_dataMichael Adam2011-10-112-0/+19
|
* s3:dbwrap: add wrapper function dbwrap_get_seqnum()Michael Adam2011-10-112-0/+6
|
* s3:dbwrap: add wrappers for transactions start/cancel/commitMichael Adam2011-10-112-0/+18
|
* s3:dbwrap: add wrapper dbwrap_get_flags()Michael Adam2011-10-112-0/+6
|
* s3:dbwrap: fix db_rbt_traverse() to return the record count on successGregor Beck2011-10-111-5/+14
| | | | | | this makes it consistent with documented behaviour of tdb_traverse() Signed-off-by: Michael Adam <obnox@samba.org>
* s3:dbwrap: add specific dbwrap_wipe() implementation to dbwrap_rbtGregor Beck2011-10-111-0/+14
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3:dbwrap: add specific dbwrap_wipe() implementation to dbwrap_tdbGregor Beck2011-10-111-0/+8
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3:dbwrap: add a commentMichael Adam2011-10-111-0/+4
|
* s3:dbwrap: add function dbwrap_wipe()Gregor Beck2011-10-114-0/+29
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3:dbwrap: add specific dbwrap_parse_record() implementation to dbwrap_rbtGregor Beck2011-10-111-0/+15
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3:dbwrap: implement dbwrap_fallback_exists() with dbwrap_parse_record()Gregor Beck2011-10-111-10/+2
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3:dbwrap: allow NULL parser for dbwrap_parse_record()Gregor Beck2011-10-111-0/+9
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3:dbwrap: dbwrap_parse_record() should always return -1 on "not found"Gregor Beck2011-10-111-1/+1
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3:dbwrap: add function dbwrap_parse_record()Gregor Beck2011-10-112-0/+16
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3:dbwrap: add specific dbwrap_exists() implementation to dbwrap_rbtGregor Beck2011-10-111-0/+6
|
* s3:dbwrap: factor out db_rpt_search_internal()Gregor Beck2011-10-111-46/+43
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3:dbwrap: add specific dbwrap_exists() implementation to dbwrap_tdbGregor Beck2011-10-111-0/+8
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3:dbwrap: add function dbwrap_exists()Gregor Beck2011-10-112-0/+31
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3:dbwrap: add a wrapper dbwrap_traverse_read()Michael Adam2011-10-112-0/+22
|
* s3:dbwrap: change the dbwrap_traverse() wrapper to return the count in an ↵Michael Adam2011-10-113-6/+17
| | | | additional parameter
* s3:dbwrap: reorganize dbwrap.h someMichael Adam2011-10-111-5/+8
|
* s3:dbwrap: move dbwrap_traverse() to dbwrap.c, the core of the dbrwap subsystemMichael Adam2011-10-112-9/+8
|
* s3:dbwrap: move dbwrap_store() back to dbwrap.c, the core of the dbwrap ↵Michael Adam2011-10-112-16/+16
| | | | subsystem
* s3:dbwrap: move dbwrap_delete() back to dbwrap.c, the core of the dbwrap ↵Michael Adam2011-10-112-15/+14
| | | | subsystem
* s3:dbwrap: move dbwrap_fetch() back to dbwrap.c, the core of the dbwrap ↵Michael Adam2011-10-112-12/+14
| | | | subsystem
* s3:dbwrap: move the db_open_rbt() prototype to a new header dbwrap_rbt.hMichael Adam2011-10-1110-2/+37
|
* s3:dbwrap: move the db_open_file() prototype to a new header dbwrap_file.hMichael Adam2011-10-113-8/+37
|
* s3:dbwrap: move the db_open_tdb() prototype to a new header dbwrap_tdb.hMichael Adam2011-10-114-5/+35
|
* s3:dbwrap: move the db_open_ctdb() prototype to a new header dbwrap_ctdb.hMichael Adam2011-10-114-7/+38
|
* s3:vfs_acl_common: also parse xattr.NTACL version 1Stefan Metzmacher2011-10-111-0/+12
| | | | | | | | | | This is what the source4/ntvfs/posix code uses. It's also used at provision time to setup the sysvol permissions. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Oct 11 14:16:25 CEST 2011 on sn-devel-104
* s3:wscript: add 'gssapi' dependecy to 'errors3'Stefan Metzmacher2011-10-111-1/+1
| | | | metze
* s3-passdb: split out passdb/pdb_ipa.h.Günther Deschner2011-10-114-4/+30
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Oct 11 12:15:36 CEST 2011 on sn-devel-104
* s3-passdb: split out passdb/pdb_nds.h.Günther Deschner2011-10-114-15/+41
| | | | Guenther
* s3-passdb: split out passdb/pdb_ldap.h.Günther Deschner2011-10-116-18/+45
| | | | Guenther
* s3-smbldap: rearrange prototypes a bit.Günther Deschner2011-10-111-19/+18
| | | | Guenther
* ldb:ldb_autotransaction_request - error string shouldn't be set hereMatthias Dieter Wallnöfer2011-10-111-5/+0
| | | | | | | | | | | A generic error string should be set independently of the access mechanism to an LDB operation. Hence it should be handled in "ldb_wait" and "ldb_request" Signed-off-by: Andrew Tridgell <tridge@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Tue Oct 11 10:15:18 CEST 2011 on sn-devel-104
* ldb:pyldb.c - py_ldb_* modification calls - error string shouldn't be set hereMatthias Dieter Wallnöfer2011-10-111-17/+1
| | | | | | | | As discussed with Jelmer, we shouldn't be setting a generic LDB error string only for the Python bindings alone. This should be done in "ldb_request" and "ldb_wait" - the common place for all possible LDB access mechanisms. Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4:ldap_backend.c/"map_ldb_error" - handle errors similar to "PyErr_SetLdbError"Matthias Dieter Wallnöfer2011-10-111-6/+2
| | | | | | | | | | If the call was done using an error string ("add_err_string"), then use that one without an additional "ldb_strerror()" for the definitive LDAP output. Otherwise generate one using "ldb_strerror()". This omits redundancies in the error string generation (twice the same information by "ldb_strerror()"). Signed-off-by: Andrew Tridgell <tridge@samba.org>
* ldb:ldb.c/"ldb_wait" - make "ldb_wait" always return an error stringMatthias Dieter Wallnöfer2011-10-111-4/+39
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* ldb:ldb.c/"ldb_wait" - change "ldb_wait" slightly in order to introduce ↵Matthias Dieter Wallnöfer2011-10-111-3/+5
| | | | | | | | | | | | | | | error messages In this occasion remove a redundant check for "LDB_ASYNC_DONE": if (handle->state == LDB_ASYNC_DONE || if (handle->state == LDB_ASYNC_DONE) handle->status != LDB_SUCCESS) { return handle->status; return handle->status; == if (handle->status != LDB_SUCCESS) } return handle->status; ... ... return LDB_SUCCESS; return LDB_SUCCESS; Signed-off-by: Andrew Tridgell <tridge@samba.org>
* ldb:ldb.c/"ldb_request" - make "ldb_request" always return an error stringMatthias Dieter Wallnöfer2011-10-111-1/+15
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* ldb:ldb.c - "ldb_set_errstring" can be implemented by using ↵Matthias Dieter Wallnöfer2011-10-111-10/+7
| | | | | | "ldb_asprintf_errstring" Signed-off-by: Andrew Tridgell <tridge@samba.org>
* ldb:ldb_autotransaction_request - fix a typo in a commentMatthias Dieter Wallnöfer2011-10-111-1/+1
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* gensec: trim header includes back to what is actually requiredAndrew Bartlett2011-10-111-8/+2
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Oct 11 06:13:08 CEST 2011 on sn-devel-104
* auth/credentials Declare remaining functions are public interfaces and put ↵Andrew Bartlett2011-10-112-9/+45
| | | | | | | | | into credentials.h This is in preperation for this file being used by s3, and recognises that these are all reasonable, public interfaces but were not declared as such in the past. Andrew Bartlett
* auth: move gensec_start.c to the top levelAndrew Bartlett2011-10-119-48/+76
| | | | | | | This does not change who uses gensec for now, but makes it possible to write new gensec modules outside source4/ Andrew Bartlett