Skip to content
This repository was archived by the owner on Dec 2, 2017. It is now read-only.

Commit 93e75ab

Browse files
author
Chagara
committed
Added a Microsoft AD Example.
1 parent 7e51e0a commit 93e75ab

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

content/doc/features/authentication.en-us.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,17 @@ This option allows Gogs to log in to your SMTP host as a Gogs user. To configure
161161
- This authentication is activate
162162
- Enable or disable this auth.
163163

164+
## Microsoft AD
165+
166+
167+
```
168+
Port: 389
169+
User search base: (&(objectCategory=Person)(memberOf=CN=user-group,OU=example,DC=example,DC=org)(sAMAccountName=%s)(!(UserAccountControl:1.2.840.113556.1.4.803:=2)))
170+
Admin filter: (memberOf=CN=admin-group,OU=example,DC=example,DC=org)
171+
Username: sAMAccountName
172+
```
173+
174+
164175
## Freeipa
165176

166177
- In order to login to Gitea using FreeIPA credentials, you need to create a bind account for Gitea to use:

0 commit comments

Comments
 (0)