LinuxQuestions.org
Review your favorite Linux distribution.
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 03-23-2006, 07:59 AM   #1
shamshu_s
LQ Newbie
 
Registered: Mar 2006
Posts: 3

Rep: Reputation: 0
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
 
Old 01-11-2007, 11:53 PM   #2
paul_mat
Member
 
Registered: Nov 2004
Location: Townsville, Australia
Distribution: Fedora Core 5, CentOS 4, RHEL 4
Posts: 855

Rep: Reputation: 30
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

Last edited by paul_mat; 02-12-2007 at 08:26 PM.
 
  


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 3 problem - samba PDC can not join to the domain ananthak Linux - Networking 1 05-21-2006 10:39 AM
problem with samba on slackware 10.2, connecting to Win2k3, smbclient works, mount no acabtp Linux - Software 2 12-23-2005 10:00 AM
problem with samba on slackware 10.2, connecting to Win2k3, smbclient works, mount no acabtp Linux - Networking 3 12-21-2005 07:26 PM
Connecting with Samba to Win2k3 Roaming Profile UltimatePower Linux - Networking 1 08-04-2004 02:33 PM
Samba and Win2k3 mr666white Linux - Networking 4 07-18-2004 04:13 PM


All times are GMT -5. The time now is 04:53 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration