ldap - how to change userPassword value



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@xxxxxxxx
_______________________________________________
sunmanagers mailing list
sunmanagers@xxxxxxxxxxxxxxx
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



Relevant Pages

  • Re: Openldap: ssh works, su does not
    ... Adding the shadowAccount class did let me to 'su' and to ... > posixAccount and objectClass: shadowAccount. ... > givenName: David ...
    (SunManagers)
  • LDAP distribution lists
    ... We've successfully gotten Outlook talking to our OpenLDAP server running on ... objectClass: organizationalUnit ... objectClass: shadowAccount ... postalAddress: 700 Thimble Shoals Blvd, ...
    (microsoft.public.outlook.interop)
  • LDAP distribution lists
    ... We've successfully gotten Outlook talking to our OpenLDAP server running on ... objectClass: organizationalUnit ... objectClass: shadowAccount ... postalAddress: 700 Thimble Shoals Blvd, ...
    (microsoft.public.outlook.contacts)
  • Re: Perl Script Needed Urgently.!!
    ... objectClass: posixAccount ... objectClass: shadowAccount ... uidNumber: $uidNumber ... gidNumber: $gidNumber ...
    (perl.beginners)
  • smbldap_search_suffix: Problem during the LDAP search: (No such object)
    ... cn: user06 user06 ... objectClass: posixAccount ... objectClass: shadowAccount ... ldap delete dn = No ...
    (de.comp.os.unix.networking.samba)