When attempting to create new accounts, my installation of ldap requires a uidnumber.

I tried entering this in this modules Basic attribs: uidNumber: %uid_number

however the ldap log returns: conn=460 op=2 RESULT tag=105 err=21 text=uidNumber: value #0 invalid per syntax

Is there a way to generate a valid uid number?

Comments

KrisBulman’s picture

disregard this

miglius’s picture

Status: Active » Closed (fixed)
aurfalien’s picture

Hi,

Did you solve this?

I also need to send a uidNumber attribute and was wondering how to do this?

I was thinking to modify the ldap_provisioning module but am unsure how to start.

Any ideas are appreciated.

aurfalien’s picture

Status: Closed (fixed) » Active

I too am having the same issue.

The posixAccount objectclass requires a uidNumber and since I am using LDAP for a user auth dir in my Unix env, I need it.

I'm not having much luck using the samba ldap provisioning module and don't really need it. How can I get uidNumber to work?

Any ideas?

vaish_aps’s picture

I have same query. Did anyone receive a solution?