You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2010-09-23 16:11:10

sean.tapscott
Member
Registered: 2010-06-16
Posts: 303

External Link to admin Share

I'm currently trying to understand and use External Links better.  I'd like to link them to administrative shares for each computer: \\computername\C$

But when I put \\[NAME]\C$ in the Link and Filename field (second field), it just sends me to http://helpdesk/front/\\[NAME]\C$ with the [NAME] filling in correctly, but obviously that link is useless.  I thought maybe I could send it to my desktop and try opening iexplore.exe from there, but it didn't work either.  Perhaps these links are only for websites?


Now using 0.78.1 on CentOS.

Offline

#2 2010-09-23 16:16:00

remi
GLPI-DEV
From: Champagne
Registered: 2007-04-28
Posts: 7,127
Website

Re: External Link to admin Share

You should try something like file:///[NAME]/C$

But I don't think "good" browser let you open such link without lowering "securty" configuration.

+


Dév. Fedora 29 - PHP 5.6/7.0/7.1/7.2/7.3/7.4 - MariaDB 10.3 - GLPI master
Certifié ITILv3 - RPM pour Fedora, RHEL et CentOS sur https://blog.remirepo.net/

Offline

#3 2010-09-23 16:40:55

sean.tapscott
Member
Registered: 2010-06-16
Posts: 303

Re: External Link to admin Share

I tried what you said, but I don't think it'd work even if my security settings were lowered enough, which I could do since the site is on my intranet. 

The problem is that when I go to a computer and click the link, it reverses all the slashes into forward slashes, when I entered them as backslashes.


Now using 0.78.1 on CentOS.

Offline

#4 2010-09-23 16:48:39

remi
GLPI-DEV
From: Champagne
Registered: 2007-04-28
Posts: 7,127
Website

Re: External Link to admin Share

In my sample, I don't use backslashes...


Dév. Fedora 29 - PHP 5.6/7.0/7.1/7.2/7.3/7.4 - MariaDB 10.3 - GLPI master
Certifié ITILv3 - RPM pour Fedora, RHEL et CentOS sur https://blog.remirepo.net/

Offline

#5 2010-09-23 16:49:13

sean.tapscott
Member
Registered: 2010-06-16
Posts: 303

Re: External Link to admin Share

Actually, that's wrong, it works in IE9 but not in Firefox.  And I did have to add another slash.  First two slashes are for the file:\\, and the second two are for the \\computername\C$  .

So cool, wonder how I can make it work in Firefox, or maybe I won't worry about it.


EDIT: And oh, sorry I missed seeing your post before I posted mine.  I guess backslashes act strange in coding, usually escape characters, right?

Last edited by sean.tapscott (2010-09-23 16:50:23)


Now using 0.78.1 on CentOS.

Offline

#6 2010-09-23 16:58:03

remi
GLPI-DEV
From: Champagne
Registered: 2007-04-28
Posts: 7,127
Website

Re: External Link to admin Share

Backslashes are not allowed in URL (even if IE, which is not a standard reference) does strange things with it.

+


Dév. Fedora 29 - PHP 5.6/7.0/7.1/7.2/7.3/7.4 - MariaDB 10.3 - GLPI master
Certifié ITILv3 - RPM pour Fedora, RHEL et CentOS sur https://blog.remirepo.net/

Offline

Board footer

Powered by FluxBB