Hi,
I am not sure if this is an appropriate group for this question, but does
anyone know how, or can suggest a good reference sight for doing SQL based
LDAP inserts eg I need to be able to add certain AD accounts to be members
of certain AD groups via SQL. I know you can do things like
@[EMAIL PROTECTED]
'<LDAP://AD Domain>;(&(ObjectCategory=group)(memberOf=' +
ltrim(rtrim(@[EMAIL PROTECTED]
)) + '));distinguishedName;subtree'
SELECT * FROM OpenQuery(ADSI,''' + @[EMAIL PROTECTED]
+ ''')
but I can't find a good reference site to help me. I also realise that
memberof is a multivalued field so I don't know if this is going to make
it
more complicated to achieve.
Thanks in advance
Janette