Results 1 to 6 of 6
Hi guys,
I'm making a SAMBA - PDC, i have a linux computer and a XP-client. My samba files are showed in my XP-client so i think the samba must ...
- 05-31-2011 #1Just Joined!
- Join Date
- May 2011
- Posts
- 4
Samba - pdc : Acces denied
Hi guys,
I'm making a SAMBA - PDC, i have a linux computer and a XP-client. My samba files are showed in my XP-client so i think the samba must work. The problem now is that when i want to work with a domain(PDC) i need to fill in a username and password. This is root - root in my case. Bn i need to fill in a username and password. This is root - root in my case. But i get the error : ACCED DENIED.
My samba file looks like this:
smb.conf
[global]
netbios name = SAMBASV
invalid users = root
interfaces = eth0 eth1 lo
security = user
workgroup = eloict.ict.
server string = Samba Server
encrypt passwords = yes
domain master = yes
local master = yes
preferred master = yes
domain logons = yes
logon path = \\%L\%U
[netlogon]
path = /home/netlogon
writable = no
[profiles]
path = /home/profiles
create mask = 0755
directory mask = 0755
writable = yes
[homes]
comment = Home Directories
browseable = yes
writable = yes
read only = no
guest ok = no
valid users = %S
create mask = 0770
directory mask = 0770
[Cursusdocumenten]
comment = Cursusdocumenten
path = WinData/Cursusdocumenten
read only = yes
browseable = yes
create mode = 0775
valid users = Linda, Wouter
write list = Wouter
[Enkeldocumenten]
comment = Enkeldocumenten
path = WinData/Enkeldocumenten
read only = no
browseable = yes
create mode = 0770
valid users = Wouter
[tmp]
path = /tmp
public = yes
printable = no
guest ok = yes
writable = yes
--------------------------------------------------------------------------------------------------------------------------
smbusers
# Unix_name = SMB_name1 SMB_name2 ...
root = administrator admin
nobody = guest pcguest smbguest
Linda = linda
Wouter = wouter
izzy = izzy
-----------------------------------------------------------------------------------------------------------------------------
smbpasswd
Linda:504:5860FA307E255903AAD3B435B51404EE:E32F629 F4E72E29061D6CBC85E076738:[U ]:LCT-4DE2C46F:
Wouter:503:5860FA307E255903AAD3B435B51404EE:E32F62 9F4E72E29061D6CBC85E076738:[U ]:LCT-4DE2C47B:
izzy:500:5860FA307E255903AAD3B435B51404EE:E32F629F 4E72E29061D6CBC85E076738:[U ]:LCT-4DE2C487:
PC1$:505:FD6911F19CC2FA22AAD3B435B51404EE:0D5DF42F 9DA45F03752735FAABC2FD10:[W ]:LCT-4DE3C6CB:
root:0:5860FA307E255903AAD3B435B51404EE:E32F629F4E 72E29061D6CBC85E076738:[U ]:LCT-4DE3C6E3:
user1:506:C2265B23734E0DACAAD3B435B51404EE:69943C5 E63B4D2C104DBBCC15138B72B:[U ]:LCT-4DE3C701:
Iff someone knows something to help me true this error it would be nice
Greatz
- 05-31-2011 #2Just Joined!
- Join Date
- May 2011
- Location
- Southern California, US
- Posts
- 24
You can't use root to login to samba. This is a good security procedure. Comment out that line for now, restart samba, and see if it does what you want. Then connect using an existing smbuser, like linda or user1. Once it works, then uncomment the line and restart samba again.smb.conf:
[global]
netbios name = SAMBASV
invalid users = root
...
Also, your XP client should be XP Professional, not XP Home. If XP Home, you can't use a PDC under normal circumstances. The same is true for Windows Vista and Windows 7. If you have the home versions, you can only use workgroup level connection and security. It's the nature of the home-level beast.
Tom
- 05-31-2011 #3Just Joined!
- Join Date
- May 2011
- Posts
- 4
So what i did, i removed the line, restart my samba. Went to my XP PROFESSIONAL set my
computername: PC1
domain: ELOICT.ICT.
Then i had that login screen,
username: Wouter
password: eloict
But now i had the problem that he doenst know that user?
Thx for the reply mate
- 05-31-2011 #4Just Joined!
- Join Date
- May 2011
- Location
- Southern California, US
- Posts
- 24
When it asks for a username and password, try these:
SAMBASV\wouter
SAMBASV\Wouter
ELOICT.ICT\Wouter
ELOICT.ICT\wouter
If one of the last two works, your samba and PDC is working. If one of the first two works, samba is working and your PDC setup is wrong. If neither is working, check on usermapping, paying special attention to capitalization.
There are a bunch of good tutorials online about how to set up a PDC on samba.
- 05-31-2011 #5Just Joined!
- Join Date
- May 2011
- Posts
- 4
None off these works, he still cant find the user. I dont know what you mean with usermapping?
I dont get this why this don't work, in my netwerklocations i see the files that are shared with samba. So my samba must work in theorie?
I tried the PDC login for every user..
- 05-31-2011 #6Just Joined!
- Join Date
- May 2011
- Posts
- 4


Reply With Quote
