Operating System - HP-UX
1825667 Members
4528 Online
109686 Solutions
New Discussion

Re: SAMBA Valid user problem

 
ricky2
Frequent Advisor

SAMBA Valid user problem

Hi Friends,
I have well configured samba which is functioning well but I have a small problem here where Iam trying to share a directory and permit it use only by one user.My samba share entry is as below

[nylo]
path = /m/nylo
valid users = nick
public = no
writable = yes
printable = no

here the shared directory is nylo and nick is the user to whom I want to access.The directory permission is set 777.
when I click this share and provide the username and password of nick,its not working.
Is there anything I need to check with or any special permissions for the user to be given?

thanks in advance

rgds,
ricky
3 REPLIES 3
Alzhy
Honored Contributor

Re: SAMBA Valid user problem

If your SECURITY=user, then you will need to add user nick to your smbpasswd db. Read the man page of smbpasswd and syncsmbpasswd.

If you are using HP's Samba build (aka CIFS Server) - then your smbpasswd file should be in /var/opt/samba/private/smbpasswd

HTH.
Hakuna Matata.
Tvs
Regular Advisor

Re: SAMBA Valid user problem

hi.

iam not sure. try with smbpasswd -u username

and then try to access the smb file system with the user name and password

regards

tvs
ricky2
Frequent Advisor

Re: SAMBA Valid user problem

Hi Nelson,

Its working now...I had used the smbpasswd man and got it...

Thanks for ur help.