[Fedora-directory-users] Automatically incrementing uidNumber

Jeff Falgout jfalgout at ogov.net
Tue Jun 7 16:17:30 UTC 2005


> Ok, I see.  Sure.  I would love to get a list of features of other LDAP
> administration tools that are not supported by the Fedora DS console.
> 1) Support auto-increment of uidNumber (other attributes?  gidNumber?)
> 2) Support for shadowAccount host based access restriction (feature of
> DirectoryAdministrator)
>
>>I haven't had
>>much luck getting phpLdapAdmin working with fedora-ds (I've had some
>>objectclass violations when creating new users - haven't spent much time
>>trying to figure that out as I like the console much better).
>>
>>
> I'd like to get this working - can you post the error messages you're
> seeing?  And access and errors log.
>

A simple change in phpLdapAdmin allowed me to create a posix user in
fedora-ds. In the templates/creation directory, edit the file
new_user_template.php, search for 'value="gn"' and replace it with
'value="givenname"'.

I'm also using groupOfUniqueNames for authentication via pam - I had to
create a group using the custom template, selecting the groupOfUniqueNames
objectclass and then skipped adding members to the group until after the
object was created. When I tried to add members to the new group, the
template for groupofnames was loaded, not groupofuniquenames, so when you
add a member, it creates a value for the attribute member (not
uniqueMember). I hacked the file
templates/modification/group_of_names.php. Around line 21, " $attr_name =
'member'; "  I replaced member with uniqueMember - a hack, I know, but it
worked. Now I can create the initial member as a uniqueMember.

That's as far as I've gotten.

Jeff




More information about the Fedora-directory-users mailing list