gorky
(usa Debian)
Enviado em 06/01/2010 - 11:59h
Oi pessoal. Tenho um PDC linux em um Débian Lenny 5.0, que montei com um amigo meu. Eu estou aprendendo linux, já consigo me virar em alguns problemas, mas agora não estou entendendo o que pode ser.
Simplesmente alguns usuário não conseguem logar no sistema. O PC aonde foi tentado o logon fica carregando o perfil eternamente.
Pensei que fosse exesso de arquivos no "profiles" do usuário, mas está quase vazio!
Alguns usuários recebem esta mensagem em alguns computadores: "Não foi possivel fazer logon no sistema. Verifique se o nome de usuário e o dominio estão corretos...", em outros, conseguem logar.
O que faço?
esse é o meu SMB.conf
[global]
## Browsing/Identification ###
workgroup = MICROLINS
server string = %h server
# wins support = no
; wins server = w.x.y.z
include = /etc/samba/dhcp.conf
dns proxy = no
name resolve order = lmhosts host wins bcast
#### Networking ####
; interfaces = 127.0.0.0/8 eth0
; bind interfaces only = yes
#### Debugging/Accounting ####
log file = /var/log/samba/log.%m
max log size = 1000
# syslog only = no
syslog = 0
panic action = /usr/share/samba/panic-action %d
####### Authentication #######
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
########## Domains ###########
domain logons = yes
logon path = \\%N\profiles\%U
# logon path = \\%N\%U\profile
logon drive = H:
logon home = \\%N\%U
logon script = %U.cmd
add user script = /usr/sbin/adduser --quiet --disabled-password --gecos "" %u
add machine script = /usr/sbin/adduser -n -r -g machines -c "Estaçaõ Samba" -d /dev/null -s /bin/false %u
add group script = /usr/sbin/addgroup --force-badname %g
########## Printing ##########
load printers = yes
; printing = bsd
; printcap name = /etc/printcap
printing = cups
printcap name = cups
############ Misc ############
; include = /home/samba/etc/smb.conf.%m
SO_RCVBUF=8192 SO_SNDBUF=8192
socket options = TCP_NODELAY
; message command = /bin/sh -c '/usr/bin/linpopup "%f" "%m" %s; rm %s' &
domain master = auto
idmap uid = 10000-20000
idmap gid = 10000-20000
; template shell = /bin/bash
winbind enum groups = yes
winbind enum users = yes
usershare max shares = 100
#======================= Share Definitions =======================
[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 = yes
share modes = no
browseable = no
[profiles]
comment = Users profiles
path = /home/samba/profiles
guest ok = no
read only = no
create mask = 0700
directory mask = 0700
browseable = no
[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
; write list = root, @lpadmin
;[cdrom]
; comment = Samba server's CD-ROM
; read only = yes
; locking = no
; path = /cdrom
; guest ok = yes
; preexec = /bin/mount /cdrom
; postexec = /bin/umount /cdrom
[administrativo]
comment = Pasta da administração
path = /home/samba/administrativo
valid users = @administrativo
read list = @administrativo
read only = no
guest ok = no
write list = @administrativo
browseable = no
create mask = 0770
directory mask = 0770
[financeiro1]
comment = Pasta do Caixa - manha
path = /home/samba/financeiro1
valid users = @financeiro1
read list = @financeiro1
read only = no
guest ok = no
write list = @financeiro1
browseable = no
create mask = 0770
directory mask = 0770
[financeiro2]
comment = Pasta do Caixa - tarde
path = /home/samba/financeiro2
valid users = @financeiro2
read list = @financeiro2
read only = no
guest ok =no
write list = @financeiro2
browseable = no
create mask = 0770
directory mask = 0770
[pedagogico]
comment = Pasta do setor pedagogico
path = /home/samba/pedagogico
valid users = @pedagogico
read list = @pedagogico
read only = no
guest ok = no
write list = @pedagogico
browseable = no
create mask = 0770
directory mask = 0770
[comercial]
comment = Pasta do setor comercial
path = /home/samba/comercial
valid users = @comercial
read list = @comercial
read only = no
guest ok = no
write list = @comercial
browseable = no
create mask = 0770
directory mask = 0770
[vendas]
comment = Pasta do setor de vendas
path = /home/samba/vendas
valid users = @vendas
read list = @vendas
read only = no
guest ok = no
write list = @vendas
browseable = no
create mask = 0770
directory mask = 0770
[programas]
comment = Pasta de programas
path = /home/samba/programas
valid users = @programas
read list = @programas
read only = no
guest ok = no
write list = @programas
create mask = 0750
directory mask = 0750
[publico]
comment = Pasta publica
path = /home/samba/publico
valid users = @publico
read list = @publico
read only = no
guest ok = no
write list = @publico
browseable = no
create mask = 0770
directory mask = 0770
[professores]
comment = Pasta comum dos professores e alunos
path = /home/samba/professores
valid users = @professores
read list = @professores
read only = no
guest ok = no
write list = @professores
create mask = 0770
directory mask = 077
[outlook]
comment = Pasta comum de arquivos de e-mail
path = /home/samba/outlook
valid users = @outlook
read list = @outlook
read only = no
guest ok = no
write list = @outlook
browseable = no
create mask = 0750
directory mask = 0750
[dweb]
comment = Pasta de Design e Web
path = /home/samba/dweb
valid users = @dweb
read list = @dweb
read only = no