[Date Prev][Date Next] [Chronological] [Thread] [Top]

password changing problem



Hi All,

V 2.0.4
-------

cmd: ldappasswd -x -d1 -D "cn=Admin,dc=ucc,dc=usyd,dc=edu,dc=au" -W -S
"usydLoginName=jiegao,dc=ucc,dc=usyd,dc=edu,dc=au"

New password: 
Re-enter new password: 
Bind DN: cn=Admin,dc=ucc,dc=usyd,dc=edu,dc=au
Enter bind password: 
ldap_create
ldap_bind_s
ldap_simple_bind_s
ldap_sasl_bind_s
ldap_sasl_bind
ldap_send_initial_request
ldap_new_connection
ldap_int_open_connection
ldap_connect_to_host
ldap_pvt_gethostbyname_a: host=localhost, r=0
ldap_new_socket: 4
ldap_prepare_socket: 4
ldap_connect_to_host: Trying 127.0.0.1:389
ldap_connect_timeout: fd: 4 tm: -1 async: 0
ldap_ndelay_on: 4
ldap_ndelay_off: 4
ldap_delayed_open successful, ld_host is (null)
ldap_send_server_request
ber_flush: 58 bytes to sd 4
ldap_result
wait4msg (infinite timeout)
** Connections:
* host: localhost  port: 389  (default)
  refcnt: 2  status: Connected
  last used: Wed Oct 11 10:21:11 2000

** Outstanding Requests:
 * msgid 1,  origid 1, status InProgress
   outstanding referrals 0, parent count 0
** Response Queue:
   Empty
do_ldap_select
read1msg
ber_get_next
ber_get_next: tag 0x30 len 12 contents:
ldap_read: message type bind msgid 1, original id 1
ber_scanf fmt ({iaa) ber:
read1msg:  0 new referrals
read1msg:  mark request completed, id = 1
request 1 done
res_errno: 0, res_error: <>, res_matched: <>
ldap_free_request (origid 1, msgid 1)
ldap_free_connection
ldap_free_connection: refcnt 1
ldap_parse_result
ber_scanf fmt ({iaa) ber:
ber_scanf fmt (}) ber:
ldap_msgfree
ldap_extended_operation
ldap_send_initial_request
ldap_send_server_request
ber_flush: 96 bytes to sd 4
ldap_result
wait4msg (infinite timeout)
** Connections:
* host: localhost  port: 389  (default)
  refcnt: 2  status: Connected
  last used: Wed Oct 11 10:21:11 2000

** Outstanding Requests:
 * msgid 2,  origid 2, status InProgress
   outstanding referrals 0, parent count 0
** Response Queue:
   Empty
do_ldap_select
read1msg
ber_get_next
ber_get_next: tag 0x30 len 48 contents:
ldap_read: message type extended-result msgid 2, original id 2
ber_scanf fmt ({iaa) ber:
read1msg:  0 new referrals
read1msg:  mark request completed, id = 2
request 2 done
res_errno: 0, res_error: <>, res_matched: <>
ldap_free_request (origid 2, msgid 2)
ldap_free_connection
ldap_free_connection: refcnt 1
ldap_parse_result
ber_scanf fmt ({iaa) ber:
ber_scanf fmt (}) ber:
ldap_parse_extended_result
ber_scanf fmt ({iaa) ber:
ldap_msgfree
ldap_err2string
Result: Operations error (1)
Additional info: could not locate authorization entry
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

ldap_unbind
ldap_free_connection
ldap_send_unbind
ber_flush: 7 bytes to sd 4
ldap_free_connection: actually freed

>From syslog:
-----------

Oct 11 10:21:11 lima slapd[18558]: conn=635 op=0 BIND dn="CN=ADMIN,DC=UCC,DC=USYD,DC=EDU,DC=AU" method=128
Oct 11 10:21:11 lima slapd[18558]: conn=635 op=0 RESULT tag=97 err=0 text=
Oct 11 10:21:11 lima slapd[18558]: conn=635 op=2 UNBIND
Oct 11 10:21:11 lima slapd[18558]: conn=-1 fd=9 closed

>From slapd.conf:
---------------

access to attrs=userPassword,usydUidNumber
        ...
        by dn="cn=Admin,dc=ucc,dc=usyd,dc=edu,dc=au" write
        by * none

What have I done wrong here?

Thanks,



Jie