Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-08-14 | s4:samdb python bindings - we don't need the attributes here | Matthias Dieter Wallnöfer | 1 | -2/+1 | |
2009-08-14 | s4: Better way to call "dom_sid_to_rid" from ldap.py | Matthias Dieter Wallnöfer | 1 | -0/+10 | |
2009-08-11 | s4:test for "primaryGroupToken" | Matthias Dieter Wallnöfer | 1 | -0/+23 | |
Tests for the right behaviour of this introduced constructed attribute. Since we don't support the read-only-ness of those attributes yet, I commented some lines out. Also I had to add a function for python which converts domain SIDs in RIDs. And a small fix for the "groupType" test. | |||||
2009-08-12 | s4:provision Allow provision-backend to not run slapd for 'make test' | Andrew Bartlett | 1 | -22/+23 | |
As the version of OpenLDAP required for Samba4 is fairly new, we don't want to make it a requirement before this python code is run in 'make test'. As such, skip over the actual starting of slapd, but check the rest runs alright (which still validates syntax and other modules). Andrew Bartlett | |||||
2009-08-12 | s4:provision Make the --ol-slapd paramter take the full path to slapd | Andrew Bartlett | 1 | -2/+1 | |
2009-08-12 | s4:provision Rework and further automate setup of OpenLDAP backend | Oliver Liebel | 1 | -35/+191 | |
heres the summary of all changes/extensions: - Andrew Bartlett's patch to generate indext - Howard Chu's idea to use nosync on the DB included, but made optional - slaptest-path is not needed any more (slapd -Ttest is used instead) and is therefore removed. slapd-path is now recommended when openldap-backend is chosen. its also used for olc-conversion - slapd-detection is now always done by ldapsearch (ldb module), looking anonymous for objectClass: OpenLDAProotDSE via our ldapi_uri. - if ldapsearch was not successfull, (no slapd listening on our socket) slapd is started via special generated slapdcommand_prov (ldapi_uri only) - slapd-"provision-process" startup is done via pythons subprocess. - the slapd-provision-pid is stored under paths.ldapdir/slapd_provision_pid. - after provision-backend is finished: --- slapd.pid is compared with our stored slapd_provision_pid. if the are unique, slapd.pid will be read out, and the slapd "provison"-process will be shut down. --- proper slapd-shutdown is verified again with ldb-search -> ldapi_uri -> rootDSE. --- if the pids are different or one of the pid-files is missing, slapd will not be shut down, instead an error message is displayed to locate slapd manually --- extended help-messages (relevant to slapd) are always displayed, e.g. the commandline with which slapd has to be started when everythings finished (slapd-commandline is stored under paths.ldapdir/slapd_command_file.txt)) - upgraded the content of the mini-howto (howto-ol-backend-s4.txt) | |||||
2009-08-06 | s4: Simplify two lines in the "samdb.py" file (cosmetic) | Matthias Dieter Wallnöfer | 1 | -2/+1 | |
2009-07-30 | python: Cope with the dom_sid2 alias in pidl's python generating code. | Jelmer Vernooij | 1 | -2/+2 | |
This fixes some problems in the samr Python bindings that pidl was (correctly) warning about. | |||||
2009-07-30 | DCE/RPC(Python): Rename py_talloc_import to py_talloc_steal. | Jelmer Vernooij | 1 | -1/+1 | |
Use py_talloc_reference in DCE/RPC code, fixes access to SAMR pipe. | |||||
2009-07-29 | s4:provision We no longer add krbtgt or kpasswd account into secrets.ldb | Andrew Bartlett | 1 | -1/+1 | |
2009-07-22 | s4:provision Fix provision on FreeBSD | Andrew Bartlett | 1 | -0/+1 | |
We were missing the 'cn' attribute, which we then prepare a sorted list based on. On Linux, strcmp(NULL, NULL) does not segfault, where it does on FreeBSD. Reported by Timur I. Bakeyev <timur@com.bat.ru> Andrew Bartlett | |||||
2009-07-20 | Re-add accidently removed shares test. | Jelmer Vernooij | 1 | -0/+74 | |
2009-07-19 | Remove unnecessary imports. | Jelmer Vernooij | 6 | -14/+9 | |
2009-07-18 | python: Set right ldb modules directory when using system ldb. | Jelmer Vernooij | 1 | -0/+2 | |
2009-07-18 | Remove pyldb_util and simply duplicate the 5-line function it contains, | Jelmer Vernooij | 1 | -0/+9 | |
rather than creating a separate shared library for it. | |||||
2009-07-16 | s4:dsdb Handle dc/domain/forest functional levels properly | Andrew Bartlett | 3 | -5/+30 | |
Rather than have the functional levels scattered in 4 different, unconnected locations, the provision script now sets it, and the rootdse module maintains it's copy only as a cached view onto the original values. We also use the functional level to determine if we should store AES Kerberos keys. Andrew Bartlett | |||||
2009-07-16 | Add a way to set an opaque integer onto a samdb | Andrew Bartlett | 2 | -0/+67 | |
This will allow us to set some more flags into ldb during the provision. | |||||
2009-07-03 | s4: Remove stub endpoint mapper script. | Jelmer Vernooij | 1 | -24/+0 | |
2009-07-02 | show attribute values in sorted order to make comparison easier | Andrew Tridgell | 1 | -0/+5 | |
2009-07-02 | Changed ldb.ERR_NO_SUCH_OBJECT to LDB_ERR_NO_SUCH_OBJECT. | Andrew Tridgell | 1 | -5/+5 | |
The LDB_ERR_NO_SUCH_OBJECT varient is not a defined variable. This should improve error handling in our python code on some systems. Unfortunately it still doesn't work on mine. I need to trap Jelmer somewhere where he can't escape some day and force him to divulge the deep druid secrets of python exception handling .... | |||||
2009-06-18 | s4: Add tests and 'must change password' flags in setpassword and newuser | Andrew Bartlett | 1 | -10/+21 | |
In particular, ensure that we can acutally change the password under these circumstances. Andrew Bartlett | |||||
2009-06-18 | s4:setup Add an option to 'setpassword' to force password change at next login | Andrew Bartlett | 1 | -2/+12 | |
2009-06-18 | Remove outdated Python status file. | Jelmer Vernooij | 1 | -14/+0 | |
2009-06-17 | Make fullschema script executable. | Jelmer Vernooij | 1 | -0/+0 | |
2009-06-16 | python: Provide way to iterate over available shares. | Jelmer Vernooij | 1 | -1/+4 | |
2009-06-16 | python: Add API for accessing available shares. | Jelmer Vernooij | 1 | -0/+58 | |
2009-06-11 | A script to compare the differences in nTSecurityDescriptor between 2 hosts | Nadezhda Ivanova | 1 | -0/+153 | |
This script walks the schema, configuration and domain partitions of the locally installed Ldb and a remote hosts and compares the descriptors disregarding the difference in domain SID. The goal is to make sure a freshly provisioned Samba has the correct descriptors so ACLs work correctly. It outputs the descriptors in short SDDL, where the correct SIDs are to be replaced during provisioning. Optionally it can be output as an LDIF file with the current local domain and domain SIDs. | |||||
2009-06-09 | Fix installation path of the subunit python modules. | Timur I Bakeyev | 1 | -1/+1 | |
Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2009-06-08 | python: Fix samba4.dcerpc.rpcecho.RpcEchoTests.test_surrounding test. | Jelmer Vernooij | 1 | -1/+1 | |
2009-06-02 | Fix more unresolved symbols. | Jelmer Vernooij | 2 | -10/+18 | |
2009-06-02 | python: Move helper functions for using param into a separate file rather | Jelmer Vernooij | 1 | -1/+1 | |
than linking against the python module. | |||||
2009-05-27 | Modified SamDB to accept options like Ldb. | Nadezhda Ivanova | 1 | -2/+2 | |
2009-04-21 | Add str() for policy_handles. | Andrew Bartlett | 1 | -1/+6 | |
Pair programmed with Jelmer | |||||
2009-04-21 | python/dcerpc: Custom implementations of policy_handle.__init__ and ↵ | Andrew Bartlett | 1 | -0/+11 | |
policy_handle.__repr__ pair-programmed with Jelmer | |||||
2009-04-21 | python/rpc: Add custom GUID.__str__, GUID.__repr__, GUID.__init__ and ↵ | Andrew Bartlett | 1 | -0/+48 | |
GUID.__cmp__. | |||||
2009-04-20 | Fix the valid NetBIOS name tests. | Jelmer Vernooij | 1 | -3/+3 | |
2009-04-09 | Merge branch 'wspp-schema' | Andrew Tridgell | 4 | -42/+364 | |
2009-04-06 | Improve formatting in Python file. | Jelmer Vernooij | 1 | -0/+5 | |
2009-04-06 | Make valid_netbios_name() check a bit stricter. | Jelmer Vernooij | 2 | -2/+16 | |
2009-04-03 | s4:schema Update Windows 2008 schema from Microsoft to latest version | Andrew Bartlett | 1 | -2/+2 | |
2009-03-31 | Merge branch 'master' into wspp-schema | Andrew Tridgell | 4 | -30/+206 | |
2009-03-21 | s4/provision: Use existing serverrole variable. | Matthias Dieter Wallnoefer | 1 | -1/+1 | |
Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2009-03-20 | s4:schema Remove 'cn' from the final output of ms_schema.py | Andrew Bartlett | 1 | -0/+6 | |
This avoids one more point of difference between this an the output from minschema and fullschema Andrew Bartlett | |||||
2009-03-20 | s4:fullschema Use server-side sort to make the output deterministic | Andrew Bartlett | 1 | -2/+4 | |
2009-03-20 | s4: Remove autogenerated attributes from minschema and fullschema output | Andrew Bartlett | 2 | -16/+0 | |
These attributes will be generated by Samba on import, and do not need to be in the schema file. Andrew Bartlett | |||||
2009-03-20 | Add minschema like tool to extract and dump the full schema from AD | Andrew Bartlett | 1 | -0/+191 | |
2009-03-20 | s4:minschma Fix aggregate schema generation in minschema | Andrew Bartlett | 1 | -24/+23 | |
The conversion from EJS to python I did with Jelmer this morning was not quite complete, due mostly to the difference between print in EJS and python (python implies a newline). Andrew Bartlett | |||||
2009-03-20 | s4:ldb Ensure to pass down options to LDB from python | Andrew Bartlett | 1 | -3/+3 | |
This is needed for things such as to load modules, like the paged_searches module. Andrew Bartlett | |||||
2009-03-20 | Merge branch 'master' of ssh://git.samba.org/data/git/samba into wspp-schema | Andrew Bartlett | 2 | -101/+91 | |
2009-03-20 | Merge branch 'master' of git://git.samba.org/samba into minschema | Jelmer Vernooij | 3 | -15/+17 | |