missing space bug in 'ldapmatch' for non-existent key
LDAP tools to support formerly NIS environments.
Brought to you by:
lile
I've found a hopefully simple-to-fix bug in ldapmatch which happens when the requested key match does not exist:
$ /usr/software/bin/ldapmatch doesnotexist passwd
Can't find key doesnotexistin map passwd.byname. Reason: key not found in map.
Note the lack of a " " between the key and "in map" text.
Version info:
$ ls -la /usr/software/bin/ldapmatch
lrwxrwxrwx 1 root root 40 Feb 26 2018 /usr/software/bin/ldapmatch -> ../pkgs/ldap-yp-tools-1.12/bin/ldapmatch
Hi Steve,
This is fixed in commit 58
https://sourceforge.net/p/ldap-yp-tools/code/58/tree//trunk/ldap-yp-tools/ldapcat/ldapcat.in?diff=59e8c23d0685a15b00dc4ed6:57
The fix has been released in v1.13