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
|