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 <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED], [EMAIL PROTECTED], ou > =People, o=entic.net > mail: [EMAIL PROTECTED] > 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 > [EMAIL PROTECTED],[EMAIL PROTECTED],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 [EMAIL PROTECTED] ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Python-LDAP-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/python-ldap-dev
