Mapping users folder on Win98

Michal Jezierski heja at xox.pl
Thu Jan 20 02:28:53 GMT 2000


P&K Computer Consultants Ltd wrote:
> 
> Gavin Walsh wrote:
> _______________________________________________
> Hi all
> 
> I was wondering if it is at all possible to have a users folder
> mapped when a user logs onto the server.
> _________________________________ snip ______________
> 
> try:
> 
> domain logons = yes
> logon script = logon.bat
> 
> [netlogon]
>    comment = logon dir
>    path= /PathTo/netlogon
>    valid users = @users
> 
> [userdir]
> comment = user dir
> path = /PathTo/Users/%U
> 
> and in the logon.bat file
> 
> net use U: \\PathTo\userdir /N
> 
> There's probably a more elegant way to do this though.  Anyone ??

net use u: \\server\homes 

For this you've got to set browseable = yes in [homes] section, and you
do not need to create the userdir share.

Cheers,

Michal




More information about the samba mailing list