[Précédent (date)] [Suivant (date)] [Précédent (sujet)] [Suivant (sujet)] [Index par date] [Index par sujet]
Re: Réseau maison
- To:
- Subject: Re: Réseau maison
- From: Stephane Gagne <>
- Date: Tue, 18 May 1999 12:05:41 -0400
-
In-reply-to: <[email protected]>
Du cote du client windows 95 :
1) Tu dois avoir acces au reseau avec le service TCP/IP.
2) Tu dois definir un nom d'utilisateur, puis un mot de passe.
En entrant dans Windows, tu entre un nom, puis un mot de passe.
Du cote de ton serveur Linux
1) Tu dois installer SAMBA sur le serveur, c'est le service smb.
2) Vas dans linuxconf.
section -- linux account
user account
add user
nom : Le meme que tu as donne au client windows 95
password : le meme que tu as donne au client windows 95
3) Tu dois configurer le fichier /etc/smb.conf pour avoir, au minimum, ce qui suit :
ps: les lignes precedees de # et ; sont des commentaires.
[global]
# workgroup = NT-Domain-Name or Workgroup-Name
workgroup = LeNomDeTonDomaine
volume = serveurInternet (pas vraiment important)
# server string is the equivalent of the NT Description field
server string = Samba Server (pas vraiment important)
# les adresses ip des machines ayant acces au serveur.
# tu dois donner une adresse ip a ton client windows 95
#(Demarrer - parametres - Panneau de configuration - reseau)
hosts allow = 192.168.0. 127.
# if you want to automatically load your printer list rather
# than setting them up individually then you'll need this
printcap name = /etc/printcap
con load printers = yes
# It should not be necessary to spell out the print system type unless
# yours is non-standard. Currently supported print systems include:
# bsd, sysv, plp, lprng, aix, hpux, qnx
; printing = bsd
# Uncomment this if you want a guest account, you must add this to /etc/passwd
# otherwise the user "nobody" is used
; guest account = pcguest
# this tells Samba to use a separate log file for each machine
# that connects
log file = /var/log/samba/log.%m
# Put a capping on the size of the log files (in Kb).
max log size = 50
# Security mode. Most people will want user level security. See
# security_level.txt for details.
security = user
; name resolve order = wins lmhosts bcast
# DNS Proxy - tells Samba whether or not to try to resolve NetBIOS names
# via DNS nslookups. The built-in default for versions 1.9.17 is yes,
# this has been changed in version 1.9.18 to no.
dns proxy = no
comment = Serveur Internet Linux
encrypt passwords = no
password level = 0
preferred master = no
os level = 0
null passwords = no
dead time = 0
debug level = 0
domain master = no
#============================ Share Definitions ==============================
# repertoires accessibles de ton client
[homes]
comment = Home Directories
browseable = no
writable = yes
[public]
comment = repertoire publique
path = /le chemin d'acces de ton repertoire publique
guest ok = yes
writable = yes
# Un-comment the following and create the netlogon directory for Domain Logons
; [netlogon]
; comment = Network Logon Service
; path = /home/netlogon
; guest ok = yes
; writable = no
; share modes = no
# Un-comment the following to provide a specific roving profile share
# the default is to use the user's home directory
;[Profiles]
; path = /home/profiles
; browseable = no
; guest ok = yes
# NOTE: If you have a BSD-style print system there is no need to
# specifically define each individual printer
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
# Set public = yes to allow user 'guest account' to print
guest ok = no
writable = no
printable = yes