Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-02-26 | s4:pyglue: add generate_random_password() | Stefan Metzmacher | 1 | -2/+22 | |
metze | |||||
2010-02-26 | samdb: added get_ntds_GUID() method | Andrew Tridgell | 1 | -0/+35 | |
2010-02-26 | pyglue: added py_samdb_server_site_name() | Andrew Tridgell | 1 | -0/+29 | |
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-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-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-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-21 | s4: add python bindings for wrap_(s|g)etxattr | Matthieu Patou | 1 | -2/+2 | |
2009-12-31 | pyldb: Add dom_sid.split in favor of less powerful dom_sid_to_rid(). | Jelmer Vernooij | 1 | -23/+0 | |
Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2009-11-20 | Some changes to allow processing of ldap controls on modify requests. | Nadezhda Ivanova | 1 | -0/+6 | |
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-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 - Reorder some function bodies to match the order ↵ | Matthias Dieter Wallnöfer | 1 | -25/+24 | |
in "ldb_wrap_connect" | |||||
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 | 1 | -1/+1 | |
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-09-17 | s4/python: flags | Matthias Dieter Wallnöfer | 1 | -5/+41 | |
- Introduce the "userAccountControl", "groupType" and "sAMAccountType" flags - Corrects the "domain/forestFunctionality" and "domainControllerFunctionality" flags | |||||
2009-09-10 | Revert "s4: Let the "setpassword" script finally use the ↵ | Matthias Dieter Wallnöfer | 1 | -63/+2 | |
"samdb_set_password" routine" This reverts commit fdd62e9699b181a140292689fcd88a559bc26211. abartlet and I agreed that this isn't the right way to enforce the password policies. Sooner or later we've to control them anyway on the directory level. | |||||
2009-09-07 | s4: Let the "setpassword" script finally use the "samdb_set_password" routine | Matthias Dieter Wallnöfer | 1 | -2/+63 | |
The "setpassword" script should use the "samdb_set_password" call to change the NT user password. Windows Server tests show that "userPassword" is not the right place to save the NT password and does not inherit the password complexity. | |||||
2009-09-03 | allow setting of the debug level in python from C | Andrew Tridgell | 1 | -0/+11 | |
2009-08-27 | s4:python Add helper to get at the domain SID | Andrew Bartlett | 1 | -0/+27 | |
2009-08-26 | s4:provison Add prefixes to ldb using same code a later modify will use | Andrew Bartlett | 1 | -0/+26 | |
This allows us to test out the code that will do the modify of the prefixMap, and to provide the bindings that may assist a future upgrade script. Andrew Bartlett | |||||
2009-08-17 | s4:pyglue Add a wrapper for loading the correct UTF8 casefolder | Matthias Dieter Wallnöfer | 1 | -0/+20 | |
Needed for special characters (e.g. in German "Umlaute") | |||||
2009-08-17 | s4:schema Allow a schema load on an unconnected database | Andrew Bartlett | 1 | -1/+1 | |
This helps ensure we don't load the schema too often in the provision (allowing a reference in of the schema before the modules load). Andrew Bartlett | |||||
2009-08-17 | s4:schema Provide a way to reference a loaded schema between ldbs | Andrew Bartlett | 1 | -3/+32 | |
This allows us to load the schema against one ldb context, but apply it to another. This will be useful in the provision script, as we need the schema before we start the LDAP server backend. Adnrew Bartlett | |||||
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-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 | 1 | -0/+6 | |
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 | 1 | -0/+59 | |
This will allow us to set some more flags into ldb during the provision. | |||||
2009-06-02 | Fix more unresolved symbols. | Jelmer Vernooij | 1 | -9/+17 | |
2009-03-05 | Remove ad2oLschema, insted call it directly from provision-backend | Andrew Bartlett | 1 | -3/+28 | |
This removes a level of indirection via external binaries in the provision-backend code, and also makes better use of our internal code for loading schema from an LDIF file. Remaining to do: Sort the output again, as the load from LDIF is unsorted (also needed because the normal LDB load from sorted input is too slow anyway, and is only needed here). Andrew Bartlett | |||||
2009-01-08 | Avoid using a utility header for Python replacements included in Samba, | Jelmer Vernooij | 1 | -1/+5 | |
since this will not be shipped with talloc/tdb/tevent/etc. | |||||
2009-01-07 | s3/s4 build: Fix Py_RETURN_NONE to work with python versions < 2.4 | Tim Prouty | 1 | -1/+1 | |
2009-01-06 | py: Properly increase the reference counter of Py_None. | Jelmer Vernooij | 1 | -8/+8 | |
2008-12-29 | pyglue: fix the build with automatic dependecies | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2008-12-23 | pyldb: Fix segfault because of incorrect reference counting. | Jelmer Vernooij | 1 | -0/+1 | |
2008-12-22 | Add header for pyparam. | Jelmer Vernooij | 1 | -1/+1 | |
2008-12-22 | Remove includes of py_*.h, which are no longer generated. | Jelmer Vernooij | 1 | -2/+0 | |
2008-12-21 | Fix more introduced regressions in new bindings. | Jelmer Vernooij | 1 | -13/+5 | |
2008-12-21 | Convert auth python module to "plain" C rather than using SWIG. | Jelmer Vernooij | 1 | -1/+7 | |
2008-12-21 | py: Fix initialisation of subtypes, fix segfaults. | Jelmer Vernooij | 1 | -0/+273 | |