Anthony M. Farrell wrote:
/usr/lib/mozldap/ldapsearch -D "cn=directory manager" -w password -b o=netscaperoot "(nsDefaultObjectClass=posixuser)"On Thu, 08 Oct 2009 12:10:02 Rich Megginson wrote:Note that it is the objectclass "posixAccount" not "posixUser". Did you manually add an objectclass named posixUser to something?I don't recollect adding class posixUser to anything but it is possible when I was trying to work out how to best implement Unix groups that I did something unwise. I normally keep a record of changes as I go and I have no record of this.Here is the result of the ldapsearch command: nsClassname: com.netscape.management.client.ug.ResEditorPosixUser nsDefaultObjectClass: posixuser
This will print the entry that contains the nsDefaultObjectClass: posixuser Then delete that value: /usr/lib/mozldap/ldapmodify -D "cn=directory manager" -w password dn: dn of that entry changetype: modify delete: nsDefaultObjectClass nsDefaultObjectClass: posixuserPress Enter twice to send the command, then Ctrl-C or Ctrl-D to exit ldapmodify.
I'm not sure how that posixuser got in there - that's really weird.
<<attachment: smime.p7s>>
-- 389 users mailing list 389-users@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-directory-users