URL: https://linuxfr.org/forums/linux-debutant/posts/exemples-et-cours-serveur-samba Title: Exemples et cours serveur samba Authors: electro575 Date: 2017年11月13日T16:53:52+01:00 License: CC By-SA Tags: Score: 0 Bonsoir à tous, J'ai cherché quelques exemples de cours pour samba et voila les liens que j'ai trouvé : [Linux France](https://web.archive.org/web/20200728122646/http://www.linux-france.org/article/serveur/samba-mhp/smb-conf.htm) (NdM: remplacé par un lien vers archive.org) [Debian Handcook](https://debian-handbook.info/browse/fr-FR/stable/sect.windows-file-server-with-samba.html) [Samba redhat 4](http://web.mit.edu/rhel-doc/4/RH-DOCS/rhel-rg-fr-4/s1-samba-security-modes.html) [Using samba](https://www.samba.org/samba/docs/using_samba/ch08.html) [oreilly samba](http://www.oreilly.com/openbook/samba/book/ch07_03.html) [Doc Ubuntu](https://doc.ubuntu-fr.org/samba_smb.conf) [Page Free](http://stephane.boireau.free.fr/informatique/samba/samba/samba_exemple1_mode_share.htm) ... Il y a bien les exemples de lorsqu'on installe le serveur mais bon, il y a t-il des articles plus clair ? Même si ma config fonctionne je pense que quelques points sont à éclaircir. Notamment : ```sh ####CONF SAMBA#### #======================= Global Settings ======================= ####### Authentication ####### obey pam restrictions = yes # OK : session management directives pam password change = yes # OK : appliquer les changements de mot de passe du système de management user samba map to guest = bad user # ??? it's with security = user ############################## ##add here with default conf## security = user # domain, server, share, or user encrypt passwords = yes # crypter le mot de passe mais encore ? passdb backend = tdbsam # ??? remplace le backend smbpasswd et joue avec PDC Primary Domain Controller name resolve order = bcast host imhosts wins # ??? ceci semble lié au Primary Domain Controller ??? # https://www.samba.org/samba/docs/using_samba/ch07.html # lmhosts : Uses the Samba server's local lmhosts file # hosts : Uses the standard Unix name-resolution methods, which can be /etc/hosts, DNS, NIS, or a combination, depending on how the local system is configured # wins : Uses the WINS server # bcast : Uses the broadcast method #======================= Share Definitions ======================= [Public] directory mask = 0770 # ??? create mask = 0770 # ??? share modes = yes # ??? locking = yes # strict lock au lieu de locking ? bloquer un fichier déjà ouvert ``` Si vous avez des idées ou des améliorations à me proposer sur des arguments qui ne s'utilisent plus. Merci par avance.