[Samba] Multiple attributes

Umar Draz unix.co at gmail.com
Fri Jan 23 06:29:46 MST 2015


Thanks Rowland,

Br

Umar

On Fri, Jan 23, 2015 at 2:50 PM, Rowland Penny <rowlandpenny at googlemail.com>
wrote:

> On 23/01/15 09:44, Umar Draz wrote:
>
>> Ho Mourik
>>
>> Thanks for your reply, any other attribute which we can duplicate?
>>
>> Br.
>>
>> Umar
>>
>> On Fri, Jan 23, 2015 at 1:47 PM, mourik jan heupink - merit <
>> heupink at merit.unu.edu> wrote:
>>
>>  Hi,
>>>
>>> In AD, the attribute mail can only exist once.
>>>
>>> MJ
>>>
>>> On 01/23/2015 05:27 AM, Umar Draz wrote:
>>>
>>>  Hi All
>>>>
>>>> I am tying to create a user in SAMBA 4 AD with ldapadd, but its not
>>>> allow
>>>> me to add multiple mail attributes, here is my ldif of user.
>>>>
>>>> dn: CN=ayesha,CN=Users,DC=samba4pdc,DC=net
>>>> objectClass: top
>>>> objectClass: person
>>>> objectClass: organizationalPerson
>>>> objectClass: user
>>>> cn: ayesha
>>>> name: ayesha
>>>> sAMAccountName: ayesha
>>>> userPrincipalName: Ayesha Umar
>>>> objectCategory: CN=Person,CN=Schema,CN=Configuration,DC=samba4pdc,DC=
>>>> net
>>>> userAccountControl: 512
>>>> distinguishedName: CN=ayesha,CN=Users,DC=samba4pdc,DC=net
>>>> mail: ayesha at samba4pdc.net
>>>> mail: ayesha at samba4pdc.org
>>>>
>>>> Here is the error of ldapadd
>>>>
>>>> *adding new entry "CN=ayesha,CN=Users,DC=samba4pdc,DC=net"*
>>>> *ldap_add: Constraint violation (19)*
>>>> *        additional info: 0000202F: SINGLE-VALUE attribute mail on
>>>> CN=ayesha,CN=Users,DC=samba4pdc,DC=net specified more than once*
>>>>
>>>> Is it possible I can add multiple attributes, as in simple openldap
>>>> there
>>>> is no issue.
>>>>
>>>> Br.
>>>>
>>>> Umar
>>>>
>>>>
>>>>  --
>>> Mourik Jan C. Heupink
>>> --
>>> To unsubscribe from this list go to the following URL and read the
>>> instructions:  https://lists.samba.org/mailman/options/samba
>>>
>>>
>>
>>
> 'otherMailbox'
>
> Rowland
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>



-- 
Umar Draz
Network Architect


More information about the samba mailing list