[Samba] disabling roaming profiles for some networks only

simo idra at samba.org
Mon Aug 7 22:46:26 GMT 2006


On Mon, 2006-08-07 at 17:23 -0500, Logan Shaw wrote:
> Hey everyone.
> 
> We have two offices accessing the same Samba server, which is
> a PDC and file server.  The server is located in one of the
> offices, but the other office is only connected by a relatively
> slow link (1.5 megabit/s).
> 
> I'm looking for a way to turn off roaming profiles only
> for those users which are at the remote site.  (It's a tad
> inconvenient when it takes an hour or two to login due to a
> 1 GB roaming profile!)  I could turn roaming profiles off for
> everyone, but we do have some users here at the same site as
> the server who don't have their own computers and could take
> advantage of roaming profiles.
> 
> Obviously, I can do this by running the Group Policy editor on
> every machine at the remote site, but I'd really like something
> where this can be controlled by the server.  I know I can leave
> "logon path" and "logon home" undefined and that will turn off
> roaming profiles for everyone, but I only want to turn it off
> for users on a certain network.
> 
> So, is there any way to do that?

Set the logon home and logon path explicitly in the passdb backend for
the users who need it and leave the general ones blank.
You must use either the tdbsam or ldapsam backlends to do that.

Simo.

-- 
Simo Sorce
Samba Team GPL Compliance Officer
email: idra at samba.org
http://samba.org



More information about the samba mailing list