[Samba] Samba and LDAP: Trouble adding Win XP machines to the domain

Edmundo Valle Neto edmundo.valle at terra.com.br
Wed Jun 27 00:36:32 GMT 2007


John Drescher escreveu:
> On 6/26/07, Asier Baranguán <abaranguan at elpagestion.com> wrote:
>> El Martes, 26 de Junio de 2007 10:23, mikelOn escribió:
>> >         add user script = /usr/sbin/smbldap-useradd -m "%u"
>>
>> If your users are Windows users you should add an '-a' here, and add 
>> the users
>> with the '-a' flag. Like this:
>>
>>         add user script = /usr/sbin/smbldap-useradd -m -a "%u"
>>
>> >         delete user script = /usr/sbin/smbldap-userdel -r "%u"
>> >         add group script = /usr/sbin/smbldap-groupadd "%g"
>>
>> You should add '-a -p' here:
>>
>>          add group script = /usr/sbin/smbldap-groupadd -m -a "%g"
>>
> Thanks for the info. Perhaps I have that wrong too and that is the
> reason it fails causing me to have to do this manually on the linux
> side before the windows side.
>
> John

If you are talking about your problem creating machine accounts, 
absolutely not. Machine accounts are created using the "add machine" 
script, not cited above.

Regards.

Edmundo Valle Neto


More information about the samba mailing list