• [^] # Re: Bonjour

    Posté par . En réponse au message Serveur Samba. Évalué à 1.

    Voila ma configuration qui fonctionne sous mon rpi et se connecter depuis des amchines debian :

    root@raspberrypi:/etc# cat /etc/samba/smb.conf
    [global]
     workgroup = WORKGROUP
     server string = %h server
     netbios name = SERVEURUNIX2000
     wins support = yes
     dns proxy = no
     log file = /var/log/samba/log.%m
     max log size = 1000
     server role = standalone server
     syslog = 0
     panic action = /usr/share/samba/panic-action %d
     security = user
     encrypt passwords = yes 
     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
     map to guest = bad user
     usershare allow guests = yes
     ;lanman auth = yes
     ;client lanman auth = yes
     ;ntlm auth = yes
     ;client ntlmv2 auth = yes
     ;encrypt password = yes
    # ADDED FOR WINDOWS7 COMPAT.
    ;protocol = LANMAN2
    ;client lanman auth = yes
    ;client ntlmv2 auth = yes
    ;lanman auth = yes
    ;ntlm auth = yes
    ;winbind separator = /
    ;winbind cache time = 10
    ;winbind enum users = Yes
    ;winbind enum groups = Yes
    ;winbind use default domain = Yes
    ;interfaces = 10.0.0.0/8 eth0
    ;bind interfaces only = yes
    [Public]
     path =/mnt/my_data
     valid users = sharing
     read only = no
     locking = no
     ;guest ok = yes
     guest only = no
     writable = yes
     browsable = yes
     directory mask = 0770
     create mask = 0770
     share modes = yes