After a week of fiddling with it and scouring various linux forums, I finally have it working as I want. YAY!
I can now see the shares on the Win2k machine and I can write to them, I can finally print to the printer attached to the win2k machine also YAY!
Here's what my smb.conf looks like now and also the steps I took to make this work:
Code:
# Samba config file created using SWAT
# from 127.0.0.1 (127.0.0.1)
# Date: 2005/02/02 18:25:22
# Global parameters
[global]
server string = Samba Server %v
interfaces = 192.168.0.69/24
map to guest = Bad User
log file = /var/log/samba/log.%m
max log size = 50
server signing = auto
socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192
os level = 65
dns proxy = No
ldap ssl = no
write list = @fileshare
printer admin = @adm
hosts allow = 192.168.0.*
[homes]
comment = Home Directories
path = /home/%u
read only = No
browseable = No
[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
guest ok = Yes
printable = Yes
print command = lpr-cups -P %p -o raw %s -r # using client side printer drivers.
use client driver = Yes
browseable = No
[print$]
path = /var/lib/samba/printers
write list = @adm, root
inherit permissions = Yes
guest ok = Yes
[pdf-gen]
comment = PDF Generator (only valid users)
path = /var/tmp
printable = Yes
printing = bsd
print command = /usr/share/samba/scripts/print-pdf "%s" "%H" "//%L/%u" "%m" "%I" "%J" &
lpq command = /bin/true
lprm command = lprm -P'%p' %j
[WIN_C-on-mdkdragon]
comment = WIN_C-on-mdkdragon
path = /mnt/win_c
read only = No
case sensitive = No
msdfs proxy = no
[public]
comment = Public Stuff
path = /usr/public
read only = No
1. To access files you need a samba password (which you can add by running 'smbpasswd -a username' as root, or with ksambaplugin - which you can find in contrib).
2. To see the shares on the windows machine I used LinNeighbourhood (installed from RPMDRAKE).
3. One thing else, is check to make sure that samba is running. You can do that from SWAT.
To enable swat ( first have it installed from the rpm's), then as root type
# chkconfig swat on
Then go to your web browser (e.g. firefox or konueror) and type
http://127.0.0.1:901
you will be prompted for username and password, enter your root username and password. Next, click on the status image/icon to check the status of the samba modules.
4. For the printer, I couldn't see the printer with linux/samba.
http://forum.mandrakeclub.com/viewto...r=asc&start=15
Yet, when I used KDE printer config utility (I didn't do scan), I specified the ip address of the machine to which the printer is connected, and I used the share name of the pritner (from windows) as the name of printer.
I also specified the user name and password that I used to login to the windows machine, and it worked.
*****************************************************************************************
I take no credit for getting this working as I'm a newbie to linux and relied solely on the wisdom & experience of others, I am including a link here to the thread where I got my answers:
http://forum.mandrakeclub.com/viewto...r=asc&start=15