summaryrefslogtreecommitdiffstats
path: root/source3/passdb
Commit message (Collapse)AuthorAgeFilesLines
...
* s3-passdb: Fix pdb_samba4 setting of plaintext passwordsAndrew Bartlett2012-01-241-1/+9
| | | | | | | | We were setting a UTF8 password into the UTF16 clearTextPassword. Converting from CH_UNIX to CH_UTF16 should fix this. Andrew Bartlett
* s3-passdb: Use DSDB_PASSWORD_BYPASS_LAST_SET flags in pdb_samba4Andrew Bartlett2012-01-241-9/+9
|
* s3: Add a "lock_order" argument to db_openVolker Lendecke2012-01-183-6/+11
| | | | | | | This will be used to enforce a lock hierarchy between the databases. We have seen deadlocks between locking.tdb, brlock.tdb, serverid.tdb and notify*.tdb. These should be fixed by refusing a dbwrap_fetch_locked that does not follow a defined lock hierarchy.
* s3-passdb: trying to decouple passdb and secrets a little.Günther Deschner2012-01-185-100/+169
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Jan 18 14:46:18 CET 2012 on sn-devel-104
* s3-waf: fix compile of pdb_ldap as shared module by moving ldap schema ↵Günther Deschner2012-01-131-1/+1
| | | | | | | | | helpers to libpdb.so These helpers are used in other parts of Samba as well (like in idmap and in the net provision code). Guenther
* s3-passdb: make pdb_password_change_time_max static.Günther Deschner2011-11-291-1/+1
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Nov 29 15:16:51 CET 2011 on sn-devel-104
* s3-py-passdb: Fix handling of uninitialized gid valuesAmitay Isaacs2011-11-181-1/+1
| | | | | | | | Uninitialized gid value is set to -1 and return as such from python passdb api. Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Fri Nov 18 06:18:33 CET 2011 on sn-devel-104
* s4-s3-upgrade now look for -1 as the special 'not set' valueAndrew Bartlett2011-11-181-1/+1
| | | | | | | this is possible because we know the py_passdb will always set -1 here, not passing though 0xFFFFFFFF. Andrew Bartlett
* s3-smbldap: remove duplicate prototype.Günther Deschner2011-11-171-0/+1
| | | | Guenther
* s3-waf: create a smbldap.so library.Günther Deschner2011-11-161-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
* s3-smbldap: extend smbldap_init() with binddn/bindsecret arguments.Günther Deschner2011-11-161-2/+12
| | | | Guenther
* s3-passdb: split out passdb/pdb_ldap_schema.cGünther Deschner2011-11-166-1/+378
| | | | Guenther
* s3: move smbldap_util to pdb_ldap_util.Günther Deschner2011-11-164-1/+369
| | | | Guenther
* Fix bug #8561 - Password change settings not fully observed.Jeremy Allison2011-11-161-4/+34
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Nov 16 00:22:41 CET 2011 on sn-devel-104
* py_passdb: Cannot steal an item pointer from an arrayAmitay Isaacs2011-11-111-4/+9
| | | | | Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Fri Nov 11 12:04:33 CET 2011 on sn-devel-104
* s3-py_passdb Ensure that group mapping list input is initailisedAndrew Bartlett2011-11-091-1/+2
| | | | | | This may help to ensure we consistantly crash on an incorrect de-reference. Andrew Bartlett
* s3-passdb Initialise the correct level of pointer dereferenceAndrew Bartlett2011-11-091-1/+1
| | | | | | | | *pp_rmap may be NULL or un-initialised data. This was introduced by 995d1567265be178b4e45f79ea4562a7041ffa52. Andrew Bartlett
* s3-passdb: use tevent_context in passdb.Günther Deschner2011-10-282-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
* pdb-interface: Do not use unid_t hereSimo Sorce2011-10-186-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
* s3-passdb: remove libwbclient header dependency for passdb/lookup_sid.h.Günther Deschner2011-10-141-1/+3
| | | | Guenther
* s3-passdb: remove fstring from pdb_set_user_sid_from_string().Günther Deschner2011-10-141-1/+1
| | | | Guenther
* s3-passdb: add define guards for machine_sid.h.Günther Deschner2011-10-141-0/+5
| | | | Guenther
* s3-passdb: use uintX_t at least in headers.Günther Deschner2011-10-141-1/+1
| | | | Guenther
* s3-passdb: move passdb prototypes into passdb.hGünther Deschner2011-10-141-325/+0
| | | | Guenther
* s3-group-mapping: Remove fstrings from GROUP_MAP.Simo Sorce2011-10-129-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
* s3:dbwrap: change dbwrap_store_uint32() to NTSTATUS return typeMichael Adam2011-10-112-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
* s3:dbwrap: change dbwrap_store_int32() to NTSTATUS return typeMichael Adam2011-10-111-6/+10
| | | | for consistency and better error propagation
* s3:dbwrap: change dbwrap_fetch_uint32() to NTSTATUS return type (instead of ↵Michael Adam2011-10-112-8/+11
| | | | | | bool) for consistency and better error propagation
* s3:dbwrap: convert dbwrap_fetch_int32() to NTSTATUS return codeMichael Adam2011-10-111-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.
* s3:passdb:account_pol: use dbwrap_fetch_uint32, not dbwrap_fetch_int32 for ↵Michael Adam2011-10-111-3/+12
| | | | | | the DB version This is also stored as uint32_t.
* s3:secrets: convert to use dbwrap wrapper functions onlyMichael Adam2011-10-112-7/+14
| | | | Avoid direct use of the db_record and db_context structs.
* s3:passdb: convert account_pol to use dbwrap wrapper functions onlyMichael Adam2011-10-111-4/+4
| | | | Avoid direct use of the db_record and db_context structs.
* s3:passdb: convert machine_sid to use dbwrap wrapper functions onlyMichael Adam2011-10-111-3/+3
| | | | Avoid direct use of the db_record and db_context structs.
* s3:passdb: convert pdb_tdb to use dbwrap wrapper functions.Michael Adam2011-10-111-46/+61
| | | | Avoid direct use of the db_record and db_context structs
* s3:dbwrap: convert dbwrap_fetch(), dbwrap_fetch_bystring() and ↵Michael Adam2011-10-111-5/+6
| | | | dbwrap_fetch_bystring_upper() to NTSTATUS
* s3-passdb: split out passdb/pdb_ipa.h.Günther Deschner2011-10-114-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
* s3-passdb: split out passdb/pdb_nds.h.Günther Deschner2011-10-114-15/+41
| | | | Guenther
* s3-passdb: split out passdb/pdb_ldap.h.Günther Deschner2011-10-115-7/+45
| | | | Guenther
* lib/param move source4 param code to the top levelAndrew Bartlett2011-10-111-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
* s3-passdb: split out passdb/pdb_smbpasswd.h.Günther Deschner2011-10-103-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
* s3-passdb: split out passdb/pdb_wbc_sam.h.Günther Deschner2011-10-103-4/+34
| | | | Guenther
* s3-passdb: split out passdb/pdb_tdb.h.Günther Deschner2011-10-103-4/+33
| | | | Guenther
* build: Remove _SAMBA_WAF_BUILD_Andrew Bartlett2011-10-071-4/+4
| | | | | | The _SAMBA_BUILD_ macro can pick the difference between autoconf and waf builds now Andrew Bartlett
* build: Reduce build systems to just top level waf and autoconfAndrew Bartlett2011-10-071-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
* s3-pdb_samba4: Remove unused attribute from domain searchAndrew Bartlett2011-09-271-1/+0
|
* s3-passdb: Cleanup use of fstring and move to talloc.Simo Sorce2011-09-261-5/+14
| | | | Signed-off-by: Andreas Schneider <asn@samba.org>
* s3-pdb_ipa: Add supprted encryption types to struct pdb_trusted_domainSumit Bose2011-08-311-0/+23
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-pdb_ipa: Add posix offset to struct pdb_trusted_domainSumit Bose2011-08-311-0/+22
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-pdb_ipa: Derive domain GUID from SIDSumit Bose2011-08-311-2/+23
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-passdb: Allocate talloc stackframe before calling pdb_get_group_sid()Amitay Isaacs2011-08-261-5/+6
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>