Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!

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.

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.

I Installed SAMBA on my newly setup RedHat 7.2 machine. I have DCHP working fine however when I attempt to join my new domain with win2k pro machines (which are all I have) I get errors. to be more specific,
"The account used is a computer account, Please us your global user account or local user account to access this server"
I see that error even when I use the root account.

I have read and read and read and I seem to be getting no where with this. please help.

As well, what determines whether or not an account is a global account.. and if you have a regular account how do you go about making it a global account??

I have it running here.
For every w2k machine you need to create a "machine account" and of course you need a user to log on to.
I don't know what kind of user verification you're using, but if you're using it, make sure you add both a machine account and a user account with smbpasswd!
(you can make a machine account using smbpasswd -m, see the man pages)

Ok guys I got some sense knocked into me .Thanks BenV you enforced something the book pointed out clearly. I relied on a script provided to automate the adding of my machine accounts. Well i found out that I had to do it manually,Wroks just fine if I do all my machine accounts manually. Do you know of anything I can use to automate thisprocess.
Thanks all for your help

It should be possible to add users automatically, but adding machine accounts automatically is a bit insecure, isn't it?
In the smb.conf file you can add a line for the users:
add user script = /usr/sbin/useradd -d /dev/null -g machines -s /bin/false %u
(or something like that to match your needs )
Maybe you can write a little script to add all the machine accounts, but I wouldn't know where to get their names from....

Thanks, the smb.conf line that you are asking me to include is the exact line that I depended on. I understand that possibile risk with adding machines automatically. But what do I do if I have 200 machines to add to the domain???

Well, if you have all the machine names in a list or something, you can write a script to add them automatically... otherwise you'd have to type them anyway
I haven't played around with automatically adding users much, so I don't know much about it.... (yet )