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 |
Anyone?
|
Samba should have nothing to do with DNS.
Have you added machine accounts for your workstations to the server? Can Win9x clients login? |
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! |
Did you add machien accounts using smbpasswd too?
When you try to add a machine to the domain - do it as root. |
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. |
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 |
brijesh,
could you please be more specific as I am a newbie. Setp by step if u can would be great. |
Quote:
In /etc there is no directory call var unless you create it. |
Quote:
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. |
All times are GMT -5. The time now is 02:48 AM. |