summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEC2 Default User <eisin@users.noreply.github.com>2018-07-01 11:09:04 +0200
committerEC2 Default User <eisin@users.noreply.github.com>2018-07-01 11:09:04 +0200
commita2a5d0d7fbcaa4ab97a7ebf1fc553555d674557e (patch)
treeea844f885217d1533956eb9f3690285585385a62
parentcheck if it is root (diff)
downloadpamldapd-a2a5d0d7fbcaa4ab97a7ebf1fc553555d674557e.tar
pamldapd-a2a5d0d7fbcaa4ab97a7ebf1fc553555d674557e.tar.gz
pamldapd-a2a5d0d7fbcaa4ab97a7ebf1fc553555d674557e.tar.bz2
pamldapd-a2a5d0d7fbcaa4ab97a7ebf1fc553555d674557e.tar.lz
pamldapd-a2a5d0d7fbcaa4ab97a7ebf1fc553555d674557e.tar.xz
pamldapd-a2a5d0d7fbcaa4ab97a7ebf1fc553555d674557e.tar.zst
pamldapd-a2a5d0d7fbcaa4ab97a7ebf1fc553555d674557e.zip
-rw-r--r--pamldapd.json.example8
-rw-r--r--src/pamldapd.go (renamed from pamldapd.go)0
2 files changed, 8 insertions, 0 deletions
diff --git a/pamldapd.json.example b/pamldapd.json.example
new file mode 100644
index 0000000..d1aa142
--- /dev/null
+++ b/pamldapd.json.example
@@ -0,0 +1,8 @@
+{
+ "listen": "127.0.0.1:10389",
+ "pamServicename": "password-auth",
+ "peopledn": "ou=people,dc=example,dc=com",
+ "groupsdn": "ou=groups,dc=example,dc=com",
+ "bindadmindn": "uid=user,dc=example,dc=com",
+ "bindadminpassword": "password"
+}
diff --git a/pamldapd.go b/src/pamldapd.go
index b43797b..b43797b 100644
--- a/pamldapd.go
+++ b/src/pamldapd.go