Forum Discussion
ppater_73099
Nimbostratus
Sep 24, 2012APM "drive mappings"
Hi all,
When creating a drivemapping is it possible to auto fill in the username/password that it will use by logging to the portal? After setting up an network acces I need to login to Map a D...
Wojciech_Wypior
Nimbostratus
Jun 06, 2014You could try the following, setup drive mapping via launch application like so:
\10.10.4.77\share %{session.sso.token.last.password} /user:%{session.logon.last.domain}\%{session.logon.last.username}
And ensure you have SSO Credential Mapping element in the policy. This should get your share to mount without inputting the credentials.
Wojciech_Wypior
Nimbostratus
Jun 11, 2014I forgot to mention to use "net use" command, see: http://technet.microsoft.com/en-us/library/gg651155.aspx for syntax, for example:
net use v: \\10.10.4.77\share /user:%{session.logon.last.domain}\%{session.logon.last.username} %{session.sso.token.last.password}
Note: everything after "net" command is parameter and has to be specified in the parameters box, otherwise Windows will not launch it :) Also if the environment variables are not set for windows\system32 for some reason the path needs to be specified.
There is one caveat, the share will stay mapped after VPN is disconnected, so like mentioned by Yann you should add /persistent:no as well. Also its worth noting that when using Edge client, the normal drive mapping works with SSO, as with Edge we would send the APM user credentials. In contrast, web browser will send the Windows client credentials and not APM user logon credentials, hence the SSO will not work.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects