| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
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>
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
These attributes will be generated by Samba on import, and do not need
to be in the schema file.
Andrew Bartlett
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
| |_|/
|/| |
| | |
| | |
| | |
| | |
| | | |
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
|
| | | |
|
|/ /
| |
| |
| | |
Pair programmed over the phone with Andrew :-)
|
|\|
| |
| |
| |
| | |
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>
|