https://bugs.openldap.org/show_bug.cgi?id=9638
Issue ID: 9638 Summary: ldapsearch.1 documents default value of -T inaccurately Product: OpenLDAP Version: 2.5.6 Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: --- Component: documentation Assignee: bugs@openldap.org Reporter: ryan@openldap.org Target Milestone: ---
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=992130
The ldapsearch.1 man page says the default value for tmpdir (-T) is /var/tmp.
The actual default value can come from a number of sources: environment variables (TMPDIR, TMP, TEMP), preprocessor macros (_P_tmpdir, P_tmpdir, _PATH_TMPDIR), or a hard-coded fallback (/tmp).
The ldapsearch --help output correctly reflects the default value.
It would be nice if the ldapsearch man page would reflect the actual compile-time default (LDAP_TMPDIR) and mention that it consults some environment variables.
https://bugs.openldap.org/show_bug.cgi?id=9638
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Assignee|bugs@openldap.org |quanah@openldap.org Status|UNCONFIRMED |IN_PROGRESS Target Milestone|--- |2.6.0
--- Comment #1 from Quanah Gibson-Mount quanah@openldap.org --- https://git.openldap.org/openldap/openldap/-/merge_requests/381
https://bugs.openldap.org/show_bug.cgi?id=9638
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|IN_PROGRESS |RESOLVED
--- Comment #2 from Quanah Gibson-Mount quanah@openldap.org --- Commits: • f7d558a4 by Quanah Gibson-Mount at 2021-09-05T18:34:52+00:00 ITS#9638 - Fix tmpdir information for ldapsearch
https://bugs.openldap.org/show_bug.cgi?id=9638
--- Comment #3 from Quanah Gibson-Mount quanah@openldap.org --- RE26:
Commits: • 90e49475 by Quanah Gibson-Mount at 2021-09-06T15:22:41+00:00 ITS#9638 - Fix tmpdir information for ldapsearch
https://bugs.openldap.org/show_bug.cgi?id=9638
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED