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

2 password changes, one works the other doesn't



The first hex message works. It comes from running ldappasswd, the second from calling ldap_passwd_s from Smalltalk (still using libldap, obviously), doesn't work. I get a "server unwilling to perform - use bind to verify old password."

I can't figure out where the extra two byte scome from in the packets. Here they both are.

Lightweight Directory Access Protocol, Extended Request
   Message Id: 2
   Message Type: Extended Request (0x17)
   Message Length: 68
   Unknown LDAP operation (23)

0000  00 00 00 00 00 00 00 00 00 00 00 00 08 00 45 00   ..............E.
0010  00 7f 12 54 40 00 40 06 2a 23 7f 00 00 01 7f 00   ...T@.@.*#......
0020  00 01 83 27 01 85 90 5d 15 b2 90 d5 3b 24 80 18   ...'...]....;$..
0030  7f ff d3 f1 00 00 01 01 08 0a 02 e2 07 da 02 e2   ................
0040  07 da 30 49 02 01 02 77 44 80 17 31 2e 33 2e 36   ..0I...wD..1.3.6
0050  2e 31 2e 34 2e 31 2e 34 32 30 33 2e 31 2e 31 31   .1.4.1.4203.1.11
0060  2e 31 81 29 30 27 80 1e 63 6e 3d 54 68 6f 6d 61   .1.)0'..cn=Thoma
0070  73 20 47 61 67 6e 65 2c 64 63 3d 68 6f 6d 65 2c   s Gagne,dc=home,
0080  64 63 3d 6c 61 6e 82 05 74 77 69 73 74            dc=lan..twist

Lightweight Directory Access Protocol, Extended Request
   Message Id: 2
   Message Type: Extended Request (0x17)
   Message Length: 70
   Unknown LDAP operation (23)

0000  00 00 00 00 00 00 00 00 00 00 00 00 08 00 45 00   ..............E.
0010  00 81 e0 ea 40 00 40 06 5b 8a 7f 00 00 01 7f 00   ....@.@.[.......
0020  00 01 83 28 01 85 91 67 d2 62 91 cd 8e b0 80 18   ...(...g.b......
0030  7f ff e1 49 00 00 01 01 08 0a 02 e2 3a 3f 02 e2   ...I........:?..
0040  32 d4 30 4b 02 01 02 77 46 80 17 31 2e 33 2e 36   2.0K...wF..1.3.6
0050  2e 31 2e 34 2e 31 2e 34 32 30 33 2e 31 2e 31 31   .1.4.1.4203.1.11
0060  2e 31 81 2b 30 29 80 1e 63 6e 3d 54 68 6f 6d 61   .1.+0)..cn=Thoma
0070  73 20 47 61 67 6e 65 2c 64 63 3d 68 6f 6d 65 2c   s Gagne,dc=home,
0080  64 63 3d 6c 61 6e 81 00 82 05 74 77 69 73 74      dc=lan....twist
                       ^^ ^^

I point out the 2nd's 81 00 because the following 82 05 appears in both packets.

I'm wondering, why is it there?