I've been setting up a synchronization system between two directory 
servers, Active Directory and OpenDJ, using the LDAP Synchronization 
Connector http://lsc-project.org/wiki/ and the approach it uses for 
populating the uidNumber I'm wondering if it can be used by LAM.

The approach is to create a cn which contains a serialNumber which is 
the initial uidNumber. When it creates an account it retrieves that 
serialNumber and increments it +1, and set that value to the uidNumber, 
create the user, then updates the serialNumber in the directory. I may 
have the sequence wrong but that's basically it.

I know LAM increments the uidNumber in some fashion but I was curious to 
know if something like this could be done. I'm thinking of a scenario 
where accounts are being auto-created w/such a tool and also manually 
created with LAM.

dn: ou=sequences,dc=dom,dc=com
changetype: add
objectClass: top
objectClass: organizationalUnit
ou: sequences

dn: cn=uidNumberSequence,ou=sequences,dc=dom,dc=com
objectClass: top
objectClass: device
cn: uidNumberSequence
serialNumber: 10000

-- 
Darin Perusich
Email: [email protected]
Office: 716-888-3690
The information transmitted is intended only for the person or entity to which
it is addressed and may contain confidential and/or privileged material. Any
review, retransmission, dissemination or other use of, or taking of any action
in reliance upon, this information by persons or entities other than the
intended recipient is prohibited. If you are not the intended recipient of this 
message, please contact the sender and delete this material from this computer.
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Lam-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lam-public

Reply via email to