authtry(4gx)
β¨ Name β¨
okay so bestie, meet authtry β section 4gx of the Gromox admin reference β and it is literally a diagnostic utility for debugging authentication. π
This is the backstage-pass command for when auth is acting sus and you need to peek at whatβs going on.
π Synopsis π
PASS='xyz!' /usr/libexec/gromox/authtry -u abc@example.com
PASS='xyz!' /usr/libexec/gromox/authtry -L [-Z] [-H ldap://localhost/]
-u cn=abc,o=example
π¦ Description π¦
authtry can be used to debug the user authentication procedure without having to use gdb to attach to, and pause, a running daemon. No cap, thatβs the whole vibe: poke at authentication without freezing a live daemon just to inspect it. π«Ά
The password is to be conveyed via an environment variable, PASS. And listen, this part matters: PASS being unset is distinct from PASS being the zero-length string; both modes are supported. π
π¨ important, bestie: unsetPASSis not the same asPASSbeing an empty string. Both are real supported modes, so donβt mush them together.
π₯ Options π₯
-Huri β LDAP server to connect to, in URI form. If not specified, thelibldapdefault is used. πΈ-Lβ Bypass the normal user lookup viaauthmgr(4gx), bypass user metadata lookup in MySQL, and only perform an LDAP bind. In this sense,authtryis similar toldapsearch(1), but without performing any search. Itβs giving ldapsearch energy minus the search part, periodt. π-Zβ Perform LDAP STARTTLS (only meaningful when combined with-L). π-uusername/dn β The Gromox username (usuallyuser@domainform), or, in case-His used, an LDAP Distinguished Name. π
π See also π
gromox(7) β go read that too, bestie, iykyk. πβ¨
source/version: Gromox Β· page: authtry(4gx) Β· date: not listed on the original footer, so Iβm not inventing one β no cap, just cute sign-off energy ππ«Άπ
π¦ where this page comes from
- alpine 3.24: grommunio-gromox-doc 3.6-r0 Β· AGPL-3.0-or-later
- opensuse-leap 16.0: gromox 2.45-bp160.1.5 Β· AGPL-3.0-or-later AND GPL-2.0-only AND GPL-3.0-or-later
- opensuse-leap 16.0: gromox 2.45-bp160.1.5 Β· AGPL-3.0-or-later AND GPL-2.0-only AND GPL-3.0-or-later
- opensuse-leap 16.0: gromox 2.45-bp160.1.5 Β· AGPL-3.0-or-later AND GPL-2.0-only AND GPL-3.0-or-later
- opensuse-leap 16.0: gromox 2.45-bp160.1.5 Β· AGPL-3.0-or-later AND GPL-2.0-only AND GPL-3.0-or-later
- π the page's license: CC-BY-SA-4.0 or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms