Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | python: use the ldbMessage + modify notation instead of modify_ldif that we ↵ | Matthieu Patou | 2010-11-12 | 1 | -7/+6 |
| | | | | try to avoid | ||||
* | unit tests: add testing for dns account password change | Matthieu Patou | 2010-11-12 | 1 | -0/+4 |
| | |||||
* | upgradeprovision: fix pb with dns-hostname, regenerate a correct keytab | Matthieu Patou | 2010-11-12 | 1 | -0/+48 |
| | |||||
* | s4-provision UTF16 encode the password in sam.ldb, not secrets.ldb | Andrew Bartlett | 2010-11-11 | 1 | -2/+2 |
| | | | | | | | | | | The password in secrets.ldb is UTF8, while clearTextPassword in sam.ldb is UTF16. This corrects commit bd5039546e520b6d6897a658bc0a358f0511f7c7, which had these the wrong way around. Andrew Bartlett | ||||
* | s4:upgradehelpers.py - use "clearTextPassword" rather than "userPassword" | Matthias Dieter Wallnöfer | 2010-11-11 | 1 | -5/+8 |
| | | | | It's the default internal s4 password change attribute | ||||
* | s4-provision: include command line provision options in the generated smb.conf | Andrew Tridgell | 2010-11-11 | 1 | -11/+22 |
| | | | | | | | | this saves the smb.conf using lp.dump_globals() to ensure that any command line options (for example directory overrides) are saved in the generated smb.conf Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | ||||
* | s4-join: use the command line loadparm in provision during a join | Andrew Tridgell | 2010-11-11 | 2 | -9/+13 |
| | | | | | | | this allows a join with an empty smb.conf to override locations of files correctly with --option Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | ||||
* | s4-join: raise mininum password length to 32 in new join code | Andrew Tridgell | 2010-11-10 | 1 | -1/+1 |
| | |||||
* | s4:provision.py - strip trailing whitespaces | Matthias Dieter Wallnöfer | 2010-11-09 | 1 | -106/+106 |
| | |||||
* | s4:provision - switch to "clearTextPassword" for setting passwords | Matthias Dieter Wallnöfer | 2010-11-09 | 1 | -4/+4 |
| | | | | | | | This is the default password set/change attribute for s4 specific purposes (otherwise in respect to Windows it's "unicodePwd"). We move away from "userPassword" since on Windows it's not activated by default - and s4 will follow soon. | ||||
* | s4-pydrs: validate the DsGetNCChanges response | Andrew Tridgell | 2010-11-08 | 1 | -0/+2 |
| | | | | check that object_count matches up with first_object | ||||
* | s4-join: modify join behaviour according to domain level | Andrew Tridgell | 2010-11-07 | 2 | -41/+110 |
| | | | | | Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Sun Nov 7 23:32:16 UTC 2010 on sn-devel-104 | ||||
* | s4-drs: allow override of the replica_flags | Andrew Tridgell | 2010-11-07 | 1 | -2/+7 |
| | |||||
* | s4-join: fixed SPNs, invocationId and dnshostname and python join | Andrew Tridgell | 2010-11-06 | 1 | -3/+4 |
| | | | | | | | | - we need the GN/ SPN for replication. - fixed the string form of the invocationId - lowercase the dnshostname Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | ||||
* | samba-tool: deprecate samba-tool vampire command | Andrew Tridgell | 2010-11-06 | 1 | -1/+5 |
| | |||||
* | s4-join: fixed secure_channel_type | Andrew Tridgell | 2010-11-05 | 1 | -1/+3 |
| | | | | | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Fri Nov 5 13:24:32 UTC 2010 on sn-devel-104 | ||||
* | s4-join: don't print all the NDR packets by default | Andrew Tridgell | 2010-11-05 | 1 | -1/+1 |
| | |||||
* | s4-join: added DC join to the python join code | Andrew Tridgell | 2010-11-05 | 2 | -152/+282 |
| | | | | this will replace the old vampire code | ||||
* | s4-pydrs: added rodc option to python drs replication | Andrew Tridgell | 2010-11-05 | 2 | -5/+6 |
| | |||||
* | s4-pydsdb: added DsReplicaAttribute() | Andrew Tridgell | 2010-11-05 | 1 | -0/+3 |
| | | | | this allows us to form a DsReplicaAttribute structure from python | ||||
* | talloc: Add python talloc module, move convenience functions to it. | Jelmer Vernooij | 2010-11-05 | 4 | -12/+12 |
| | | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Fri Nov 5 02:48:21 UTC 2010 on sn-devel-104 | ||||
* | provision: Look for in source setup data first, in case an older version | Jelmer Vernooij | 2010-11-03 | 1 | -16/+28 |
| | | | | of samba 4 is installed in the system. | ||||
* | samba: Make in_source_tree() public. | Jelmer Vernooij | 2010-11-03 | 1 | -3/+3 |
| | |||||
* | s4:provision - adapt the "provision" so that SIDs are only set on entry creation | Matthias Dieter Wallnöfer | 2010-11-01 | 1 | -8/+4 |
| | | | | SID modifications are denied. | ||||
* | s4:provision - remove the "servicePrincipalName" creation on the DC object | Matthias Dieter Wallnöfer | 2010-10-31 | 1 | -8/+0 |
| | | | | This is now done by the "samba_spnupdate" script. | ||||
* | provision: fix wrong tests | Matthieu Patou | 2010-10-30 | 1 | -6/+11 |
| | | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sat Oct 30 17:31:23 UTC 2010 on sn-devel-104 | ||||
* | provision: when deriving netbiosname from hostname force the netbiosname to ↵ | Matthieu Patou | 2010-10-30 | 1 | -3/+13 |
| | | | | | | | | | be compliant It means no space/_/-/@.... and less than 16 chars. Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sat Oct 30 14:26:22 UTC 2010 on sn-devel-104 | ||||
* | s4:provision.py - add the correct "CN=Sites" security descriptor | Matthias Dieter Wallnöfer | 2010-10-23 | 1 | -5/+20 |
| | | | | | | | This should help to fix bug #7403. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sat Oct 23 20:16:59 UTC 2010 on sn-devel-104 | ||||
* | s4:schema.py - reformat and fix the security descriptor | Matthias Dieter Wallnöfer | 2010-10-23 | 1 | -14/+23 |
| | | | | | - Now it matches Windows's order - It contained a superfluous entry (an "Administrator" user grant) | ||||
* | s4:samdb.py - remove a pointless comment | Matthias Dieter Wallnöfer | 2010-10-19 | 1 | -1/+0 |
| | | | | | | | | We are only looking for the default DN - but the method name already tells us this. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Tue Oct 19 10:03:12 UTC 2010 on sn-devel-104 | ||||
* | s4:samdb.py - use a more standard way to get to the domain realm/dns name | Matthias Dieter Wallnöfer | 2010-10-19 | 1 | -1/+2 |
| | | | | We do always use the canonical name as a base if we don't have it around yet. | ||||
* | Addition of userPrincipalName attribute when new account is created | Lukasz Zalewski | 2010-10-19 | 1 | -0/+2 |
| | |||||
* | s4-provisionbackend Allow a fixed URI to be specified for LDAP backend | Andrew Bartlett | 2010-10-19 | 2 | -54/+60 |
| | | | | | | | | This is added to make the 'existing' LDAP backend class more useful, and to allow debuging of our OpenLDAP backend class with wireshark, by forcing the traffic over loopback TCP, which is much easier to sniff. Andrew Bartlett | ||||
* | s4-provision Remove serverdn parameter from Schema() | Andrew Bartlett | 2010-10-19 | 3 | -12/+6 |
| | | | | | | | We don't need to know the server DN here any more, and it makes no sense for many callers. Andrew Bartlett | ||||
* | s4-provision: Reset "debuglevel" after "provision" take place | Kamen Mazdrashki | 2010-10-05 | 1 | -7/+9 |
| | | | | | | | | Otherwise "provision" resets our current debug level and we don't get debug messages we may expect onwards Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Tue Oct 5 11:32:50 UTC 2010 on sn-devel-104 | ||||
* | s4:dsdb python stuff - introduce also here the "show_recycled" control | Matthias Dieter Wallnöfer | 2010-10-03 | 1 | -2/+2 |
| | | | | | | | But also here beside "show_deleted" to not loose compatibility with older provisions. Signed-off-by: Andrew Bartlett <abartlet@samba.org> | ||||
* | s4-selftest: silence warnings about bind chown | Andrew Tridgell | 2010-10-02 | 1 | -2/+2 |
| | |||||
* | s4-test: silence the Failed to chown message in make test | Andrew Tridgell | 2010-10-02 | 1 | -3/+5 |
| | |||||
* | s4-getopt.py: Make Anonymous creds when no credentials | Kamen Mazdrashki | 2010-10-03 | 1 | -2/+7 |
| | | | | | are supplied on command line and caller doesn't want us to guess credentials from environment | ||||
* | s4-python-test: Common implementation for getting environment variable value | Kamen Mazdrashki | 2010-10-03 | 1 | -0/+11 |
| | | | | | Unit-test based python tests require certain input parameters to be set in environment, otherwise they can't be run | ||||
* | s4-python-samba: Remove trailing ';'s | Kamen Mazdrashki | 2010-10-03 | 2 | -29/+29 |
| | |||||
* | s4-python-test: Implement global connect_samdb() function | Kamen Mazdrashki | 2010-10-03 | 1 | -0/+46 |
| | | | | | This helper makes proper ldb url to connect to and is a shorthand for test to create SamDB connections | ||||
* | s4-samba.samdb: Fix masking names from outer context | Kamen Mazdrashki | 2010-10-03 | 1 | -17/+17 |
| | | | | | - 'filter' is built-in - 'ldb' is a module name we imported | ||||
* | s4-python-samba: 'file' is a built-in | Kamen Mazdrashki | 2010-10-03 | 1 | -3/+3 |
| | |||||
* | s4-samba.samdb: Fix leading indention and trailing ';' | Kamen Mazdrashki | 2010-10-03 | 1 | -10/+10 |
| | |||||
* | s4-python-samba: Fix few cosmetics | Kamen Mazdrashki | 2010-10-03 | 1 | -4/+3 |
| | | | | | - we have sys module already imported - _glue module is part of samba package so be more precise how to import | ||||
* | s4-provision: wipe the old keytabs when provisioning | Andrew Tridgell | 2010-09-30 | 2 | -7/+29 |
| | | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | ||||
* | s4-rodc: fixed the keyVersionNumber on the RODC account in secrets.keytab | Andrew Tridgell | 2010-09-30 | 1 | -2/+5 |
| | | | | | | we need to fetch the msDS-keyVersionNumber from the writeable DC Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | ||||
* | s4-drsutils: expose DsBind() call in drs_utils.py | Andrew Tridgell | 2010-09-29 | 1 | -37/+38 |
| | | | | this will be used by samba_spnupdate | ||||
* | s4-provision: fixed the generation of the krb5.conf for vampire | Andrew Tridgell | 2010-09-27 | 1 | -6/+6 |
| | | | | we need a correct krb5.conf for nsupdate from bind9 |