Christian
2007-Nov-26  20:55 UTC
[Samba] [samba pdc] serverbased profiles doesnt load at winxp login
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
John Drescher
2007-Nov-26  21:05 UTC
[Samba] [samba pdc] serverbased profiles doesnt load at winxp login
> You did not mention what the exact problem is. My guess is you need > profile acls = yes in your profiles share. >Sorry that is at the end of your email. Possibly this is a nmbd problem. John
John Drescher
2007-Nov-26  21:18 UTC
[Samba] [samba pdc] serverbased profiles doesnt load at winxp login
> 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. > >You did not mention what the exact problem is. My guess is you need profile acls = yes in your profiles share. John
Christian
2007-Nov-28  19:54 UTC
AW: [Samba] [samba pdc] serverbased profiles doesnt load at winxp login
luckily I solved the problem! i configured the absolute path, here: logon path = \\%L\home\samba\profiles\%U but, thats of course wrong, wanted is the network permission, that is similar to the section in the smb.conf: logon path = \\%L\profiles\%U -----Urspr?ngliche Nachricht----- Von: John Drescher [mailto:drescherjm@gmail.com] Gesendet: Montag, 26. November 2007 22:05 An: Christian Cc: samba@lists.samba.org Betreff: Re: [Samba] [samba pdc] serverbased profiles doesnt load at winxp login> You did not mention what the exact problem is. My guess is you need > profile acls = yes in your profiles share. >Sorry that is at the end of your email. Possibly this is a nmbd problem. John