Register a domain and help support LQ
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 06-10-2004, 05:26 PM   #1
LQ Newbie
Registered: Jun 2004
Location: Bucharest, Romania
Distribution: slack 9.1
Posts: 2

Rep: Reputation: 0
cannot make a samba pdc

hi ,
I want to configure a samba PDC and I cannot make it.
smb.conf looks like this

netbios name = pdc
workgroup = domain
server string = nume_dom_paj

security = user
encrypt passwords = yes
smb passwd file = /usr/local/samba/private/smbpasswd

unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*UNIX*Password* %n\n
*Retype*New*UNIX*Password* %n\n

preferred master = yes
domain master = yes
local master = yes

os level = 64

domain logons = yes


path =/usr/local/samba/netlogon
writeable = no
write list = pi


path = /export/smb/ntprofile
writeable = yes
create mask = 0600
directory mask = 0700

I added a user named "x$" in passwd and with "smbpasswd -a -e -m -s x$" I added the user in smb's passwd file . I added te user a password with "smbpasswd x$". When I want to join a pc with win xp pro in the domain, from system properties -> computername -> domain", I have selected the radio button "domain" and I added the domain name. a window apear and it wans asking for username and password. in the username field I typed "x$" and in the password field, the password.
after a moment i have an error message: "the following error occurred attempting to join the domain "domain": access is denied"

what is the cause of the problem ?

Old 06-11-2004, 12:02 PM   #2
Registered: Aug 2003
Location: Washington State, USA
Distribution: Mainly RH 9.0
Posts: 227

Rep: Reputation: 30
Have you tried adding the machine to the domain as root? I had a problem similar to that, but when I added the machine as root, it worked fine. Also, I had a problem with when I would logon, it would work fine, but after a reboot of the client machine, it wouldn't work. I think I had to make the user's profile a local one in XP. It's under the properties of My Computer, Advanced tab, and the Settings button under User Profiles section. You might not run into this problem, but if you do, there you go.



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
Can I make SAMBA PDC of my LAN,HOW?? mwj Linux - Networking 1 10-04-2003 05:45 AM
How to make Redhat a PDC? sikandar Linux - Networking 7 08-26-2003 01:32 AM
samba pdc gauge73 Linux - Networking 0 02-18-2003 06:49 PM
Samba as a PDC needamiracle Linux - Software 3 09-12-2002 10:07 PM

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration