heeelp... autenticação win98se x linux
o problema é o seguinte:
eu crio o usuario dentro do samba, com senha
daí, eu vou no meu terminal win98se, faço logon com essa mesma senha
quando faço o log-off, e em seguida tento logar com a senha em branco, ele entra!!! autenticando no samba e tudo mais!!! :o
como faço pra corrigir isso ?
heeelp... autenticação win98se x linux
heeelp... autenticação win98se x linux
cortei algumas partes pra n ficar muito carregado:
# Security mode. Most people will want user level security. See
# security_level.txt for details.
security = user
# Use password server option only with security = server
# The argument list may include:
# password server = My_PDC_Name [My_BDC_Name] [My_Next_BDC_Name]
# or to auto-locate the domain controller/s
# password server = *
; password server = <NT-Server-Name>
# Password Level allows matching of _n_ characters of the password for
# all combinations of upper and lower case.
; password level = 8
; username level = 8
# You may wish to use password encryption. Please read
# ENCRYPTION.txt, Win95.txt and WinNT.txt in the Samba documentation.
# Do not enable this option unless you have read those documents
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
# The following is needed to keep smbclient from spouting spurious errors
# when Samba is built with support for SSL.
; ssl CA certFile = /usr/share/ssl/certs/ca-bundle.crt
# The following are needed to allow password changing from Windows to
# update the Linux system password also.
# NOTE: Use these with 'encrypt passwords' and 'smb passwd file' above.
# NOTE2: You do NOT need these to allow workstations to change only
# the encrypted SMB passwords. They allow the Unix password
# to be kept in sync with the SMB password.
unix password sync = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
# You can use PAM's password change control flag for Samba. If
# enabled, then PAM will be used for password changes when requested
# by an SMB client instead of the program listed in passwd program.
# It should be possible to enable this without changing your passwd
# chat parameter for most setups.
pam password change = yes
espero q ajude!! abraço
heeelp... autenticação win98se x linux
tira os coments e posta o samba inteiro.
Outra coisa seu samba eh pdc ou so compartilha os arquivos?
heeelp... autenticação win98se x linux
tá na mão !!!
[global]
workgroup = jrc
server string = Samba Server
hosts allow = 192.168.0. 127.
printcap name = /etc/printcap
load printers = yes
printing = cups
log file = /var/log/samba/%m.log
max log size = 0
security = user
documents
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
unix password sync = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
pam password change = yes
obey pam restrictions = yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
anged in version 1.9.18 to no.
dns proxy = no
[homes]
comment = Home Directories
browseable = yes
writable = yes
valid users = %S
create mode = 0777
directory mode = 0777
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
guest ok = no
writable = no
printable = yes
[UsuariosHomes]
comment = pasta de usuarios
path = /home
public = yes
writable = yes
printable = no
browseable= yes
create mask = 0777
valid users = junior
create mode = 0777
directory mode = 0777
[servidor]
comment = jrc server
path = /system
public = yes
writable = yes
printable = no
browseable= yes
create mask = 0777
write list = @jrc
create mode = 0777
directory mode = 0777
heeelp... autenticação win98se x linux
Citação:
[global]
workgroup = jrc
server string = Samba Server
hosts allow = 192.168.0. 127.
printcap name = /etc/printcap
load printers = yes
printing = cups
log file = /var/log/samba/%m.log
max log size = 0
security = user
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
unix password sync = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd *all*authentication*tokens*updated*successfully*
pam password change = yes
obey pam restrictions = yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = no
[homes]
comment = Home Directories
browseable = yes
writable = yes
valid users = %S
create mode = 0777
directory mode = 0777
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
guest ok = no
writable = no
printable = yes
[UsuariosHomes]
comment = pasta de usuarios
path = /home
public = yes
writable = yes
printable = no
browseable= yes
create mask = 0777
valid users = junior
create mode = 0777
directory mode = 0777
[servidor]
comment = jrc server
path = /system
public = yes
writable = yes
printable = no
browseable= yes
create mask = 0777
write list = @jrc
create mode = 0777
directory mode = 0777
Kra copia esse samba e cola no lugar do seu so fiz umas mudanças no que vc postou.