[Samba] Redirected Folders not working for Desktop

Mark Foley mfoley at ohprs.org
Thu Sep 3 06:13:39 UTC 2015


James,

First, I mis-spoke (typed?) in my previous message. Yes, my redirected folders
are set up as \\mail.hprs.local\Users\%username%, just like you say. (Note, I've
already been chastized about the .local thing -- too late).

I did examine the event logs. For Favorites, Document, Photos, etc. I have
Event 501 messages which say, "Successfully applied policy and redirected folder
"Favorite" to '\\mail.hprs.local\Users\obfuscate\Favorites'", etc. Great.

For the Desktop, I have Event 502, 

Failed to apply policy and redirect folder "Desktop" to "\\mail.hprs.local\Users\obfuscate\Desktop".
Redirection options=0x9021
The following error occured: "Can not create folder "\\mail.hprs.local\Users\obfuscate\Desktop"
Error details: "The network path was not found.

So, I created the Desktop folder from Windows and, like the others, set it to
Always Available Online. I rebooted and tried again later and got the same
message, even though the folder now exists. To see image of message:

Folder does exist:

$ ls -l /redirectedFolders/Users/obfuscate/
total 24
drwxrwx---+  2 obfuscate users 4096 2015-09-03 01:41 Desktop/
drwxrwx---+ 10 obfuscate users 4096 2015-08-25 13:08 Favorites/
drwxrwx---+ 19 obfuscate users 4096 2015-08-26 14:28 My\ Documents/

Any idea what's up?

Thanks, --Mark

