Different credentials for main application and access to network drives


#1

Hi,

at my company my normal account does not have admin rights, so I start Listary with an extra admin account.
The issue then is, that this account does not have access to my network drives.
Is it possible to connect the network drives with different credentials?
Actually theres an exclamation mark in front of destinations to netowrk drives.

Regards
Hyper


#2

Hi Hyper,

I highly recommend that you use the installer version of Listary instead. After installing it using an Admin account once, Listary runs using your normal account and most of the credentials related issues should disappear.


#3

Hi Channing,

unfortunately that is not possible.
I think I am not alone with this, because in most bigger companies it is not allowed to just install any software.
Would be nice if you could integrate that Listary asks for other credentials for the network drives.


#4

Instead of starting Listary using your admin account manually, start Listary normally, and input your admin credential when ListaryService.exe asks for it.


#5

That is not possible. I get this error message:


#6

Hi,

any help here please? I cannot use Listary properly under this circumstances :cry:

Kinds regards,
Hyper


#7

Unfortunately there is no way to resolve this issue with Listary.


#8

I think this should be no problem at all.
Listary must ask for credentials for the network drives and store them in the windows credential manager.


#9

Sorry I still don’t understand how it works. Can you list some applications that have this feature (start an application with one account, and it can access network drives as another account) so I can test them?


#10

Which programming language do you use?
I am no developer so I am unsure what is needed.
As the needed account for the network drives is the actual logged on account, maybe it is even not needed to use credential manager.

Here is an example in C# for using another account:
https://www.codeproject.com/articles/125810/a-complete-impersonation-demo-in-c-net

Authentication Reference
https://msdn.microsoft.com/en-us/library/aa374736(v=vs.85).aspx

Credential Management API
https://msdn.microsoft.com/en-us/library/windows/desktop/aa374791(v=vs.85).aspx


http://www.nullskull.com/q/10354302/using-credential-manager-in-c.aspx

Hope this helps :slight_smile:


#11

Thank you for the information. I think it’s possible with some architecture changes. I’ll try to implement it in the next version.


#12

Thanks! :grinning: