Dear, I have Debian + Samba and I've created a smb.conf in order to authenticate users I've created with "useradd -s /bin/false" and after that added to samba with "smbpasswd -a user". I've created the share in /var/share with rwxrwxrwx. I edited some lines from smb.conf in GLOBAL and SHARE sections. I use: security = user but when from the Windows machine I access the share resource: net use W: \\sambahost\share with samba user y pass I get "Access denied" but I can see the resource. What can be the problem ??? Do I have to use for Samba the same password as used in Windows or not ??? Thanks a lot, JeLo
> > What can be the problem ??? Do I have to use for Samba the same > password as used in Windows or not ???I have found that it is just easier to use the same credentials for each user on all machines in a workgroup. Windows is pretty quirky about when it will allow you to use alternate credentials, in my experience, and Windows always prefers to use the credentials of the user who is logged in. Also, check your smb.conf, there are directives that can lock you out regardless of correct user credentials or file permissions, (valid users might be there without your user listed, for example).> > Thanks a lot, > > JeLoBob Miller 334-7117/660-5315 http://computerisms.ca bob at computerisms.ca Network, Internet, Server, and Open Source Solutions
Dear, If I have a Windows XP box joined to a Domain called "Company" with a user "Jelo" I as you: Do I have to put Workgroup = Company in smb.conf ??? And do I have to use the same passwords for the Windows and Linux/Samba users ??? Thanks a lot, JeLo On Thu, Jan 27, 2011 at 6:36 PM, Bob Miller <bob at computerisms.ca> wrote:> >> >> What can be the problem ??? Do I have to use for Samba the same >> password as used in Windows or not ??? > > I have found that it is just easier to use the same credentials for each > user on all machines in a workgroup. ?Windows is pretty quirky about > when it will allow you to use alternate credentials, in my experience, > and Windows always prefers to use the credentials of the user who is > logged in. > Also, check your smb.conf, there are directives that can lock you out > regardless of correct user credentials or file permissions, (valid users > might be there without your user listed, for example). > >> >> Thanks a lot, >> >> JeLo > > Bob Miller > 334-7117/660-5315 > http://computerisms.ca > bob at computerisms.ca > Network, Internet, Server, > and Open Source Solutions > >