Page 1 of 1

Installation problem samba user

Posted: 06 Apr 2014, 14:19
by roccotocco
Hello, im following the centos installation but im not able to set the password for the samba user erpxe.... this is the output:

[root@pxe tftpboot]# smbpasswd -a erpxe
New SMB password:
Retype new SMB password:
Failed to add entry for user erpxe.

Why? how i can solve ?
Thanks

Re: Installation problem samba user

Posted: 08 Apr 2014, 13:52
by RaveMaker
Hi,
You need to add a Unix user before you add the SMB user:

Code: Select all

useradd --no-create-home -s /dev/null erpxe
smbpasswd -a erpxe

I've updated the WIKI page for CentOS/Debian installation.