richard barran a �crit :
Bonjour,

Je viens d'installer Samba sur un PC (LM9.1), j'essaie de cr�er un r�pertoire ouvert � tout le monde (pas de mots de passe).
J'utilise le wizard de Mandrake... zut, �a marche pas. Je copie un exemple sur un HOWTO du site de Samba (a l'addresse http://hr.uoregon.edu/davidrl/samba/samba-using.html), et depuis une autre machine j'arrive � lire dans le r�pertoire public mais pas � �crire... Re-zut!!!

QQun pourrait-il m'�clairer sur comment je fais?

Merci d'avance,

Richard

Voici mon fichier smb.conf (j'ai enlev� les commentaires):


#======================= Global Settings ===================================== [global]

   workgroup = CHAMLISGROUP
   server string = Samba Server %v
   printcap name = lpstat
   load printers = yes
   printing = cups
   log file = /var/log/samba/log.%m
   max log size = 50
   security = user

Essaie de modifier cette ligne par:

security = share

  encrypt passwords = yes
  smb passwd file = /etc/samba/smbpasswd
  unix password sync = Yes
  passwd program = /usr/bin/passwd %u
  passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n
*passwd:*all*authentication*tokens*updated*successfully*
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
   dns proxy = no

#============================ Share Definitions ==============================
 [homes]
 comment = Home Directories
 browseable = no
 writeable = yes

# This one is useful for people to share files
[public]
        comment = Public unprotected folder on Chamlis
        path = /data
        read only = no
        guest ok = yes

ajoute ici: guest only = yes writeable = yes


Puis red�mmare samba!


Tout sur SAMBA et en fran�ais SVP!!! http://samba.linuxbe.org/fr/

Et pour le probl�me qui te concerne ici:
http://samba.linuxbe.org/fr/samba/config/share-1.html

--
Jean
                                \\\!///
                                -(@ @)-
----------------------------oOO--(_)--OOo----------------------------
Jean Segers              Venez r�ver -----> http://www.Demoiselle.com
26, rue du Pin                                  http://www.Sadems.com
34190 Saint Bauzille de Putois               http://it.mondelinux.org
France                                          http://www.deveze.com
Gsm 06 86 12 49 15                         http://www.cyberboutic.com
Tel 04 67 73 38 30                          http://mdk.mondelinux.org
Fax 08 25 19 24 61



Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Répondre à