Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Mastering Netscaler VPX

You're reading from   Mastering Netscaler VPX Learn how to deploy and configure all the available Citrix NetScaler features with the best practices and techniques you need to know

Arrow left icon
Product type Paperback
Published in Nov 2015
Publisher Packt
ISBN-13 9781785281730
Length 218 pages
Edition 1st Edition
Concepts
Arrow right icon
Authors (3):
Arrow left icon
Rick Roetenberg Rick Roetenberg
Author Profile Icon Rick Roetenberg
Rick Roetenberg
Andy Paul Andy Paul
Author Profile Icon Andy Paul
Andy Paul
Marius Sandbu Marius Sandbu
Author Profile Icon Marius Sandbu
Marius Sandbu
Arrow right icon
View More author details
Toc

Table of Contents (9) Chapters Close

Preface 1. Configuring the Standard Features of NetScaler® 2. Using the Features of NetScaler® AppExpert FREE CHAPTER 3. Integration with Citrix® Components 4. Traffic Management 5. Tuning and Monitoring NetScaler® Performances 6. Security Features and Troubleshooting 7. Real-World Deployment Scenarios Index

Citrix Receiverâ„¢ authentication

If you want to use the Citrix Receiver functionality and Receiver for Web with the NetScaler Gateway environment as well, some changes should be made to the LDAP and RADIUS policies. You should make some adjustments to the expressions.

When a user contacts the NetScaler Gateway through the web browser, they will see three fields that need to be filled in.

The first box requires the username, the second requires the password, and the third requires the RADIUS code. This means that the LDAP authentication is primary and RADIUS is the secondary authentication. You can see this in the following screenshot:

Citrix Receiverâ„¢ authentication

When the user connects with Citrix Receiver, the authentication is different because Citrix Receiver verifies the RADIUS authentication as primary and the LDAP authentication as secondary.

In order to arrange this, we should create two different LDAP and RADIUS policies. The LDAP policies could bind to the same LDAP server. The RADIUS policies could be bind to the same RADIUS server as well.

Follow these steps to arrange authentication through Citrix Receiver when using two-factor authentication:

  1. Create two LDAP policies:
    • Policy 1:

      Name: CitrixReceiver-DC1 (where DC1 is the domain controller name)

      Expression: REQ.HTTP.HEADER User-Agent CONTAINS CitrixReceiver

      Server: DC1

    • Policy 2:

      Name: NonCitrixReceiver-DC1 (where DC1 is the domain controller name)

      Expression: REQ.HTTP.HEADER User-Agent NOTCONTAINS CitrixReceiver

      Server: DC1

  2. Create two RADIUS policies:
    • Policy 1:

      Name: CitrixReceiver-RADIUS1 (where RADIUS1 is the RADIUS server)

      Expression: REQ.HTTP.HEADER User-Agent CONTAINS CitrixReceiver

      Server: RADIUS1

      Policy 2:

      Name: NonCitrixReceiver-RADIUS1 (where RADIUS1 is the RADIUS server)

      Expression: REQ.HTTP.HEADER User-Agent NOTCONTAINS CitrixReceiver

      Server: RADIUS1

  3. Bind the NonCitrixReceiver-DC1 LDAP policy and the CitrixReceiver-RADIUS1 RADIUS policy as the primary authentication.
  4. Bind the CitrixReceiver-DC1 LDAP policy and the NonCitrixReceiver-RADIUS1 RADIUS policy as the secondary authentication.

When the user connects through Citrix Receiver, the authentication flow would first be CitrixReceiver-RADIUS1 as primary and CitrixReceiver-DC1 as secondary, because Citrix Receiver contains the User-Agent header with the CitrixReceiver value. All other non-Citrix Receiver users will authenticate with NonCitrixReceiver-DC1 as primary authentication and NonCitrixReceiver-RADIUS1 as secondary authentication.

Troubleshooting

For troubleshooting authentication, Citrix NetScaler provides a built-in tool that can be run from the CLI. Connect to the CLI with an SSH tool (PuTTY, for example). After logging in, type shell and then jump to the tmp location using cd /tmp. Run the following command after switching to the tmp location:

cat aaaa.debug

This built-in tool will give us information about what's going wrong during authentication.

Besides the built-in tool, Citrix also provides troubleshoot logging according to authentication in the GUI since NetScaler firmware release 11. So, if you are using Citrix NetScaler 11, troubleshooting through CLI isn't necessary.

Troubleshooting
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image