• [^] # Re: pourquoi faire compliquer ?

    Posté par . En réponse au message Utilisateurs samba et AD !. Évalué à 3.

    man smb.conf

    par exemple avec google, me donne
    http://us1.samba.org/samba/docs/man/manpages-3/smb.conf.5.ht(...)

    pour tes dossiers utilisateurs

    The [homes] section
    ...
    Some modifications are then made to the newly created share:

    * The share name is changed from homes to the located username.
    * If no path was given, the path is set to the user's home directory.

    If you decide to use a path = line in your [homes] section, it may be useful to use the %S macro. For example:

    path = /data/pchome/%S

    is useful if you have different home directories for your PCs than for UNIX access.

    This is a fast and simple way to give a large number of clients access to their home directories with a minimum of fuss.
    [...]


    pour chercher les utilisateurs sur un autre serveur

    password server (G)

    By specifying the name of another SMB server or Active Directory domain controller with this option, and using security = [ads|domain|server] it is possible to get Samba to do all its username/password validation using a specific remote server.

    This option sets the name or IP address of the password server to use.
    [...]