This content has been marked as final. Show 3 replies
Most of the code you need is in the autodomain script if you have that already. You simply need the AD API script which is part of autodomain to read the GUID's etc, and the createbinding function, also part of ad..
it's probably only 10 lines of code in addition to those modules as you won't need any UI or error checking. I'm out of the country for a week otherwise I'd put it here for you.
We use a generic LDAP connector (Sun ONE DS) as well, but we changed the SB username to match on UID, instead of DN.
We thought of doing that but the UID isn't enforced as globally unique, at least here, so there's a chance of duplicates. Unfortunately we have to wait until Identity Manager is fully configured before AD will be ready for this switch.