samba-users May 2010 archive
Main Archive Page > Month Archives  > samba-users archives
samba-users: [Samba] Profiles of domain not working

[Samba] Profiles of domain not working

From: Dennis Neumeier <dennismail_at_nospam>
Date: Sun May 16 2010 - 09:55:20 GMT
To: samba@lists.samba.org

Hello,

i am trying to build up a samba server with serverbased profiles. The Samba
server is running on a Debian GNU/Linux 5.0, the version of samba is
2:3.4.7~dfsg-2

Now, I do not get any error when I log on my Windows 2000 SP4 (unfortunately,
I have no other Windows system right here at the moment). But somehow, the
content of the profile folder on Windows is not synchrnonized with the one on
the Linux PC.

Can somebody please help?

Here is my smb.conf:
[global]
   ## Server Identifikation - so meldet sich der Server im Netzwerk
   netbios name = MNPDC
   server string = MNPDC (%h)
   workgroup = MNGRP
   ## Welche Netzwerkkarte soll von Samba benutzt werden?
   interfaces = eth0
   ## Sicherheits- und Passwort-Einstellungen
   security = user
   encrypt passwords = true
   passdb backend = tdbsam
   obey pam restrictions = yes
   unix password sync = no
   passwd program = /usr/bin/passwd %u
   passwd chat = *Enter\snew\sUNIX\spassword:* %n\n
*Retype\snew\sUNIX\spassword:* %n\n .
   ## Domain-Einstellungen
   local master = yes
   preferred master = yes
   os level = 200
   domain master = yes
   domain logons = yes
   # Speichert das Windows-Profil im durch die Freigabe [profile] angegebenen
Verzeichnis:
   logon path = \\%L\profile\%U
   # Soll das Windows-Profil dagegen im User-Home abgelegt werden, kann man
"logon path" auf Standardeinstellung belassen:
   #logon path = \\%L\%U\profile
   # oder auch direkt im User-Home:
   #logon path = \\%L\%U
   logon drive = h:
   #Logon Script einkommentieren falls gewuenscht (muss im Netlogon-
Verzeichnis abgelegt sein -> /home/samba/netlogon/)
   #logon script = login.bat
   # DEM Addon 2007-02-20: Folgende Zeile ist wichtig für Servergespeichertes
Profil
   # um Probleme mit z.b. desktop.ini unter Windows zu beheben.
   profile acls = yes
   # DEM Addon 2007-02-20: Empfehlenswert für servergespeichertes Windows
Profil
   hide files = /desktop.ini/ntuser.ini/NTUSER.*/Thumbs.db/
   ## DNS-Einstellungen
   wins support = no
   # name resolve order = wins lmhosts host bcast
   ## Log-Einstellungen
   log file = /var/log/samba/log.%m
   max log size = 1000
   syslog = 0
   panic action = /usr/share/samba/panic-action %d
   ## Diverse Einstellungen
   ## DEM Addon 2007-02.20: Manchmal kann die Geschwindigkeit erhöht werden,
wenn statt der ersten Zeile die zweite Zeile verwendet wird:
   socket options = TCP_NODELAY
   #socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
#======================= Share Definitions =======================
[homes]
   comment = Home Directories
   browseable = yes
   valid users = %S
   writeable = yes
   create mode = 0600
   directory mode = 0700
[profile]
   comment = Profildateien
   path = /home/samba/profile
   guest ok = yes
   browseable = yes
   create mask = 0600
   directory mask = 0700
   writeable = yes
[netlogon]
   comment = Network Logon Service
   path = /home/samba/netlogon
   guest ok = yes
   writeable = no
   share modes = no

Greets,
Michael
-- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba