Linux - Server This forum is for the discussion of Linux Software used in a server related context. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
10-21-2007, 10:08 PM
|
#1
|
Member
Registered: Oct 2006
Location: Louisana, USA
Distribution: Fedora 34 x86_64, new to Raspbian
Posts: 83
Rep:
|
Samba shared folder "doesn't exist" under Fedora 7 x86_64
I've had a Samba server running previously on my machine. I used the KDE Control Center for setup. I attempted to change the shared directory from /home/shares to /srv/samba. After making that change, when I attempted to access the share via SMB, I got the error "The file or folder smb://maxwell/shares does not exist." even though I could get as far as smb://maxwell/ and see the samba directory. I attempted to change back to /home/shares and received the same error. I don't know what the issue is because up to that point I made no other changes. Since then, I've tried repairing it to no avail. I am now trying to share /srv/samba. Most recently, I have used system-config-samba to try to get this to work. My /etc/samba/smb.conf is:
[global]
security = share
restrict anonymous = no
domain master = no
preferred master = no
workgroup = Funk-Net
server string = Samba Sever
; netbios name = maxwell
max protocol = NT
acl compatibility = winnt
ldap ssl = No
server signing = Auto
; encrypt passwords = yes
; guest ok = no
; guest account = nobody
[shares]
case sensitive = no
strict locking = no
guest ok = yes
msdfs proxy = no
writeable = yes
path = /srv/samba
; browseable = yes
; browseable = yes
I've made SELinux modifications to allow Samba to be able to serve pretty much everything. Any ideas?
|
|
|
10-22-2007, 08:15 AM
|
#2
|
Member
Registered: Oct 2007
Location: Val-des-Monts, Québec, Canada
Distribution: CentOS, RHEL, Fedora
Posts: 110
Rep:
|
Have you tried to isolate whether the problem is on the server or the client by accessing the share with smbclient off the server directly.
Just run: $ smbclient \\\\maxwell\\shares
and it should get you through to a smb prompt.
What do you have in the samba logs in /var/log/samba?
|
|
|
10-22-2007, 09:51 PM
|
#3
|
Member
Registered: Oct 2006
Location: Louisana, USA
Distribution: Fedora 34 x86_64, new to Raspbian
Posts: 83
Original Poster
Rep:
|
Output from $smbclient \\\\maxwell\shares
Password:
Domain=[FUNK-NET] OS=[Unix] Server=[Samba 3.0.26a-0.fc7]
Server not using user level security and no password supplied.
tree connect failed: NT_STATUS_BAD_NETWORK_NAME
Contents of log.smbd
[2007/10/22 21:50:46, 0] smbd/server.c:main(944)
smbd version 3.0.26a-0.fc7 started.
Copyright Andrew Tridgell and the Samba Team 1992-2007
[2007/10/22 21:50:46, 0] smbd/server.c:main(986)
standard input is not a socket, assuming -D option
[2007/10/22 21:50:52, 0] smbd/negprot.c:reply_nt1(317)
reply_nt1: smb signing is incompatible with share level security !
[2007/10/22 21:51:05, 0] smbd/negprot.c:reply_nt1(317)
reply_nt1: smb signing is incompatible with share level security !
I have numerous other log files, most of which contain nothing at all.
The error I gave was on the local machine through Konqueror. On a Windows XP machine on the network I get an error about the not having permission to access that resource.
|
|
|
10-24-2007, 11:01 AM
|
#4
|
Member
Registered: Oct 2007
Location: Val-des-Monts, Québec, Canada
Distribution: CentOS, RHEL, Fedora
Posts: 110
Rep:
|
I got your share definition to work on my FC7 host with one slight modification.
I however had to remove the "msdfs proxy = no" option from the shares definition.
Until I did that I was seing the same error as you.
|
|
|
10-29-2007, 09:07 PM
|
#5
|
Member
Registered: Oct 2006
Location: Louisana, USA
Distribution: Fedora 34 x86_64, new to Raspbian
Posts: 83
Original Poster
Rep:
|
Thank you very much for your help. It's working great now. I don't know what that tag is exactly or why the KDE Control Center would put it in. If you don't mind, what does that do?
|
|
|
10-30-2007, 06:22 AM
|
#6
|
Member
Registered: Oct 2007
Location: Val-des-Monts, Québec, Canada
Distribution: CentOS, RHEL, Fedora
Posts: 110
Rep:
|
Do a "man smb.conf" and search for dfs. The answer is there.
|
|
|
All times are GMT -5. The time now is 08:10 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|