[Samba-it] Samba - Freeradius - LDAP

stefano malini lozingalo at gmail.com
Sat Apr 28 03:34:15 MDT 2012


Risolto con la seguente sintassi. Era li che sbagliavo:

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

Grazie

On 04/27/2012 06:32 PM, stefano malini wrote:
> smbpasswd aggiunge uno user:
>
> This option specifies that the username following should be added
> to the local smbpasswd file, with the new password typed (type <Enter>
> for the old password). This option is ignored if the username following
> already exists in the smbpasswd file and it is
> treated like a regular change password command. Note that the
> default passdb backends require the user to already exist in the
> system password file (usually /etc/passwd), else the request to add
> the user will fail.
>
> Nessuno mi sa spiegare il motivo di questo errore?
> Cosa intendi per interfacce poco evolute?
>
> Con smbldap-groupmod non si può aggiungere la objectClass mentre con
> smbldap-usermod è possibile aggiungere la classe sambaSAMAccount. Sembra
> che lo facciano apposta!
>
> Spero che qualcuno mi possa illuminare!
>
> Grazie
>
>
> On 04/27/2012 05:40 PM, Marco Gaiarin wrote:
>> Mandi! stefano malini
>> In chel di` si favelave...
>>
>>> Vi è mai capitato questo errore?
>>
>> Anche si, o cose simili, ma normalmente quando pasticcio con interfacce
>> poco evolute (GQ, LDAPXplorer, ...).
>>
>>
>> Io credo tu possa usare direttamente 'smbpasswd -a' e 'net rpc group
>> add', non ricordo se anche gli smbldap-tools con particolari opzioni.
>>


More information about the samba-it mailing list