mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
r15712: BUG 3435: patch from volker to fix 'msdfs root = yes' in [homes]
(This used to be commit 466478f07e
)
This commit is contained in:
parent
511f1cef23
commit
679e539655
@ -419,7 +419,10 @@ BOOL dfs_redirect( pstring pathname, connection_struct *conn, BOOL search_wcard_
|
|||||||
return False;
|
return False;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!strequal(dp.servicename, lp_servicename(SNUM(conn)) )) {
|
if ( !( strequal(dp.servicename, lp_servicename(SNUM(conn)))
|
||||||
|
|| ( strequal(dp.servicename, HOMES_NAME)
|
||||||
|
&& strequal(lp_servicename(SNUM(conn)), get_current_username()) )) )
|
||||||
|
{
|
||||||
return False;
|
return False;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user