summaryrefslogtreecommitdiff
path: root/HACKING
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2012-10-13 21:08:59 +0000
committerArthur de Jong <arthur@arthurdejong.org>2012-10-13 21:08:59 +0000
commitb27f3f8fe80cc2dcbf66f975c4d987209d529586 (patch)
tree650b7c61ff56133b598aa7c50530c4bf951ce98a /HACKING
parent43ac16ba109680eb79a737266f7372423c4ffad4 (diff)
in ether handling only write to output values and return correct error for buffer too small
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1791 ef36b2f9-881f-0410-afb5-c4e39611909c
Diffstat (limited to 'HACKING')
-rw-r--r--HACKING4
1 files changed, 3 insertions, 1 deletions
diff --git a/HACKING b/HACKING
index a764f3b..366c48e 100644
--- a/HACKING
+++ b/HACKING
@@ -137,7 +137,9 @@ back-end can presumably also be created.
Earlier versions of Solaris expected the NSS functions to return the binary
representation of the lookups (e.g. struct passwd) but later versions expect a
string representation of the data to be returned (just like a single line out
-of /etc/passwd was read).
+of /etc/passwd was read) but only if running from nscd. If args->buf.result
+is NULL a string representation is requested (except for ether by address
+lookup which is special).
Source and documentation pointers for Solaris NSS:
http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/lib/nsswitch/