[Samba] Problem adding sambaGroupMapping

steve steve at steve-ss.com
Fri Apr 27 12:10:41 MDT 2012


Hi
Try:

dn: cn=Students,ou=Groups,dc=amahoro,dc=bi
changetype: modify
add: objectClass
objectClass: posixGroup
-
add: objectClass
objectClass: sambaGroupMapping
-
add: sambaSID
sambaSID: S-1-5-21-251852451-2940789264-3475694606
-
add: sambaGroupType
sambaGroupType: 5

Cheers,
Steve

On 27/04/12 19:07, stefano malini wrote:
> This is the output, still wrong:
>
> ldapmodify: modify operation type is missing at line 2, entry
> "cn=Students,ou=Groups,dc=amahoro,dc=bi"
> root at amahoro:~# ldapmodify -x -W -D 'cn=Manager,dc=amahoro,dc=bi'
> Enter LDAP Password:
> dn: cn=Students,ou=Groups,dc=amahoro,dc=bi
> changetype: modify
> add: objectClass
> objectClass: posixGroup
> add: objectClass
> objectClass: sambaGroupMapping
> add: sambaSID
> sambaSID: S-1-5-21-251852451-2940789264-3475694606
> add: sambaGroupType
> sambaGroupType: 5
>
> ldapmodify: wrong attributeType at line 5, entry
> "cn=Students,ou=Groups,dc=amahoro,dc=bi"
>
>
> On 04/27/2012 06:54 PM, steve wrote:
>> On 27/04/12 18:38, stefano malini wrote:
>>> Hi,
>>>
>>
>>> dn: cn=Students,ou=Groups,dc=amahoro,dc=bi
>>> changetype: modify
>>> add: objectClass
>>> objectClass: posixGroup
>>> objectClass: sambaGroupMapping
>>> sambaSID: S-1-5-21-251852451-2940789264-3475694606
>>> sambaGroupType: 5
>>>
>>
>> I think you have to separate them:
>>
>> changetype: modify
>> add: objectClass
>> objectClass: posixGroup
>> -
>> add: objectClass
>> objectClass: sambaGroupMapping
>> -
>> add: sambaSID
>> sambaSID: S-1-5-21-251852451-2940789264-3475694606
>> -
>> add: sambaGroupType
>> sambaGroupType: 5
>>
>> Cheers,
>> Steve



More information about the samba mailing list