You are not logged in.

#1 2013-03-25 21:36:43

Dethredic
Member
Registered: 2009-01-24
Posts: 361
Website

[Solved] Samba problems

Hi, I have been using this smb.conf: http://pastie.org/private/crip7qeshpib4b4uuymowq for a while and everything is working fine. I want everyone on my network to have read / write access to those directories without a password or anything.

As of an update a couple days ago (current version is 3.6.13) this no longer works as expected. I can see the shares, but I can't open them. XBMC asks for a username / password and my Windows 7 computer says that I do not have permission to access the folder.

Samba also appears to be running correctly.

[phil@fml ~]$ sudo systemctl status smbd.service
smbd.service - Samba SMB/CIFS server
	  Loaded: loaded (/usr/lib/systemd/system/smbd.service; enabled)
	  Active: active (running) since Mon 2013-03-25 17:32:30 EDT; 46s ago
	 Process: 2114 ExecReload=/bin/kill -HUP $MAINPID (code=exited, status=0/SUCCESS)
	 Process: 2120 ExecStart=/usr/sbin/smbd -D (code=exited, status=0/SUCCESS)
	Main PID: 2121 (smbd)
	  CGroup: name=systemd:/system/smbd.service
		  ├─2121 /usr/sbin/smbd -D
		  ├─2123 /usr/sbin/smbd -D
		  └─2124 /usr/sbin/smbd -D

Mar 25 17:32:30 fml systemd[1]: Starting Samba SMB/CIFS server...
Mar 25 17:32:30 fml systemd[1]: Started Samba SMB/CIFS server.
Mar 25 17:32:30 fml smbd[2122]: [2013/03/25 17:32:30.795119,  0] printing/print_cups.c:151(cups_connect)
Mar 25 17:32:30 fml smbd[2121]: [2013/03/25 17:32:30.795289,  0] printing/print_cups.c:528(cups_async_callback)
Mar 25 17:32:30 fml smbd[2121]: failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL

Last edited by Dethredic (2013-03-26 00:23:41)

Offline

#2 2013-03-25 23:00:50

KingX
Member
From: CA
Registered: 2010-03-24
Posts: 324

Re: [Solved] Samba problems

security = share option has been deprecated. I went through this yesterday with my samba server also, I followed this to get it working again.

Offline

#3 2013-03-25 23:44:03

Dethredic
Member
Registered: 2009-01-24
Posts: 361
Website

Re: [Solved] Samba problems

KingX wrote:

security = share option has been deprecated. I went through this yesterday with my samba server also, I followed this to get it working again.

I tried following the steps but was unsuccessful. Do you mind sharing your smb.conf ?

EDIT:
I figured it out:

[global]
workgroup = WORKGROUP
server string = PhilFileServer
security = user
guest account = phil
map to guest = bad user

[Downloads]
path = /home/phil/downloads
guest ok = yes
read only = no

For more details: https://wiki.samba.org/index.php/Public_Samba_Server

Last edited by Dethredic (2013-03-26 00:23:28)

Offline

Board footer

Powered by FluxBB