Hello,
 
First of all - thank you very much for creating and maintaining Synapse! :) 
 
And now my problem's description: I'm trying to add new user using LDAPsend.add 
method. The problem is that objecClass atribute should be repeated with many 
values, like in this fragment of the ldiff:
 
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: inetOrgPerson
objectClass: sambaSamAccount
objectClass: posixAccount
objectClass: shadowAccount
 
How can I add more than one value to the 'objectClass' attrib? My actuall code 
doesn't work, it dies with 'objectClass: value #0 invalid per syntax' error 
msg). The piece od my code looks like:
 
--------------
atrybuty : TLDAPAttributeList;
--------------
atrybuty := TLDAPAttributeList.create;
 
  try
    atrybuty.Add.AttributeName := 'objectClass';
    atrybuty.Find('objectClass').Values['objectClass'] := 'top';
    atrybuty.Find('objectClass').Values['objectClass']  := 'person';
    atrybuty.Find('objectClass').Values['objectClass'] := 
'organizationalPerson';
    .... and so on. 
 
 
Thank you in advance,
 
Cezar
 
------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
synalist-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to