Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-11-27 | s4:upgrade.py - Umlaut problem | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
2009-11-27 | s4:upgrade.py - rework to make the upgrade s3 -> s4 possible again | Matthias Dieter Wallnöfer | 1 | -72/+72 | |
Able to read basic settings "workgroup", "realm", "netbios name" and the function mode from the s3 "smb.conf" and use them for the provision of s4. | |||||
2009-11-27 | s4:upgrade.py - the import of WINS databases don't seem to work always | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
Disable it for now until the cause has been found | |||||
2009-11-27 | s4:samba3.py - ignore comments in "smb.conf" files | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
2009-11-27 | s4:samba3.py - don't read those informations out from the TDB | Matthias Dieter Wallnöfer | 1 | -3/+4 | |
At the moment those three calls are broken | |||||
2009-11-27 | s4:samba3.py - support the TDB version 3 | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
2009-11-27 | s4:provision - Fix up the provision of "standalone" and "member" mode | Matthias Dieter Wallnöfer | 1 | -9/+11 | |
Both modes weren't possible anymore since 1.) the secrets entry wasn't created, 2.) a lookup in winbindd was done using "lp_workgroup()" rather than "lp_sam_name()" (since on the mentioned two configurations we use the netbios name as domainname - and not the workgroup). | |||||
2009-11-27 | s4:provision.py - cosmetic output correction | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
2009-11-27 | s4:provision Make setting the domain SID in the self join optional | Andrew Bartlett | 1 | -3/+4 | |
2009-11-24 | s4: Fix missing TLS dir when targetdir is not the default one | Matthieu Patou | 1 | -0/+2 | |
2009-11-24 | s4:provision Move exceptions into a new file | Andrew Bartlett | 3 | -9/+36 | |
This allows provisionbackend and provision to both raise ProvisionException | |||||
2009-11-24 | s4:provision Don't bother with a template for the LDAP backend startup script. | Andrew Bartlett | 1 | -2/+1 | |
2009-11-23 | s4:dsdb Move module configuration from each ldb into samba_dsdb.c | Andrew Bartlett | 1 | -75/+4 | |
This makes getting the module order correct, the obligation of Samba4 developers, and not system administrators. In particular, once an ldb is updated to use only the 'samba_dsdb' module, no further changes to the ldb should be required when upgrading to later Samba4 versions. (thanks to metze for the suggestion of samba_dsdb as a long-term stable name for the module) Andrew Bartlett | |||||
2009-11-23 | s4:provision Simplify the module list | Andrew Bartlett | 1 | -19/+25 | |
This makes the member server much more like the DC, the objectGUID module replaces the repl_meta_data module. We also generally rework the construction of the list, building a full list in python, and then transforming it into a string, rather than playing string concatonation games Andrew Bartlett | |||||
2009-11-20 | Some changes to allow processing of ldap controls on modify requests. | Nadezhda Ivanova | 2 | -3/+15 | |
ldap_backend used to filter out ldap controls on modify. Also, modified python binding for ldap_modify to allow writing tests for such controls. | |||||
2009-11-17 | s4:provision Split up reference creation, load schema earlier in the stack | Andrew Bartlett | 1 | -6/+8 | |
The schema needs to be loaded above the extended_dn_out modules as otherwise we don't get an extended DN in the search results. The reference split is to ensure we create references after the objects they reference exist. Andrew Bartlett | |||||
2009-11-17 | s4:provision Generate a random objectGUID for each schema record | Andrew Bartlett | 1 | -0/+2 | |
This is needed to then create extended DNs with GUID attributes in them, when importing from the LDIF Andrew Bartlett | |||||
2009-11-16 | s4:provision - Removed dependency on full Samba 3 schema from FDS | Endi S. Dewata | 3 | -68/+99 | |
2009-11-12 | s4:provision - Added LDBBackend and ExistingBackend. | Endi S. Dewata | 2 | -32/+62 | |
2009-11-12 | s4:provision - Added constructors for FDSBackend and OpenLDAPBackend. | Endi S. Dewata | 2 | -43/+95 | |
2009-11-12 | s4:provision - Added setup() method in LDAPBackend. | Endi S. Dewata | 2 | -26/+32 | |
2009-11-12 | s4:provision - Moved provision_xxx_backend() into backend-specific ↵ | Endi S. Dewata | 2 | -318/+287 | |
provision() method. | |||||
2009-11-12 | s4:provision - Added start() method in LDAPBackend. | Endi S. Dewata | 2 | -13/+20 | |
2009-11-12 | s4:provision - Added initial implementation of FDSBackend and OpenLDAPBackend. | Endi S. Dewata | 2 | -37/+68 | |
2009-11-12 | s4:provision Add C binding to get at the generate schema | Andrew Bartlett | 1 | -0/+23 | |
This will allow us to do local tests against that schema | |||||
2009-11-12 | s4:provision Remove unused 'sambadn' parameter | Andrew Bartlett | 2 | -10/+4 | |
2009-11-05 | Version 1.0 of the directory service acls module. | Nadezhda Ivanova | 1 | -1/+1 | |
At this point, support for checks on LDAP add, delete, rename and modify. Old kludge_acl is still there to handle the searches. This module is synchronous as the async version was impossible to debug, will be converted to async after some user testing. | |||||
2009-11-05 | s4:samdb python bindings - add a wrapper for "dsdb_make_schema_global" | Matthias Dieter Wallnöfer | 1 | -0/+17 | |
2009-11-05 | s4:samdb python bindings - make the python wrap connect more like the C one | Matthias Dieter Wallnöfer | 1 | -3/+10 | |
Add call for setting the create permissions. | |||||
2009-11-05 | s4:samdb python bindings - Reorder some function bodies to match the order ↵ | Matthias Dieter Wallnöfer | 1 | -25/+24 | |
in "ldb_wrap_connect" | |||||
2009-11-04 | Added security descriptor for the domain NC to provisioning. | Nadezhda Ivanova | 1 | -1/+60 | |
Necessary for correct descriptor inheritance. Based on the default state of a single DC. Will be modified later when we support multiple DCs. | |||||
2009-11-04 | s4:provisioning - Fixed minor bugs in provisioning tool and partition module. | Endi S. Dewata | 1 | -1/+2 | |
2009-11-02 | s4:provision Remove LDB backend files in provision | Andrew Bartlett | 2 | -41/+12 | |
Rather than try and remove the records in the LDB files, make the provision remove the whole file. This also removes the need to try and carry forward the old ldb filenames. Andrew Bartlett | |||||
2009-11-02 | s4:provision Split ProvisionBackend out of the main provision script | Andrew Bartlett | 3 | -590/+631 | |
This splits the code, while keeping the original behaviour. The provision.py file had become just too long. Andrew Bartlett | |||||
2009-11-02 | s4:provision Inline 'ldap_backend_shutdown' for clarity | Andrew Bartlett | 1 | -15/+15 | |
2009-11-02 | s4:provision Fix samdb test with new provision code | Andrew Bartlett | 1 | -3/+12 | |
2009-11-02 | s4:provision Move 'Schema' into it's own file | Andrew Bartlett | 3 | -120/+155 | |
2009-11-02 | s4:provision Make 'linked_attributes' and 'dnsyntax_attributes' a property ↵ | Andrew Bartlett | 1 | -17/+33 | |
of the Schema | |||||
2009-11-02 | s4:provision Rework provision to always have a ProvisionBackend | Andrew Bartlett | 1 | -165/+188 | |
Rather than treat the LDAP backend as a special case, treat all backends the same, with different callbacks. Andrew Bartlett | |||||
2009-11-02 | s4 - SID allocation using FDS DNA plugin | Endi S. Dewata | 1 | -7/+32 | |
2009-11-02 | s4:dsdb - Fixed attribute dereferencing for FDS | Endi S. Dewata | 1 | -2/+2 | |
2009-10-25 | s4-python: fixed annoyance where control-C doesn't kill our python scripts | Andrew Tridgell | 1 | -0/+10 | |
We want our scripts to die immediately when a user hits control-C. Otherwise we not only annoy the hell out of the user, we also risk db corruption as the control-C could get delivered as an exception which gets mis-interpreted (eg. as a missing db object). We use transactions for all our databases, so the right thing to do in all our command line tools is to die immediately. | |||||
2009-10-23 | s4-python: we need to include Python.h first | Andrew Tridgell | 3 | -3/+3 | |
If we don't include Python.h first then we get a pile of warnings due to broken redefines of XOPEN_SOURCE in the Python includes. | |||||
2009-10-23 | s4:dsdb Split schema loading and schema data management | Andrew Bartlett | 1 | -2/+3 | |
By splitting the module this way, we can load the schema at startup, after the partitions module is operational, but we leave the 'mess with details of entries in the partitions' module to operate only on the partitions module. Loading the schema later allows us to set the @ATTRIBUTES correctly on all the databases. Andrew Bartlett | |||||
2009-10-22 | s4:provision - Reintroduce accidentally removed parameters and checks from ↵ | Matthias Dieter Wallnöfer | 1 | -13/+38 | |
"guess_names" abartlet pointed out that those are essential for a safe and consistent provision. | |||||
2009-10-21 | s4:provision - rework the "guess_names" and "make_smbconf" method | Matthias Dieter Wallnöfer | 1 | -37/+18 | |
- Cleans it up from unnecessary "lower()/upper()" and parameters which can be derived through "lp" calls. - Substitute the "HOSTNAME" caption in the "smb.conf" templates with "NETBIOS_NAME" which fits better. - Now the "realm" and "domain" parameter of the provision are totally case insensitive and the script itself up/downcases them appropriately depending on the use (e.g. "realm" upcase for KERBEROS, lowcase for DNS domainname). | |||||
2009-10-21 | s4:provision - important fix for DNS domainname: lower realm | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
2009-10-21 | s4:provision Use schema to casefold partitions on 'upgrade'. | Andrew Bartlett | 1 | -8/+20 | |
This helps us upgrade from sam.ldb files before the dynamic partitions work, and ensures we use the right casefolding functions. Andrew Bartlett | |||||
2009-10-21 | s4:Handle reprovision with existing partitions | Andrew Bartlett | 1 | -3/+20 | |
The issue here is that if we don't put the partitions metadata in the database before we wipe it, we won't wipe the partitions contents, and so the provision will later fail (entry already exists) Andrew Bartlett | |||||
2009-10-21 | s4:provision Set @OPTIONS in the provision_init.ldif | Andrew Bartlett | 1 | -3/+0 | |
The new partitions code knows to copy these items in when creating a new parition, so we can set it from the start. Andrew Bartlett |