Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-10-11 | s3:dbwrap: add function dbwrap_wipe() | Gregor Beck | 4 | -0/+29 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-10-11 | s3:dbwrap: add specific dbwrap_parse_record() implementation to dbwrap_rbt | Gregor Beck | 1 | -0/+15 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-10-11 | s3:dbwrap: implement dbwrap_fallback_exists() with dbwrap_parse_record() | Gregor Beck | 1 | -10/+2 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-10-11 | s3:dbwrap: allow NULL parser for dbwrap_parse_record() | Gregor Beck | 1 | -0/+9 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-10-11 | s3:dbwrap: dbwrap_parse_record() should always return -1 on "not found" | Gregor Beck | 1 | -1/+1 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-10-11 | s3:dbwrap: add function dbwrap_parse_record() | Gregor Beck | 2 | -0/+16 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-10-11 | s3:dbwrap: add specific dbwrap_exists() implementation to dbwrap_rbt | Gregor Beck | 1 | -0/+6 | |
2011-10-11 | s3:dbwrap: factor out db_rpt_search_internal() | Gregor Beck | 1 | -46/+43 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-10-11 | s3:dbwrap: add specific dbwrap_exists() implementation to dbwrap_tdb | Gregor Beck | 1 | -0/+8 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-10-11 | s3:dbwrap: add function dbwrap_exists() | Gregor Beck | 2 | -0/+31 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-10-11 | s3:dbwrap: add a wrapper dbwrap_traverse_read() | Michael Adam | 2 | -0/+22 | |
2011-10-11 | s3:dbwrap: change the dbwrap_traverse() wrapper to return the count in an ↵ | Michael Adam | 3 | -6/+17 | |
additional parameter | |||||
2011-10-11 | s3:dbwrap: reorganize dbwrap.h some | Michael Adam | 1 | -5/+8 | |
2011-10-11 | s3:dbwrap: move dbwrap_traverse() to dbwrap.c, the core of the dbrwap subsystem | Michael Adam | 2 | -9/+8 | |
2011-10-11 | s3:dbwrap: move dbwrap_store() back to dbwrap.c, the core of the dbwrap ↵ | Michael Adam | 2 | -16/+16 | |
subsystem | |||||
2011-10-11 | s3:dbwrap: move dbwrap_delete() back to dbwrap.c, the core of the dbwrap ↵ | Michael Adam | 2 | -15/+14 | |
subsystem | |||||
2011-10-11 | s3:dbwrap: move dbwrap_fetch() back to dbwrap.c, the core of the dbwrap ↵ | Michael Adam | 2 | -12/+14 | |
subsystem | |||||
2011-10-11 | s3:dbwrap: move the db_open_rbt() prototype to a new header dbwrap_rbt.h | Michael Adam | 10 | -2/+37 | |
2011-10-11 | s3:dbwrap: move the db_open_file() prototype to a new header dbwrap_file.h | Michael Adam | 3 | -8/+37 | |
2011-10-11 | s3:dbwrap: move the db_open_tdb() prototype to a new header dbwrap_tdb.h | Michael Adam | 4 | -5/+35 | |
2011-10-11 | s3:dbwrap: move the db_open_ctdb() prototype to a new header dbwrap_ctdb.h | Michael Adam | 4 | -7/+38 | |
2011-10-11 | s3:vfs_acl_common: also parse xattr.NTACL version 1 | Stefan Metzmacher | 1 | -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 | |||||
2011-10-11 | s3:wscript: add 'gssapi' dependecy to 'errors3' | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2011-10-11 | s3-passdb: split out passdb/pdb_ipa.h. | Günther Deschner | 4 | -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 | |||||
2011-10-11 | s3-passdb: split out passdb/pdb_nds.h. | Günther Deschner | 4 | -15/+41 | |
Guenther | |||||
2011-10-11 | s3-passdb: split out passdb/pdb_ldap.h. | Günther Deschner | 6 | -18/+45 | |
Guenther | |||||
2011-10-11 | s3-smbldap: rearrange prototypes a bit. | Günther Deschner | 1 | -19/+18 | |
Guenther | |||||
2011-10-11 | ldb:ldb_autotransaction_request - error string shouldn't be set here | Matthias Dieter Wallnöfer | 1 | -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 | |||||
2011-10-11 | ldb:pyldb.c - py_ldb_* modification calls - error string shouldn't be set here | Matthias Dieter Wallnöfer | 1 | -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> | |||||
2011-10-11 | s4:ldap_backend.c/"map_ldb_error" - handle errors similar to "PyErr_SetLdbError" | Matthias Dieter Wallnöfer | 1 | -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> | |||||
2011-10-11 | ldb:ldb.c/"ldb_wait" - make "ldb_wait" always return an error string | Matthias Dieter Wallnöfer | 1 | -4/+39 | |
Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2011-10-11 | ldb:ldb.c/"ldb_wait" - change "ldb_wait" slightly in order to introduce ↵ | Matthias Dieter Wallnöfer | 1 | -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> | |||||
2011-10-11 | ldb:ldb.c/"ldb_request" - make "ldb_request" always return an error string | Matthias Dieter Wallnöfer | 1 | -1/+15 | |
Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2011-10-11 | ldb:ldb.c - "ldb_set_errstring" can be implemented by using ↵ | Matthias Dieter Wallnöfer | 1 | -10/+7 | |
"ldb_asprintf_errstring" Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2011-10-11 | ldb:ldb_autotransaction_request - fix a typo in a comment | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2011-10-11 | gensec: trim header includes back to what is actually required | Andrew Bartlett | 1 | -8/+2 | |
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Oct 11 06:13:08 CEST 2011 on sn-devel-104 | |||||
2011-10-11 | auth/credentials Declare remaining functions are public interfaces and put ↵ | Andrew Bartlett | 2 | -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 | |||||
2011-10-11 | auth: move gensec_start.c to the top level | Andrew Bartlett | 9 | -48/+76 | |
This does not change who uses gensec for now, but makes it possible to write new gensec modules outside source4/ Andrew Bartlett | |||||
2011-10-11 | auth: move credentials layer to the top level | Andrew Bartlett | 18 | -4/+8 | |
This will allow gensec_start.c to move to the top level. This does not change what code uses the cli_credentials code, but allows the gensec code to be more broadly. Andrew Bartlett | |||||
2011-10-11 | s4-s3-upgrade: Allow import (just without a uid mapping) where getpwnam fails | Andrew Bartlett | 1 | -1/+1 | |
This allows the tests to pass on systems without a jelmer user :-) Andrew Bartlett | |||||
2011-10-11 | lib/param Avoid dyn_ defines that are not provided by the autoconf build | Andrew Bartlett | 1 | -3/+5 | |
The autoconf build will never use these parameters or load the smb.conf with these defaults, so the defaults are not important. Andrew Bartlett | |||||
2011-10-11 | lib/param Use strcasecmp_m rather than strcasecmp as this is banned in the ↵ | Andrew Bartlett | 1 | -2/+2 | |
s3 includes.h | |||||
2011-10-11 | lib/param Use talloc_strdup rather than strdup as strdup is banned in the s3 ↵ | Andrew Bartlett | 1 | -3/+3 | |
includes.h | |||||
2011-10-11 | lib/param Avoid the name string_set as this is already used in the s3 param code | Andrew Bartlett | 1 | -14/+14 | |
2011-10-11 | lib/param Avoid the use of the name service_ok() which is used in the s3 ↵ | Andrew Bartlett | 1 | -4/+4 | |
param code | |||||
2011-10-11 | lib/param: Remove unused #include of lib/socket/socket.h | Andrew Bartlett | 1 | -1/+0 | |
2011-10-11 | libcli/smb Move CSC_POLICY_* definition to smb_constants.h | Andrew Bartlett | 3 | -12/+8 | |
This removes the duplicate definition between smb.h and lib/param/loadparm.c which in turn allows this file to be compiled with the s3 includes.h Andrew Bartlett | |||||
2011-10-11 | lib/param move source4 param code to the top level | Andrew Bartlett | 22 | -3785/+3821 | |
This is done so that the lpcfg_ functions are available across the whole build, either with the struct loadparm_context loaded from an smb.conf directly or as a wrapper around the source3 param code. This is not the final, merged loadparm, but simply one step to make it easier to solve other problems while we make our slow progress on this difficult problem. Andrew Bartlett | |||||
2011-10-11 | pac: Fix wrong memory allocation check | Simo Sorce | 1 | -1/+1 | |
Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Tue Oct 11 01:18:22 CEST 2011 on sn-devel-104 | |||||
2011-10-10 | ndr.pc: needs samba-util not samba-hostconfig | Simo Sorce | 1 | -1/+1 | |