• # substitution

    Posté par . En réponse au message Samba. Évalué à 0.

    Tu est bien certain de ton valid users = %S ?

    Tu as essayé %u ou %U

    Sinon Tu peux effectivement réaliser ce que tu demande avce le partage [homes]

    If a section called [homes] is included in the configuration file, services connecting clients to their home directories can be created on the fly by the server.

    When the connection request is made, the existing sections are scanned. If a match is found, it is used. If no match is found, the requested section name is treated as a username and looked up in the local password file. If the name exists and the correct password has been given, a share is created by cloning 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.