projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch '20295-fix-collection-tree-caching-bug' refs #20295
[arvados.git]
/
lib
/
pam
/
testclient.go
diff --git
a/lib/pam/testclient.go
b/lib/pam/testclient.go
index 3e92cac444ff7efea72876b2505a064cb09390e9..02a278c0e60fa6aed88490b1de0461558532eb9b 100644
(file)
--- a/
lib/pam/testclient.go
+++ b/
lib/pam/testclient.go
@@
-2,7
+2,8
@@
//
// SPDX-License-Identifier: Apache-2.0
//
// SPDX-License-Identifier: Apache-2.0
-// +build never
+//go:build ignore
+// +build ignore
// This file is compiled by docker_test.go to build a test client.
// It's not part of the pam module itself.
// This file is compiled by docker_test.go to build a test client.
// It's not part of the pam module itself.
@@
-75,7
+76,7
@@
func main() {
}
err = tx.Authenticate(pam.DisallowNullAuthtok)
if err != nil {
}
err = tx.Authenticate(pam.DisallowNullAuthtok)
if err != nil {
- err = fmt.Errorf("PAM: %s (message = %q
)", err, errorMessage
)
+ err = fmt.Errorf("PAM: %s (message = %q
, sentPassword = %v)", err, errorMessage, sentPassword
)
logrus.WithError(err).Print("authentication failed")
os.Exit(1)
}
logrus.WithError(err).Print("authentication failed")
os.Exit(1)
}