That would actually be really cool in my
opinion; not only for LDIFs but for general scripting and programming.
When ever I’m creating some sort of automation tool for AD I always have
to stop and think about how to set the ACL piece because it seems so different
from the way you set other Directory data. Although it might just be that
my feeble brain is not capable of remembering two different processes ;) From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dmitri Gavrilov Yeah, Joe’s
correct, dsacls or scripting is your best bet. SDDL+encoding is also possible,
but it would replace the whole SD value, which is rarely what you really want.
Usually you just need to add or remove an ACE, right? This would require
reading the old value, which is not possible with LDIF. At some point, I
looked at trying to expose the SD value as a multi-valued string attribute,
each value representing an individual ACE (e.g. in SDDL). This is approximately
what iPlanet and OpenLdap do. Unfortunately, it never went further than that.
Would have been pretty cool, and very much LDIF’able. Alas… From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of joe I think you could but it would be
non-trivial, I agree with Al, use a different tool. dsacls or scripting is the
"standard". Theoretically, and Dmitri or Eric can
correct me if I am off, you could create your Security Descriptor in
SDDL format, convert that to the binary form, then mime encode it, then try to
apply that string for the ntSecurityDescriptor attribute. You will likely have
to do it as an Administrator or else you will get an error since non-admins
have to set special controls to update the security descriptor and I don't
think LDIFDE will do it. joe -- O'Reilly Active Directory Third Edition - http://www.joeware.net/win/ad3e.htm From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Al Mulnick There's no provision in the ldif standard that I'm aware of that would
allow this. LDIFDE might have something with it, but I haven't seen it. You'd be better off using a different tool in my opinion. Al On 10/6/06, Does anyone know if it's possible to set Directory ACLs using an LDIF? |
- [ActiveDir] Using an LDIF to set ACLs Isenhour, Joseph
- Re: [ActiveDir] Using an LDIF to set ACLs Al Mulnick
- RE: [ActiveDir] Using an LDIF to set ACLs joe
- RE: [ActiveDir] Using an LDIF to set ACLs Isenhour, Joseph
- RE: [ActiveDir] Using an LDIF to set ACLs Dmitri Gavrilov
- Re: [ActiveDir] Using an LDIF to set ACL... Joe Kaplan
- RE: [ActiveDir] Using an LDIF to set ACL... Isenhour, Joseph