[Samba] Error was Permission denied

Dan dmisc at charter.net
Mon Aug 21 07:33:12 GMT 2006


Samba version  Samba 3.0.23a-1.FC5.1
Linux Fedora 5 (localhost)  User: dsmith  192.168.1.104
Windows XP SP2 with lastest updates (T2385) User: dan  192.168.1.100
Linksys 8 port router

I have tried a few days on an off to get samba to work, but need some help.

I found a couple problems with the checklist and fixed them.  A 
couple problems I wasn't able to solve.
Here are the problems:
1)
smbclient //192.168.1.104/dan -Udsmith
tree connect failed: NT_STATUS_BAD_NETWORK_NAME
smbpasswd is set, both dsmith and dan
testparm runs fine  I have cleared allow hosts, specified allow hosts, etc.
Have disable both firewalls, Linux and Windows.
2)
nmblookup -d 2 '*'
Linux box responds fine. Never have got a response from Windows.
3)
cat T2385.log
[2006/08/20 01:33:26, 0] smbd/service.c:make_connection_snum (911)
'/home/dsmith' does not exist or permission denied when connecting to [dan]
Error was Permission denied
I have changed permissions on /home and /dsmith to 777.  It didn't help
I created a user dan.  It didn't help.
On Windows I'm using map network drive. Y:  //192.168.1.104/dan
I use login as different user:  dsmith and password

Here is smb.conf
# Samba config file created using SWAT
# from 127.0.0.1 (127.0.0.1)
# Date: 2006/08/19 23:38:24

[global]
         workgroup = SMITH
         server string = Samba Server
         log file = /var/log/samba/%m.log
         max log size = 50
         preferred master = Yes
         dns proxy = No
         ldap ssl = no
         hosts allow = 192.168.1., 127.
         cups options = raw

[printers]
         comment = All Printers
         path = /usr/spool/samba
         printable = Yes
         browseable = No

[dan]
         path = /home/dsmith
         username = dsmith


-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.1.394 / Virus Database: 268.11.3/423 - Release Date: 8/18/2006



More information about the samba mailing list