new to samba - unable to connect
I've been looking through the threads and am unable to figure what I'm missing.
I have a home network with one desktop running Windows 2000 Pro and a laptop running SuSE 9.3. (Workgroup: R2D2) There is a wireless network for the network (TheForce) which requires authentication. Here's a link: http://www.perfectreign.com/stuff/homenet.jpg When I try to connect to my Linux workstation from my Windows workstation I get shares but am unable to connect: http://www.perfectreign.com/stuff/samba1.jpg ...then I get... http://www.perfectreign.com/stuff/samba2.jpg ...which doesn' t allow me to connect. I tried logging in as root and my username (kai) neither of which work. When I try to connect to my windows workstation from my linux machine I get the following error: http://www.perfectreign.com/stuff/samba3.jpg I currently have the SuSE firewall disabled, so that isn't the issue. Any ideas? I've looked in the configuration but can't find what might be wrong. TIA! |
What happens if you type
findsmb in an Xterm on the laptop? What does your smb.conf look like? Here's my smb.conf - I have several Windows machines on my network that can easily access my Linux machine's "shared" (C:\shared) directory while my machine is in linux: [global] netbios name = stefan workgroup = GOEDEHOOP10 security = share log file = /var/log/samba.log log level = 1 socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=16384 SO_SNDBUF=16384 wins support = yes domain logons = no logon drive = f: logon home = \\stefan\%U os level = 99 preferred master = yes local master = yes hosts allow = 196.254.255.10 196.254.255.11 196.254.255.20 196.254.255.30 127.0.0.1 196.254.255.40 196.254.255.50 196.254.255.60 196.254.255.70 196.254.255.80 encrypt passwords = yes browseable = yes lanman auth = yes lm announce = yes [shared] path = /mnt/win/shared guest ok = yes writeable = yes create mode = 0666 directory mode = 0777 browseable = yes public = yes Obviously, the list of allowed hosts are the IP addresses of all the machines that I want to be able to access my Linux machine. To connect to a share on a Windows machine from my Linux machine I do smbmount "//programmer/shared" /mnt/programmer -o username=guest,password="",uid=rylan,dmask=0775,fmask=0775 where "//programmer/shared" is the Windows machine name and Windows share name of a share on the target Windows machine. You can also use the IP address of the target Windows machine (smbmount "//196.254.255.80/shared" for example) to mount a share on the Windows machine for access on the Linux machine. Hope this helps! |
ack! more command line! :0
Anyway, here's my samba config file. It was a bitch to find it, by the way. Fortunately, Kate opened it no problem. I did notice something interesting, the wins server (IP has been changed) points to my corporate wins server at my work. I wonder how that got there. I routinely vpn using my deskopt but have not installed vpn on my laptop yet. Also of note, the eth0 is my wired connection, which I usually don't use at home and my wireless is eth1. Is that a problem? I was reading somewhere that the hosts allow line was a range. Hence all hosts between 192.168.0.0 to 255.255.255.0 should be allowed according to that line. Is it wrong? I see you specify which hosts are allowed. # Samba config file created using SWAT # from 127.0.0.1 (127.0.0.1) # Date: 2005/07/29 06:04:25 # Global parameters [global] workgroup = R2D2 netbios name = YODA map to guest = Bad User username map = /etc/samba/smbusers server signing = auto printcap cache time = 750 printcap name = cups add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$ logon path = \\%L\profiles\.msprofile logon drive = P: logon home = \\%L\%U\.9xprofile domain master = No wins server = eth0:257.299.34.68, eth0:257.299.222.232 ldap ssl = no printer admin = @ntadmin, root, administrator hosts allow = 192.168.0.0/255.255.255.0 cups options = raw include = /etc/samba/dhcp.conf domain logons = No passdb backend = smbpasswd security = user [homes] comment = Home Directories valid users = %S read only = No inherit acls = Yes browseable = No [profiles] comment = Network Profiles Service path = %H read only = No create mask = 0600 directory mask = 0700 store dos attributes = Yes [users] comment = All users path = /home read only = No inherit acls = Yes veto files = /aquota.user/groups/shares/ [groups] comment = All groups path = /home/groups read only = No inherit acls = Yes [printers] comment = All Printers path = /var/tmp create mask = 0600 printable = Yes browseable = No [print$] comment = Printer Drivers path = /var/lib/samba/drivers write list = @ntadmin, root force group = ntadmin create mask = 0664 directory mask = 0775 [kai] comment = Kai Home inherit acls = Yes path = /home/kai/ read only = No |
All times are GMT -5. The time now is 06:53 PM. |