Página 1 de 2 12 ÚltimoÚltimo
+ Responder ao Tópico



  1. #1
    n4ld4o
    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!!!

    como faço pra corrigir isso ?

  2. joga o smb.conf ai.



  3. #3
    n4ld4o
    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

  4. tira os coments e posta o samba inteiro.
    Outra coisa seu samba eh pdc ou so compartilha os arquivos?



  5. #5
    n4ld4o
    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






Tópicos Similares

  1. Métodos de autenticação Debian GNU/Linux
    Por wpereiratecno no fórum Sistemas Operacionais
    Respostas: 0
    Último Post: 10-11-2009, 16:52
  2. Script PHP para autenticação de usuários Linux
    Por deisefontoura no fórum Linguagens de Programação
    Respostas: 1
    Último Post: 09-02-2009, 17:11
  3. Duvida sobre autenticaçao de maquinas Linux no OpenLDAP
    Por danielmuskitim no fórum Servidores de Rede
    Respostas: 2
    Último Post: 18-03-2008, 13:15
  4. Autenticação Apache no linux
    Por thiagoacsp no fórum Servidores de Rede
    Respostas: 11
    Último Post: 16-11-2005, 09:04
  5. Autenticação no Linux
    Por mcsbws no fórum Servidores de Rede
    Respostas: 1
    Último Post: 26-06-2002, 20:28

Visite: BR-Linux ·  VivaOLinux ·  Dicas-L