summaryrefslogtreecommitdiff
path: root/src/nslcd_proto/nslcd_h.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/nslcd_proto/nslcd_h.go')
-rw-r--r--src/nslcd_proto/nslcd_h.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nslcd_proto/nslcd_h.go b/src/nslcd_proto/nslcd_h.go
index 56c1316..4034472 100644
--- a/src/nslcd_proto/nslcd_h.go
+++ b/src/nslcd_proto/nslcd_h.go
@@ -1,4 +1,5 @@
// This file is based heavily on nslcd.h from nss-pam-ldapd
+// Copyright (C) 2015 Luke Shumaker
/*
nslcd.h - file describing client/server protocol
@@ -272,6 +273,8 @@ const NSLCD_ACTION_SERVICE_ALL int32 = 0x000b0008; type Request_Service_Al
/* Extended user account (/etc/shadow) information requests. Result
values for a single entry are: */
type Shadow struct {
+ // It is my understanding that an empty value for an INT32
+ // field is expressed with a negative number. -- lukeshu
Name string
Password string
LastChangeDate int32