Anyone managed to setup Secure Management with LDA...
# citrix-netscaler
c
Anyone managed to setup Secure Management with LDAP authentication on the MGMT side? docs.netscaler.com/us/en/…/enable-secure-management-high…
j
Following. I tried that months ago - after that, SAML to Entra was broken, because it took the “wrong” plane way. Wasn’t able to fix it, so disabled it and SAML was working fine, again… You need to check which features or services you are using, routed via NSIP versus SNIP
c
For now it seems a networking/routing issue external of the NetScaler, waiting on networking to fix it. Other than the guide to set it up there is not much documentation available yet.
k
got it working so that the LB VIP that’s running the LDAP LB for management is in the proper Traffic domain (4096 by default), also, the LB vServer is in TD 0 (default), but the SG is in the secure managment TD 4096
implementing this feature is a bit nightmarish even if one is somewhat seasoned NetScaler admin and knows their way around in networking stuff
🙌 2
c
Did you do anything else other than putting the LB VIP in TD 0 and the SG in TD 4096? And are you using the same LDAP LB VIP for a Gateway VIP?
k
LB VIP is in TD 4096, but the vServer itself is in TD 0
Don't ask 😅
c
Wait, what? How?
k
Meaning what?
j
Cross domain traffic is possible as far as I know. So a LB VIP in TD4096 with a service/servicegroup located in TD 0 should work.
k
We observed the following behavior on the management login (LDAP): VIP in TD4096, vServer in TD0, SG in TD4096 → works VIP in TD4096, vServer in TD4096, SG in TD4096 → doesn’t work Any ideas why?
in this case we thought it would be ideal to separate everything management related to that management TD4096
c
I have the same setup now. VIP, vServer and SG in TD4094 (not 4096) and it won’t work. I will try putting the vServer in TD0.
Hmm, how can I put the virtual IP in a different traffic domain than the vServer that uses the virtual IP?
k
I think we created the VIP separately with TD4096 and then created the vServer after that with TD0 and that’s how it got working
I’m reaching out to the product team to get to the bottom of this… I’m also trying to motivate them to make the documentation better
There’s room for improvement
c
Tried that, resulted in two times the same virtual IP. One in TD0 and one in TD4094.
k
Having some guidance on how to migrate an existing environment to secure management would be really good
disable the IP in TD4096
the TD0 is active in our setup only and that works
it’s now in test environment only so I’m reluctant to implement this in production if we don’t understand how it should be set up and what’s causing what
c
Then effectively the VIP is always in the same TD as the vServer. It works with VIP/vServer in TD0 and the SG in TD4094. But…..only for the active node. Even if I use a LDAP policy/action directly to the AD DC, the passive node will still not authenticate.
k
same experience here
what happens if you do a cascade auth in the management so that prio 100 is the LB VIP LDAP and followed by Prio 110 and 120 the direct IPs of the LDAP server?
and allow traffic from the NSIP to the LDAP
that’s something I’ve been considering to allow the secondary also to authenticate with proper creds rather than using nsroot
c
Traffic is allowed to LDAP. But that won’t change anything since LB VIP LDAP doesn’t work from the passive node as well as directly to the LDAP server. So it fails on all three policies.
k
shouldn’t it time out and then move to the next policy that has the direct IP
or would it be better if we’d use direct server IPs and cascade for the management rather than LB VIP
I’ll pick this up with the product team, we have other questions regarding the feature too… I’ll update here if I learn something new
c
Yes, it should. But the direct IP actions also won’t work. It’s like the passive node is not allowed to communicate with anything.
nstcpdump.sh also shows no traffic in those cases.
k
ok, good observation, I can check that and see if the Citricites could help
c
Did a nstrace on the passive node with a LDAP action that communicates directly with the DC. When it does, it’s the passive node that does a reset of the connection: Passive node SYN Domain Controller SYN/ACK Passive node RST
k
could it be some asymmetric routing thingy
c
Could be, but then I would not expect a SYN/ACK back from the DC.
k
not sure if it can “land” on the wrong interface? like in asymmetric routing… if you have the nstcpdump.sh options set so that you can see what interface the packet is sent and where it’s received
c
The nstrace shows the same outgoing MAC as incoming MAC in the response. But I will also log a ticket with Citrix about it.
👍 1
k
please share whatever you find here, appreciated 🙂
c
Yes, definitely.