mirror of
https://github.com/bytedance/g3.git
synced 2026-05-17 03:57:11 +00:00
24 lines
No EOL
672 B
INI
24 lines
No EOL
672 B
INI
[ldap]
|
|
enabled = true
|
|
listen = "127.0.0.1:3893"
|
|
tls = true # support StartTLS
|
|
tlsCertPath = "g3proxy.local.pem"
|
|
tlsKeyPath = "g3proxy.local-key.pem"
|
|
[ldaps]
|
|
enabled = true # enable TLS
|
|
listen = "127.0.0.1:6363"
|
|
certPath = "g3proxy.local.pem"
|
|
keyPath = "g3proxy.local-key.pem"
|
|
[backend]
|
|
datastore = "config"
|
|
baseDN = "dc=glauth,dc=com"
|
|
[[users]]
|
|
name = "t1"
|
|
uidnumber = 5001
|
|
primarygroup = 5501
|
|
passsha256 = "6478579e37aff45f013e14eeb30b3cc56c72ccdc310123bcdf53e0333e3f416a" # dogood
|
|
[[users]]
|
|
name = "t2"
|
|
uidnumber = 5002
|
|
primarygroup = 5501
|
|
passsha256 = "6478579e37aff45f013e14eeb30b3cc56c72ccdc310123bcdf53e0333e3f416a" # dogood |