summaryrefslogtreecommitdiff
path: root/testprogs/ejs/ldap.js
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r13356: test utf8 usernamesSimo Sorce1-0/+24
(This used to be commit 7ddec83a602372765711bff7207657b73922aaea)
2007-10-10r12998: A big update to samldb.cAndrew Bartlett1-2/+34
This updates the module to handle both SID allocation and nextRid updating while importing users. (As imported users already have a SID, so don't go via the allocation step). We also ensure that SIDs in the database are unquie at create time. Furthermore, at allocation time, we double-check the SID isn't already in use, and that we don't create a foriegnSecurityPrincipal for a 'local' sid. Also create random samAccountName entries for users without one (we were setting $000000-000000000000). We may want to seperate the uniqueness code from the rest of samldb, and into a module with the objectguid code, which needs similar checks. These checks also need to apply to modification, or those modifications denied outright. Also update part of the testsuite to validate this. Andrew Bartlett (This used to be commit 7a9c8eee4bea88f5f0bb7c62f701476384b7dc84)
2007-10-10r12324: use command line credentials if available in ldap.jsAndrew Tridgell1-0/+7
(This used to be commit f4f99f9af33699ac8fe43b09fa7542aab72a031a)
2007-10-10r9491: fixed up a few scripts that need to be updated for the new GetOptions ↵Andrew Tridgell1-5/+3
syntax. Mimir, its a good idea to use grep -r to find places that need fixing when you change the syntax of a call :-) (This used to be commit 1ead49f8e823a69dbd9cd3df3f5be04dc17e0d1f)
2007-10-10r8745: make ldap.js cleanup after itselfAndrew Tridgell1-1/+3
(This used to be commit 3a1c6a176ed37b4d696dab52b2f2e8ce5b681ff5)
2007-10-10r8743: automatically find the basedn in ldap.jsAndrew Tridgell1-4/+13
(This used to be commit bdca9537a260369a53cbb286642db86bc3ea0828)
2007-10-10r8740: Extend the rdn_name module to handle adding the rdn as an attribute. ie:Andrew Bartlett1-0/+56
dn: cn=foo,ou=bar objectClass: person implies dn: cn=foo,ou=bar objectClass: person cn: foo (as well as a pile more default attributes) We also correct the case in the attirbute to match that in the DN (win2k3 behaviour) and I have a testsuite (in ejs) to prove it. This module also found a bug in our provision.ldif, so and reduces code complexity in the samdb module. Andrew Bartlett (This used to be commit 0cc58f5c3cce12341ad0f7a90cdd85a3fab786b3)