Hello
I'm trying to setup a Samba server on my FreeBSD server and it works actually except one thing: Samba (smbd) doesn't accept a user to login.
To overcome this problem I try to add a new user for Samba but the manuals tell to use
(a awk script, or anything else, I'm not sure here) "addtosmb". Its purpose is to add new user (which must be found at /etc/passwd already) by modifying the /usr/local/private/smbpasswd file.
Has anyone added a new user to samba this way, i.e. using "addtosmb"? It isn't present in my system on which Samba server is already installed.
One more thing: Manual says smbpasswd (in which the Samba users are saved) is at /usr/local/private/smbpasswd but in my system there's even no /usr/local/private/ folder and smbpasswd is at /usr/local/etc/samba/smbpasswd.
I'm trying to setup a Samba server on my FreeBSD server and it works actually except one thing: Samba (smbd) doesn't accept a user to login.
To overcome this problem I try to add a new user for Samba but the manuals tell to use
(a awk script, or anything else, I'm not sure here) "addtosmb". Its purpose is to add new user (which must be found at /etc/passwd already) by modifying the /usr/local/private/smbpasswd file.
Has anyone added a new user to samba this way, i.e. using "addtosmb"? It isn't present in my system on which Samba server is already installed.
One more thing: Manual says smbpasswd (in which the Samba users are saved) is at /usr/local/private/smbpasswd but in my system there's even no /usr/local/private/ folder and smbpasswd is at /usr/local/etc/samba/smbpasswd.