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

Reply via email to