Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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 | |
2010-01-21 | upgradeprovision: forbid running upgradeprovision when there is more than 1 DC | Matthieu Patou | 1 | -0/+20 | |
2010-01-21 | upgradeprovision: mark rIDAvailablePool never upgraded | Matthieu Patou | 1 | -16/+121 | |
handle properly the fact that missing object might depend on some other in order to be correctly created debug change also if we are in debugall mode | |||||
2010-01-21 | upgradeprovision: reformat + add groupType as possibly overwritten | Matthieu Patou | 1 | -9/+12 | |
2010-01-21 | upgradeprovision: improve info messages | Matthieu Patou | 1 | -7/+5 | |
2010-01-21 | Revert "s4:upgradeprovision - fix up the script regarding linked attributes" | Matthieu Patou | 1 | -46/+12 | |
This reverts commit 2cedefabc93c8a1fcb49d65a3f78a344e814f826. | |||||
2010-01-21 | upgradeprovision: never use xattr it's pointless in this usecase | Matthieu Patou | 1 | -1/+1 | |
2010-01-21 | s4: utils recreate in python setntacl and getntacl | Matthieu Patou | 3 | -5/+126 | |
setntacl is able to set NTACL attribute from command line getntacl now use getopt for parsing command line option and is also able to dump the acl in the SDDL format. | |||||
2010-01-21 | provision: introduce use-xattr parameter for defining where to store attributes | Matthieu Patou | 1 | -25/+35 | |
This option allow simple user (non root) to invoke provision without facing an error while insuring that ACL on shared files will always be set | |||||
2010-01-21 | s4-tests: register new unit tests | Matthieu Patou | 2 | -37/+106 | |
make unit test emit a visible warning | |||||
2010-01-21 | s4-python: add unit test for ntacls manipulation in python | Matthieu Patou | 1 | -0/+99 | |
2010-01-21 | s4-python: add more unit tests for xattr manipulation in python | Matthieu Patou | 1 | -11/+39 | |
2010-01-21 | s4: update setntacl and getntacl to select the adaquate backend (fs/tdb) for ↵ | Matthieu Patou | 1 | -16/+54 | |
storing xattr | |||||
2010-01-21 | s4: Set acls correctly on all sysvol and scripts shares | Matthieu Patou | 1 | -26/+45 | |
2010-01-21 | s4: Make unixid optional | Matthieu Patou | 1 | -2/+26 | |
Make unixid optional, if value not supplied next id from id pool will be used. Create a function to get next id in id pool. | |||||
2010-01-21 | s4: regroup gpo modification in one function, set acl on files accordingly ↵ | Matthieu Patou | 2 | -19/+164 | |
with ACL in LDAP | |||||
2010-01-21 | s4: Create unit tests for python "samba.xattr" module | Matthieu Patou | 2 | -4/+53 | |
2010-01-21 | s4: add python bindings for wrap_(s|g)etxattr | Matthieu Patou | 4 | -2/+286 | |
2010-01-16 | Import testtools as well, required for subunit. | Jelmer Vernooij | 2 | -3/+2 | |
2010-01-16 | Fix permissions - net subcommand modules don't need to be executable. | Jelmer Vernooij | 2 | -0/+0 | |
2010-01-16 | s4-devel: added rebuild_zone.sh | Andrew Tridgell | 1 | -0/+107 | |
This rebuilds a DNS zone file, including all DCs from sam.ldb | |||||
2010-01-13 | Fixed a problem with incorrect default SD owner/group. | Nadezhda Ivanova | 1 | -1/+1 | |
2010-01-13 | Comparison tool for LDAP servers (using Ldb) | Zahari Zahariev | 2 | -0/+501 | |
This tool is integrated with Samba4 Ldb. It provides a useful output where you can find easy differences in objects or attributes within naming context (Domain, Configuration or Schema). Added functionality for two sets of credentials. | |||||
2010-01-10 | s4:upgradeprovision - fix up the script regarding linked attributes | Matthias Dieter Wallnöfer | 1 | -12/+46 | |
We have to try to add new objects until between two iterations we didn't make any progress. Either we are then done (no objects remaining) or we are incapable to do this fully automatically. The latter can happen if important system objects (builtin groups, users...) moved (e.g. consider one of my recent comments). Then the new object can't be added if it contains the same "sAMAccountName" attribute as the old one. We have to let the user delete the old one (also to give him a chance to backup personal changes - if needed) and only then the script is capable to add the new one onto the right place. Make this clear with an exhaustive error output. I personally don't see a good way how to do this better for now so I would leave this as a manual step. | |||||
2010-01-10 | s4:upgradeprovision - Reformat comments | Matthias Dieter Wallnöfer | 1 | -28/+44 | |
Make them break at line 80 (better readability). | |||||
2010-01-09 | s4-schema: fixed the SDDL for the schema root security descriptor | Andrew Tridgell | 1 | -10/+14 | |
This was preventing a DCPROMO client from allowing outgoing replication | |||||
2010-01-08 | s4-schema: switch to W2K8-R2 schema | Andrew Tridgell | 1 | -2/+2 | |
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-01-08 | s4-schema: added adminDisplayName and adminDescription | Andrew Tridgell | 1 | -0/+2 | |
These are missing from the WSPP schemas Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-01-08 | s4-scripting: we need to use a base search for the NTDS GUID | Andrew Tridgell | 1 | -1/+1 | |
now we have nTDSConnections structures we can get more than 1 reply | |||||
2010-01-08 | s4-provision: do a self join for all server types | Andrew Tridgell | 1 | -22/+17 | |
We need a machine account so the RID allocation code can work. It seems better to use the same code paths for a domain controller and standalone server to avoid testing headaches with little used code. | |||||
2010-01-08 | s4-devel: a useful script to setup bin/ and st/ as tmpfs filesystems | Andrew Tridgell | 1 | -0/+13 | |
this makes building and testing s4 as a developer much faster, if you have enough memory! | |||||
2010-01-08 | s4-provision: re-open sam.ldb after creating the schema | Andrew Tridgell | 1 | -0/+9 | |
This enables the full schema during the rest of the provision, which means indexing is enabled (along with index error checking, such as duplicate SIDs) | |||||
2010-01-08 | s4-provision: don't hard wire the creation of the RID Set object | Andrew Tridgell | 1 | -2/+2 | |
We now create it automatically in the samldb module when the first user is created. The creation of the dns user also had to move to the _modify.ldif as it now relies on the fSMO role being setup for the RID Manager Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-01-08 | s4-provision: allow provision modifies to add records | Andrew Tridgell | 1 | -1/+4 | |
we need to recognise a changetype of 'add' | |||||
2010-01-08 | s4-provision: the DC object itself needs a fixed objectSID | Andrew Tridgell | 1 | -0/+1 | |
We can't allocate a objectSID until we have rIDSetReferences, but that is in the DC object, so we have to force the objectSID of the DC Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> |