Non, le fichier est toujours là.
[quote]# # smbclient -L 172.16.10.1
WARNING: The “syslog” option is deprecated
Enter root’s password:
Connection to 172.16.10.1 failed (Error NT_STATUS_CONNECTION_REFUSED)[/quote]
J’ai déjà vu cette ligne là …
[quote]####### Authentication #######
“security = user” is always a good idea. This will require a Unix account
in this server for every user accessing the server. See
/usr/share/doc/samba-doc/htmldocs/Samba3-HOWTO/ServerType.html
in the samba-doc package for details.
security = user
You may wish to use password encryption. See the section on
‘encrypt passwords’ in the smb.conf(5) manpage before enabling.
encrypt passwords = true
If you are using encrypted passwords, Samba will need to know what
password database type you are using.
passdb backend = tdbsam
obey pam restrictions = yes
This boolean parameter controls whether Samba attempts to sync the Unix
password with the SMB password when the encrypted SMB password in the
passdb is changed.
unix password sync = yes
For Unix password sync to work on a Debian GNU/Linux system, the following
sending the correct chat script for the passwd program in Debian Sarge).
passwd program = /usr/bin/passwd %u
passwd chat = Enter\snew\s\spassword:* %n\n Retype\snew\s\spassword:* %n\n password\supdated\ssuccessfully .
This boolean controls whether PAM will be used for password changes
when requested by an SMB client instead of the program listed in
‘passwd program’. The default is ‘no’.
pam password change = yes
This option controls how unsuccessful authentication attempts are mapped
to anonymous connections
map to guest = bad user[quote]
[quote]#======================= Share Definitions =======================
[homes]
comment = Home Directories
browseable = no
By default, the home directories are exported read-only. Change the
next parameter to ‘no’ if you want to be able to write to them.
read only = no
File creation mask is set to 0700 for security reasons. If you want to
create files with group=rw permissions, set next parameter to 0775.
create mask = 0770
Directory creation mask is set to 0700 for security reasons. If you want to
create dirs. with group=rw permissions, set next parameter to 0775.
directory mask = 0770
By default, \server\username shares can be connected to by anyone
with access to the samba server.
The following parameter makes sure that only “username” can connect
to \server\username
This might need tweaking when using external authentication schemes
valid users = %S
Un-comment the following and create the netlogon directory for Domain Logons
(you need to configure Samba to act as a domain controller too.)
;[netlogon]
; comment = Network Logon Service
; path = /home/samba/netlogon
; guest ok = yes
; read only = yes
Un-comment the following and create the profiles directory to store
users profiles (see the “logon path” option above)
(you need to configure Samba to act as a domain controller too.)
The path below should be writable by all users so that their
profile directory may be created the first time they log on
;[profiles]
; comment = Users profiles
; path = /home/samba/profiles
; guest ok = no
; browseable = no
; create mask = 0600
; directory mask = 0700
;[printers]
; comment = Imprimantes
; browseable = yes
; path = /var/spool/samba
; printable = yes
; guest ok = yes
; writable = no
; public = yes
Windows clients look for this share name as a source of downloadable
printer drivers
[print$]
; comment = Drivers pour imprimantes
; path = /var/lib/samba/printers
; browseable = yes
; read only = yes
; guest ok = yes
; writable = no
; write list = root
Uncomment to allow remote administration of Windows print drivers.
You may need to replace ‘lpadmin’ with the name of the group your
admin users are members of.
Please note that you also need to set appropriate Unix permissions
to the drivers directory for these users to have write rights in it
write list = root, @lpadmin
A sample share for sharing your CD-ROM with others.
;[cdrom]
; comment = Samba server’s CD-ROM
; read only = yes
; locking = no
; path = /cdrom
; guest ok = yes
;[Packard_Bell]
; path = /media/diskexterne
; read only = no
; browseable = yes
; guest ok = no
; public = yes
; valid user = @xbox
[Donnees]
path = /media/Donnees_famille
read only = yes
write list = ordimac, liliminu, tristan, adminubuntu, matetefoot, adulte, xbox
browseable = yes
valid users = @donnees
create mask = 0770
directory mask = 0770
[Sauvegardes]
path = /media/Sauvegardes
read only = yes
write list = toto69
browseable = yes
valid users = @sauvegarde
create mask = 0770
directory mask = 0770
The next two parameters show how to auto-mount a CD-ROM when the
cdrom share is accesed. For this to work /etc/fstab must contain
an entry like this:
/dev/scd0 /cdrom iso9660 defaults,noauto,ro,user 0 0
The CD-ROM gets unmounted automatically after the connection to the
If you don’t want to use auto-mounting/unmounting make sure the CD
is mounted on /cdrom
; preexec = /bin/mount /cdrom
; postexec = /bin/umount /cdrom[/quote]