WilhelmStein
(usa CentOS)
Enviado em 25/05/2011 - 13:42h
[root@servidor ~]# ls -la /home/samba/profiles/
total 48
drwxr-xr-x 12 root root 4096 Mai 23 16:59 .
drwxr-xr-x 4 root root 4096 Mai 21 09:13 ..
drwxr-xr-x 17 adriana funcionarios 4096 Mai 24 18:31 adriana
drwxr-xr-x 17 akcenia funcionarios 4096 Mai 25 12:11 akcenia
drwxr-xr-x 18 claudia funcionarios 4096 Mai 25 13:23 claudia
drwxr-xr-x 17 claudilene funcionarios 4096 Mai 25 09:44 claudilene
drwxr-xr-x 17 fabiano funcionarios 4096 Mai 24 18:02 fabiano
drwxr-xr-x 22 jose funcionarios 4096 Mai 25 11:28 jose
drwxr-xr-x 17 marcia funcionarios 4096 Mai 25 13:22 marcia
drwxr-xr-x 17 mayana funcionarios 4096 Mai 25 11:29 mayana
drwxr-xr-x 18 raul funcionarios 4096 Mai 24 18:59 raul
drwxr-xr-x 16 saulo funcionarios 4096 Mai 25 12:55 saulo
[global]
workgroup = SERCONTI
server string = Samba %v
netbios name = arquivos
guest account = nobody
invalid users = root
encrypt passwords = true
smb passwd file = /etc/samba/smbpasswd
admin users = guilherme
preserve case = yes
short preserve case = yes
case sensitive = no
time server = yes
; interfaces = lo eth0 192.168.50.2/24 192.168.13.2/24
; hosts allow = 127. 192.168.12. 192.168.13.
# logs split per machine
log file = /var/log/samba/%m.log
# max 50KB per log file, then rotate
max log size = 50
security = user
passdb backend = tdbsam
; security = domain
passdb backend = tdbsam
; realm = MY_REALM
; password server = <NT-Server-Name>
security = user
passdb backend = tdbsam
domain master = yes
domain logons = yes
# the login script name depends on the machine name
; logon script = %m.bat
# the login script name depends on the unix user used
logon home = %L%U.profiles
logon path = \\%L\profiles\%U
# disables profiles support by specifing an empty path
; logon path =
; add user script = /usr/sbin/useradd "%u" -n -g users
; add group script = /usr/sbin/groupadd "%g"
; add machine script = /usr/sbin/useradd -n -c "Workstation (%u)" -M -d /nohome -s /bin/false "%u"
; delete user script = /usr/sbin/userdel "%u"
; delete user from group script = /usr/sbin/userdel "%u" "%g"
; delete group script = /usr/sbin/groupdel "%g"
local master = yes
os level = 32
preferred master = yes
; wins support = yes
; wins server = w.x.y.z
; wins proxy = yes
; dns proxy = yes
load printers = yes
cups options = raw
; printcap name = /etc/printcap
#obtain list of printers automatically on SystemV
; printcap name = lpstat
printing = cups
; map archive = no
; map hidden = no
; map read only = no
; map system = no
; store dos attributes = yes
[homes]
comment = Arquivos
browseable = no
writable = yes
valid users = %S
invalid users = @administradores
; read list = @funcionarios
; valid users = MYDOMAIN\%S
[printers]
comment = Impressoras de Rede
path = /var/spool/samba
browseable = no
writable = yes
public = yes
printable = yes
force create mode = 0700
[netlogon]
comment = Network Logon Service
path = /home/samba/netlogon
guest ok = yes
writable = no
share modes = no
browseable = no
[profiles]
path = /home/samba/profiles
browseable = no
guest ok = yes
writable = yes
create mask = 0600
directory mask = 0700
[publico]
comment = Pasta Publica
path = /publica
public = yes
guest ok = yes
writable = yes
printable = no
create mask = 0777
directory mask = 0777
[Compartilhamento]
comment = Documentos Compartilhados
path = /compartilhamento
writable = no
create mask = 0770
directory mask = 0770
write list = nascimento, @funcionarios, @asscunha
valid users = nascimento, @funcionarios, @asscunha
Aì...agora a situação se normalizou, mas de vez enquando alguem reclama que algo não foi salvo.