Fedora 15 -- Samba configuration

Michael Eager eager at eagercon.com
Fri Jun 3 20:49:22 UTC 2011


I'm having trouble getting Samba to work on F15, x86_64, samba 3.5.8.

I'm using the same smb.conf file which previously worked without
problem on Fedora 10.  I've trimmed it down to bare bones, with no luck.
 From a Windows XP machine, I get "<server>\<share> is not accessible."
with no other information.

I've also tried to access the share from the Linux server and I get
an NT_STATUS_ACCESS_DENIED error.

The user name is "eager" and I have run "smbpasswd -a eager" and
"smbpasswd -e eager".

Any suggestions?  Here's the configuration info:

# cat smb.conf
[global]
smb ports = 139
	workgroup = WORKGROUP
	server string = Redwood Samba Server
	interfaces = lo p35p1 192.168.20.12/24
	# logs split per machine
	log file = /var/log/samba/log.%m
	log level = auth:3
	# max 50KB per log file, then rotate
	max log size = 50
	security = user
	encrypt passwords = yes
	passdb backend = tdbsam
	restrict anonymous = 0
[eager]
	path = /home/eager
	valid users = eager

# smbclient -L \\\\redwood
Enter eager's password:
Anonymous login successful
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.5.8-68.fc15]

         Sharename       Type      Comment
         ---------       ----      -------
         eager           Disk
         IPC$            IPC       IPC Service (Redwood Samba Server)
Anonymous login successful
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.5.8-68.fc15]

         Server               Comment
         ---------            -------
         REDWOOD              Redwood Samba Server

         Workgroup            Master
         ---------            -------
         WORKGROUP            REDWOOD


# smbclient \\\\redwood\\eager
Enter eager's password:
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.5.8-68.fc15]
smb: \> ls
NT_STATUS_ACCESS_DENIED listing \*

                 40315 blocks of size 524288. 25663 blocks available

# ls -ld /home/eager
drwxr-xr-x. 32 eager eager 4.0K Jun  3 10:44 /home/eager/

# tail /var/log/samba/log.redwood

[2011/06/03 13:43:47.671649,  3] auth/auth.c:216(check_ntlm_password)
   check_ntlm_password:  Checking password for unmapped user [WORKGROUP]\[eager]@[REDWOOD] with the 
new password interface
[2011/06/03 13:43:47.671719,  3] auth/auth.c:219(check_ntlm_password)
   check_ntlm_password:  mapped user is: [REDWOOD]\[eager]@[REDWOOD]
[2011/06/03 13:43:47.672898,  3] auth/auth.c:265(check_ntlm_password)
   check_ntlm_password: sam authentication for user [eager] succeeded
[2011/06/03 13:43:47.672954,  2] auth/auth.c:304(check_ntlm_password)
   check_ntlm_password:  authentication for user [eager] -> [eager] -> [eager] succeeded
[2011/06/03 13:43:47.676412,  1] smbd/service.c:1070(make_connection_snum)
   redwood (::ffff:192.168.20.12) connect to service eager initially as user eager (uid=500, 
gid=500) (pid 16324)

-- 
Michael Eager	 eager at eagercon.com
1960 Park Blvd., Palo Alto, CA 94306  650-325-8077


More information about the users mailing list