Logan Shaw
2006-Aug-07 22:24 UTC
[Samba] disabling roaming profiles for some networks only
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? - Logan
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@samba.org http://samba.org