[bglug] share homes samba

Angelo Gelmi iwm@web3king.com
Ven 1 Lug 2005 13:25:58 CEST


Il giorno ven, 01/07/2005 alle 12.12 +0200, Diego Tironi ha scritto:
> Angelo Gelmi wrote:
> > Bisogna googleare...
> 
> Purtroppo non sono riuscito a seguire completamente il thread, comunque 
> in
> questi casi:
> http://www.faqs.org/docs/samba/toc.html

Esatto, grazie a Diego penso di avere trovato: 

The [ homes] Section
If a client attempts to connect to a share that doesn't appear in the
smb.conf file, Samba will search for a [homes] share in the
configuration file. If a [homes] share exists, the unresolved share name
is assumed to be a Unix username. If that username appears in the
password database on the Samba server, Samba assumes the client is a
Unix user trying to connect to her home directory on the server.

For example, assume a client system is connecting to the Samba server
toltec for the first time and tries to connect to a share named [alice].
There is no [alice] share defined in the smb.conf file, but there is a
[homes], so Samba searches the password database file and finds an alice
user account is present on the system. Samba then checks the password
provided by the client against user alice's Unix password—either with
the password database file if it's using nonencrypted passwords or with
Samba's smbpasswd file if encrypted passwords are in use. If the
passwords match, Samba knows it has guessed right: the user alice is
trying to connect to her home directory. Samba will then create a share
called [alice] for her, with the share's path set to alice's home
directory.

Ciao,
Angelo



Maggiori informazioni sulla lista bglug