ldap - how to change userPassword value

From: Beck, Joseph (jbeck@seic.com)
Date: Fri Jun 02 2006 - 11:09:49 EDT


>From man passwd, I see you can do a

passwd -r ldap <username>

but when I try to do that I get permission denied

I was hoping there was a way to pass in cn=Directory Manager

But I don't see it.

I also went to the IDS (sun directory server) console & tried to do it
thru there, but I have some confusion around what shows up there. There
is a password attribute but I don't believe it's the userPassword. I
guess I don't yet grasp how the attributes & values of some of the
objectclasses map & how to edit them

bash-3.00# ldaplist -l passwd jbeck

dn: uid=jbeck,ou=people,o=xxx.com

        cn: jbeck

        uidNumber: 1675

        gidNumber: 1008

        gecos: Joe Beck

        homeDirectory: /home/jbeck

        loginShell: /bin/ksh

        objectClass: posixAccount

        objectClass: shadowAccount

        objectClass: account

        objectClass: top

        uid: jbeck

        userPassword: {crypt}4jshG123YQxxx

        shadowLastChange: 13248

        shadowFlag: 0

I fell back on the delete the acct & readd it due to meeting a deadline,
but would like to know the correct process for future needs.

Joe Beck Ciber Inc. - a consultant to SEI One Freedom Valley Drive |
Oaks, PA 19456 | p: 610.676.2258 | jbeck@seic.com
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:40:01 EDT