PDA

View Full Version : making linux shares visble in windows


kang0o
2006-11-29, 04:38 AM CST
As the topic says, how can I make linux shares visible on a windows network?
I have 3 pc's connected to the network 2xXP 1xFDC6. All the windows shares are visible via linux, but not viceversa. I'm using samba as the linux server btw.
I can see the linux shares on the linux box, and have tried disabling the linux firewall to test but the linux shares are still not visible in windows.
I'm also having trouble configuring FDC6 to see/use the printer attached to one of the xp machines (although I think this is more down to the pathway)
I could use some advice as I really dont want to spend my day off googling and trying configs in vein!

kang0o
2006-11-29, 07:54 AM CST
Ok well I have managed to get the linux shares visible and accessible on both XP machines. Not really sure how, seems a bit temperamental. I changed the pc name to my static IP.localdomain, created myself as a samba user which let me login to the shares. Fair enough you might say, but the strange part is that to allow anyone else to connect I had to make my account the guest account. Trying to add users just didn't work it just wouldn't except the password even though I only created it seconds before. It won't allow any connections if the permissions are set to allow ALL you have to 'allow access to specific users' . Just weird but at least I can access all shares on all pc's from any pc on the network, which is something.
So now just the print share to go :). The printer is usable from both XP machines but I really am at a loose end as to how to get it to show on the linux machine.
Can someone who has managed to config there windows printer help. Even showing me the correct pathway they used might be enough for the penny to drop.

PLEASE HELP!!!
:D

glennzo
2006-11-29, 09:43 AM CST
I create a user on the Linux box that corresponds to the Windows user that is trying to access the Linux shares. Works for me. Samba experts may disagree.

Add a user, kang0o
type 'smbpasswd -a kang0o'
press enter when prompted for password (twice)
See and access shares from Windows to Linux

Post the output of your /etc/samba/smb.conf

kang0o
2006-11-29, 10:56 AM CST
See the post above FIXED file sharing, need print share advice

Zotter
2006-11-29, 12:52 PM CST
sudo yum -y install swat

When that's done, then point your web browser at:
http://localhost:901

voila - graphical configuration of samba, shares and printers. Works a champ.

Of course, this all assumes you've got the rest of your networking setup proper like. If your hostname, /etc/hosts, DNS service and /etc/resolv.conf files aren't correct - well, swat ain't gonna help.

Detonate
2006-11-29, 01:01 PM CST
To get your Windows printers working, first make sure CUPS is installed. [yum install cups] Then use the printer interface at http://localhost:631. That's the best way I've found, and it worked for me first try. And I'm a noob.