SV: [Samba] Adding samba users ?:/
Ketil Braun Larsen
KetilL at it-college.dk
Fri Mar 14 18:26:49 GMT 2003
I have now added a user and the hash apirs in the passwd... :] but when
I try to log in but it just don't work :/
Can someone give a suggestion?
This is my smb.conf... I guess theres a chance that its where the
problem comes in 2 play :)
[global]
workgroup = Nost
encrypt passwords = yes
smb passwd file = /usr/local/private/smbpasswd
unix password sync = yes
null passwords = yes
[docs]
comment = www
path = /usr/home/Enigma/share
public = yes
writable = yes
printable = no
Ps -axe |grep Ketil
79 ? S 1:09 /usr/sbin/klogd -c 3 -x PWD=/
CONSOLE=/dev/console -x (Ketil Braun Larsen)
-----Oprindelig meddelelse-----
Fra: Gabriel D. Preston [mailto:gpreston at sgillc.com]
Sendt: 14. marts 2003 19:07
Til: Ketil Braun Larsen
Emne: Re: [Samba] Adding samba users ?:/
Ketil,
You'll need to add them as a normal user with the 'useradd' command, and
then add them as a Samba user, with the 'smbpasswd -a username' command.
HTH
-Gabriel
Ketil Braun Larsen wrote:
>Hello world...
>
>I have a problem, I have installed samba and I need to share some
>directory.
>I have defined the dirs 2 share etc etc etc.
>
>I now want ad a user.
>
>I need some help I have done some rtfm but cant seem to get it ..
>
>I have tried to cat /etc/passwd > /usr/local/private/passwd
>
>But that dosent seem to work (I read it someplace that it whuld)
>
>I imagen its because the hashes isent in the /etc/passwd (shadowd) or
>something.
>
>
>Is there a add user samba tool ? .. wherei can do like this or
somtnhing
>
>#Smb-adduser username
>and then it meaby will ask for passwords or something....
>
>
>anyway I hope you can help me.
>
>Thanks
>
>
>
>
>Ps -axe |grep Ketil
>79 ? S 1:09 /usr/sbin/klogd -c 3 -x PWD=/
>CONSOLE=/dev/console -x (Ketil Braun Larsen)
>
>
More information about the samba
mailing list