Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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 new to both Linux & Samba. I am still running Samba 2.2.8a. I have just received new PCs and they are XP based. The rest of my network is Win98 boxes. I have studied Using Samba by O'Reilly press and cannot quite seem to grasp the following:
When the guest account is mapped to the default: "nobody" and my Win98 boxes log in, very frequently (but not always) their home directory will map to / on the Samba box and in "My Computer" it will show as: "nobody on S:" for the drive description.
This is easily stopped - change the guest account to "what" and add "nobody" to invalid users. There is no "what" account.
Now I have XP. With no valid guest account, I cannot log onto the Samba PDC.
I vaguely understand that 98 and XP use different methods of joining a Domain. (98 really doesn't join) But I can't seem to translate this to how to have my cake and eat it too. Or in other words: guest account for XP and proper home drive mapping for 98.
The Win98 portion _was_ rectified in that thread. But to get the Win XP boxes to log onto the Domain, throws it back out of whack.
I can't post my .conf file right now as I am at home, but I will post it up on Monday. This coming week is a holiday for the kids, so the network is all mine to twist with. <bwahhhahahah> I will also post, at log level 3, the differing results for the two OS' when the nobody account is disabled and enabled.
Yes. And they will log in wonderfully.. as long as the "nobody" account is enabled.
Of course, as soon as I do this I'm back to nobody"s" logging in and improper home drive mapping for those logging in on 98.
# Samba config file created using SWAT
# from localhost (127.0.0.1)
# Date: 2003/10/20 16:30:34
# Global parameters
workgroup = ACORN
netbios name = CAP
encrypt passwords = Yes
log level = 2
log file = /etc/samba/smblog-%m.txt
logon path = \\%L\profiles\%u\%m
logon script = logon.bat
logon home = \\%L\%u\.win_profile\%m
time server = Yes
add user script = /usr/sbin/useradd -d /dev/null -g machines -s /bin/false -M %u
preferred master = Yes
domain master = Yes
local master = Yes
os level = 65
security = user
domain logons = yes
domain admin group = root
wins support = Yes
guest account = nobody
invalid users = bin daemon adm sync shutdown
<< this is the difference! the above two lines allow my XP boxes to log on, but Win98 clients to map to "nobody". When I want my 98 boxes to log on properly, I change the guest account to "what" and put "nobody" in the invalid users list>>
Did you ever try my suggestion from the last thread?
Idea! Something just popped up. Why don't you change logon home = \\%L\%u\.win_profile\%m to logon home = \\Cap\Homes. You can try to change your logon script from net use s: /home to net use s: \\Cap\Homes /y. I have a strong feeling that the logon home = \\%L\%u\.win_profile\%m is the root of all evil.
I had problems with specifying the logon drive and logon home parameters for my xp machines. I noticed that the drive would intermittently become hidden but still accessible. Hidden, in that it would not show up in explorer, but you could still type in s: and open it up. I should try it again and double check.
I had to explicitly put:
logon drive =
logon home =
in my smb.conf file and manually map it from the logon script.
calabash, I appologise for not replying sooner. I have been trying to play catch up with work and other stuff. I will build a box and try your config file. Have you tried setting "map to guest = never"?
Also, do the following:
paste the content of:
You don't need to paste everything, but make sure you paste at least 5 users from the 1st command, 3 workstations from the 1st, the group the students are in or if they have user private groups, the corresponding entries and the group the machine accounts belong to. You can just type in user1 user2 user3 etc if want, but make sure you match the corresponding user and group entries when you do.
Last edited by sidmark-2850; 02-26-2004 at 06:23 PM.
student:x:700:and then the usernames delimited by ,
faculty:x:800dd here, only two usernames, but I have a lot of fac-users in my db properly saying 800.
I have more to update, but I have to run. I will post more tomorrow. More problems have resulted from the deployment, of course. Mainly that unless I elevate my logged in domain user to Administrator, MS Publisher (2003) won't run! Auughh!