summaryrefslogtreecommitdiff
path: root/source3/passdb
AgeCommit message (Collapse)AuthorFilesLines
2011-02-16s3-ipasam: implement enum_trusted_domainsSumit Bose1-0/+76
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-16s3-ipasam: implement {get,set,del}_trusted_domainSumit Bose1-0/+434
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-16s3-passdb: make priv2ld() publicSumit Bose1-1/+1
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-16s3-passdb: add {get,set,del,enum}_trusted_domain callsSumit Bose1-0/+65
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-16s3-ipasam: Disable old trustdom_pw callsSumit Bose1-0/+36
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-16s3-passdb: Add minimal stub for IPA passdb backendSumit Bose3-1/+50
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-15s3: Support "codePage" in pdb_adsVolker Lendecke1-0/+8
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Feb 15 22:00:27 CET 2011 on sn-devel-104
2011-02-15s3: Add "code_page" to struct samuVolker Lendecke1-0/+12
2011-02-15s3: Support "country_code" in pdb_adsVolker Lendecke1-0/+10
2011-02-15s3: Add "country_code" to struct samuVolker Lendecke1-0/+12
2011-02-15s3: Add userWorkstations and userParameters to pdb_adsVolker Lendecke1-0/+20
2011-02-15s3-waf: TLDAP is only needed by pdb_ads (and smbtorture).Günther Deschner1-1/+1
Guenther
2011-02-13s3: Add "comment" and "description" to pdb_adsVolker Lendecke1-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
2011-02-13s3: Make "net sam list [users|workstations]" list only the right thingsVolker Lendecke1-1/+20
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Feb 13 12:59:14 CET 2011 on sn-devel-104
2011-02-13s3: Remove an unneeded protoVolker Lendecke1-3/+0
2011-02-13s3: Fix some nonempty blank linesVolker Lendecke1-6/+6
2011-02-13s3: Convert tldap_entry_values args to "array, count"Volker Lendecke1-2/+2
2011-02-13s3: Add an explicit counter to tldap_add_mod_[blobs|str]Volker Lendecke1-8/+10
2011-02-13s3: Convert tldap_make_mod_fmt args to "array, count"Volker Lendecke1-16/+16
2011-02-13s3: Convert tldap_add_mod_blobs args to "array, count"Volker Lendecke1-1/+1
2011-02-13s3: Align the args of pdb_ads_update_sam_account to tldap_modifyVolker Lendecke1-2/+2
2011-02-12s3: Make "smbpasswd <user>" work with pdb_adsVolker Lendecke1-8/+33
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat Feb 12 15:17:39 CET 2011 on sn-devel-104
2011-02-11s3-waf: use bld.env.HAVE_LDAP in some more places, hopefully fixes the ↵Günther Deschner1-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
2011-02-10s3: Align the args in tldap_modifyVolker Lendecke1-4/+4
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Feb 10 23:20:05 CET 2011 on sn-devel-104
2011-02-10s3: Align tldap_add and tldap_add_sendVolker Lendecke1-3/+3
2011-02-06s3: Add primary group in pdb_ads_enum_group_membershipsVolker Lendecke1-21/+27
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Feb 6 18:41:08 CET 2011 on sn-devel-104
2011-02-06s3: Fix auth_netlogond to cope with netlogon_creds_CredentialStateVolker Lendecke1-25/+0
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Feb 6 17:30:48 CET 2011 on sn-devel-104
2011-02-06s3: Fix a potential memleak in secrets_fetch_trusted_domain_passwordVolker Lendecke1-1/+3
2011-02-06s3: In pdb_ads, cope with artificial samu structsVolker Lendecke1-2/+10
2011-02-06s3: Use strlcpy in pdb_ads_connectVolker Lendecke1-2/+2
2011-01-17s3-auth: Fixed account lockout check.Andreas Schneider1-1/+1
2010-12-07Make sure that user exists after running add user script before adding sam ↵Bjoern Baumbach1-0/+5
account. Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Tue Dec 7 17:37:52 CET 2010 on sn-devel-104
2010-12-01s3-waf: avoid module name uppercasing.Günther Deschner1-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
2010-10-20Make getpwnam_alloc() static to lib/username.c, and ensure all username ↵Jeremy Allison3-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
2010-10-18s3-waf: fix pdb modules build.Günther Deschner1-14/+13
Guenther
2010-10-12libcli/security Provide a common, top level libcli/security/security.hAndrew Bartlett15-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
2010-10-03s3: Remove talloc_autofree_context from pdb_interfaceVolker Lendecke1-1/+1
None of the pdb backends have special destructors that need to be run at program exit.
2010-09-27s3-waf: rework CLDAP and LIBCLI_LDAP subsystems.Günther Deschner1-0/+1
Guenther
2010-09-27s3-waf: move pdb subsystem to pdb/wscript_build.Günther Deschner1-0/+48
Guenther
2010-09-26s3: Remove talloc_autofree_context() from guest_user_info()Volker Lendecke1-1/+2
pwd is freed a few lines down
2010-09-26s3: Remove talloc_autofree_context() from lookup_unix_user_name()Volker Lendecke1-1/+1
pwd is freed in this routine immediately
2010-09-26s3: Remove talloc_autofree_context() from pdb_init_ads()Volker Lendecke1-1/+1
2010-09-20s3: Replace sid_binstring and sid_guidstring with PIDL-based alternativesAndrew Bartlett1-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>
2010-09-20s3-util_sid: use shared dom_sid_compare_auth and dom_sid_equal_X functions.Günther Deschner9-17/+26
Guenther
2010-09-11s3-auth Change type of num_sids to uint32_tAndrew Bartlett1-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>
2010-08-30s3-passdb: Try to unlock the account if it is locked out.Andreas Schneider1-10/+53
Signed-off-by: Simo Sorce <idra@samba.org>
2010-08-30s3-passdb: Added a pdb_try_account_unlock function.Andreas Schneider1-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>
2010-08-26s3-build: use dbwrap.h only where needed.Günther Deschner5-0/+5
Guenther
2010-08-26s3-idmap: only include idmap headers where needed.Günther Deschner2-0/+2
Guenther
2010-08-26s3-build: only include nsswitch header where needed.Günther Deschner1-0/+1
Guenther