summaryrefslogtreecommitdiff
path: root/source3/passdb
AgeCommit message (Collapse)AuthorFilesLines
2011-11-18s4-s3-upgrade now look for -1 as the special 'not set' valueAndrew Bartlett1-1/+1
this is possible because we know the py_passdb will always set -1 here, not passing though 0xFFFFFFFF. Andrew Bartlett
2011-11-17s3-smbldap: remove duplicate prototype.Günther Deschner1-0/+1
Guenther
2011-11-16s3-waf: create a smbldap.so library.Günther Deschner1-0/+1
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Nov 16 14:03:05 CET 2011 on sn-devel-104
2011-11-16s3-smbldap: extend smbldap_init() with binddn/bindsecret arguments.Günther Deschner1-2/+12
Guenther
2011-11-16s3-passdb: split out passdb/pdb_ldap_schema.cGünther Deschner6-1/+378
Guenther
2011-11-16s3: move smbldap_util to pdb_ldap_util.Günther Deschner4-1/+369
Guenther
2011-11-16Fix bug #8561 - Password change settings not fully observed.Jeremy Allison1-4/+34
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Nov 16 00:22:41 CET 2011 on sn-devel-104
2011-11-11py_passdb: Cannot steal an item pointer from an arrayAmitay Isaacs1-4/+9
Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Fri Nov 11 12:04:33 CET 2011 on sn-devel-104
2011-11-09s3-py_passdb Ensure that group mapping list input is initailisedAndrew Bartlett1-1/+2
This may help to ensure we consistantly crash on an incorrect de-reference. Andrew Bartlett
2011-11-09s3-passdb Initialise the correct level of pointer dereferenceAndrew Bartlett1-1/+1
*pp_rmap may be NULL or un-initialised data. This was introduced by 995d1567265be178b4e45f79ea4562a7041ffa52. Andrew Bartlett
2011-10-28s3-passdb: use tevent_context in passdb.Günther Deschner2-6/+6
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Oct 28 13:09:47 CEST 2011 on sn-devel-104
2011-10-18pdb-interface: Do not use unid_t hereSimo Sorce6-46/+52
This interface needs to be publicly available, unid_t here is not really useful and makes it harder to use it as unid_t is not a public union. Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Tue Oct 18 20:57:16 CEST 2011 on sn-devel-104
2011-10-14s3-passdb: remove libwbclient header dependency for passdb/lookup_sid.h.Günther Deschner1-1/+3
Guenther
2011-10-14s3-passdb: remove fstring from pdb_set_user_sid_from_string().Günther Deschner1-1/+1
Guenther
2011-10-14s3-passdb: add define guards for machine_sid.h.Günther Deschner1-0/+5
Guenther
2011-10-14s3-passdb: use uintX_t at least in headers.Günther Deschner1-1/+1
Guenther
2011-10-14s3-passdb: move passdb prototypes into passdb.hGünther Deschner1-325/+0
Guenther
2011-10-12s3-group-mapping: Remove fstrings from GROUP_MAP.Simo Sorce9-86/+196
Signed-off-by: Andreas Schneider <asn@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Oct 12 19:28:12 CEST 2011 on sn-devel-104
2011-10-11s3:dbwrap: change dbwrap_store_uint32() to NTSTATUS return typeMichael Adam2-3/+6
for consistency and better error propagation Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Tue Oct 11 15:51:00 CEST 2011 on sn-devel-104
2011-10-11s3:dbwrap: change dbwrap_store_int32() to NTSTATUS return typeMichael Adam1-6/+10
for consistency and better error propagation
2011-10-11s3:dbwrap: change dbwrap_fetch_uint32() to NTSTATUS return type (instead of ↵Michael Adam2-8/+11
bool) for consistency and better error propagation
2011-10-11s3:dbwrap: convert dbwrap_fetch_int32() to NTSTATUS return codeMichael Adam1-8/+12
Return the int32 value retrieved from the db by reference. Before this, return value "-1" was used as a error indication, but it could also be a valid value from the database.
2011-10-11s3:passdb:account_pol: use dbwrap_fetch_uint32, not dbwrap_fetch_int32 for ↵Michael Adam1-3/+12
the DB version This is also stored as uint32_t.
2011-10-11s3:secrets: convert to use dbwrap wrapper functions onlyMichael Adam2-7/+14
Avoid direct use of the db_record and db_context structs.
2011-10-11s3:passdb: convert account_pol to use dbwrap wrapper functions onlyMichael Adam1-4/+4
Avoid direct use of the db_record and db_context structs.
2011-10-11s3:passdb: convert machine_sid to use dbwrap wrapper functions onlyMichael Adam1-3/+3
Avoid direct use of the db_record and db_context structs.
2011-10-11s3:passdb: convert pdb_tdb to use dbwrap wrapper functions.Michael Adam1-46/+61
Avoid direct use of the db_record and db_context structs
2011-10-11s3:dbwrap: convert dbwrap_fetch(), dbwrap_fetch_bystring() and ↵Michael Adam1-5/+6
dbwrap_fetch_bystring_upper() to NTSTATUS
2011-10-11s3-passdb: split out passdb/pdb_ipa.h.Günther Deschner4-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-11s3-passdb: split out passdb/pdb_nds.h.Günther Deschner4-15/+41
Guenther
2011-10-11s3-passdb: split out passdb/pdb_ldap.h.Günther Deschner5-7/+45
Guenther
2011-10-11lib/param move source4 param code to the top levelAndrew Bartlett1-1/+1
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-10s3-passdb: split out passdb/pdb_smbpasswd.h.Günther Deschner3-4/+31
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Oct 10 20:14:46 CEST 2011 on sn-devel-104
2011-10-10s3-passdb: split out passdb/pdb_wbc_sam.h.Günther Deschner3-4/+34
Guenther
2011-10-10s3-passdb: split out passdb/pdb_tdb.h.Günther Deschner3-4/+33
Guenther
2011-10-07build: Remove _SAMBA_WAF_BUILD_Andrew Bartlett1-4/+4
The _SAMBA_BUILD_ macro can pick the difference between autoconf and waf builds now Andrew Bartlett
2011-10-07build: Reduce build systems to just top level waf and autoconfAndrew Bartlett1-7/+6
The s3-waf build system is a key component of the top level build, but with this commit is is no longer available directly. This reduces the number of build system combinations in master as we prepare for the Samba 4.0 release. Andrew Bartlett
2011-09-27s3-pdb_samba4: Remove unused attribute from domain searchAndrew Bartlett1-1/+0
2011-09-26s3-passdb: Cleanup use of fstring and move to talloc.Simo Sorce1-5/+14
Signed-off-by: Andreas Schneider <asn@samba.org>
2011-08-31s3-pdb_ipa: Add supprted encryption types to struct pdb_trusted_domainSumit Bose1-0/+23
Signed-off-by: Günther Deschner <gd@samba.org>
2011-08-31s3-pdb_ipa: Add posix offset to struct pdb_trusted_domainSumit Bose1-0/+22
Signed-off-by: Günther Deschner <gd@samba.org>
2011-08-31s3-pdb_ipa: Derive domain GUID from SIDSumit Bose1-2/+23
Signed-off-by: Günther Deschner <gd@samba.org>
2011-08-26s3-passdb: Allocate talloc stackframe before calling pdb_get_group_sid()Amitay Isaacs1-5/+6
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-08-26s3-passdb: Make domain_sid argument optional for search_aliases methodAmitay Isaacs1-5/+10
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-08-26s3-passdb: Return assigned number of hours and not MAX_HOURS_LENAmitay Isaacs1-3/+4
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-08-26s3-passdb: Convert lm_pw and nt_pw to python string using lengthAmitay Isaacs1-2/+2
lm_pw and nt_pw are fixed length strings and convert them to python strings as fixed length strings. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-08-25pdb-samba4: use ldb_get_default_basedn() instead of NULLAndrew Tridgell1-3/+3
this makes pdb-samba4 safe for multi-domain setups Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-08-21s3-passdb: Only delete 1 entry from memcache.Andreas Schneider1-1/+4
If we delete or update one user we shouldn't flush the complete memcache. Signed-off-by: Simo Sorce <idra@samba.org> Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Sun Aug 21 16:39:10 CEST 2011 on sn-devel-104
2011-08-21s3-passdb: Remove always the user from getpwsid cache.Andreas Schneider1-3/+8
We should do it always, not only in the pdb_default_delete_user() function. Signed-off-by: Simo Sorce <idra@samba.org>
2011-08-21s3-passdb: Keep caches coherentAndreas Schneider1-1/+23
When deleting a user send a message to all interested parties so they can purge their caches. Otherwise some processes may positively respond with a cached getpwnam, when the user have actully been removed. Without this some tests that remove and then immediately create users are flakey. Signed-off-by: Simo Sorce <idra@samba.org>