summaryrefslogtreecommitdiff
path: root/src/nshd/hackers_git/hackers_parse.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/nshd/hackers_git/hackers_parse.go')
-rw-r--r--src/nshd/hackers_git/hackers_parse.go16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/nshd/hackers_git/hackers_parse.go b/src/nshd/hackers_git/hackers_parse.go
new file mode 100644
index 0000000..efc30a5
--- /dev/null
+++ b/src/nshd/hackers_git/hackers_parse.go
@@ -0,0 +1,16 @@
+package hackers_git
+
+import (
+ _ "gopkg.in/yaml.v2"
+ "nslcd_proto"
+)
+
+func load_user_yaml(filename string) (nslcd_proto.Passwd, error) {
+ // TODO
+ return nslcd_proto.Passwd{}, nil
+}
+
+func load_user_password(filename string) string {
+ // TODO
+ return "!"
+}