Skip to content

Instantly share code, notes, and snippets.

@wrouesnel
Created February 27, 2016 01:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wrouesnel/7c00af6e71a127308e34 to your computer and use it in GitHub Desktop.
Save wrouesnel/7c00af6e71a127308e34 to your computer and use it in GitHub Desktop.
JSON Injection for setting up LDAP on Gogs
{
"AdminFilter": "adminfilter",
"AttributeMail": "email",
"AttributeName": "firstname",
"AttributeSurname": "lastname",
"AttributeUsername": "uid",
"AttributesInBind": false,
"BindDN": "",
"BindPassword": "",
"Enabled": true,
"Filter": "filterdn",
"Host": "somehost",
"Name": "localldap",
"Port": 636,
"SkipVerify": true,
"UseSSL": true,
"UserBase": "",
"UserDN": "userdn"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment