[Samba] help Samba 2.2.3a and win2k sp2 roaming profiles

chris-samba at samba.org chris-samba at samba.org
Wed Apr 10 16:39:02 GMT 2002


Hi Philip,

I've got roaming profiles working very nicely using 2.2.3a and win2k - the
setup I have has worked for NT4 samba 2.0 through various versions of samba
and win2k. It also works for win98.

The first settings that you need to setup are:


logon path = \\myserver\profiles\%u
logon drive = z:
logon home = \\myserver\%u
logon script = login.cmd

-----------------------
Which means that you need a share "profiles" as well as "netlogon".

the profiles share should be writable by the group, otherwise it won't work
(e.g. public group)

The netlogon share should contain a login.cmd file that maps drives. Note
that with win2k you don't need to map a home drive - the above will do it
for you.

-----------------------
[netlogon]
   comment = Network Logon Service
   path = /home/netlogon
   write list = @domainadmin
   share modes = no

[Profiles]
    path = /home/profiles
    browseable = no
    write list = @public
    force group = public

-----------------------

example login.cmd file:

----------------------

@echo off
echo ************************************************
echo Welcome to Far Edge Technology
echo
echo Unauthorised access is prohibited by law, and
echo will be prosecuted
echo
echo Mapping network resources:
echo
net use p: \\myserver\public
net use s: \\myserver\downloads
echo
echo Mapping drives complete
echo Applying virus patches
p:\Virusupdate\Setup.exe
echo And have a nice day
echo ************************************************

--------------------------

Obviously your own setup will vary depending up what you want mapped, and
whether you want to synchronise time upon login etc.

Cheers,

Chris





More information about the samba mailing list