Kirk Coombs wrote:

I always have trouble getting SAMBA to work properly. All I really want out of it is to act like windows -- browse and mount other people's shares, and share directories of my own. What are the key configuration options that need to be set, and what services need to be running (i.e. smbd & nmbd)? If it is helpful, I have the Webmin and SWAT services in addition to just edition config files.



Are you using Gnome or KDE?
KDE has built in support for browsing samba shares, you can authenticate and everything.
Gnome has support for it also, but you will probably have to install a gnome-vfs-extras package. (actually I think it's gnome-vfs2-extras.


in Gnome (I know this because I just figured it out today :) ) open a file manager window and type in smb:/// in the file selector box. This should set you up to browse the computers on the network.

now to do this command-line:

mount -t smbfs //hostnameoripaddress/share /mnt/windowsshare -ousername=myusername,uid=mylinuxusername

ok is that confusing enough. You will most likely need to be root to do this.

ok so that's browsing shares and what not. It actually works really good in Gnome, although some applications have a hard time reading the files because they aren't really "mounted" (It's difficult to explain. I'll do it later.) It's really good for copying files.

Ok to get Linux to share files:

start up samba:

/etc/init.d/smb start

now on your windows machine, you can browse to your linux box, or ...
type in

\\linuxhostnameoripaddress\

this will authenticate you (if you have NT, 2000, or XP)

then you browse to your share.

try this all out. let me know what works and what doesn't. by they way what version of linux and windows are you using? it doesn't really matter, it just helps us to be more specific in helping you out.

Art


____________________
BYU Unix Users Group http://uug.byu.edu/ ___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list

Reply via email to