RE: [Samba] disabling roaming profiles for some networks only

2006-08-08 Thread John Mason

What about also enabling roaming profiles, but doing folder redirection? I use 
it and so it take much less time since each machine is configured to mount 
their my documents, desktop, etc. which makes their profile large rather than 
include them in the profile.

It's included in the official samba howto, the unofficial samba howtos, etc.

-Original Message-
From: [EMAIL PROTECTED] on behalf of simo
Sent: Mon 8/7/2006 5:46 PM
To: Logan Shaw
Cc: samba@lists.samba.org
Subject: Re: [Samba] disabling roaming profiles for some networks only
 
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: [EMAIL PROTECTED]
http://samba.org

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

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


RE: [Samba] disabling roaming profiles for some networks only

2006-08-08 Thread Logan Shaw

On Tue, 8 Aug 2006, John Mason wrote:

What about also enabling roaming profiles, but doing folder redirection?
I use it and so it take much less time since each machine is configured
to mount their my documents, desktop, etc. which makes their profile
large rather than include them in the profile.


I don't think that would work so well for our environment.
The issue isn't the space used in the profile.  It's the speed
at which it can be copied over and back.  Turning folders
like the desktop into mounts from the server would prevent
slow logons, but in exchange what we'd get is files on the
desktop taking minutes to open after someone had logged in.

The pipe between the offices is about 1.5 megabit/s bandwidth
with a latency of about 70 ms, and this makes access to
files over SMB (or CIFS) really slow.  I'd *love* to improve
responsiveness of the server, but my guess is that the protocol
just doesn't deal with latency very well (most file sharing
protocols don't), so no amount of tuning is going to make a
huge difference.

Plus, of course, if you open a 10 megabyte file over a 1.5
megabit/s link, the theoretical best time you're ever going
to see is about 53 seconds.  And people do put 10 megabyte
files on their desktops.

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


Re: [Samba] disabling roaming profiles for some networks only

2006-08-08 Thread Logan Shaw

On Mon, 7 Aug 2006, simo wrote:

On Mon, 2006-08-07 at 17:23 -0500, Logan Shaw wrote:

I'm looking for a way to turn off roaming profiles only
for those users which are at the remote site.



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.


That's an idea, but I'd really rather have it keyed off what
network they're logging in from.  It's not uncommon for users
from one office to travel to the other.  Then, they get there
and have only (say) 2 days to get whatever done while they're
traveling, and they spend the first 2 hours of their limited
time waiting for their machine to finish logging them.  It's a
bit of a nuisance.  :-)

In particular, there could even be cases where someone uses
the same user account and same machine at the local office
and at the one 1000 miles away.  This can happen when a user
takes their laptop with them.

And yeah, I can educate my users about this, but that doesn't
completely stop it from happening, because it's not the type of
thing people understand well or realize they need to remember
when they're traveling.

All in all, I guess this is more of a weakness of the design
of Windows networking than anything else.  Still, if there is
a Samba solution to the problem, I'd welcome it...

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


RE: [Samba] disabling roaming profiles for some networks only

2006-08-08 Thread John Mason

Good point.


-Original Message-
From: [EMAIL PROTECTED] on behalf of Logan Shaw
Sent: Tue 8/8/2006 9:40 AM
To: samba@lists.samba.org
Subject: RE: [Samba] disabling roaming profiles for some networks only
 
On Tue, 8 Aug 2006, John Mason wrote:
 What about also enabling roaming profiles, but doing folder redirection?
 I use it and so it take much less time since each machine is configured
 to mount their my documents, desktop, etc. which makes their profile
 large rather than include them in the profile.

I don't think that would work so well for our environment.
The issue isn't the space used in the profile.  It's the speed
at which it can be copied over and back.  Turning folders
like the desktop into mounts from the server would prevent
slow logons, but in exchange what we'd get is files on the
desktop taking minutes to open after someone had logged in.

The pipe between the offices is about 1.5 megabit/s bandwidth
with a latency of about 70 ms, and this makes access to
files over SMB (or CIFS) really slow.  I'd *love* to improve
responsiveness of the server, but my guess is that the protocol
just doesn't deal with latency very well (most file sharing
protocols don't), so no amount of tuning is going to make a
huge difference.

Plus, of course, if you open a 10 megabyte file over a 1.5
megabit/s link, the theoretical best time you're ever going
to see is about 53 seconds.  And people do put 10 megabyte
files on their desktops.

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

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


[Samba] disabling roaming profiles for some networks only

2006-08-07 Thread Logan Shaw

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
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] disabling roaming profiles for some networks only

2006-08-07 Thread simo
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: [EMAIL PROTECTED]
http://samba.org

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