[Samba] serverbased profiles doesnt load at winxp login

Christian Athlete at gmx.de
Fri Nov 23 14:34:43 GMT 2007


 

hi, ive installed samba 3 on a debian 4, the samba server should act like a
pdc. 

 

at the moment it work that user can login on my clients (all windows xp pro
sp2), the homedrive is mapped corretly, the only thing that doesn't work, is
that the serverbased profile is saved automatically on the server, so that
the user can downlad the profile at login.

 

here is my smb.conf:

[global] 

         workgroup = lecture 

         server string = %h server 

         netbios name = samba_pdc 

         interfaces = 127.0.0.1, 192.168.10.0/24 

         hosts allow = 127.0.0.1, 192.168.10.0/24 

         hosts deny = all 

         map to guest = Bad User 

         passwd program = /usr/bin/passwd %u 

         passwd chat = *password* %n\n *password* %n\n *changed* 

         passwd chat debug = yes 

#        username map = /etc/samba/smbusers 

         unix password sync = yes 

         log level = 2 

         passdb backend = smbpasswd 

         encrypt passwords = yes 

         log file = /var/log.%m 

 

#Samba als PDC 

 

         domain logons = yes 

         preferred master = Yes 

         domain master = Yes 

         os level = 65 

#        netbios name = samba_pdc 

         logon path = \\%L\home\samba\profiles\%U

         logon drive = Z: 

         logon script = logon.bat 

         wins support = yes 

         name resolve order = wins lmhosts host bcast 

         admin users = root 

         security = user 

#        guest ok = no 

         encrypt passwords = yes 

         null passwords = no 

 

[homes] 

         comment = Home Directories 

         valid users = %S 

         read only = no 

         inherit acls = yes 

         browseable = no 

 

[profiles] 

         comment = Network Profiles Service 

         path = /home/samba/profiles

         read only = no 

         create mask = 0600 

         directory mask = 0700 

         store dos attributes = yes 

         browsable = no 

         guest ok = no 

         printable = no 

#        hide files = /desktop.ini/outlook*.Ink/*Briefcase*/ 

 

 

[public] 

         comment = Public 

         path = /home/samba/public 

         browseable = yes 

         create mask = 0777 

         directory mask = 0777 

         guest ok = yes 

         writeable = yes 

         share modes = yes 

 

[netlogon] 

         comment = Network Logon Service 

         path = /home/samba/netlogon 

         writeable = no 

         browseable = no    

 

i created the directories of the profiles manually, and give the rights 0777
(for testing). i assigned the profiles to their owners.

 

here is the log (with an error!):

 

[2007/11/13 15:52:15, 2] lib/access.c:check_access(323) 

  Allowed connection from  (192.168.10.2) 

[2007/11/13 15:52:15, 2] smbd/reply.c:reply_tcon_and_X(711) 

  Serving IPC$ as a Dfs root 

[2007/11/13 15:52:15, 2] rpc_server/srv_samr_nt.c:_samr_lookup_domain(2797) 

  Returning domain sid for domain LECTURE ->
S-1-5-21-1599594011-1679142555-2671711842 

[2007/11/13 15:52:18, 2] lib/access.c:check_access(323) 

  Allowed connection from  (192.168.10.2) 

[2007/11/13 15:52:18, 2] smbd/reply.c:reply_tcon_and_X(711) 

  Serving IPC$ as a Dfs root 

[2007/11/13 15:52:18, 2] lib/access.c:check_access(323) 

  Allowed connection from  (192.168.10.2) 

[2007/11/13 15:52:18, 2] smbd/reply.c:reply_tcon_and_X(711) 

  Serving IPC$ as a Dfs root 

[2007/11/13 15:52:18, 0] smbd/service.c:make_connection(1111) 

  x20 (192.168.10.2) couldn't find service home 

[2007/11/13 15:52:18, 2] lib/access.c:check_access(323) 

  Allowed connection from  (192.168.10.2) 

[2007/11/13 15:52:18, 2] smbd/reply.c:reply_tcon_and_X(711) 

  Serving IPC$ as a Dfs root

 

(x20 is the netbios name of a client)

 

The Server is pingable from the clients with ip and the netbios name! for
tests i also set the smb-server as wins and dns on the clients - with the
same error on login. 

 

when a user logs in onto a client the user profile doesnt load, and a error
message pop up, for about 30 seconds, with the circa message: "the
networkname cant be found".

 

the profiles are set to serverbased on the clients (its the standard).

 

i dont know if its important, but: the clients login through vpn (the vpn
server is the same machine as the samba server), vpn seems to work
correctly.

sorry for my bad english. hope someone can help.

chris



More information about the samba mailing list