Ahhh, ok. Now I understand your problem. I just spent a while digging around the contact editor and the ldap backend, and have discovered that this one is going to be a really tough bug to fix given the way ECard parses the name on its own and figures out what the surname is - there's no easy, non-disgusting way (that I can think of at the moment) for the ldap backend to deal with this.. We could just set the name->family to NULL then reparse from "full_name", but that'll break users that use the full name dialog to enter names that would parse differently if evolution did it.
Simple workaround in the meantime - put your cursor in the full name field and insert then delete a space :) just something to change the field so evo will reparse it. Chris On Wed, 2003-01-08 at 17:22, Joaquim Fellmann wrote: > On Wed, 2003-01-08 at 01:41, Chris Toshok wrote: > > > Hm, but that's exactly what I did with my test.. The cn was "Account" > > and I changed it to "Account Test" without clicking on the button and it > > worked (sn shows up as "Test"). > > Here it is: > > You're right, I tried with an existing ldap entry which has a > cn=John and I add "Smith" in evolution it works great (adding to the > LDAP server with Smith as sn) > > BUT > > my existing ldap entry already has a cn = "John Smith" > Hence the "Full Name" field is already filled with "John Smith" > And from this full name evolution doesn't pick up the sn. That's the > problem. > > Try this > > Add the following to your LDAP server > > dn: uid=accounttest,dc=xtoph,dc=org > uid: accounttest > objectClass: top > objectClass: account > objectClass: posixAccount > uidNumber: 1001 > gidNumber: 1001 > homeDirectory: /home/toshok > cn: Account Test > > Go to evolution and try everything you can to add an email address. > I bet you can't ;-) > _______________________________________________ evolution maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/evolution
