On 05/16/2013 06:06 PM, Jonathan Vaughn wrote:
We're trying to create accounts
(with the posixaccount objectclass and so forth) via
LDAP, and while we can add the objectclasses and set
the attributes without error, the attributes for
posixaccount don't show up on subsequent LDAP queries.
Looking at the entry via the 389 Console I see that
the values were set correctly but the checkbox for
'Enable Posix User Attributes' is unechecked - I had
thought checking this merely added the relevant
objectclass but apparently there's some other special
magic occuring.
How can we "enable" these attributes (so that we
can than retrieve them via LDAP later) via LDAP ?
Manually going in via the console and "enabling"
them via the checkbox for every new account is not a
"solution".
Create a user in the console which you have done the
'Enable Posix User Attributes' - do an ldapsearch to see
what that LDIF looks like - compare that with your script
or LDIF that you are using to automate.