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 09-23-2003, 03:42 AM   #1
adam_ant
LQ Newbie
 
Registered: Sep 2003
Posts: 11

Rep: Reputation: 0
redhat 9 PDC problems


any good articles or ideas on how to set up dns in redhat9. I am attempting to set it up as a PDC and I can see it from my windows 2000 box and connect to shares( Workgroup). However I would like very much to set it up as a PDC with domain logins. ATM Windows 2000 clients cannot locate/contact the domain. I belive this is a DNS issue and any help would be appreciated for a linux newbie.

Here is my smb.conf

# Samba config file created using SWAT
# from REDHAT9PDC (127.0.0.1)
# Date: 2003/09/23 21:56:30

# Global parameters
[global]
workgroup = REDHAT
netbios name = REDHAT9PDC
server string = Samba Server
encrypt passwords = Yes
obey pam restrictions = Yes
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
unix password sync = Yes
log file = /var/log/samba/%m.log
max log size = 0
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
domain logons = Yes
preferred master = Yes
domain master = Yes
dns proxy = No
printing = cups

[homes]
comment = Home Directories
valid users = %S
read only = No
create mask = 0664
directory mask = 0775
browseable = No

[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No

[Backup_data]
path = /tmp
read only = No

[SAMSUNG]
path = /tmp
printable = Yes

Last edited by adam_ant; 09-23-2003 at 07:00 AM.
 
Old 09-23-2003, 06:59 AM   #2
adam_ant
LQ Newbie
 
Registered: Sep 2003
Posts: 11

Original Poster
Rep: Reputation: 0
Anyone?
 
Old 09-23-2003, 08:53 AM   #3
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Samba should have nothing to do with DNS.

Have you added machine accounts for your workstations to the server? Can Win9x clients login?
 
Old 09-23-2003, 09:07 AM   #4
adam_ant
LQ Newbie
 
Registered: Sep 2003
Posts: 11

Original Poster
Rep: Reputation: 0
I have added a machine account to the server in /etc/passwd

When trying to log on to the domain from windows 2000 i get
" The account used is a computer account. Use your global user account or local user account to access this server ".

I know I am close!
 
Old 09-23-2003, 09:31 AM   #5
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Did you add machien accounts using smbpasswd too?

When you try to add a machine to the domain - do it as root.
 
Old 09-23-2003, 10:57 AM   #6
adam_ant
LQ Newbie
 
Registered: Sep 2003
Posts: 11

Original Poster
Rep: Reputation: 0
david,
its all sorted now thanks for your help. However maybe you could give me some advice. I have previously been a Windows 2000 server addict and I would like to be able to set up Redhat 9 similar to this inparticular DNS where I could configure it to forward DNS queries to the ISP. Currently I have client PC's using static IP's with DNS manually configured. So if you could point me in the right direction to configure DNS and DHCP I would be grateful.
 
Old 09-23-2003, 12:53 PM   #7
brijesh
LQ Newbie
 
Registered: Jun 2003
Location: india
Distribution: redhat
Posts: 27

Rep: Reputation: 15
adding nameserver in resolv.conf ..
by editing with "vi" ..
then create zone file in /etc vi named.conf
(a) first created foreground lookup
(b) reverse lookup
copy named.local u created in zone file
same way as reverse
edite in /etc/var/named
check it with
nslookup "u given file" or ip given as nameserver resolv.conf
 
Old 09-23-2003, 07:56 PM   #8
adam_ant
LQ Newbie
 
Registered: Sep 2003
Posts: 11

Original Poster
Rep: Reputation: 0
brijesh,
could you please be more specific as I am a newbie. Setp by step if u can would be great.
 
Old 09-23-2003, 09:49 PM   #9
joseph
Member
 
Registered: Jun 2003
Location: Batam
Distribution: Ubuntu 10 And Linux Mint
Posts: 414

Rep: Reputation: 30
Quote:
Originally posted by brijesh

edite in /etc/var/named
Guy i think you make a mistake now, it is not in /etc/var/named but in /var/named

In /etc there is no directory call var unless you create it.
 
Old 09-23-2003, 09:52 PM   #10
joseph
Member
 
Registered: Jun 2003
Location: Batam
Distribution: Ubuntu 10 And Linux Mint
Posts: 414

Rep: Reputation: 30
Quote:
Originally posted by adam_ant
brijesh,
could you please be more specific as I am a newbie. Setp by step if u can would be great.

Guy try this site http://www.tldp.org/HOWTO/DNS-HOWTO.html

I believe you will understand after you take a look there.

BTW, this issue have been discussed many times before, try to search it.
 
  


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
Set up DNS. wesleyarchbell Linux - Networking 2 04-30-2005 08:37 PM
How to set DNS Settings VorlonShadow Linux - Networking 1 11-16-2004 12:59 PM
Set up DNS PeRKoniX Linux - Newbie 1 11-06-2004 09:17 AM
How do I get DNS to be set via DHCP hotelgeek Linux - Networking 3 06-11-2004 07:35 AM
need help to set up caching only dns server to with bogus DNS entries ullas Linux - Networking 1 10-28-2003 01:54 PM

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

All times are GMT -5. The time now is 06:14 PM.

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