Menu

smb protocol link

OWurdak
2013-04-22
2014-08-19
  • OWurdak

    OWurdak - 2013-04-22

    Hello

    I try to use the oss as a network file search (SMB/CIFS) in our intranet.
    My main problem is that you can´t open the smb:// protocol link in the search result.
    If I could replace the string "smb://" to "file://///" in the URL we can open the file in all browsers (windows clients). Is it possible top make such a string manipulation in the renderer?

    The most general solution is to make this replacement depending from the client OS.
    See this article
    http://www.mediawiki.org/wiki/Extension:SmbLinks

    regards
    Oliver

     
  • OWurdak

    OWurdak - 2013-05-16

    I have solved this by using the php-interface to OSS and not the included renderer.

    The problem that you can open a local Link (file://) is a security feature of the specific browser.

    here a short description of solutions
    IE -> add the file server to "trusted zones"
    Chrome -> use the addon "Local Links"
    firefox -> a file User.js in the profiles directory with

    user_pref("capability.policy.policynames", "localfilelinks");
    user_pref("capability.policy.localfilelinks.sites", "IP to your file server");
    user_pref("capability.policy.localfilelinks.checkloaduri.enabled", "allAccess");

     
  • ygdrazil

    ygdrazil - 2014-08-19

    Do you have som code samples of how you implemented this as i am no API guru?

     

Log in to post a comment.