summaryrefslogtreecommitdiff
path: root/src/parabola_hackers/nslcd_backend/db_passwd.go
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-06-17 14:35:35 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-06-17 14:35:35 -0400
commit0e0907734c12eb0b70659be15ffd8c161402e6db (patch)
tree220fb5efa58a6ad3539c5d7fcc53c5c66fa29ee6 /src/parabola_hackers/nslcd_backend/db_passwd.go
parentc191af11616a3306b8e0a3650b6972eb61d2aba1 (diff)
move things src/parabola_hackers{/nslcd_backend,}
Diffstat (limited to 'src/parabola_hackers/nslcd_backend/db_passwd.go')
-rw-r--r--src/parabola_hackers/nslcd_backend/db_passwd.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/parabola_hackers/nslcd_backend/db_passwd.go b/src/parabola_hackers/nslcd_backend/db_passwd.go
index 514a8b3..b11f6af 100644
--- a/src/parabola_hackers/nslcd_backend/db_passwd.go
+++ b/src/parabola_hackers/nslcd_backend/db_passwd.go
@@ -39,7 +39,7 @@ func (o *Hackers) Passwd_ByName(cred s.Ucred, req p.Request_Passwd_ByName) <-cha
if uid < 0 {
return
}
- passwd := o.users[uid].passwd
+ passwd := o.users[uid].Passwd
passwd.PwHash = "x" // only put actual hashes in the Shadow DB
ret <- passwd
}()
@@ -57,7 +57,7 @@ func (o *Hackers) Passwd_ByUID(cred s.Ucred, req p.Request_Passwd_ByUID) <-chan
if !found {
return
}
- passwd := user.passwd
+ passwd := user.Passwd
passwd.PwHash = "x" // only put actual hashes in the Shadow DB
ret <- passwd
}()
@@ -72,7 +72,7 @@ func (o *Hackers) Passwd_All(cred s.Ucred, req p.Request_Passwd_All) <-chan p.Pa
defer close(ret)
for _, user := range o.users {
- passwd := user.passwd
+ passwd := user.Passwd
passwd.PwHash = "x" // only put actual hashes in the Shadow DB
ret <- passwd
}