diff options
Diffstat (limited to 'src/nshd/hackers_git/hackers.go')
-rw-r--r-- | src/nshd/hackers_git/hackers.go | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/nshd/hackers_git/hackers.go b/src/nshd/hackers_git/hackers.go index 230f08b..a155f83 100644 --- a/src/nshd/hackers_git/hackers.go +++ b/src/nshd/hackers_git/hackers.go @@ -9,6 +9,13 @@ import ( "sync" ) +type user struct { + passwd nslcd_proto.Passwd + pwhash string + groups []string +} + + type Config struct { Pam_password_prohibit_message string Yamldir string @@ -18,7 +25,7 @@ type Hackers struct { util.NullBackend cfg Config lock sync.RWMutex - users map[int32]nslcd_proto.Passwd + users map[int32]user passwords map[int32]string in_fd *inotify.Inotify |