One Day Sec

What LDAP commands are used to add a user, set their password, and assign them to the Administrators group in vCenter?

Use `ldapadd` with an LDIF file containing the user's attributes (e.g., `userPassword`) to create the user. Then use `ldapmodify` with another LDIF file that adds the user's DN as a `member` of `cn=Administrators,cn=Builtin,dc=aaa,dc=bbb`. For example: `ldapadd -f adduser.ldif` followed by `ldapmodify -f addadmin.ldif`. Passwords are set via the `userPassword` attribute, not `nTSecurityDescriptor`.
ldapaddldapmodifyLDIFvCenter administrator group

Browse all Q&A →