Thanks.
I set security = server and it's ok.

***
Cleber P. de Souza
Cia. Metalgraphica Paulista

-----Mensagem original-----
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Em
nome de Gordon Messmer
Enviada em: segunda-feira, 22 de setembro de 2003 19:51
Para: [EMAIL PROTECTED]
Assunto: Re: Samba don't add users from NT PDC


Cleber P. de Souza wrote:
> I have been configuring smb.conf, but the system don't add automatic 
> users to the system. The add user script has been configured like 
> this: Security = share
> Password server = 192.168.1.1
> Add user script = /usr/sbin/adduser -g users -M -c "NT User" -s /dev/null
%u
> && /usr/bin/smbpasswd -a %u
> Delete user script = /usr/bin/smbpasswd -x %u && /usr/sbin/userdel %u
> 
> If the user was added manually it's ok.
> What can to be wrong?

As "man smb.conf" states:

   In  order to use this option, smbd must NOT be set to security =
   share

You set security = share.  Thus, it doesn't work.


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to