LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Samba - Cannot connect to PDC (https://www.linuxquestions.org/questions/linux-newbie-8/samba-cannot-connect-to-pdc-115239/)

tapanga 11-12-2003 11:15 AM

Samba - Cannot connect to PDC
 
Hello you all - after weeks of wrecking my brain i'm a little further with Samba - but still not where i need to be - please be patient.

I have been following the tutorial
http://www.samba.netfirms.com/index.htm

and have gotton as far as adding user to samba and to windows and create shares. I am able to logon to windows as a common user created in both linux with smbpasswd and windows and through the network neighbourhood i am able to see the shares.

GREAT!!!!!!

Now I want to set up Samba as Primary Domain Controller - So i follow instruction to change properties in Network Neighbourhood for Client For Microsoft Networks with the applicable domain name and computer name (using windows 98 BTW) and select log on to NT domain. I reboot the computer and try log in with the same user name and password that allowed me to view the shares in the first place when i log on as windows user without domain. and now i get the message

"No Domain server was able to validate your password. You may not be able to gain access to some network resources"

I click OK, and it starts windows and when i go into network neighbourhood i am able to see the Samba and the shares apps, everyone, john, music, netlogon
here is my smb.conf, I am obviously missing something please help

#======================= Global Settings =====================================
[global]
workgroup = MOUSE
netbios name = samba
encrypt passwords = yes
security = user
os level = 66
preferred master = yes
domain master = yes
local master = yes
logon path = \\%n\profiles\%u
logon drive = q:
logon home = \\samba\%u

[netlogon]
path = /var/lib/samba/netlogon
guest ok = yes
writeable = no
share modes = no

[homes]
read only = no
browseable = no

[music]
path = /data/mp3
browseable = yes
write list = dalet

[everyone]
path = /data/everyone
read only = no
browseable = yes

[apps]
path = /data/apps
browseable = yes
valid users = @admins, root
write list = @admins, root




please help

Tinkster 11-12-2003 02:42 PM

For all I know the older winDOHzes
didn't support encrypted paswords,
but please look that up in the Samba
documentation to be sure :}

Cheers,
Tink

tapanga 11-12-2003 07:56 PM

Yes you are right - windows 98 does not support encrypted passwords - I should have mentioned that I have in fact followed the instructions from documentation to update the registry accordingly. Plain text password.

Can there be another reason why I am receiving the message
"No Domain server was able to validate your password. You may not be able to gain access to some network resources"

Tinkster 11-12-2003 09:15 PM

No other ideas off the top of my head...
Did you look at the log-files on your server?
Maybe you can find some hints there...

less /var/log/samba.nmbd
& /var/log/samba.smbd
& /var/log/messages
& /var/log/syslog
& /var/log/debug

Cheers,
Tink

tapanga 11-13-2003 08:35 AM

Anyone else have some ideas????? Please.


All times are GMT -5. The time now is 09:33 PM.