SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
How do I setup samba properly.. It is installed and so is ksambaplugin (samba configurator for kde).. I think i have it setup right but i cannot get my moms winxp laptop to see the printer on my computer... How do i go about doing all this. Also how do i get it to autostart i dont see that it starts
You can get Samba to start on boot by logging in as root and using pkgtool. You will need to go into the Setup section followed by the Services section (I think its called services, I'm currently not at my slackware box right now), from there you can select Samba to start as a service on boot.
For configuration I usually use SWAT which is provided with Samba. Please read through the documentation at www.samba.org to get it up and running it's not that hard and the guides are well written (a very good resource). Any more specific problems you have I will be more than happy to help out with
anyone that can help me setup samba properly to connect 2 my 2 computers... They dont require a username and password to connect and its only windows xp computers
You can generally mount any samba shared directory on a remote computer with the following:
mount -t smbfs //SERVERNAME/sambashare /mnt/sambashare -o username=USER,password=pass
This is if you have samba installed on your slack box, and you've created the directory "sambashare" in your /mnt directory. If you've compiled from source, make sure you configured with "./configure --with-smbclient" before you "make; make install".
You can also add /etc/fstab entries so you can mount the share with a simple "mount /mnt/sambashare" by adding this line in /etc/fstab
I'm trying to get a Linux box to access a Samba share that the Windows boxes already can. When I try it gives an error:
Code:
params.c:OpenConfFile() - Unable to open configuration file "/etc/samba/smb.conf":
No such file or directory
Can't load /etc/samba/smb.conf - run testparm to debug it
Could not resolve mount point /mnt/export
Why or how do I need to configure smb.conf on the clients?
In the /etc/samba directory, there's a smb.conf-default (or something along those lines). Just rename it to smb.conf, and you're done. You can also edit the file and set your workgroup and other parameters.
As for the "cannot resolve mount point" error for "/mnt/export", make sure that directory does indeed exist.
It does mount fine now although there is a strange permissions problem.
When I use the samba share from a Win2k box I have full access (read/write) to the directory. When I access the share from a linux box, using the same name & pass, I only have read access. I'm not sure what the deal is on that.
RE: not being able to log in from Win boxes, I think Samba will only accept connections from users with a valid user name and password on the box running the Samba server. Also, I think you have to do a user add in Samba. Then you have to make sure the Win box is sending the correct user name and password, same as set up on the Samba box.
I have Samba running on a Slack 9.1 box serving multiple Win 98se and Win 2000 pro boxes, including remote boxes over vpn. It took some doing, and it was a set up about 6 months ago, so I don't recall all the details.
Also, I ran in to problems when I created directories on the Samba box logged in as root. Caused permission problems and denied access later when accessing from the Win boxes. I decided it was best to make any directory/file changes as one of the Win clients/users, and I don't ever work in those directories/files on the Samba box.
Also, you can set the default umask for the Samba files to avoid permission problems. I set mine up using swat. The box it runs on is console based only, no X.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.