[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pamldap
Subject:    Re: Re: [pamldap] How to change password in pam-ldap?
From:       "hbgui" <hbgui () student ! dlut ! edu ! cn>
Date:       2002-11-12 7:02:03
[Download RAW message or body]

change success
caesar@cvs:~$ ldapmodify -h 127.0.0.1 -D cn=laomao,dc=net,dc=dlut,dc=edu,dc=cn -w \
test123     -v -x << EOF
> dn: cn=laomao,dc=net,dc=dlut,dc=edu,dc=cn 
> changetype: modify
> replace:userPassword
> userPassword:ceshi
> EOF
ldap_init( 127.0.0.1, 0 )
replace userPassword:
        ceshi
modifying entry "cn=laomao,dc=net,dc=dlut,dc=edu,dc=cn "
modify complete

	

======= 2002-11-12 16:26:00 =======

> err=0. A successful bind.
> Do you know how to use ldapmodify?
> 
> Try this:
> 
> ldapmodify -h 127.0.0.1 -D cn=laomao,dc=net,dc=dlut,dc=edu,dc=cn -w test123 \
> -v -x << EOF
> dn: cn=laomao,dc=net,dc=dlut,dc=edu,dc=cn
> changetype: modify
> replace: userPassword
> userPassword: ceshi
> EOF
> 
> Now does that return success? Is the password for 'cn=laomao' now set to
> 'ceshi'?
> 
> Wade.
> 
> hbgui has a copyright on recycled Internet traffic marked: >
> 
> > Wade Turland,
> > With -x I get a long time waiting
> > cvs:/etc/samba# ldapmodify -h 127.0.0.1 -D cn=laomao,dc=net,dc=dlut,dc=edu,dc=cn \
> > -w test123 -v -x ldap_init( 127.0.0.1, 0 )
> > 
> > cvs:/etc/samba# ldapmodify -h 127.0.0.1 -D cn=laomao,dc=net,dc=dlut,dc=edu,dc=cn \
> > -w test123 -v -x ldap_init( 127.0.0.1, 0 )
> > 
> > the log when loglevel is 256.
> > 
> > Nov 12 20:50:43 cvs slapd[21068]: daemon: conn=9 fd=9 connection from \
> >                 IP=127.0.0.1:1914 (IP=0.0.0.0:34049) accepted.
> > Nov 12 20:50:43 cvs slapd[21074]: conn=9 op=0 BIND \
> >                 dn="CN=LAOMAO,DC=NET,DC=DLUT,DC=EDU,DC=CN" method=128
> > Nov 12 20:50:43 cvs slapd[21074]: conn=9 op=0 RESULT tag=97 err=0 text=
> 
> -- 
> /==============================================================\
> > Wade Turland                  | Locked Bag 1797             |
> > Unix Administrator            | Penrith South DC NSW 1797   |
> > University of Western Sydney  | Phone: +61 2 4736 0806      |
> > Room V137 (Kingswood)         | Fax:   +61 2 4736 0010      |
> \==============================================================/
> Do not save your loving speeches for your friends till they are dead;
> Do not write them on their tombstones, speak them rather now instead.
> 		-- Anna Cummins
> 		   Poet

= = = = = = = = = = = = = = = = = = = =
			

¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡Ö 
Àñ£¡
 
				 
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡hbgui
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡hbgui@student.dlut.edu.cn
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡2002-11-12


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic