[Samba] winXP not uploading profiles

Lluís enboig at gmail.com
Thu Feb 26 10:20:22 GMT 2009

I have installed Samba as PDC, copied "Default User" to samba (from
\Documents and Settings\Default User) and it works (I added some files
to the Desktop and they appear on new computers); but when logout,
just the profile folder of the user is created, no file is upload
Any hint? my smb.conf looks like:

   workgroup = MEGOSG
   log level = 3
   admin users = @admin
   host msdfs = no
   server string = %h server (Samba, Ubuntu)
   dns proxy = no
   name resolve order = lmhosts host wins bcast
   preferred master = yes
   log file = /var/log/samba/log.%m
   max log size = 1000
   syslog = 0
   panic action = /usr/share/samba/panic-action %d
   security = user
   encrypt passwords = true
   passdb backend = tdbsam
   obey pam restrictions = yes
   unix password sync = yes
   passwd program = /usr/bin/passwd %u
   passwd chat = *Enter\snew\s*\spassword:* %n\n
*Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
   pam password change = yes
   map to guest = bad user

   domain logons = yes
   logon path = \\%L\profiles\%U
   logon drive = Z:
   logon script = %U.bat
   add user script = /usr/sbin/useradd -m '%u' -g usres -G users
   delete user script = /usr/sbin/userdel -r %u
   add group script = /usr/sbin/groupadd %g
   delete group script = /usr/sbin/groupdel %g
   add user to group script = /usr/sbin/usermod -G %g %u
   add machine script = /usr/sbin/useradd -s /bin/false/ -d /var/lib/nobody %u

   load printers = yes
   printing = cups
   printcap name = cups
   socket options = TCP_NODELAY
   idmap uid = 10000-20000
   idmap gid = 10000-20000
   template shell = /bin/bash
   usershare allow guests = yes

   comment = Home Directories
   browseable = no

   read only = no
   create mask = 0700
   directory mask = 0700
   valid users = %S

   comment = Network Logon Service
   path = /home/samba/netlogon
   guest ok = yes
   read only = no
   share modes = no
   writeable = no
   admin users = root
   valid users = %U

   comment = Users profiles
   path = /home/samba/profiles
   guest ok = no
   read only = no
   printable = no
   store dos attributes = yes
   create mask = 0600
   directory mask = 0700
   writeable = yes
   browseable = no
   create mode = 0600
   directory mode = 0700
   valid users = %U

   comment = All Printers
   browseable = no
   path = /var/spool/samba
   printable = yes
   guest ok = no
   read only = yes
   create mask = 0700

   comment = Printer Drivers
   path = /var/lib/samba/printers
   browseable = yes
   read only = yes
   guest ok = no

*Si creus que l'educació és cara, prova la ignorància.
*La vida és com una moneda, la pots gastar en el que vulguis però
només una vegada.
*La felicitat ha de ser compatible, compartible i cooperativa.
*Envellim quan els records superen les il·lusions.
*Abans d'imprimir aquest missatge, pensa en el medi ambient.

More information about the samba mailing list