| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
This fixes some problems in the samr Python bindings that pidl was
(correctly) warning about.
|
|
|
|
|
| |
Use py_talloc_reference in DCE/RPC code, fixes
access to SAMR pipe.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
| |
|
|
|
|
| |
rather than creating a separate shared library for it.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
This will allow us to set some more flags into ldb during the provision.
|
|
|
|
|
|
|
|
| |
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 ....
|
|
|
|
|
|
|
| |
In particular, ensure that we can acutally change the password under
these circumstances.
Andrew Bartlett
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
|
| |
|
| |
|
|
|
|
| |
than linking against the python module.
|
| |
|
|
|
|
| |
Pair programmed with Jelmer
|
|
|
|
|
|
| |
policy_handle.__repr__
pair-programmed with Jelmer
|
|
|
|
| |
GUID.__cmp__.
|
| |
|
|\ |
|
| | |
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This avoids one more point of difference between this an the output
from minschema and fullschema
Andrew Bartlett
|
| |\ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This was missed in the earlier work to use this in provision-backend
Andrew Bartlett
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Loading data in a transaction is faster than without.
Andrew Bartlett
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
I've patched the new ms_schema.py (which was intended to be used as a
library) to function as minschema_wspp if invoked standalone. Although
this is less robust than minschema_wspp on incorrect data, having two
programs doing the same thing might not be good idea.
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
| |\ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Also remove the copy of the licence text from licence.txt, to ensure
we don't get variations between the copies.
Andrew Bartlett
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
We need to trim trailing spaces in the Microsoft-supplied schema.
Andrew Bartlett
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Here's a first attempt at moving the minschema_wspp code into a
library as Andrew requested. Since this script no longer has to
generate CN=aggregate, I've simplified it quite a bit to a level where
it almost does a line-by-line translation. This is faster and simpler,
but it may not catch as many errors in the ad-schema files as the
previous versions did.
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
|
| | | | | |
|
| |_|_|/
|/| | | |
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
|
| |_|/
|/| |
| | |
| | |
| | |
| | |
| | | |
This is needed for things such as to load modules, like the
paged_searches module.
Andrew Bartlett
|
| | |
| | |
| | |
| | |
| | | |
This avoids problems with embedded control characters in password
changes
|
| | |
| | |
| | |
| | | |
This one added 3 spaces to the end of any new passwords
|
| |/
|/|
| |
| |
| | |
This fixes the problem with the setpassword command failing like this:
Error: First line of ldif must be a dn not ' dn'
|
| |
| |
| |
| |
| |
| |
| |
| | |
For example, if we don't create the admin user (perhaps expecting
users to be in LDAP already, or we are due an incoming replication) we
should not confuse the administrator by printing a unused password.
Andrew Bartlett
|
| | |
|
|\|
| |
| |
| |
| | |
Conflicts:
source4/scripting/python/samba/provision.py
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- removed workaround for olcSyncprovConfig - creation (works perfect now
with 2.4.15, release was today)
- added 1 message-helpline, which is displayed when running
provision-backend with olc and/or mmr setup
- corrected 1 wrong slapcommand-helpline
- slapd.conf is removed now in case of olc-setup
- added 1 copyright-line to provision.py and provision-backend
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
|