Voici un exemple de configuration de Samba, pour
- partager simplement son dossier /var/www/
- sans authentification et
- avec les droits d'écritures avec le user : www-data
Testé sous Debian 6.
Ficher /etc/samba/smb.conf
#======================= Global Settings ======================= [global] ## Browsing/Identification ### # Change this to the workgroup/NT-domain name your Samba server will part of workgroup = WORKGROUP # server string is the equivalent of the NT Description field server string = %h server # mapping guest to www-data account guest account = www-data # This will prevent nmbd to search for NetBIOS names through DNS. dns proxy = no #### Debugging/Accounting #### # This tells Samba to use a separate log file for each machine # that connects log file = /var/log/samba/log.%m # Cap the size of the individual log files (in KiB). max log size = 1000 # Do something sensible when Samba crashes: mail the admin a backtrace panic action = /usr/share/samba/panic-action %d ####### Authentication ####### # To not required a Unix User security = share #======================= Share Definitions ======================= [www] comment = wwwroot_folder path = /var/www/ browseable = yes read only = no guest ok = yes locking = yes public = yes only guest = yes writable = yes
Ne pas oublier de faire un /etc/init.d/samba restart pour que les changements soient pris en compte









L’EPITA, l’école d’ingénieurs en informatique, organise, le 22 janvier prochain à partir de 14h, une journée entièrement consacrée au « RIA, nouvel internet pour l’économie numérique ». Cette journée qui va regrouper les principaux acteurs du domaine, verra également la présentation d’applications inspirées des projets de fin d’études des étudiants de l’option MTI (Multimédia et Technologies de l’Information) de l’EPITA.
Derniers commentaires