summaryrefslogtreecommitdiffstats
path: root/source3/passdb
Commit message (Collapse)AuthorAgeFilesLines
...
* s3-talloc Change TALLOC_ZERO_ARRAY() to talloc_zero_array()Andrew Bartlett2011-06-092-3/+3
| | | | | Using the standard macro makes it easier to move code into common, as TALLOC_ZERO_ARRAY isn't standard talloc.
* s3-talloc Change TALLOC_ZERO_P() to talloc_zero()Andrew Bartlett2011-06-093-3/+3
| | | | | Using the standard macro makes it easier to move code into common, as TALLOC_ZERO_P isn't standard talloc.
* s3-talloc Change TALLOC_P() to talloc()Andrew Bartlett2011-06-094-4/+4
| | | | | Using the standard macro makes it easier to move code into common, as TALLOC_P isn't standard talloc.
* s3-talloc Change TALLOC_ARRAY() to talloc_array()Andrew Bartlett2011-06-096-15/+15
| | | | | Using the standard macro makes it easier to move code into common, as TALLOC_ARRAY isn't standard talloc.
* s3-talloc Change TALLOC_REALLOC_ARRAY() to talloc_realloc()Andrew Bartlett2011-06-091-1/+1
| | | | | | | Using the standard macro makes it easier to move code into common, as TALLOC_REALLOC_ARRAY isn't standard talloc. Andrew Bartlett
* s3:passdb/pdb_samba4.c - remove unused variableMatthias Dieter Wallnöfer2011-06-091-1/+0
| | | | Reviewed-by: Tridge
* s3:passdb/pdb_samba4.c - fix a format specifier warningMatthias Dieter Wallnöfer2011-06-091-1/+1
| | | | Reviewed-by: Tridge
* s3-passdb use new loadparm_init_s3 rather than reloading the smb.confAndrew Bartlett2011-06-061-14/+2
|
* s3:passdb: add GPL/copyright header to machine_sid.hMichael Adam2011-05-311-0/+21
|
* s3:passdb/proto.h: add _PASSDB_PROTO_H_ guardMichael Adam2011-05-311-0/+4
|
* s3:passdb/proto.h: add GPL/copyright comment headerMichael Adam2011-05-311-0/+36
|
* Fix numerous missing dependencies in WAF build scriptsSean Finney2011-05-251-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With the recent consolidation of code between s3 and s4, a number of new dependencies have been implicitly introduced. For example, previous s3 code gained an implicit dependency on talloc after the charset related consolidation (lib/util/charset/charset.h now includes talloc.h). When building against the embedded version of talloc this isn't a problem since the paths are automatically added to the search path, but when building against the external libraries build failures will occur for all components that don't directly or indirectly include talloc as a dependency. Since charset.h is included from util.h, which in turn is included from includes.h, this means most of the codebase (s3 and s4) has such an undeclared dependency. Therefore, samba-util-common and samba-util have been added as dependencies to the s3 and s4 code respectively, for all cases where the source would otherwise fail to build. Additionally, a few other dependencies are added in specific wscript_build files to address similar dependency-related problems. https://bugzilla.samba.org/show_bug.cgi?id=8128 Signed-off-by: Sean Finney <seanius@seanius.net> Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Wed May 25 19:22:13 CEST 2011 on sn-devel-104
* Fix bug #7054 - X account flag does not work when pwdlastset is 0.Jeremy Allison2011-05-241-2/+1
| | | | | | | | | | | | | Don't allow pass_last_set_time to be set to zero (which means "user must change password on next logon") if user object doesn't allow password change. Don't automatically allow user object password change if "user must change password on next logon" is set. Jim please check. Jeremy.
* s3-lib Replace StrnCaseCmp() with strncasecmp_m()Andrew Bartlett2011-05-181-3/+3
| | | | | | | strncasecmp_m() never needs to call to talloc, and via next_codepoint() still has an ASCII fast-path bypassing iconv() calls. Andrew Bartlett
* s3-passdb: added pdb_samba4Andrew Bartlett2011-05-082-0/+2123
| | | | | | | | This uses direct LDB operations and calls to the dsdb library to allow passdb operations (such as pdbedit and smbpasswd) offline, and uses transactions internally for database consistency. Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>
* s3-passdb Redirect domain GUID and SID queries to the passdb stackAndrew Bartlett2011-05-081-0/+58
| | | | | | | | | This is done if the passdb module supports PDB_ADS, and ensures that a random SID is never made up locally for these directories. This is only enabled when in the waf build, due to dependency issues. Andrew Bartlett
* s3: only include tdb headers where needed.Günther Deschner2011-05-065-0/+5
| | | | Guenther
* More const fixes. Remove CONST_DISCARD.Jeremy Allison2011-05-061-6/+6
|
* Simple +1 changes in hardcoded lengths when changing from safe_strcpy to ↵Jeremy Allison2011-05-041-3/+3
| | | | strlcpy.
* s3: Fix Coverity ID 2471: UNINITVolker Lendecke2011-04-141-2/+1
| | | | | | | Signed-off-by: Günther Deschner <gd@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Apr 14 16:22:58 CEST 2011 on sn-devel-104
* s3: Use wbcSidsToUnixIds in create_local_tokenVolker Lendecke2011-04-132-0/+106
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* s3: Fix Coverity ID 2470: STRAY_SEMICOLONVolker Lendecke2011-04-131-1/+1
| | | | | | | Signed-off-by: Günther Deschner <gd@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Apr 13 12:57:43 CEST 2011 on sn-devel-104
* libcli/ldap pull LIBCLI_LDAP_MESSAGE and LIBCLI_LDAP_NDR into a libraryAndrew Bartlett2011-04-131-1/+1
| | | | | | This reduces symbol duplication Andrew Bartlett
* s3: Fix Coverity ID 2472, UNINITVolker Lendecke2011-04-111-2/+1
| | | | | | | Signed-off-by: Günther Deschner <gd@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Apr 11 17:14:35 CEST 2011 on sn-devel-104
* s3: Fix Coverity ID 2473, UNINITVolker Lendecke2011-04-111-2/+1
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3:passdb:pdb_ipa: fix a C++ implicit void * cast warningsMichael Adam2011-04-071-1/+2
|
* s3-pdb_ipa: Create DN for new objectSumit Bose2011-04-061-0/+18
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-pdb_ipa: Add ipasam_create_dom_group()Sumit Bose2011-04-061-29/+214
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-pdb_ipa: Add ipasam_create_user()Sumit Bose2011-04-061-44/+297
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-pdb_ipa: Detect IPA serverSumit Bose2011-04-061-1/+7
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-pdb_ipa: Use new smbldap_make_mod_blob() without a return valueSumit Bose2011-04-061-38/+9
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-ipasam: rename of smbldap_make_mod_blob to _smbldap_make_mod_blob.Günther Deschner2011-04-061-4/+4
| | | | | | Guenther Signed-off-by: Günther Deschner <gd@samba.org>
* s3-pdb_ipa: Fix indentationSumit Bose2011-04-061-13/+12
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-libndr: add ../librpc/ndr/libndr.h include in some places.Günther Deschner2011-03-312-0/+2
| | | | Guenther
* s3-passdb: move LOOKUP_NAME_ flags to passdb where they belong to.Günther Deschner2011-03-301-0/+48
| | | | Guenther
* s3: only include lib/privileges.h where needed.Günther Deschner2011-03-301-0/+2
| | | | | | This finally removes the global lsa.h inclusion. Guenther
* s3-passdb: move lsa_dom_info and lsa_name_info out of smb.h into passdb.Günther Deschner2011-03-301-0/+16
| | | | Guenther
* s3-passdb: move util_builtin.c out of passdb.Günther Deschner2011-03-301-125/+0
| | | | Guenther
* s3-passdb: move util_unixsids.c out of passdb.Günther Deschner2011-03-302-130/+0
| | | | Guenther
* s3-passdb: move util_wellknown.c out of passdb.Günther Deschner2011-03-302-183/+0
| | | | Guenther
* s3-passdb: add machine_sid.h and lookup_sid.hGünther Deschner2011-03-303-40/+40
| | | | Guenther
* s3-passdb: add passdb.h where needed.Günther Deschner2011-03-3020-0/+20
| | | | Guenther
* s3-passdb: move passdb headers to passdb/proto.h.Günther Deschner2011-03-301-0/+364
| | | | Guenther
* s3: create_builtin_users/administrators belongs to passdb not auth.Günther Deschner2011-03-301-0/+158
| | | | Guenther
* s3-includes: only include system/filesys.h when needed.Günther Deschner2011-03-305-0/+5
| | | | Guenther
* s3-includes: only include system/passwd.h when needed.Günther Deschner2011-03-304-0/+4
| | | | Guenther
* s3-winbind: remove global inclusion of libwbclient.Günther Deschner2011-03-303-0/+3
| | | | Guenther
* lib/util/util_pw: share more code between lib/util/util_pw.c and ↵Günther Deschner2011-03-302-0/+2
| | | | | | source3/lib/username.c Guenther
* lib/util/util_pw: share sys_get{pw,gr} group of calls.Günther Deschner2011-03-302-0/+2
| | | | Guenther
* s3: Fix Coverity ID 976: BAD_SIZEOFVolker Lendecke2011-03-271-1/+1
|