| Age | Commit message (Collapse) | Author | Files | Lines |
|
- Centralise the lookups for the default domain (root) in the call "domain_dn"
- Reduce the LDB connections attempts ("connect" calls) from three to one
- tools should load faster
- Make the LDB connection init more like the "ldb_wrap_connection" call
- Load the right UTF8 casefolder which fixes up problems with special characters
(discovered by me: e.g. small "Umlaute" (ä, ö, ü, ...) in the DN weren't upcased
- so records "seemed" lost in TDB)
|
|
This reverts commit 53ef426e6f68728763436bd0cd3dd91180c00579.
As abartlet pointed out this causes to load all attributes and therefore gives
us more here than we need (only the check for the DN)!
|
|
(These will be added back in a future commit)
|
|
This makes it possible to do a bit more of the provision with Samba
helpers, but without some of the otherwise useful things (such as
loading in the global schema) that SamDB does.
Rewrite provision_erase to use a recursive search, rather than a
looping subtree search. This is much more efficient, particularly now
we have one-level indexes enabled.
Delete the @INDEX and similar records *after* deleting all other
visible records, this hopefully also assists performance.
Andrew Bartlett
|
|
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
|
|
|
|
|
|
This will allow us to set some more flags into ldb during the provision.
|
|
In particular, ensure that we can acutally change the password under
these circumstances.
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'
|
|
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
|
|
|
|
|
|
|
|
|
|
This makes it easy to set the expiry (or no expiry) for a samdb user
(This used to be commit 25171f18a4b242b5a731f4ac1eefc51cc82efd74)
|
|
(This used to be commit cbac27e6faa99ebaa3e6d653017c968db836560a)
|
|
This attribute is used in a very similar way (virtual attribute
updating the password) in AD on Win2003, so eliminate the difference.
This should not cause a problem for on-disk passwords, as by default
we do not store the plaintext at all.
Andrew Bartlett
(This used to be commit 1cf0d751493b709ef6b2234ec8847a7499f48ab3)
|
|
(This used to be commit 0cc58decd74d20f3d7dff93ddef1c8bce4d49ad0)
|
|
The new idmap world does not use the unixUser any more, so we need to
set up the entry (if wanted) in the idmap database. Users without a
backing unix user will get an allocated uid by idmap later.
Andrew Bartlett
(This used to be commit 8bd8bc1475ddf22d4702dcd17028a9043a5e629f)
|
|
(This used to be commit 206b7d387c6d17e5cc40fd45b489abac9235a7a4)
|
|
These need a testsuite, but this will come soon.
Andrew Bartlett
(This used to be commit fbcaa622bd1929399e32326349e96b6676a49b96)
|
|
(This used to be commit bd0ef811c4e6419ba05076fbc151827cea5d1ca1)
|
|
binary blobs, fix escaping of LDAP URL's in PHP LDAP admin configuration.
Pair-programmed with Andrew, but git doesn't appear to support multiple --author arguments. :-(
(This used to be commit dff54ff043563f93b86361039c46e662045f62cc)
|
|
provisioning, some other minor refactoring of the provisioning.
Pair-programmed by Andrew and me using obby :-)
(This used to be commit 688adcbb635af87fcfedb869b7f1857a947fd2f9)
|
|
(This used to be commit c09efa7b778f9cb29032a6abfd914fcaae8df163)
|
|
g53b5166.
(This used to be commit f056f624958af79204c972eba3f85e36e93daed7)
|
|
(This used to be commit 3c329ee73d9979236313c37e51750ec06b8dd69e)
|
|
(This used to be commit 48ceaa964327ed7094275780cc3c0767636bcb18)
|
|
(This used to be commit 5f921af41e4dcd6844f6a662d56bd27c4e76ff88)
|
|
(This used to be commit ac1083178f9e521dcd5d3d8b5199abcb00159adf)
|
|
for the various LDBs.
(This used to be commit 20c686f501b652ec0578a075a124b72ecb5f41b6)
|
|
(This used to be commit a8b1fe15ac853082961132ede061fe1556ae29f7)
|
|
provisioning in python.
(This used to be commit d2402251666738c0372bbbaeaa1d26c06e254033)
|
|
session_info on a ldb context from python.
(This used to be commit 75cfb0d609687538048a7d72a499a5205af46a34)
|