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

Re: (ITS#5342) DN and naming attribute mismatch



richton@nbcs.rutgers.edu wrote:
> Full_Name: Aaron Richton
> Version: 2.3.40
> OS: Solaris 9
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (128.6.31.135)
> 
> 
> $ ldapsearch -LLL '(cn=172.23.58.210)'
> dn:: Y249MbcyLjIzLjU4LjIxMCxjbj1DbGllbnRzLGNuPVJlc05ldCBTZXJ2aWNlIENvbmZpZyxvd
>  T1Ib3N0IENvbmZpZyxvPVJ1dGdlcnMgQ0NGLGM9VVM=
> objectClass: top
> objectClass: dhcpHost
> cn: 172.23.58.210
> dhcpStatements: fixed-address 172.23.58.210
> dhcpHWAddress: ethernet 00:17:3f:bf:c2:04
> 
> 
> Is it just me, or does my cn attribute not match the cn in the dn? Uhhh...now
> what?
> (and no, I wasn't using an editor on the bdb files, or whatever other conspiracy
> theory is out there.) Also, if it helps, you can see on openldap-software my
> other misadventures with 2.3.40...this is just one that's really easy to prove.


bash-3.00$ echo -n
"Y249MbcyLjIzLjU4LjIxMCxjbj1DbGllbnRzLGNuPVJlc05ldCBTZXJ2aWNlIENvbmZpZyxvdT1Ib3N0IENvbmZpZyxvPVJ1dGdlcnMgQ0NGLGM9VVM="
| base64 -d | od -c
0000000   c   n   =   1 267   2   .   2   3   .   5   8   .   2   1   0
0000020   ,   c   n   =   C   l   i   e   n   t   s   ,   c   n   =   R
0000040   e   s   N   e   t       S   e   r   v   i   c   e       C   o
0000060   n   f   i   g   ,   o   u   =   H   o   s   t       C   o   n
0000100   f   i   g   ,   o   =   R   u   t   g   e   r   s       C   C
0000120   F   ,   c   =   U   S
0000126

does this help?  the "7" in 172 is something else (octal 267, I believe).

p.



Ing. Pierangelo Masarati
OpenLDAP Core Team

SysNet s.r.l.
via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
---------------------------------------
Office:  +39 02 23998309
Mobile:  +39 333 4963172
Email:   pierangelo.masarati@sys-net.it
---------------------------------------