mcabral
(usa Debian)
Enviado em 30/04/2009 - 11:45h
Prezados comunitários ...saudações
Tenho o SUSE ES 10 instalado...
no smb.conf alterei para => unix password sync = no
Ao realizar esta alteração, na prática como devo proceder para alterar a senha na estação windows do usuario ?
Com essa alteração também consigo alterar a senha pelo swat logando como usuario ?
Com relação a pergunta acima ... so consigo alterar a senha do usuario logando no SWAT como root e
chamando o usuario para alterar na hora, pretendo colocar o usuario para alterar quando quiser via SWAT, existe alguma maneira prática para se conseguir esta facilidade ?
Desde já muito agradeço
Marcelo Cabral
Coloquei meu smb.conf para visualização:
# Samba config file created using SWAT
# from 10.5.64.177 (10.5.64.177)
# Date: 2009/04/30 11:37:51
[global]
unix charset = iso8859-1
display charset = cp850
workgroup = CPO
netbios name = CPO-001
netbios aliases = openSUSE
server string = Servidor Externo Linux
interfaces = eth0, lo
bind interfaces only = Yes
map to guest = Bad User
passdb backend = tdbsam
enable privileges = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n *Retype*new*password* %n *passwd:*all*authentication*tokens*updated*successfully*
unix password sync = No
restrict anonymous = 0
log level = 3
log file = /var/log/samba/log.%U
max xmit = 65536
time server = Yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
printcap name = cups
add user script = /usr/sbin/useradd -m "%u"
rename user script = /usr/sbin/usermod -l "%unew" "%uold"
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/bin/gpasswd -a "%u" "%g"
delete user from group script = /usr/bin/gpasswd -d "%u" "%g"
set primary group script = /usr/sbin/usermod -g "%g" "%u"
add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$
logon script = %U.bat
logon path = \\%L\profiles\%U
logon drive = U:
logon home = \\%L\%U\.profiles
domain logons = Yes
os level = 100
preferred master = Yes
domain master = Yes
dns proxy = No
wins server = 10.5.64.150
ldap ssl = no
passdb expand explicit = No
idmap uid = 10000-20000
idmap gid = 10000-20000
admin users = root
hosts allow = 10.5.64., 10.5.65., 10.5.66.0
cups options = raw
case sensitive = No
[homes]
comment = Diretorio Pessoal dos Usuarios
path = /home/usuarios/%g/%u
valid users = %S, %D%w%S
read only = No
inherit acls = Yes
browseable = No
[profiles]
comment = Network Profiles Service
path = /var/profiles
valid users = @om
force group = @om
read only = No
create mask = 0600
directory mask = 0700
browseable = No
[users]
comment = All users
path = /home/usuarios/%u
read only = No
inherit acls = Yes
veto files = /aquota.user/groups/shares/
browseable = No
[groups]
comment = All groups
path = /home/groups
read only = No
inherit acls = Yes
browseable = No
[printers]
comment = All Printers
path = /var/tmp
create mask = 0600
printable = Yes
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @ntadmin, root
force group = ntadmin
create mask = 0664
directory mask = 0775
[netlogon]
comment = Network Logon Service
path = /home/netlogon
valid users = @om
read list = @om
write list = @om
browseable = No
share modes = No
[publico]
comment = Acesso Publico Rede
path = /home/extcpo/sistemas
valid users = @om, @adm, @sec, @cpd
read list = @om, @adm, @sec, @cpd
write list = @om, @cpd
read only = No
[secretaria]
comment = Secretaria
path = /home/extcpo/sec
valid users = @sec, @om
read list = @sec
write list = @sec, @cpd
force group = sec
read only = No
force create mode = 0771
force directory mode = 0771
browseable = No
vfs objects = recycle
recycle:repository = .recycle
[geral]
comment = Administrador Linux
path = /home
valid users = @cpd
admin users = root, marcelo
read list = @cpd
write list = marcelo
read only = No
browseable = No
vfs objects = recycle
recycle:repository = .recycle