summaryrefslogtreecommitdiffstats
path: root/source3/passdb
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* s3: Fix Coverity ID 513: UNINITVolker Lendecke2011-03-271-1/+1
|
* s3: Fix Coverity ID 2328: FORWARD_NULLVolker Lendecke2011-03-271-0/+3
| | | | Make startsmbfilepwent robust against an invalid open type
* s3-ldapsam: fix ldapsam_create_user() with existing posix accounts.Günther Deschner2011-03-241-1/+1
| | | | | | | | | We were not taking into account the existing posix attributes and thus failed while trying to add a 2nd uid attribute. Found by Sumit. Guenther
* charcnv: removed the allow_badcharcnv and allow_bad_conv options to ↵Andrew Tridgell2011-03-241-3/+2
| | | | | | | | | convert_string*() we shouldn't accept bad multi-byte strings, it just hides problems Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Mar 24 01:47:26 CET 2011 on sn-devel-104
* Fix compiler warning in debug message.Jeremy Allison2011-03-171-1/+1
|
* s3: Fix Coverity ID 1034, CHECKED_RETURNVolker Lendecke2011-03-161-3/+1
| | | | In all other places we check the result of secrets_init.
* s3: Fix a cut&paste error in pdb_ads_connectVolker Lendecke2011-03-161-1/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Mar 16 08:22:28 CET 2011 on sn-devel-104
* s3: Read uidNumber/gidNumber in pdb_ads_sid_to_idVolker Lendecke2011-03-151-29/+45
| | | | | | | Question: How shall we allocate those? Something like the rid allocator? Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Mar 15 09:59:55 CET 2011 on sn-devel-104
* Quite some callers of sid_split_rid do not care about the ridVolker Lendecke2011-03-105-14/+8
|
* s3: Move EXOP definitions to smbldap.hVolker Lendecke2011-03-061-25/+0
| | | | | | | This attempts to fix the build on Solaris Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Mar 6 10:45:16 CET 2011 on sn-devel-104
* s3: Remove an obsolete commentVolker Lendecke2011-03-031-3/+1
|
* s3-libds: use already existing ../libds/common/flag_mapping.h header.Günther Deschner2011-03-021-0/+1
| | | | Guenther