Novell Home

My Favorites

Close

Please to see your favorites.

How to Append the Domain Name to a Username in SecureLogin script

This document (7011707) is provided subject to the disclaimer at the end of this document.

Environment

NSL7.0.x
SecureLogin Application Definition Wizard

Situation

How to include the domain name in a SecureLogin application definition
How to modify script to use the user and domain instead of just the username
How to manually edit a definition created by SecureLogin Wizard
Login name needs to include the domain name, e.g. user/domain

Resolution

Convert the application definition to text format and edit.  Use the the StrCat command.
 
Steps:
1. In manage logins, go to the definition tab for the application and click the button to “Convert to Application Definition.”
 
2. Locate and edit the line where the password is entered. It will look something like the following:
                 
 
3. Insert the “StrCat” command into the script.
                         Syntax should be:   StrCat <Variable> <Input-String1> <Input-String2>
 
StrCat creates a new variable from two input strings. Either or both of the input strings can be variables themselves. Example of a new variable that includes the domain:
              StrCat ?newvariable $username “/mydomain”
 
4. Edit the “Type” command that enters the user name to enter ?newvariable instead $Username.
                   





Disclaimer

This Support Knowledgebase provides a valuable tool for NetIQ/Novell/SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7011707
  • Creation Date:25-JAN-13
  • Modified Date:01-FEB-13
    • NetIQSecureLogin

Did this document solve your problem? Provide Feedback