LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 07-09-2002, 10:41 AM   #1
willl
LQ Newbie
 
Registered: Jul 2002
Location: Dominica
Distribution: RedHat 7.2
Posts: 4

Rep: Reputation: 0
Help with SAMBA


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??
 
Old 07-09-2002, 01:34 PM   #2
Mithrilhall
Member
 
Registered: Feb 2002
Location: Massachusetts
Distribution: Debian (Lenny)
Posts: 286

Rep: Reputation: 30
Does your Redhat box belong to the same workgroup or domain as your W2k box?

If you can, post your smb.conf file contents here to we can look at it.
 
Old 07-09-2002, 01:40 PM   #3
willl
LQ Newbie
 
Registered: Jul 2002
Location: Dominica
Distribution: RedHat 7.2
Posts: 4

Original Poster
Rep: Reputation: 0
Linux is setup as a PDC

I am setting up my Linux box to be my PDC actually.. but I am not able to join my new domain.
 
Old 07-10-2002, 02:35 PM   #4
BenV
LQ Newbie
 
Registered: Jun 2002
Location: Netherlands
Distribution: Slackware 8
Posts: 21

Rep: Reputation: 15
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)
 
Old 07-10-2002, 11:11 PM   #5
willl
LQ Newbie
 
Registered: Jul 2002
Location: Dominica
Distribution: RedHat 7.2
Posts: 4

Original Poster
Rep: Reputation: 0
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
 
Old 07-11-2002, 06:38 AM   #6
BenV
LQ Newbie
 
Registered: Jun 2002
Location: Netherlands
Distribution: Slackware 8
Posts: 21

Rep: Reputation: 15
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....
 
Old 07-11-2002, 11:10 AM   #7
willl
LQ Newbie
 
Registered: Jul 2002
Location: Dominica
Distribution: RedHat 7.2
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks

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???
 
Old 07-12-2002, 11:45 AM   #8
BenV
LQ Newbie
 
Registered: Jun 2002
Location: Netherlands
Distribution: Slackware 8
Posts: 21

Rep: Reputation: 15
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 )
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba/Cups print sharing problems (/var/spool/samba files) Gates1026 Linux - General 9 06-23-2013 01:33 AM
Samba - Connecting from WinXP Pro to Samba running on Debian critical Linux - Networking 1 02-03-2005 09:36 AM
I need the content from thegoldenear.org/toolbox/unices/samba/samba-setup.html rtg2001 Linux - Networking 1 08-05-2004 05:54 PM
Samba: Authenticate Linux-Clients in Samba Domain & Mount mule Linux - Software 0 12-10-2003 01:21 AM
when i restart SAMBA,it says:stop samba failed,start SAMBA OK! whepin Linux - Networking 3 12-26-2001 05:54 AM


All times are GMT -5. The time now is 07:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration