summaryrefslogtreecommitdiff
path: root/src/nslcd_proto/nslcd_h.go
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2015-08-26 20:25:52 -0600
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-08-26 20:25:52 -0600
commit13bb2e14fcdd260d060b7240357d4a8a80002114 (patch)
tree8bd49d988aa597c98578833b0b82b952b203c98b /src/nslcd_proto/nslcd_h.go
parenta6ac8f680062069b2821214f5b74cc96673ee4ca (diff)
work
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