Networking Forums

Networking Forums > Computer Networking > Linux Networking > Problems with Samba, can't see or mount shares

Reply
Thread Tools Display Modes

Problems with Samba, can't see or mount shares

 
 
Mark Landreville
Guest
Posts: n/a

 
      11-11-2004, 05:27 AM
Hello,

I am running samba 3.06 on Mandrake 10.0. I can see shares with
smbclient but I am unable to mount shares or see them from my windows
computer. All of the other network services such as ssh ftp and http
apparently work fine.

When I attempt to mount shares on my Linux computer as a user with the
command "smbmnt Mark //localhost/homes" I do not get any error message.
When I cd to the directory that is mounted (mounting the share on the
directory "Mark") and try to ls the directory I get the message: "ls: .:
Input/output error"
The same thing happens when I issue the df command.
I can access the shares with smbclient with no apparent errors.

When I try to umount the share as user, it hangs for a while but does
not give any error message. But df reveals that the share is still
mounted. The only way that I can umount the share is by su ing and then
it will umount by issuing "umount /mount-point"

My smb.conf file is below. (With most of the comments deleted.) I also
tried the smb.conf file which worked fine on my Mandrake 9.0 machine,
but I got the same results. Can anyone offer some advice? I would like
to be able to access files and printers on my samba server from my
windows laptop

[global]


workgroup = MDKGROUP

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


hosts allow = 172.16.0. 127.


map to guest = bad user


security = user

encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd




#============================ Share Definitions
==============================
[homes]
comment = Home Directories
browseable = no
writable = yes

#location (the default of the ntlogon rpm available in contribs)
#root preexec = /usr/bin/ntlogon -u '%u' -g '%g' -o %a -d
/var/lib/samba/netlogon/

[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
# to allow user 'guest account' to print.
guest ok = yes
writable = no
printable = yes
create mode = 0700
# =====================================
# print command: see above for details.
# =====================================
# print command = lpr-cups -P %p -o raw %s -r # using client side
printer drivers.
print command = lpr-cups -P %p %s # using cups own drivers (use
generic PostScript on clients).

[print$]
path = /var/lib/samba/printers
browseable = yes
write list = @adm root
guest ok = yes
inherit permissions = yes
# Settings suitable for Winbind:
# write list = @"Domain Admins" root
# force group = +@"Domain Admins"

# A useful application of samba is to make a PDF-generation service
# To streamline this, install windows postscript drivers (preferably colour)
# on the samba server, so that clients can automatically install them.
# Note that this only works if 'printing' is *not* set to 'cups'

[pdf-gen]
path = /var/tmp
guest ok = No
printable = Yes
comment = PDF Generator (only valid users)
printing = bsd
printcap name = cups
#print command = /usr/share/samba/scripts/print-pdf file path
win_path recipient IP &
print command = /usr/share/samba/scripts/print-pdf "%s" "%H"
"//%L/%u" "%m" "%I" "%J" &
lpq command = /bin/true
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
(Xp Pro) Mount Points and Network Shares Loren Pechtel Windows Networking 2 12-25-2009 04:29 PM
error trying to mount XP shares ncjim@hoodcanal.com Linux Networking 1 05-23-2007 11:09 PM
Can't mount SMB shares from Linksys NLSU2 Noozer Linux Networking 2 07-05-2006 03:17 PM
SAMBA and MS ADS mount William B. Cattell Linux Networking 2 10-19-2004 06:58 PM
Windows shares using samba: problems with blank spaces. Mike Barba Linux Networking 2 09-18-2004 07:06 AM



1 2 3 4 5 6 7 8 9 10 11