[Samba] domain-based DFS ?

steve steve at steve-ss.com
Mon Jun 30 04:09:32 MDT 2014


On Mon, 2014-06-30 at 11:36 +0200, Davor Vusir wrote:
> 2014-06-29 23:40 GMT+02:00 steve <steve at steve-ss.com>:
> > On Sun, 2014-06-29 at 23:19 +0200, Klaus Hartnegg wrote:
> >> On 28.06.2014 09:38, Davor Vusir wrote:
> >> > Domainbased DFS works.
> >>
> >> How? I can only find descriptions for stand-alone DFS, no mention of
> >> domainbased DFS in Samba anywhere. It works with SYSVOL, but it seems to
> >> be impossible to configure own DFS names like this.
> >>
> > +1
> > sysvol and and netlogon work on the DC as:
> > \\domain\sysvol
> > but not if we add our own share.
> >
> > But we don't want to use the DC as a file server anyway. Only server
> > name dfs is possible anywhere else but even then it only works for the
> > first server specified.
> >
> > Do we have any guidelines as to what to expect for dfs on samba?
> > Thanks,
> > Steve
> >
> 
> Sorry. Forgot an excerpt from the Windows Eventlog:
> 
> Log Name:      Application
> Source:        Microsoft-Windows-Folder Redirection
> Date:          2014-06-30 11:27:29
> Event ID:      501
> Task Category: None
> Level:         Information
> Keywords:
> User:          VUSIR\davor
> Computer:      win7.vusir.local
> Description:
> Successfully applied policy and redirected folder "Documents" to
> "\\vusir.local\files\home\davor\Documents".
>  Redirection options=0x1001.
> Event Xml:
> <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
>   <System>
>     <Provider Name="Microsoft-Windows-Folder Redirection"
> Guid="{7D7B0C39-93F6-4100-BD96-4DDA859652C5}" />
>     <EventID>501</EventID>
>     <Version>0</Version>
>     <Level>4</Level>
>     <Task>0</Task>
>     <Opcode>0</Opcode>
>     <Keywords>0x8000000000000000</Keywords>
>     <TimeCreated SystemTime="2014-06-30T09:27:29.170800000Z" />
>     <EventRecordID>1720</EventRecordID>
>     <Correlation ActivityID="{538B2AD4-9830-49C6-BD0A-B475546B2E30}" />
>     <Execution ProcessID="892" ThreadID="3976" />
>     <Channel>Application</Channel>
>     <Computer>win7.hem.vusir.se</Computer>
>     <Security UserID="S-1-5-21-4135210406-1847680363-3009157138-1105" />
>   </System>
>   <EventData Name="EVENT_FDEPLOY_SucceededToApplyPolicy">
>     <Data Name="FromFolder">Documents</Data>
>     <Data Name="ToFolder">\\vusir.local\files\home\davor\Documents</Data>
>     <Data Name="Options">0x1001</Data>
>   </EventData>
> </Event>
> 
> +1 Huh?
> 
> Regards
> Davor
> >

Wonderful. Armed with this and our working windows clients, we'll go
over to the cifs list and ask if we can have this as a cifs mount option
instead of having to specify the server. What do you reckon?
Cheers,
Steve




More information about the samba mailing list