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
inside.
Any hint? my smb.conf looks like:
[global]
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
[homes]
comment = Home Directories
browseable = no
read only = no
create mask = 0700
directory mask = 0700
valid users = %S
[netlogon]
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
[profiles]
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
[printers]
comment = All Printers
browseable = no
path = /var/spool/samba
printable = yes
guest ok = no
read only = yes
create mask = 0700
[print$]
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.