Hi All, I've just installed Samba on a Linux box, and can see the Windows box attempting connections, but, when inputting the username/password, I keep getting the same user/pass prompt window. What should I troubleshoot for this? I gave the user/pass that is the same as the account on the Linux box, which has permissions to view the shared directory in /etc/samba/smb.conf. Cheers. Mark Sargent Linux = Centos 4-3, IP = 10.0.0.3 Windows = XP, IP = 10.0.0.2
|-----Original Message----- |From: centos-bounces at centos.org [mailto:centos-bounces at centos.org]On |Subject: [CentOS] Can't Access Samba Running Linux Box From XP | |Hi All, | |I've just installed Samba on a Linux box, and can see the Windows box |attempting connections, but, when inputting the username/password, I |keep getting the same user/pass prompt window. What should I |troubleshoot for this? I gave the user/pass that is the same as the |account on the Linux box, which has permissions to view the shared |directory in /etc/samba/smb.conf. Cheers. | |Mark Sargent |Linux = Centos 4-3, IP = 10.0.0.3 |Windows = XP, IP = 10.0.0.2 | |_______________________________________________ Might also try .. #smbpasswd -a <username> Adds the user to the smb password list. HTH.. Brian -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 2946 bytes Desc: not available URL: <http://lists.centos.org/pipermail/centos/attachments/20060503/314f01b7/attachment-0003.bin>
Hi All, more info on this, #======================= Global Settings ====================================[global] # workgroup = NT-Domain-Name or Workgroup-Name workgroup = MSHOME #Same as windows box # server string is the equivalent of the NT Description field server string = Samba Server # This option is important for security. It allows you to restrict # connections to machines which are on your local network. The # following example restricts access to two C class networks and # the "loopback" interface. For more examples of the syntax see # the smb.conf man page hosts allow = 10.0.0.0/255.255.0.0 #correct subnet # The following two entries demonstrate how to share a directory so that two # users can place files there that will be owned by the specific users. In this # setup, the directory should be writable by both users and should have the # sticky bit set on it to prevent abuse. Obviously this could be extended to # as many users as required. ;[myshare] comment = Locally shared directory, Cisco path = /home/racket/downloads/cisco valid users = mark anne #user mark has ben added to Linux box with a password public = no writable = yes printable = no create mask = 0765 Quick question; In Linux, the path has / but shoud I specify / or \ in the path in Map Network Drive in Windows? Also, when I first click Finish, I'm given a Connect to localhost.localdomain window with, Connecting to 10.0.0.3 Username: mark Password: which I then enter password, but, it fails and returns, User name: HOME-HEHBBZSUYZ\mark #Windows box Hostname Password: ............ Why is that? Cheers. Mark Sargent.
Venom User wrote:> Might also try .. > >#smbpasswd -a <username> > > Adds the user to the smb password list. >Hi All, thanx for that, as I seem to have progressed some. I now get an error stating that the path doesn't exist. It certainly does as I did a pwd, copied/pasted it into the smb.conf file. I chose, Connect using a different username, and input the username/password that exists on the Linux box, and that also has permissions to access in smb.conf and also has been added to smbpasswd now as you suggested. I see two logs, 10.0.0.1.log, which is empty, and home-hehbbzsuy7.log which mentions, [Date omitted by me as I'm not coming from the offending box] smbd/service.c:make_connect(800) home-hehbbzsuy7 (10.0.0.1) couldn't find service home I get that, because after first failing as racket/password, it gives a prompt to login as the Windows Hostname, which is not what I want. Cheers. Mark Sargent