LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-11-2005, 07:53 AM   #1
Meriadoc
Member
 
Registered: Apr 2004
Location: Netherlands
Distribution: Mandrake 10.1
Posts: 43

Rep: Reputation: 15
no access to shared directories with samba


Hi all,
I've been suffering from networking problems ever since I installed Mandrake 10.1 Official. Basically internet access works fine but file and printer sharing with the Windows machines on the same router doens't work. I can access shares on other machines with my Linux machine. Other machines can see my shares but any attempt to actually reach the share give errors stating that the directories do not exist or that the network is down. After a lot of fiddling (deinstalling/reinstalling samba (3) and in the end deleteing /etc/samba I actually made the printer on my linux machine available to the other machines on the network. The only thing that is still unreachable is the [Linux Deelmap], the directory exists, there are users in the passwords file for samba, the network has been reset after the latest changes, and I am completely stumped. Can anyone point me in the right direction?
Thanks in advance,
Merijn

Contents of my /etc/samba/smb.conf

[global]
workgroup = NEXUS
server string = Samba Server %v
printcap name = cups
load printers = yes
printing = cups
printer admin = @adm
log file = /var/log/samba/log.%m
max log size = 50
map to guest = bad user
security = user
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

[Linux Deelmap]
comment = Gedeelde map
path = /home/merijn/Deelmap
read only = no
guest ok = yes

[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
guest ok = yes
writable = no
printable = yes
create mode = 0700
print command = lpr-cups -P %p -o raw %s -r # using client side printer drivers.
use client driver = yes

[print$]
path = /var/lib/samba/printers
browseable = yes
write list = @adm root
guest ok = yes
inherit permissions = yes
 
Old 03-13-2005, 07:42 AM   #2
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,321

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Let me first say, I'm not the biggest expert at Samab, but I have a similar configuration working. From what I can see in your smb.conf file, the section dealing with Deelmap would appear to me to be non standard. There is usually a Homes section, defining your home directory. Here is mine.

[homes]
browseable = no
comment = Home Directories
hide dot files = no
directory mask = 0775
write list = cliff
writeable = yes
create mask = 0664
valid users = cliff

As far as I know, this is how to make your home directory work. Then you have to share the "Linux Deelmap" directory. If you want to share with other users, you need to add the users. I just added them to a group cliff.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SAMBA is configured but I can see the shared the directories ashley75 Linux - General 2 07-08-2005 09:51 PM
Can't acess directories shared by Samba in windows XP vador Linux - Networking 4 10-29-2004 05:06 PM
Samba 3: Can't write to shared directories from Windows robintw Linux - Networking 10 07-31-2004 10:13 PM
Access Shared Directories gotmonkey Linux - Networking 5 04-15-2004 10:20 PM
"Access Denied" to printer and directories shared via Samba Aarstar Linux - Networking 1 03-05-2002 07:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration