Age | Commit message (Collapse) | Author | Files | Lines |
|
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)
|
|
Doing this required reworking ejsnet, particularly so it could take a
set of credentials, not just a username and password argument.
This required fixing the ejsnet.js test script, which now adds and
deletes a user, and is run from 'make test'. This should prevent it
being broken again.
Deleting a user from ejsnet required that the matching backend be
added to libnet, hooking fortunetly onto already existing code for the
actual deletion.
The js credentials interface now handles the 'set machine account' flag.
New functions have been added to provision.js to wrap the basic
operations (so we can write a command line version, as well as the web
based version).
Andrew Bartlett
(This used to be commit a5e7c17c348c45e61699cc1626a0d5eae2df4636)
|
|
(This used to be commit f4f99f9af33699ac8fe43b09fa7542aab72a031a)
|
|
subcontexts look like.
rafal
(This used to be commit 5a338b04f37f6160f4aaf7d9758aa2d817516eb1)
|
|
mappings right for the attributeTypes field of the aggregate schema
now to add the display specifiers and I won't need the proxy module
any more
(This used to be commit 69264362bd408f493487482a8d5e9779d9a0d475)
|
|
except the attributeTypes fields of the Aggregrate record. Proxying
just that field and the display specifiers gives us a working mmc
client
hopefully i'll work out what it doesn't like about the attributeTypes
field soon
(This used to be commit 3af867a3f4a5fd702089400d1687e2aff017f48a)
|
|
ldap server. It's still not quite right, and I'm chasing down a few
errors that mmc throws up, but its a lot closer than it was. I had to
change the approach quite substantially over the last couple of days,
but this approach now seems to be working out.
(This used to be commit 38ea11510c8824285d072fe0e03e443d9d584271)
|
|
rafal
(This used to be commit deb561ea4a00730787d129ae5eda38ceefe129f6)
|
|
needed to represent all the current records on a ADS LDAP server. The
idea is we will use something based on this code to work out exactly
what schema elements we will need for our initial ADS schema. I plan
on expanding this code to automatically work out attribute properties,
and write out a schema file that we can load into ldb.
Interestingly, it looks like we only need 43 objectclasses and around
200 attributes to represent all records of a newly installed w2k3 ADS
server.
(This used to be commit 7b0ae77757d347d2b0f5bac3a49e915e24c3ab78)
|
|
(This used to be commit 915878d7cebacf499c0c9d264a2dcbc82b521dfd)
|
|
Add SOC STATUS doc
(This used to be commit 152c1a37b536c65e0b816319304d1fb46c2dc5a8)
|
|
(This used to be commit 8ff1358f401e0086b941f4ff73af5d4c38a1f8bf)
|
|
(This used to be commit 4c3b37d660e798764e35a31221f4939ab6f36948)
|
|
(This used to be commit ebed25b47d3d8bd350b51b462d605d713f17602d)
|
|
(This used to be commit 76e943d4416e38ce4cce27d5403bc3e133d0025b)
|
|
(This used to be commit d6dce7ef3eb21a5e90244cf2ce7403ab43b12d63)
|
|
Update PLAN
Some more small other fixes
(This used to be commit 31cd5d55a9754b4e670be5d3687dfaaab8adaefc)
|
|
(This used to be commit 5cbe1e6b70b03be441a36b36fb969339df0dfd45)
|
|
(This used to be commit b7992de4b7d42a55e00509c887a269a07c19627d)
|
|
(This used to be commit 77f24ed131bf57c30bb500e1d8d387bd4b403ddc)
|
|
(This used to be commit 47c11fd886d7c57cafe2e150d745d3ce17e3bb72)
|
|
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)
|
|
(This used to be commit dae90b6959508a19d35f711caf4c3f4bb9b3796a)
|
|
(This used to be commit f217f08b679ec3ed4784ed0fe74e9cbb935cdce9)
|
|
(This used to be commit bda6943c311e005cff0b46722355e9aa693db67a)
|
|
functionality. It now completely enumerates a winreg tree.
This would make a good basis for a js version of regshell if someone
felt like taking that on.
(This used to be commit 75d0cf78ec8c01dee2a6475d4c64417349d9ec3a)
|
|
and more conveniently (caller doesn't need to know the hive names now)
(This used to be commit dadd7e22fb439f7b18c429a95c75902e4741ba8d)
|
|
(This used to be commit 33bb76ed4e1a796cf68198c0bb480a7bbd31b6cd)
|
|
(This used to be commit 10043db676f9db8d1933b6a5f9ae050cefc538ac)
|
|
calls. This changes the generated RPC and IRPC calls to use the 'this'
object pointer instead of requiring the passing of the object on each
call. So typical usage is now:
var echo = echo_init();
var io = irpcObj();
status = echo.connect("ncacn_np:server");
assert(status.is_ok);
io.input.in_data = 7;
status = echo.AddOne(io);
assert(status.is_ok);
(This used to be commit f7b49ecd0868c1f0fec75b371f132bbf357ad8c6)
|
|
(This used to be commit 3a1c6a176ed37b4d696dab52b2f2e8ce5b681ff5)
|
|
(This used to be commit bdca9537a260369a53cbb286642db86bc3ea0828)
|
|
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)
|
|
ejs seems to test this stuff very nicely!
Andrew Bartlett
(This used to be commit 325f6d24dfc285587bde9fea6eeaf136c2731eff)
|
|
(This used to be commit 19ae68f59ad9b81005eb68b3773f24234c0f891d)
|
|
(This used to be commit 2dc493eea6f9d87c40ad0dc755f528ce0b33ca47)
|
|
making the string functions
into an object. To keep existing code working I have added:
string_init(global);
into base.js. That brings the functions into the global scope for our
existing scripts
(This used to be commit a978484738168b82441c4dc4f5f803d349769a4b)
|
|
add it to our test suite so it will be maintained
(This used to be commit 42ae50db8108ddc7c33f832d8752f809c99de157)
|
|
don't need to keep
a 'db' variable around. The ldb object knows what it is connected to.
Added a simple ldb testsuite in testprogs/ldb.js
(This used to be commit cf35818648b5b649d0cd25f115a04b7b5b5311aa)
|
|
(a suggestion from simo)
(This used to be commit 98c9c4ecb87e1b140002390067892806464849da)
|
|
means we don't pollute the name space, and also makes for faster
startup times as we only create variables for the pipes that we use,
not all pipes
(This used to be commit 57d7a585e8162d21c7152952aa0cc7471968784f)
|
|
var ldb = ldb_init();
res = ldb.search(dbfile, "(objectClass=user)");
you can also do:
ldbSearch = ldb.search;
res = ldbSearch(dbfile, "(objectClass=user)");
if you want the old interface (ie. you can use this to import
functions into the global or local namespace).
(This used to be commit 3093057d9735cbb62f57e7159264d5a28b85320f)
|
|
(This used to be commit c470c3ceac668635c83aa80730321ae7c41ad626)
|
|
- removed the --outputdir option from provision, as its not used any
more (as ejs knows the real paths)
(This used to be commit abbf9c703c17c2edc2d978dade3619a96c38d0d9)
|
|
(This used to be commit 14af014410a9971d447aafe00640407698f63d7f)
|
|
(This used to be commit 5f079d74630cf6431ec8af7240f60054cf8b9ab7)
|
|
- switched the existing test programs over to using the library
- added install of js lib
(This used to be commit 2a444dedbe44347268affc6458196f93ca7d372b)
|
|
This is a demo script that shows the nbt server statistics. For example:
nbt_server statistics:
total_received: 185
total_sent: 59
query_count: 13
release_count: 21
register_count: 7
(This used to be commit cd1ea857ce19ac2e105230703174634d8b9d5122)
|
|
#!/usr/bin/env smbscript
I'll be interested to see how portable this is in the build farm.
(This used to be commit 757c22aab43fadc776006ac5970dbfb46a13fa3c)
|
|
(This used to be commit c760180119b4ac9307783bc50892a3dc57b2465e)
|