Click to See Complete Forum and Search --> : Samba Problems
Insurrection
08-15-2002, 06:46 PM
Ok I have Samba up and running and my windows box has no problems accessing the shares I have set up.
So here is the root of my question, I want my linux box to access the windows shares.
I was wondering how I go about doing that and does it have something to do with the smbmount command?
Any help is much appeciated :D
cowanrl
08-15-2002, 08:29 PM
Yes, smbmount is one of the client Samba commands in Linux for mounting Windows shares. It will also mount Samba shares on other *nix machines. It operates very similar to the mount command with the -t smbfs option.
There is also smbclient. It's an ftp type client that lets you access a Windows share with actually mounting it. You can transfer files with get and put commands, just like in ftp.
Both of these commands have extensive man pages for help. If you have SWAT installed, it also has a lot of documentation on them.
If you do a search in this forum for smbmount or smbclient back the last few months, you'll find many threads on their use. There's a lot of activity in this forum on those commands.
If you have specific questions on their use, I'm sure you can find some help here.
There's also a program called Linnieghborhood that provides a GUI interface to mounting Windows shares. It comes with many Linux distributions or you can get it at:
http://linux.tucows.com/internet/preview/26672.html
Originally posted by cowanrl
There's also a program called Linnieghborhood that provides a GUI interface to mounting Windows shares. It comes with many Linux distributions or you can get it at:
http://linux.tucows.com/internet/preview/26672.html
KDE's Konquerer and GNOME's Nautilus will browse Windows networks just like Network Neighborhood.
Sledge1954
08-16-2002, 04:09 PM
I just got LISa Lan browsing working and dumped LinNeighborhood forever.
To set up LISa go to the KDE Control Center and select "Network->LAN Browsing". Click on the LISa daemon tab and run Autosetup, click on the "ResLISa daemon" tab and run Autosetup, and then apply the changes
How you start the LISa service is up to you. You can either run it manually or load automatically. I added the LISa service to the start list for Runlevel 5 in the SysV-Init Editor, so it is always available after boot up.
Add a link to the URL "rlan:/" on your desktop, rename it "Network Neighborhood", and change the icon to a network.
My big problem with LinNeighborhood is that I had to mount the shares as root, the shares are mapped to the hard drive, and you can not make changes as a user. When you try LinNeighborhood tells you that smbmount must be SUID root. When you change smbmount, it *****es that smbmount cannot be SUID root. I guess it's one of those Linux things.
Win LinNeighborhood you cannot "browse" the network like in Windows. With ResLISa you can. Cool beans. I'm starting to scare myself.
Edited to add:
Change the file /opt/kde3/bin/reslisa to SUID root. Otherwise you can only browse when logged in as root. I found out the hard way, although the error message told me how to fix it.
Additional note:
LISa does not work with Galeon. At least not the version that comes with Gnome 1.4.0. We'll wait and see about Gnome 2.0. You can run Konquerer in Gnome to browse in Gnome. To add it to your desktop add a Launcher with:
Type=Application
Exec=/opt/kde3/bin/konqueror rlan:/