summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
* selftest: skip all plugin_s4_dc tests if we do not have LDAP libsAndrew Bartlett2011-08-221-5/+6
| | | | | | | This is needed as otherwise make test fails on any system without OpenLDAP libs and headers, which causes our users concern. Andrew Bartlett
* s4-provision set passdb backend to 'samba4' in template smb.conf filesAndrew Bartlett2011-08-224-0/+17
| | | | | | | This will allow smbpasswd, net sam and pdbedit to 'just work' against the newly created databases. Andrew Bartlett
* gensec: Install header file.Jelmer Vernooij2011-08-211-0/+1
|
* samdb: Install header file.Jelmer Vernooij2011-08-211-0/+1
|
* s4/libpolicy: Install header file.Jelmer Vernooij2011-08-214-8/+6
|
* samba-credentials: Add pkg-config file.Jelmer Vernooij2011-08-212-0/+12
|
* s3_upgrade: Set the administrator password on upgradeAmitay Isaacs2011-08-191-2/+22
| | | | | | | | In the upgrade process, set the administrator password from the existing root or administrator account. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s3_upgrade: Do not add administrator and root accounts from s3 to s4Amitay Isaacs2011-08-191-0/+2
| | | | | | | Need to copy the password from s3 for administrator/root to s4. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* python-samba3: Secrets file loaded from private dir, not lib dirAmitay Isaacs2011-08-192-2/+8
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s3upgrade: Add idmap migration, users/groups importAmitay Isaacs2011-08-191-40/+193
| | | | | | | | Added users/groups import from s3 using python wrapper for passdb. Fix idmap entries for users/groups when migrating from s3 idmap. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* provision: Add idmap database handle to the result of provisionAmitay Isaacs2011-08-191-0/+2
| | | | | | | It is required in s3_upgrade script to migrate idmap database from s3 to s4. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* samba3-python: Add methods to get any entry (user/group) and its sid from idmapAmitay Isaacs2011-08-191-0/+14
| | | | | | | This is required in upgrade_s3 script to migrate idmap database from s3 to s4 Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* py_security: Fix comparison between two dom_sid objectsAmitay Isaacs2011-08-191-1/+9
| | | | | | | | dom_sid_compare() function can return values other than -1, 0, 1. Python requires compare function to return value from [-1, 0, 1]. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* credentials: Rename library to samba-credentials to avoid name clashes.Jelmer Vernooij2011-08-1818-33/+33
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu Aug 18 22:16:38 CEST 2011 on sn-devel-104
* cli-raw: Add public libsmbclient-raw library.Jelmer Vernooij2011-08-188-12/+24
|
* libcliraw: Install more header files.Jelmer Vernooij2011-08-184-4/+4
|
* smb_common: Install some more headers.Jelmer Vernooij2011-08-181-1/+1
|
* libcliraw: Install request.h and signing.h.Jelmer Vernooij2011-08-181-1/+2
|
* smb_composite: Remove unnecessary include of signing header.Jelmer Vernooij2011-08-181-1/+0
|
* smb_composite: Integrate prototypes in header file.Jelmer Vernooij2011-08-183-4/+69
|
* s4-test: use dbcheck on more of our selftest databasesAndrew Tridgell2011-08-181-2/+3
| | | | | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Aug 18 02:58:55 CEST 2011 on sn-devel-104
* s4-test: only check one database in quickcheckAndrew Tridgell2011-08-181-1/+1
|
* s4-dsdb: fixed deletion of backlinks for fl2000 DCsAndrew Tridgell2011-08-181-18/+13
| | | | | | | | | when in FL 2000 we were not correctly deleting backlinks as we uses dsdb_find_dn_by_guid() which doesn't find deleted objects. Modules should use dsdb_module_dn_by_guid() which prevents going to the top level, and finds deleted objects Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-dsdb: added comments and fixed backlink check in repl_meta_dataAndrew Tridgell2011-08-181-2/+17
| | | | | | | | added comments explaining the backlink deletion code, plus fix a use of a bitwise operation in a boolean expression, and avoid calling dsdb_functional_level() inside a loop Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-dirsync: use dsdb_module_dn_by_guid() not dsdb_find_dn_by_guid() in modulesAndrew Tridgell2011-08-181-1/+1
| | | | | | this prevents us going to the top level of the module stack Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* samba-tool: changed samba-tool user delete to use samdb instead of Net()Andrew Tridgell2011-08-181-9/+17
| | | | | this makes it possible to use with -H, so you can delete users on remote DCs or against local databases
* s4-samdb: added deleteuser() to samdbAndrew Tridgell2011-08-181-0/+23
| | | | This is similar to deletegroup()
* s4-test: prevent the utable test from crashingAndrew Tridgell2011-08-181-3/+5
|
* Use public pytalloc header file.Jelmer Vernooij2011-08-145-5/+5
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Aug 14 17:18:46 CEST 2011 on sn-devel-104
* s4:misc: remove last usage of legacy event_ fn namesSimo Sorce2011-08-146-12/+12
| | | | | Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Sun Aug 14 00:38:13 CEST 2011 on sn-devel-104
* s4:lib: use tevent_ fns names instead of legcay event_ onesSimo Sorce2011-08-136-28/+28
|
* s4:smbd: use tevent_ fn names instead of leagcy event_ onesSimo Sorce2011-08-134-8/+8
|
* s4:ntvfs: use tevent_ fn names instead of legacy event_ onesSimo Sorce2011-08-134-5/+5
|
* s4:librpc: use tevent_ fn names instead of legacy event_ onesSimo Sorce2011-08-133-9/+9
|
* s4:libcli: use tevent_ fn names instead of legacy event_ onesSimo Sorce2011-08-138-28/+28
|
* s4:dsdb: use tevent_ fn names instaed of legacy event_ onesSimo Sorce2011-08-133-3/+3
|
* s4:messaging: use tevent_ function names instead of legacy event_ onesSimo Sorce2011-08-133-7/+7
|
* torture: use tevent_ functions names instead of the legacy event_ onesSimo Sorce2011-08-1321-70/+70
|
* s4-provision Add support for fixing the DC rid to a particular valueAndrew Bartlett2011-08-132-16/+29
| | | | | | | | This will allow an upgraded DC to keep its SID, while being upgraded to AD. We also watch for the highest RID in the existing DB to set next_rid for other additional users. Andrew Bartlett
* s4-param Set szConfigFile even for s3 loadparm contextsAndrew Bartlett2011-08-131-4/+4
|
* upgrade: Add missing bits for the s3 to s4 upgrade scriptAmitay Isaacs2011-08-132-49/+79
| | | | | | | | | Use passdb backend to import/export users Remove unused options for upgrade_from_s3 command (--blank) and credentials options Config file is specified with -s/--configfile option and no need to specify as an argument. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* tests: Update test for s3 to s4 upgrade with two casesAmitay Isaacs2011-08-132-1/+63
| | | | | | S3-member to S4-member and S3-dc to S4-dc Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* py-samba3: Create samba3 python package to hold other modulesAmitay Isaacs2011-08-131-18/+18
| | | | This will include passdb and param.
* s4-dsdb: Provide additional method to connect to specified database pathAmitay Isaacs2011-08-131-5/+16
| | | | | | samdb_connect() now calls samdb_connect_url() with default "sam.ldb". Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* param: Add smb.conf loading support to s3/s4 loadparm bridgeAndrew Bartlett2011-08-132-0/+5
|
* s4-dsdb ensure we honour the hash_values control, even for really odd hashesAndrew Bartlett2011-08-131-2/+4
|
* s4-dsdb Give a less worrying error message on failure to get a transactionAndrew Bartlett2011-08-131-1/+1
|
* s4-scripting Rename passdb upgrade routine to avoid conflict with ↵Andrew Bartlett2011-08-132-6/+6
| | | | upgradeprovision
* s4-dsdb Add ability to force a particular SID in the upgrade caseAndrew Bartlett2011-08-132-2/+18
|
* s4-dsdb Add flag to set DSDB_BYPASS_PASSWORD_HASH controlAndrew Bartlett2011-08-132-0/+9
|