# LDAPS auth DN clarification

**URL:** <https://forum.greenbone.net/t/ldaps-auth-dn-clarification/22145>\
**Category:** How To\
**Created:** [March 12, 2026, 5:44am UTC](https://forum.greenbone.net/t/ldaps-auth-dn-clarification/22145 "2026-03-12T05:44:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![huckfinland](https://forum.greenbone.net/letter_avatar/huckfinland/32/6_449c533f586939b6e5f246632a46421f.png) [@huckfinland](https://forum.greenbone.net/u/huckfinland)\
**Post date:** [March 12, 2026, 5:44am UTC](https://forum.greenbone.net/t/ldaps-auth-dn-clarification/22145/1 "2026-03-12T05:44:30Z")

</div>

Hello,

I am working on setting up LDAPS auth on our install of Openvas Community Edition on Kali.

I was wondering if anyone has examples on what auth DNs they are using - the documentation examples (primarily by uid and cn wildcards) do not seem to work in our environment. Are we able to use SAMaccountname or just userPrincipalName for LDAPS users or does that not work with user creation’s prohibited characters?

Thank you,

---

<div class="post-metadata">

**Author:** ![TRai12](https://forum.greenbone.net/letter_avatar/trai12/32/6_449c533f586939b6e5f246632a46421f.png) [@TRai12](https://forum.greenbone.net/u/TRai12)\
**Post date:** [March 14, 2026, 6:51pm UTC](https://forum.greenbone.net/t/ldaps-auth-dn-clarification/22145/2 "2026-03-14T18:51:15Z")

</div>

Hi huckfinland,

I’m using OpenVAS with LDAP. However, it only works at the DN user level. Groups don’t work. Here’s my DN string:

cn=%s,ou=user,dc=mydomain,dc=internal

You need to create the user in OpenVAS, configure LDAP authentication, and then you can use the domain password to log in.

---

<div class="post-metadata">

**Author:** ![system](https://forum.greenbone.net/uploads/default/original/2X/4/4660e797edfaea797a8c9965246072ea26732804.png) [@system](https://forum.greenbone.net/u/system)\
**Post date:** [June 10, 2026, 5:45am UTC](https://forum.greenbone.net/t/ldaps-auth-dn-clarification/22145/3 "2026-06-10T05:45:04Z")

</div>

Closed on June 10, 2026, 5:45am UTC

This topic was automatically closed after 90 days. New replies are no longer allowed.
