[Samba] specifying home directory for users.

Daniel Müller mueller at tropenklinik.de
Wed Apr 27 00:40:50 MDT 2011


Hmm!?...
Try like this:
[global]
    logon path = \\%L\%U\profile\%U <---this points to the users
home-directory and puts there the profiles
[homes]
Path=/data/samba/homes/%U

[profiles]
path = /data/samba/homes/%U/profile

[netlogon]<--- netlogon is a service for every user and points to a single
path
But in this path you can put a netlogon-script each for every user if you
want to
-----------------------------------------------
EDV Daniel Müller

Leitung EDV
Tropenklinik Paul-Lechler-Krankenhaus
Paul-Lechler-Str. 24
72076 Tübingen

Tel.: 07071/206-463, Fax: 07071/206-499
eMail: mueller at tropenklinik.de
Internet: www.tropenklinik.de
-----------------------------------------------
-----Ursprüngliche Nachricht-----
Von: samba-bounces at lists.samba.org [mailto:samba-bounces at lists.samba.org] Im
Auftrag von jcdole at free.fr
Gesendet: Dienstag, 26. April 2011 23:12
An: samba at lists.samba.org
Betreff: [Samba] specifying home directory for users.

I am setting up a SAMBA 3.5 PDC on an linux box.

I have linux and windows client ( seven and XP ).

On the linux box I want user home for user fred in  /data/samba/homes/fred
                         I want user profile stuff for user fred in
/data/samba/profiles/fred
                         I want user logon script for user fred in
/data/samba/netlogon/fred

What should I put in SMB.conf  [global]

What should I put in SMB.conf  [homes]

What should I put in SMB.conf  [profiles]


Despite reading the web, I have no success.

[global]
    logon path    = \\%L\profiles\%U
    logon home    = \\%L\homes\%U

[homes]
    comment            = Votre Repertoire : \\%N\Smb_home\%U
    path                  = /data/samba/homes
    browseable        = No
    read only           = No
[profiles]
    comment            = Profile itinerant \\%N\Smb_profile\%U
    path                  = /data/samba/profiles
    browseable        = no
    read only           = No

[netlogon]
    comment            = Network Logon Service (Netlogon)
\\%N\Smb_netlogon\%U
    path                  = /data/samba/netlogon
    browseable        = no
    read only           = yes

Thank you for your help.

JCD
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba



More information about the samba mailing list