webdav portal fixes
This commit is contained in:
parent
682e4ac18a
commit
c78570eb11
15 changed files with 177 additions and 14 deletions
|
@ -297,7 +297,7 @@ namespace WebsitePanel.Providers.EnterpriseStorage
|
|||
searchPaths = searchPaths.Where(x => !string.IsNullOrEmpty(x)).ToArray();
|
||||
}
|
||||
|
||||
using (new WindowsIdentity(userPrincipalName).Impersonate())
|
||||
//using (new WindowsIdentity(userPrincipalName).Impersonate())
|
||||
{
|
||||
using (var conn = new OleDbConnection("Provider=Search.CollatorDSO;Extended Properties='Application=Windows';"))
|
||||
{
|
||||
|
@ -341,7 +341,6 @@ namespace WebsitePanel.Providers.EnterpriseStorage
|
|||
file.RelativeUrl = file.FullName.Replace(Path.Combine(rootFolder, searchPath), "").Trim('\\');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
result.Add(file);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue