LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Replacing Win2k3 PDC with SAMBA (https://www.linuxquestions.org/questions/linux-networking-3/replacing-win2k3-pdc-with-samba-427634/)

shamshu_s 03-23-2006 07:59 AM

Replacing Win2k3 PDC with SAMBA
 
Dear all,

Sorry for posting such a long mail.I am using the following version of Linux

[root@pcqserver samba]# cat /etc/redhat-release
PCQLinux 2005 (WhiteHope)

[root@pcqserver samba]# uname -r
2.6.10-1.741_FC3

[root@pcqserver samba]# smbd -V
Version 3.0.8pre1-0.pre1.3

I have an existing windows 2003 server running in my office network which acts as an PDC.It provides login authentication to all winxp, win2000 and win98 clients within our network.

Now i want to replace the win2003 PDC server with an samba PDC server wherein all clients can join the domain of samba PDC.
The win2003 server name is SERVER and has domain name as "vvlaps" .I have made the following entries in my smb.conf file but when i try to make windows client join my Samba domain with the root as domain administrator it does not allows me to do so.The windows client names are accounts and umesh.
I have also changed the windows registry for winxp clients as required by Samba. The files smb.conf,smbpasswd,/etc/passwd are as follows.

***Does the Domain names of both the PDC servers have to differ in order to make clients join the Samba Domain??

========
smb.conf
========
[global]
workgroup = VVLAPS
netbios name = Linux
server string = Linux file server
#used to make samba NT PDC
domain logons = yes
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
browsable = yes
bind interfaces only = yes
security = user
log level = 3
log file = /var/log/sambalog/%m.log
domain master = yes
local master = yes
preferred master = yes
os level = 128
wins support = yes
admin users = root shamshu
logon script = loginshare.bat
domain admin group = root shamshu

[homes]
comment = Home Directories
browseable = no
writable = yes
hide dot files = yes

[data]
path = /data
writeable = yes
browsable = yes
#create mask = 0755
read only = no
#guest ok = yes
#directory mask = 0775

[netlogon]
comment = The domain logon service
path = /usr/local/samba/netlogon
public = no
writable = no

[profiles]
path = /home/samba/profiles
read only = no
create mask = 0600
directory mask = 0700

==============
smbpasswd File
==============
shamshu:524:69316EC2F935EF8EAAD3B435B51404EE:2E547019317018AD0CBAF13CD9DA2519:[U ]:LCT-43BE4599:
nobody:99:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:[DU ]:LCT-00000000:
administrator:527:F27A078F57FF5D0E1CDF95243EDDDA5F:C331094297D4A44EC0B8762286AFF347:[U ]:LCT-43F0968A:
root:0:27B74B33D144BBEAE72C57EF50F76A05:C25631B64E778A18F7B262B6F708513A:[U ]:LCT-441F99E3:
umesh$:532:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:44E35A41F3A55EF50F26196FCF984124:[W ]:LCT-44228FF9:
umesh:531:3E21140AAAD7C62AAAD3B435B51404EE:F8597E0D798E69D18E51D79DF127D586:[U ]:LCT-442119BF:
accounts:534:8B6254F57A50599493E28745B8BF4BA6:E17739CD9821085E970E6F4BFFA8290A:[U ]:LCT-44223BDA:
accounts$:533:8B6254F57A50599493E28745B8BF4BA6:E17739CD9821085E970E6F4BFFA8290A:[W ]:LCT-4422411F:

===========
/etc/passwd
============
shamshu:x:524:524::/home/shamshu:/bin/bash
root:x:0:0:root:/root:/bin/bash
umesh:x:531:531::/home/umesh:/bin/bash
umesh$:x:532:529::/dev/null:/bin/false
accounts$:x:533:529::/dev/null:/bin/false
accounts:x:534:534::/home/accounts:/bin/bash

Thanks and quick answer is greatly apreciated

Regards

paul_mat 01-11-2007 11:53 PM

you could try my website, it's got a good how-to on it for 'OpenLDAP + LAM + Samba as PDC'

http://www.opensourcehowto.org/how-t...ba-as-pdc.html


All times are GMT -5. The time now is 09:11 AM.