-----Original Message-----
> From: Mark Foley <mfoley at ohprs.org>
> Date: Wed, 02 Sep 2015 13:09:44 -0400
> Organization: Ohio Highway Patrol Retirement System
> To: samba at lists.samba.org
> Subject: Re: [Samba] Redirected Folders not working for Desktop
>
> Well, I've just added another directory to not make the redirected folders a the
> root. And, Favorites and Documents do work.
>
> Goog suggestion to check the Windows event viewer. I'll do that and get back
> with what I find.
>
> Thanks, --Mark
>
> -----Original Message-----
> > To: samba at lists.samba.org
> > From: James <lingpanda101 at gmail.com>
> > Date: Tue, 1 Sep 2015 08:14:06 -0400
> > Subject: Re: [Samba] Redirected Folders not working for Desktop
> >
> > Mark,
> >
> >     I typically setup redirected folders as such
> >
> > \\mail.hprs.local\Users\%username%
> >
> > I would look at the windows event viewer logs and see what it says when
> > it attempts to apply the GPO.
> >
> > -- 
> > -James
> >
> > On 8/31/2015 10:22 PM, Mark Foley wrote:
> > > I have a problem I've not been able to figure out.  I'm using Samba4 as the
> > > office AD/DC.  I've set up the Redirected Folders policy to redirect Desktop,
> > > Favorites and Documents to \\mail.hprs.local.  I set this up months ago and it
> > > works great for Documents and Favorites, but Desktop is not redirected (no Desktop):
> > >
> > > $ ls -l /redirectedFolders/Users/thisuser/
> > > total 16
> > > drwxrwx---+ 10 thisuser users 4096 2015-08-25 13:08 Favorites/
> > > drwxrwx---+ 19 thisuser users 4096 2015-08-26 14:28 My\ Documents/
> > >
> > > Policy settings using RSAT for these 3 entities are exactly the same: "Basic -
> > > Redirect everyone's folder the the same location"; settings: "Move the contents
> > > of Desktop to the new location", Also apply redirect policy to ...  Windows XP
> > > ..."; "Redirect the folder back to the local userprofile location when policy is
> > > removed". 
> > >
> > > Here's a link to the RSAT/GPO screenshot: http://www.novatec-inc.com/pub/redirectedFoldersPolicy,Desktop.jpg
> > >
> > > What am I doing wrong?
> > >
> > > --Mark
> > >
> > >
>
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
> From samba-bounces at lists.samba.org  Wed Sep  2 13:13:59 2015
> Return-Path: <samba-bounces at lists.samba.org>
> X-Virus-Status: Clean
> X-Virus-Scanned: clamav-milter 0.98.6 at mail
> DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.samba.org; s=78453942;
> 	h=List-Id:Subject:To:Date:From; bh=pAbhFouBpcnHjqhBTGmfQJtv+7r6iM4EN9Buw6tIef8=;
> 	b=ZWSaHPO4HQQln7VVPeaGr+p58eVTmtrZ/UaQb5RCbLmYUIIayvmSsdfbvjTggP3OEI02ydLGoEJj9J097efz0W2ayylINHMl3Hw0UROJvPBCXWfVOeYX5pv5w6se6HEXrcjfUeaXblC9FA0x8cJ+FvyEnO9CT8kZ8pK1CIN+4oo=;
> X-Virus-Status: Clean
> From: Mark Foley <mfoley at ohprs.org>
> Date: Wed, 02 Sep 2015 13:09:44 -0400
> Organization: Ohio Highway Patrol Retirement System
> To: samba at lists.samba.org
> User-Agent: Heirloom mailx 12.5 7/5/10
> Subject: Re: [Samba] Redirected Folders not working for Desktop
> X-BeenThere: samba at lists.samba.org
> X-Mailman-Version: 2.1.18
> Precedence: list
> List-Id: General questions regarding Samba <samba.lists.samba.org>
> List-Unsubscribe: <https://lists.samba.org/mailman/options/samba>,
>  <mailto:samba-request at lists.samba.org?subject=unsubscribe>
> List-Archive: <http://lists.samba.org/pipermail/samba/>
> List-Post: <mailto:samba at lists.samba.org>
> List-Help: <mailto:samba-request at lists.samba.org?subject=help>
> List-Subscribe: <https://lists.samba.org/mailman/listinfo/samba>,
>  <mailto:samba-request at lists.samba.org?subject=subscribe>
> Content-Type: text/plain; charset="utf-8"
> Errors-To: samba-bounces at lists.samba.org
> Sender: "samba" <samba-bounces at lists.samba.org>
> X-Spam-Status: No, score=0.0 required=3.0 tests=T_DKIM_INVALID,
> 	T_RP_MATCHES_RCVD autolearn=ham version=3.3.2-_revision__1.14__
> X-Spam-Report: 
> 	* -0.0 T_RP_MATCHES_RCVD Envelope sender domain matches handover relay
> 	*      domain
> 	*  0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid
> X-Spam-Checker-Version: SpamAssassin 3.3.2-_revision__1.14__ (2011-06-06) on
> 	mail.hprs.local
> Status: R
>
> Well, I've just added another directory to not make the redirected folders a the
> root. And, Favorites and Documents do work.
>
> Goog suggestion to check the Windows event viewer. I'll do that and get back
> with what I find.
>
> Thanks, --Mark
>
> -----Original Message-----
> > To: samba at lists.samba.org
> > From: James <lingpanda101 at gmail.com>
> > Date: Tue, 1 Sep 2015 08:14:06 -0400
> > Subject: Re: [Samba] Redirected Folders not working for Desktop
> >
> > Mark,
> >
> >     I typically setup redirected folders as such
> >
> > \\mail.hprs.local\Users\%username%
> >
> > I would look at the windows event viewer logs and see what it says when
> > it attempts to apply the GPO.
> >
> > -- 
> > -James
> >
> > On 8/31/2015 10:22 PM, Mark Foley wrote:
> > > I have a problem I've not been able to figure out.  I'm using Samba4 as the
> > > office AD/DC.  I've set up the Redirected Folders policy to redirect Desktop,
> > > Favorites and Documents to \\mail.hprs.local.  I set this up months ago and it
> > > works great for Documents and Favorites, but Desktop is not redirected (no Desktop):
> > >
> > > $ ls -l /redirectedFolders/Users/thisuser/
> > > total 16
> > > drwxrwx---+ 10 thisuser users 4096 2015-08-25 13:08 Favorites/
> > > drwxrwx---+ 19 thisuser users 4096 2015-08-26 14:28 My\ Documents/
> > >
> > > Policy settings using RSAT for these 3 entities are exactly the same: "Basic -
> > > Redirect everyone's folder the the same location"; settings: "Move the contents
> > > of Desktop to the new location", Also apply redirect policy to ...  Windows XP
> > > ..."; "Redirect the folder back to the local userprofile location when policy is
> > > removed". 
> > >
> > > Here's a link to the RSAT/GPO screenshot: http://www.novatec-inc.com/pub/redirectedFoldersPolicy,Desktop.jpg
> > >
> > > What am I doing wrong?
> > >
> > > --Mark
> > >
> > >
>
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>



More information about the samba mailing list