LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 11-15-2007, 01:21 AM   #1
vedang
Member
 
Registered: May 2006
Posts: 89

Rep: Reputation: 15
Samba PDC problem.


I have configured a Samba based PDC server . When i use testparm to test smb.conf file, it shows no error.

But when I try to add a win XP machine to this domain it shows unknown user or bad password for root user. And access denied for other users.
I have made sure all users exists and their samba password is also set.

My smb.conf file is as given below.

netbios name = server
workgroup = abc

wins support = yes

domain master = yes
local master = yes
preferred master = yes
os level = 255

security = user
encrypt passwords = yes
domain logons = yes

logon path = \\%L\profiles\%u\%m

logon drive = G:
logon home = \\server\%u\.win_profile\%m

time server = yes

logon script = logon.bat

# domain admin group = root nikhil

add user script = /usr/sbin/useradd -d /dev/null -g 100 -s /bin/false -M %u

host msdfs = yes
24,1 Top

[netlogon]
path = /usr/local/samba/lib/netlogon
writable = no
browsable = no

[profiles]
path = /home/smbntprof
writable = yes
create mask = 0600
directory mask = 0700
browsable = no

[homes]
comment = Home Directory
browsable = no
read only = no
map archive = yes

[dfs]
comment = dfs share
path = /usr/local/samba/dfs
msdfs root = yes

Please someone help me to solve this problem.
 
Old 11-15-2007, 09:26 AM   #2
kool_kid
Member
 
Registered: Sep 2004
Location: Dubai, UAE
Distribution: RHL
Posts: 350

Rep: Reputation: 30
did u use this command to add root to smb passwd?

$smbpasswd -a root

if u didnt do it and try.
 
  


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
samba pdc trust with windows 2003 server pdc samba_pk Linux - Networking 1 06-08-2007 01:22 AM
samba pdc problem ssilayaraja Linux - Networking 3 12-08-2006 03:36 AM
samba 3 problem - samba PDC can not join to the domain ananthak Linux - Networking 1 05-21-2006 10:39 AM
Samba as PDC problem jrmontg Linux - Networking 7 07-19-2005 02:53 PM
Samba PDC problem mwj Linux - Software 0 01-27-2004 11:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:02 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