LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-24-2003, 05:24 AM   #1
sikandar
Member
 
Registered: Aug 2003
Distribution: Linux AS & RH 9
Posts: 255

Rep: Reputation: 30
How to make Redhat a PDC?


I have installed Redhat 9 and want to make it a PDC. After configuring Redhat server a PDC will connect some Win XP clients to this PDC for authentication. I need your assistance in this regard.
 
Old 08-24-2003, 06:15 AM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
You will need to edit smb.conf and set the following variables:
local master = yes
os level = 65
domain master = yes
domain logons = yes
preferred master = yes
security = user
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd

Restart samba:
service smb restart

Then you will need to create machine accounts:
useradd MYCLIENT$ -Ms /dev/null
smbpasswd -m MYCLIENT

Create some user accounts:
smbadduser root:root
smbadduser sikandar:sikandar

Use the root account to add the machine to the domain then you can login as your user.
 
Old 08-24-2003, 11:07 AM   #3
sikandar
Member
 
Registered: Aug 2003
Distribution: Linux AS & RH 9
Posts: 255

Original Poster
Rep: Reputation: 30
In the smb.conf file it is mentioned that "Don't use this if you already have a window nt domain controller doing this job"
;domain master = yes

In my situation I have a NT Pdc but I want to make a test setup of RH which will have a PDC with few clients without disturbing the NT network. What should I do in this scenario?

Please also let me know that sabma stands for...........
 
Old 08-24-2003, 12:38 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
smb stands for server message block. SaMBa AFAIK is just a derivative of that.

If you already have a pdc then you could run this PDC on a different subnet and it shouldn't interfere.
 
Old 08-24-2003, 10:59 PM   #5
Robert0380
LQ Guru
 
Registered: Apr 2002
Location: Atlanta
Distribution: Gentoo
Posts: 1,280

Rep: Reputation: 47
also you need a netlogon share in your configuration somewhere. There is a free o'reilly book online "Running Samba" that has a chapter on creating a "PDC" using samba. It is a later edition of the book though. Do a google search on the text "Using Samba" and it should be one of the 1st 2 or 3 opitons. it's the whole book online.
 
Old 08-24-2003, 11:19 PM   #6
Robert0380
LQ Guru
 
Registered: Apr 2002
Location: Atlanta
Distribution: Gentoo
Posts: 1,280

Rep: Reputation: 47
http://www.linux-mag.com/2002-02/samba_01.html

another link i found that may help. i didnt read the article but it looked promising.
 
Old 08-25-2003, 11:38 AM   #7
sikandar
Member
 
Registered: Aug 2003
Distribution: Linux AS & RH 9
Posts: 255

Original Poster
Rep: Reputation: 30
I am reading the stuff on the link you provided and here is the link of that book may assist someone,

http://www.oreilly.com/catalog/samba...k/ch01_02.html
 
Old 08-26-2003, 01:32 AM   #8
mobassir
Member
 
Registered: Jul 2003
Location: Pakistan
Distribution: Redhat , SME
Posts: 346

Rep: Reputation: 30
try to use these following info

http://www.linux-mag.com/2002-02/samba_01.html

http://www.linuxquestions.org/questi...719#post421719
 
  


Reply



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
REDHAT ES Server 4 --- Samba 3 PDC treedstang Linux - Networking 2 12-16-2005 11:29 AM
RedHat 9 Samba PDC WinXP can't logon normmo Linux - Networking 1 12-18-2004 01:58 PM
cannot make a samba pdc psc Linux - Software 1 06-11-2004 12:02 PM
Can I make SAMBA PDC of my LAN,HOW?? mwj Linux - Networking 1 10-04-2003 05:45 AM
pdc & DNS or pdc & wins saavik Linux - Networking 4 04-25-2003 01:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:28 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
Open Source Consulting | Domain Registration