summaryrefslogtreecommitdiffstats
path: root/source3/passdb/pdb_samba4.c
Commit message (Collapse)AuthorAgeFilesLines
* s3-passdb: Remove #if _SAMBA_BUILD_ == 4 from pdb_samba4Andrew Bartlett2012-02-081-2/+0
| | | | | | | | | pdb_samba4 is only built with waf anyway. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Feb 8 09:17:40 CET 2012 on sn-devel-104
* s3-pdb: Make ADS-type backends updates secrets.tdb.Simo Sorce2012-01-271-0/+43
| | | | | | | | | | Make the backends that have ADS capability the only ones that can change the SID and GUID in secrets.tdb at initialization time. Signed-off-by: Andreas Schneider <asn@samba.org> Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Fri Jan 27 19:42:17 CET 2012 on sn-devel-104
* 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
|
* pdb-interface: Do not use unid_t hereSimo Sorce2011-10-181-7/+6
| | | | | | | | 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-group-mapping: Remove fstrings from GROUP_MAP.Simo Sorce2011-10-121-4/+12
| | | | | | | 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
* 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-pdb_samba4: Remove unused attribute from domain searchAndrew Bartlett2011-09-271-1/+0
|
* pdb-samba4: use ldb_get_default_basedn() instead of NULLAndrew Tridgell2011-08-251-3/+3
| | | | | | this makes pdb-samba4 safe for multi-domain setups Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s3-passdb pdb_samba4 handles PDB_PWHISTORY alreadyAndrew Bartlett2011-08-191-1/+0
| | | | | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Aug 19 10:40:16 CEST 2011 on sn-devel-104
* s3-passdb: Use pdb_get_nt_passwd() to get nt passwd.Amitay Isaacs2011-08-191-1/+1
| | | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s3-passdb: Connect to specified samdb if location is provided, otherwise use ↵Amitay Isaacs2011-08-131-1/+9
| | | | | | default Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s3-passdb: Fix the error messages and return correct NTSTATUSAmitay Isaacs2011-08-131-6/+8
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-scripting Rename passdb upgrade routine to avoid conflict with ↵Andrew Bartlett2011-08-131-14/+7
| | | | upgradeprovision
* s3-passdb Add support for pdb_add_sam_account() and password hashes to ↵Andrew Bartlett2011-08-131-69/+222
| | | | | | | | | pdb_samba4 This will help when using this as part of the Samba3 passdb -> Samba4 ldb database upgrade script. Andrew Bartlett
* s4-dsdb Add ability to force a particular SID in the upgrade caseAndrew Bartlett2011-08-131-1/+2
|
* s3:passdb/pdb_samba4.c - remove unused variableMatthias Dieter Wallnöfer2011-06-091-1/+0
| | | | Reviewed-by: Tridge
* s3:passdb/pdb_samba4.c - fix a format specifier warningMatthias Dieter Wallnöfer2011-06-091-1/+1
| | | | Reviewed-by: Tridge
* s3-passdb use new loadparm_init_s3 rather than reloading the smb.confAndrew Bartlett2011-06-061-14/+2
|
* s3-passdb: added pdb_samba4Andrew Bartlett2011-05-081-0/+2113
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>