Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-03-01 | More formatting fixes. | Jelmer Vernooij | 1 | -16/+10 | |
2010-03-01 | Fix formatting. | Jelmer Vernooij | 1 | -172/+174 | |
2010-03-01 | upgradeprovision: Remove unused imports, use shutil.rmtree rather than | Jelmer Vernooij | 1 | -30/+11 | |
rmall. | |||||
2010-03-01 | upgradeprovision: Move to pythondoc format | Matthieu Patou | 1 | -9/+33 | |
Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-03-01 | upgradeprovision: code cleanup | Matthieu Patou | 1 | -6/+7 | |
Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-03-01 | upgradeprovision: split the big script to put reusable functions appart | Matthieu Patou | 1 | -0/+220 | |
Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-02-26 | s4:provision: use generate_random_password() | Stefan Metzmacher | 1 | -5/+5 | |
metze | |||||
2010-02-26 | s4:pyglue: add generate_random_password() | Stefan Metzmacher | 1 | -2/+22 | |
metze | |||||
2010-02-26 | s4-provision: fixed use of rndc command from python | Andrew Tridgell | 1 | -1/+1 | |
rndc command is now a list | |||||
2010-02-26 | s4-provision: also create the dns_update_list when running net vampire | Andrew Tridgell | 1 | -0/+10 | |
We need the list when joining a windows domain, so we can automatically maintain the right DNS entries on the Windows DNS server | |||||
2010-02-26 | s4-provision: setup the dns_update_list at provision time | Andrew Tridgell | 1 | -0/+5 | |
This file is substituted at runtime by samba_dnsupdate | |||||
2010-02-26 | s4-provision: if we aren't doing variable substitution then don't check for vars | Andrew Tridgell | 1 | -1/+1 | |
2010-02-26 | samdb: added get_ntds_GUID() method | Andrew Tridgell | 2 | -0/+39 | |
2010-02-26 | py-samdb: added server_site_name method | Andrew Tridgell | 1 | -0/+3 | |
2010-02-26 | pyglue: added py_samdb_server_site_name() | Andrew Tridgell | 1 | -0/+29 | |
2010-02-26 | py-samdb: added get_invocation_id() method | Andrew Tridgell | 1 | -0/+5 | |
2010-02-26 | pyglue: added py_samdb_ntds_invocation_id() | Andrew Tridgell | 1 | -0/+36 | |
2010-02-26 | pyglue: don't return 127.0.0.0/8 IPs in interface_ips() | Andrew Tridgell | 1 | -5/+18 | |
We don't generally want loopback addresses in the python code | |||||
2010-02-24 | python: ntacls, fix a leftover that is not in the try/except branch | Matthieu Patou | 1 | -1/+0 | |
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | |||||
2010-02-23 | s4-pyglue: added interface_ips() call | Andrew Tridgell | 1 | -0/+43 | |
This allows a python script to query the internal network interface lists from Samba | |||||
2010-02-21 | s4:provision.py - try to use other addresses than "127.0.0.x" and "::1" | Matthias Dieter Wallnöfer | 1 | -2/+10 | |
On production systems a user for sure strongly disagrees to use local IP addresses (how should the server be accessible?). Therefore if the user didn't specify an IP as provision option and in the "/etc/hosts" file we have at least one not-local IP which resolves to our hostname use this or one of them. Notice: if a host has more public IP addresses with the same name assigned the behaviour is non-deterministic (well, okay - by the entries order it is). But then the user is invited to specify the host IP manually. This should address bug #5484. | |||||
2010-02-17 | s4-provision: freeze the DNS zone before creating the zone file | Andrew Tridgell | 1 | -2/+10 | |
This prevents bind from getting confused if it has a journal for the zone. | |||||
2010-02-17 | s4-provision: fix permissions on generated DNS zone file | Andrew Tridgell | 1 | -9/+11 | |
The zone file needs to be writeable by bind to allow for it to flush its journal on dynamic updates Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-02-15 | s4-drs: Function for accessing dsdb_load_partition_usn from Python | Fernando J V da Silva | 1 | -0/+50 | |
Returns both uSNHighest and uSNUrgent as a dict object in Python from a given partition dn. Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2010-02-12 | s4:getopt.py - set the password callback only when no password has been provided | Matthias Dieter Wallnöfer | 1 | -4/+6 | |
Previously the "no_pass" and "no_pass2" variables weren't handled correctly. Since at the initialisation of the "CredentialsOptions" we don't have any password at all. Only afterwards we could get one through "set_password". If a password is specified, use it. If no password is specified, consider the use fo an input mask on STDOUT. But if the loadparm context contains one prefer it over the input. | |||||
2010-02-12 | s4-provision: import the R2 functional level | Andrew Tridgell | 1 | -1/+1 | |
this makes it easier to modify the script to set us at R2 level in provision. We should make this a parameter. | |||||
2010-02-12 | s4-build: avoid finding python symlinks | Andrew Tridgell | 1 | -1/+1 | |
emacs creates symlinks to .py files while you are editing them. This could cause build failures. | |||||
2010-02-11 | provision: Use short name for assignee of ACE (BA, SA, CO, ...) | Matthieu Patou | 1 | -8/+6 | |
Use short name (shortcut for wellknown SID/RID) for assignee in each entry of ACL (when possible) of sysvol files (GPO objects and netlogon folders). This avoid error prone substitution of DOMAINSID in ACL and make ACL clearer by using shortname for assignee accordingly with SDDL synthax rules. Translation to real SID is handled internaly by the from_sddl function. Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | |||||
2010-02-11 | python-s4: use secrets.ldb instead of sam.ldb for reading domain SID | Matthieu Patou | 1 | -2/+2 | |
This allow to be able to run net acl set xxx yyy on DC, but also on domain member. Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | |||||
2010-02-11 | provision: Fix an error with eadb when using not default install dir and ↵ | Matthieu Patou | 1 | -1/+5 | |
running as a non root user Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | |||||
2010-02-11 | s4-provision: cope with umask in creating private/dns | Andrew Tridgell | 1 | -0/+2 | |
2010-02-11 | s4-provision: pre-create a named.conf.update file | Andrew Tridgell | 1 | -1/+5 | |
The named.conf.update file will be filled in at runtime by Samba to contain the list of bind9 grant rules for granting DNS dynamic update permissions on the domain. | |||||
2010-02-11 | s4-provision: move zone file to dns subdirectory | Andrew Tridgell | 1 | -12/+52 | |
This allows the permissions to be correctly set for bind to write to a journal file. It also sets the right group ownership and permissions on the files that bind needs to access. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-02-11 | s4:provision Be more polite to long-suffering Samba testers. | Andrew Bartlett | 1 | -2/+3 | |
Our testers put up with a lot of odd things when testing out Samba4. Andrew Bartlett | |||||
2010-02-10 | s4:provision Just 'do the right thing' with empty smb.conf files | Andrew Bartlett | 1 | -2/+10 | |
For some reason, JHT keeps on creating an empty smb.conf file, expecting it to be the same as a non-existant one. It is easier to just realise what he meant. Andrew Bartlett | |||||
2010-02-09 | s4:Remove "Py_RETURN_NONE" compatibility code | Matthias Dieter Wallnöfer | 1 | -4/+0 | |
This was needed only by Python 2.3 which we no longer support. | |||||
2010-01-29 | Fixed a bug caused by a typo. Infrastructure role didn't work. | Nadezhda Ivanova | 1 | -1/+1 | |
2010-01-27 | Implemented net fsmo command for transferring fsmo roles | Nadezhda Ivanova | 2 | -0/+204 | |
The command allows the user to transfer a fsmo role to the server to which the connection is established. Roles can be transferred or seized. By default a transfer is attempted even if seize option is chosen, as it is dangerous to seize a role if the current owner is still running. example use: net fsmo show --host=hostnameoraddress --username=username --password=password net fsmo transfer --role=role --host=hostnameoraddress --username=username --password=password net fsmo seize --role=role --host=hostnameoraddress --username=username --password=password [--force] Tested against Win2008. Does not work for samba 4 yet as we are missing the GetNCChanges extensions. | |||||
2010-01-25 | s4-python: Fix formatting. | Jelmer Vernooij | 3 | -33/+27 | |
2010-01-25 | pyxattr: Move to the same directory as the xattr code. | Jelmer Vernooij | 3 | -269/+0 | |
2010-01-23 | s4-provision: Fixed typos and redundant code | Endi S. Dewata | 1 | -10/+10 | |
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | |||||
2010-01-21 | pyxattr: Factor out helper functions. | Jelmer Vernooij | 1 | -24/+24 | |
2010-01-21 | pyxattr: Simplify tests. | Jelmer Vernooij | 2 | -57/+62 | |
2010-01-21 | pyxattr: Fix tests by not opening tdb files multiple times. | Jelmer Vernooij | 1 | -2/+0 | |
2010-01-21 | pyxattr: Fix tests by avoiding opening tdb files multiple times. | Jelmer Vernooij | 1 | -8/+8 | |
2010-01-21 | pyxattr: Fix memory leaks. | Jelmer Vernooij | 2 | -8/+20 | |
2010-01-21 | pyxattr: Simplify tests. | Jelmer Vernooij | 1 | -80/+50 | |
2010-01-21 | pyxattr: Use standard functions for error handling. | Jelmer Vernooij | 2 | -21/+23 | |
2010-01-21 | pyxattr: Remove unnecessary hacks. | Jelmer Vernooij | 2 | -26/+1 | |
2010-01-21 | s4-python: add some helper for converting ldb_flag to text | Matthieu Patou | 1 | -0/+33 | |