summaryrefslogtreecommitdiffstats
path: root/source3/passdb
Commit message (Collapse)AuthorAgeFilesLines
...
* s3: Add "country_code" to struct samuVolker Lendecke2011-02-151-0/+12
|
* s3: Add userWorkstations and userParameters to pdb_adsVolker Lendecke2011-02-151-0/+20
|
* s3-waf: TLDAP is only needed by pdb_ads (and smbtorture).Günther Deschner2011-02-151-1/+1
| | | | Guenther
* s3: Add "comment" and "description" to pdb_adsVolker Lendecke2011-02-131-0/+20
| | | | | | | | This is pending a change to samldb_description_check, we might have to modify the description with a TLDAP_MOD_REPLACE operation. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Feb 13 17:56:58 CET 2011 on sn-devel-104
* s3: Make "net sam list [users|workstations]" list only the right thingsVolker Lendecke2011-02-131-1/+20
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Feb 13 12:59:14 CET 2011 on sn-devel-104
* s3: Remove an unneeded protoVolker Lendecke2011-02-131-3/+0
|
* s3: Fix some nonempty blank linesVolker Lendecke2011-02-131-6/+6
|
* s3: Convert tldap_entry_values args to "array, count"Volker Lendecke2011-02-131-2/+2
|
* s3: Add an explicit counter to tldap_add_mod_[blobs|str]Volker Lendecke2011-02-131-8/+10
|
* s3: Convert tldap_make_mod_fmt args to "array, count"Volker Lendecke2011-02-131-16/+16
|
* s3: Convert tldap_add_mod_blobs args to "array, count"Volker Lendecke2011-02-131-1/+1
|
* s3: Align the args of pdb_ads_update_sam_account to tldap_modifyVolker Lendecke2011-02-131-2/+2
|
* s3: Make "smbpasswd <user>" work with pdb_adsVolker Lendecke2011-02-121-8/+33
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat Feb 12 15:17:39 CET 2011 on sn-devel-104
* s3-waf: use bld.env.HAVE_LDAP in some more places, hopefully fixes the ↵Günther Deschner2011-02-111-1/+1
| | | | | | | | | builds w/o ldap. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Feb 11 13:08:38 CET 2011 on sn-devel-104
* s3: Align the args in tldap_modifyVolker Lendecke2011-02-101-4/+4
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Feb 10 23:20:05 CET 2011 on sn-devel-104
* s3: Align tldap_add and tldap_add_sendVolker Lendecke2011-02-101-3/+3
|
* s3: Add primary group in pdb_ads_enum_group_membershipsVolker Lendecke2011-02-061-21/+27
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Feb 6 18:41:08 CET 2011 on sn-devel-104
* s3: Fix auth_netlogond to cope with netlogon_creds_CredentialStateVolker Lendecke2011-02-061-25/+0
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Feb 6 17:30:48 CET 2011 on sn-devel-104
* s3: Fix a potential memleak in secrets_fetch_trusted_domain_passwordVolker Lendecke2011-02-061-1/+3
|
* s3: In pdb_ads, cope with artificial samu structsVolker Lendecke2011-02-061-2/+10
|
* s3: Use strlcpy in pdb_ads_connectVolker Lendecke2011-02-061-2/+2
|
* s3-auth: Fixed account lockout check.Andreas Schneider2011-01-171-1/+1
|
* Make sure that user exists after running add user script before adding sam ↵Bjoern Baumbach2010-12-071-0/+5
| | | | | | | account. Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Tue Dec 7 17:37:52 CET 2010 on sn-devel-104
* s3-waf: avoid module name uppercasing.Günther Deschner2010-12-011-10/+10
| | | | | | | | | | This finally allows mixed case module names like the classic build (./configure --shared_modules=charset_CP850) Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Dec 1 18:39:14 CET 2010 on sn-devel-104
* Make getpwnam_alloc() static to lib/username.c, and ensure all username ↵Jeremy Allison2010-10-203-5/+5
| | | | | | | | | | | | lookups go through Get_Pwnam_alloc(), which is the correct wrapper function. We were using it *some* of the time anyway, so this just makes us properly consistent. Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Oct 20 16:02:12 UTC 2010 on sn-devel-104
* s3-waf: fix pdb modules build.Günther Deschner2010-10-181-14/+13
| | | | Guenther
* libcli/security Provide a common, top level libcli/security/security.hAndrew Bartlett2010-10-1215-9/+15
| | | | | | | | | | | | | | This will reduce the noise from merges of the rest of the libcli/security code, without this commit changing what code is actually used. This includes (along with other security headers) dom_sid.h and security_token.h Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Oct 12 05:54:10 UTC 2010 on sn-devel-104
* s3: Remove talloc_autofree_context from pdb_interfaceVolker Lendecke2010-10-031-1/+1
| | | | | None of the pdb backends have special destructors that need to be run at program exit.
* s3-waf: rework CLDAP and LIBCLI_LDAP subsystems.Günther Deschner2010-09-271-0/+1
| | | | Guenther
* s3-waf: move pdb subsystem to pdb/wscript_build.Günther Deschner2010-09-271-0/+48
| | | | Guenther
* s3: Remove talloc_autofree_context() from guest_user_info()Volker Lendecke2010-09-261-1/+2
| | | | pwd is freed a few lines down
* s3: Remove talloc_autofree_context() from lookup_unix_user_name()Volker Lendecke2010-09-261-1/+1
| | | | pwd is freed in this routine immediately
* s3: Remove talloc_autofree_context() from pdb_init_ads()Volker Lendecke2010-09-261-1/+1
|
* s3: Replace sid_binstring and sid_guidstring with PIDL-based alternativesAndrew Bartlett2010-09-201-10/+11
| | | | | | | | | This reduces the manual marshalling of these structures by removing the duplication here. Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org>
* s3-util_sid: use shared dom_sid_compare_auth and dom_sid_equal_X functions.Günther Deschner2010-09-209-17/+26
| | | | Guenther
* s3-auth Change type of num_sids to uint32_tAndrew Bartlett2010-09-111-2/+3
| | | | | | | | | | | | | | size_t is overkill here, and in struct security_token in the num_sids is uint32_t. This includes a change to the prototype of add_sid_to_array() and add_sid_to_array_unique(), which has had a number of consequnetial changes as I try to sort out all the callers using a pointer to the number of sids. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3-passdb: Try to unlock the account if it is locked out.Andreas Schneider2010-08-301-10/+53
| | | | Signed-off-by: Simo Sorce <idra@samba.org>
* s3-passdb: Added a pdb_try_account_unlock function.Andreas Schneider2010-08-301-0/+74
| | | | | | | | The function checks if the account has been autolocked. If we have a lockout_duration and a bad password time it checks if we can unlock the account. Signed-off-by: Simo Sorce <idra@samba.org>
* s3-build: use dbwrap.h only where needed.Günther Deschner2010-08-265-0/+5
| | | | Guenther
* s3-idmap: only include idmap headers where needed.Günther Deschner2010-08-262-0/+2
| | | | Guenther
* s3-build: only include nsswitch header where needed.Günther Deschner2010-08-261-0/+1
| | | | Guenther
* s3-build: only include memcache.h where needed.Günther Deschner2010-08-262-0/+2
| | | | Guenther
* s3:pdb_ldap: move some code in ldapsam_create_dom_group()Michael Adam2010-08-141-22/+25
| | | | | | | | to make the flow more similar to ldapsam_create_user(). This prepares for calling winbind_sid_to_gid() instead of winbind_allocate_gid(): we need the group_sid for this... Michael
* s3-passdb: include samr.h where needed.Günther Deschner2010-08-063-0/+3
| | | | Guenther
* s3-secrets: only include secrets.h when needed.Günther Deschner2010-08-058-0/+8
| | | | Guenther
* s3: [ug]id_to_unix_... can not failVolker Lendecke2010-07-111-4/+12
| | | | Remove some silly failure checks
* s3:pdb_ldap: change LDAP password before samba password hashesBjörn Jacke2010-07-061-33/+34
| | | | | | | this way we can catch up with password change refuses from ldap password policy overlays and abort the password change early. Thanks to Andy Hanton <andyhanton@gmail.com> for the initial patch.
* s3: Fix another aspect of bug 7262 and make paged results work againVolker Lendecke2010-07-061-4/+4
|
* s3: Make talloc_attrs() staticVolker Lendecke2010-07-051-1/+1
|
* s3-libads: only include libds flags where needed.Günther Deschner2010-07-011-0/+1
| | | | Guenther