See ChangeLog

Monotone-Parent: 0c9dd83dd8ccf4f99590b84d0154f2fdc166550f
Monotone-Revision: 5549339aa6c865731d17f2f65a560a401cb19e1f

Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2009-09-22T18:53:51
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Ludovic Marcotte committed 2009-09-22 18:53:51 +00:00
1 parent 84ae3c3f84
commit 4af84368a5
3 files changed
+23 -4

No files matched your search

+17 -4
View File
@@ -49,10 +49,23 @@
@"organizationalPerson", @"inetOrgPerson",
@"mozillaAbPersonObsolete", nil]
forKey: @"objectclass"];
[entry setObject: [[self n] objectAtIndex: 1] forKey: @"givenName"];
[entry setObject: [[self n] objectAtIndex: 0] forKey: @"sn"];
[entry setObject: [self fn] forKey: @"cn"];
[entry setObject: [self preferredEMail] forKey: @"mail"];
tmp = ([[self n] count] > 1 ? [[self n] objectAtIndex: 1] : nil);
if (tmp)
[entry setObject: tmp forKey: @"givenName"];
tmp = ([[self n] count] ? [[self n] objectAtIndex: 0] : nil);
if (tmp)
[entry setObject: tmp forKey: @"sn"];
tmp = [self fn];
if (tmp)
[entry setObject: tmp forKey: @"cn"];
tmp = [self preferredEMail];
if (tmp)
[entry setObject: tmp forKey: @"mail"];
[entry setObject: @"0Z" forKey: @"modifytimestamp"];
buffer = [self nickname];