Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Samba PDC help needed

Status
Not open for further replies.

chet1

MIS
Oct 3, 2002
11
0
0
GB
Hi all

I’m trying to set up my Linux (RedHat 7.3) as a PDC, I think I’m nearly there I can get PC’s to join the domain but have a problem storing profiles.
The windows error I get is as follows: -
Windows can not create profile directory \\kyle\netlogon\mandy.pds
You will be logged on with a local profile only, changes to you profile will not be propagated to the server, please contact your administrator.

The PC that I’m trying to connect from is running windows 2k Professional with service pack 3. My smb.conf is as follows: -

[global]
path = /var/spool/samba
smb passwd file = /etc/samba/smbpasswd
pam password change = yes
dns proxy = no
encrypt passwords = yes
null passwords = yes
socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192
wins support = true
printer = linux
obey pam restrictions = yes
security = user
unix password sync = Yes
workgroup = INTERNET
log file = /var/log/samba/%m.log
netbios name = kyle
load printers = yes
os level = 64
preferred master = yes
domain master = yes
local master = yes
domain logons = yes
logon path = \\%L\netlogon\%u
logon drive = H:
logon home = \\%L\%U\profiles
logon script = logon.bat
add user script = /usr/sbin/useradd -d /dev/null -g 100 -s /bin/false -M %u


[Netlogon]
path = /home/netlogon/%u
create mask = 0755
write list = root

[Profiles]
path = /profiles/
read only = no
create mask = 0600
directory mask = 0700

[printers]
browseable = yes
writeable = yes
printable = yes


Thanks and hope you can help

regards

Chet
 
this is a samba log of the connectin PC, it may help

[2002/10/03 11:58:53, 0] rpc_server/srv_netlog.c:api_net_sam_logon(206)
api_net_sam_logon: Failed to marshall NET_R_SAM_LOGON.
[2002/10/03 11:58:53, 0] rpc_server/srv_pipe.c:api_rpcTNP(1200)
api_rpcTNP: api_netlog_rpc: NET_SAMLOGON failed.
[2002/10/03 11:58:56, 0] smbd/service.c:make_connection(248)
hometypist (192.168.0.1) couldn't find service home
[2002/10/03 11:58:57, 0] smbd/service.c:make_connection(248)
hometypist (192.168.0.1) couldn't find service home
[2002/10/03 11:58:57, 0] smbd/service.c:make_connection(248)
hometypist (192.168.0.1) couldn't find service home
[2002/10/03 11:58:57, 0] smbd/service.c:make_connection(248)
hometypist (192.168.0.1) couldn't find service home
[2002/10/03 11:58:57, 0] smbd/service.c:make_connection(248)
hometypist (192.168.0.1) couldn't find service home
[2002/10/03 11:58:57, 0] smbd/service.c:make_connection(248)
hometypist (192.168.0.1) couldn't find service home
[2002/10/03 11:59:44, 0] smbd/service.c:make_connection(248)
hometypist (192.168.0.1) couldn't find service mandy
[2002/10/03 11:59:44, 0] smbd/service.c:make_connection(248)
hometypist (192.168.0.1) couldn't find service mandy
[2002/10/03 11:59:44, 0] smbd/service.c:make_connection(248)
hometypist (192.168.0.1) couldn't find service mandy
 
Hi,

Try this

Include/Update in /etc/smb.conf the line

logon path=



*****
After restart the samba daemon

This issue is valid only windows 2000. In win XP I m not look erros and this not necessary.


****

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top