The nsRole attribute is operational, so you have to explicitly ask for it in the list of attributes to return from the server. To do this with the command line ldapsearch, you just specify the attributes by name on the end of the command line, after the filter. I don't know how to do this in PHP.
Neil Lane wrote:
Hi
I have created a new DS for evaluation, and completed the following:
I have a domain
I have added an organization
I have added multiple organizational units for the organisation
I have added multiple users that belong to one or more of the ou’s
I now want to add a filtered role that will add the role to the users if they are associated to one (1) of the ou’s
I have tried to add the role from the fedora console, by exporting the DB to ldif, modifying it and importing the ldif.
I have phpLdapAdmin, and LDAPBrowser as well as the console, and none of the tools seem to be able to display the roles
for a user if I do a search.
Is there a command I can run to display all the attributes associated to a user (ei ldapsearch)
Please can someone steer me in the right direction.
Neil Lane
-- Fedora-directory-devel mailing list Fedora-directory-devel@redhat.com https://www.redhat.com/mailman/listinfo/fedora-directory-devel