question

ForteZhuo-8186 avatar image
0 Votes"
ForteZhuo-8186 asked ForteZhuo-8186 commented

How to set Azure Active Directory for LDAPS with Location?

I am new on Azure and confused while set LDAPS. After attach PFX succesfully, I get External IP that contain Location like East US/40.88.209.246

122459-image.png


And while I try to set nsg's source IP : East US/40.88.209.246, a Malformed IP address error occurs.

122460-image.png



How to solve this issue or how to set External IP without any Location ?


azure-ad-domain-services
image.png (27.7 KiB)
image.png (46.7 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

amanpreetsingh-msft avatar image
0 Votes"
amanpreetsingh-msft answered ForteZhuo-8186 commented

Hi @ForteZhuo-8186 • Thank you for reaching out.

The format that you have specified is incorrect. The correct format is your_ip_address/cidr, as shown below:
122560-image.png

  • If you want to allow a specific IP address, you will have to specify the IP Address with /32 (CIDR). For example, allowing 50.42.123.2/32 will allow 50.42.123.2 specific IP address.

  • If you want to allow a range of IP Addresses or Subnet, you need to specify the network address of the subnet with appropriate CIDR value. For example, allowing 50.42.123.0/27 will allow all IP addresses between 50.42.123.1 to 50.42.123.30

Read more: Lock down secure LDAP access over the internet


Please "Accept the answer" if the information helped you. This will help us and others in the community as well.


image.png (19.0 KiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

From AD Azure properties, External IP : East US/40.88.209.246 with East US/aadds-nsg

122568-image.png

But on the example you give, the external IP does not contain any Location

122578-image.png


And while I try to set nsg without Location like below screenshot

122622-image.png

and try to connect using ldapsearch.. after type the password.. nothing happend
122510-image.png


0 Votes 0 ·
image.png (27.8 KiB)
image.png (29.5 KiB)
image.png (52.1 KiB)
image.png (18.0 KiB)