Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I am trying to set up a Samba server for a secondary school computer lab. I installed Fedora Core and have managed to fumble around enough that the linux box sees the windows machines okay. However, when I try to access the server from the windows xp boxes I am getting confusing results. It looks like Windows is passing the account name(s) to the server and I can only access the linux box when the windows computer has an account name that matches a linux account name (although one time I did access a linux account that was not on the windows box I was using???). I need to be able to have students log in from any of the windows machines and them log out securely. (I add this part because once I got in I could not see how to end the session and anyone using the windows box after me could open my home/desktop on the linux box.) (Here in Savusavu, Fiji, my resources are EXTREMELY limited so TIA for any help.)
Addendum: I can use "Disconnect network drive" to end a user's session so that part is now covered (although maybe not optimally). From one windows box I can access multiple accounts but not from another windows computer. I am still missing a part on how to log into the server. ;-)
The linux samba server uses the windows logon name to authenticate the user and to allow access to the resources.
so the best way is to create the samba users (linux users + smbpasswd users) and let each student log into windows. The only way to log out from the samba server is to kill/restart the server and/or to log out the windows user to make him forget a typed in password.
There are very good docs on the net (http://www.samba.org/samba/docs/) that explains the setup and include examples for different scenarios
Check if you have a samba-docs package. It includes 3 Samba reference books. One of them is the same "Samba 3 by Example" that you can find in Barnes & Nobles. Samba Swat is a convenient way of configuring samba. It allows you to configure samba using a web based interface. The top page also has links to the documentation, and html versions of the man pages. There should be some example configurations that you can model your's on.
Reading through the Samba documentation, I learned things about Windows networking that I didn't know. Such as Windows XP home edition can not join a domain. Features were removed by Microsoft, that are present in Windows 98.
The swat manpage gives an example inetd configuration for the swat service. You're distro might have a swat xinetd configuration file. You might simply need to activate the service in your services configuration.
ps. Just think how much the school district would save in licensing fees if all the hosts where Linux! hint, hint!
Thank you. It sounds as if this is not going to be easy. Multiple students will be using any given Windows box during the day and from day to day a given student will be using different computers. We cannot have accounts for every student on every computer. I need to finds a way that any student can sit at any machine and access her/his files on the server, if at all possible. And of course, each student's files need to be in a password protected folder. Can it be done?
Samba 3 does support roaming profiles in one of it's modes. There are also examples on replicating the backend password database if you have more than one Linux Server. If each student has a single username and password, then you just need to have one entry for each student, not one entry per student per windows machine.
If the XP machines are Home Edition, that will limit what you can do because they are crippled and can't join a domain. I'm not denying that it will be a lot of work. I think that using a working example from a similar system, either by basing it on a Samba 3 by Example case, or using google might be your best bet.
So the students (& anybody else) have free, uncontrolled access to the "Winders" machines but you want to password protect only the GNU/Linux server?
Yes. The apps (mostly MS Office) are on the Windows boxes but the personal files, which need to be protected from other students, are to be on the server. Right now the kids use floppies and in the tropics they die quickly. We see many unreadable floppies and lots of tears.
I will try to find Samba 3 by Example and see if I can set up roaming profiles. Lucklily we run on "Fiji Time" over here and having to wait six weeks for an airmailed book from Amazon is not a big problem.
Both books are in their 2nd edition. The link for Samba-3 by Example definitely points at the new ver., I can 't tell about the TOSHARG link. You might want to work up their directory tree, there are some interesting things in the (grand)parents.
I'm sure Samba can do what you want, but I surely don't know how.
If you have a "samba-doc" package, it contains the Samba 3: By Example book as well as two more Samba reference books. These are the Bruce Perens' books that you can find in a book store.
They would be installed here:
Thanks for the tip, I just installed both samba-doc & samba-doc-pdf.
Off topic, but useful:
When apt-get is "hung" on a previous incomplete package install & "apt-get -f install" doesn't fix the problem (in my case it wanted to remove 177 packages w/ no sign of replacements), then do "apt-get remove <incomplete_packages>". Should have known this already, but just worked it out for myself.