From: Anil J. <an...@en...> - 2007-11-30 20:26:54
|
Okay, I was just introduced to "multi-valued RDN", didn't know about that. So, here's a quick question. Is there a easy way/code to modify these kinds of RDN? Its a little bit of extra work to have to go figure out that a RDN is being changed and then go use modrdn. Thanks, Anil On 11/30/07, Anil Jangity <an...@en...> wrote: > I am not sure if this is a problem in my code, python ldap code, or > the (beta) LDAP server I am using: > > A piece of the entry is as follows: > > dn: cn=Ahmad Qazi+mail=som...@ua..., mail=te...@he..., ou > =People, o=entic.net > mail: som...@ua... > cn: Ahmad Qazi > ... > > First of all, how was this entry added? Is having a RDN with the + and > the mail, allowed? I thought since the RDN is 'cn', it needs to match > exactly the 'cn' attribute, how can the mail be concatenated? > > Then, I see the following in the LDAP server logs: > > [30/Nov/2007:11:28:43 -0800] MODIFY conn=1943 op=1 msgID=2 result="Not > Allowed on RDN" message="Entry cn=Ahmad > Qazi+mail=som...@ua...,mail=te...@he...,ou=People,o=entic.net > cannot be modified because the change to attribute mail would have > removed a value used in the RDN" etime=1 > > How should I correctly handle data entered by the users in python-ldap? > > Thanks, > Anil > -- Solaris v.Dedicated Server http://entic.net/servers +1 408 689 0044 su...@en... |