Commit 64db5f808baa111e69f2588b5233a212d1343d68
1 parent
d863fa62
Exists in
master
and in
4 other branches
use gitlab omniauth-ldap gem instead of fork
Showing
2 changed files
with
9 additions
and
13 deletions
Show diff stats
Gemfile
... | ... | @@ -23,10 +23,12 @@ gem 'omniauth-github' |
23 | 23 | |
24 | 24 | # GITLAB patched libs |
25 | 25 | gem "grit", git: "https://github.com/gitlabhq/grit.git", ref: '7f35cb98ff17d534a07e3ce6ec3d580f67402837' |
26 | -gem "omniauth-ldap", git: "https://github.com/gitlabhq/omniauth-ldap.git", ref: 'f038dd852d7bd473a557e385d5d7c2fd5dc1dc2e' | |
27 | 26 | gem 'grack', git: "https://github.com/gitlabhq/grack.git", ref: 'ba46f3b0845c6a09d488ae6abdce6ede37e227e8' |
28 | 27 | gem 'grit_ext', git: "https://github.com/gitlabhq/grit_ext.git", ref: '8e6afc2da821354774aa4d1ee8a1aa2082f84a3e' |
29 | 28 | |
29 | +# LDAP Auth | |
30 | +gem 'gitlab_omniauth-ldap', '1.0.2', require: "omniauth-ldap" | |
31 | + | |
30 | 32 | # Dump db to yml file. Mostly used to migrate from sqlite to mysql |
31 | 33 | gem 'gitlab_yaml_db', '1.0.0', require: "yaml_db" |
32 | 34 | ... | ... |
Gemfile.lock
... | ... | @@ -40,17 +40,6 @@ GIT |
40 | 40 | charlock_holmes (~> 0.6.9) |
41 | 41 | |
42 | 42 | GIT |
43 | - remote: https://github.com/gitlabhq/omniauth-ldap.git | |
44 | - revision: f038dd852d7bd473a557e385d5d7c2fd5dc1dc2e | |
45 | - ref: f038dd852d7bd473a557e385d5d7c2fd5dc1dc2e | |
46 | - specs: | |
47 | - omniauth-ldap (1.0.2) | |
48 | - net-ldap (~> 0.2.2) | |
49 | - omniauth (~> 1.0) | |
50 | - pyu-ruby-sasl (~> 0.0.3.1) | |
51 | - rubyntlm (~> 0.1.1) | |
52 | - | |
53 | -GIT | |
54 | 43 | remote: https://github.com/gitlabhq/pygments.rb.git |
55 | 44 | revision: db1da0343adf86b49bdc3add04d02d2e80438d38 |
56 | 45 | branch: master |
... | ... | @@ -198,6 +187,11 @@ GEM |
198 | 187 | pygments.rb (>= 0.2.13) |
199 | 188 | github-markup (0.7.4) |
200 | 189 | gitlab_meta (4.0) |
190 | + gitlab_omniauth-ldap (1.0.2) | |
191 | + net-ldap (~> 0.2.2) | |
192 | + omniauth (~> 1.0) | |
193 | + pyu-ruby-sasl (~> 0.0.3.1) | |
194 | + rubyntlm (~> 0.1.1) | |
201 | 195 | gitlab_yaml_db (1.0.0) |
202 | 196 | gitolite (1.1.0) |
203 | 197 | gratr19 (~> 0.4.4.1) |
... | ... | @@ -486,6 +480,7 @@ DEPENDENCIES |
486 | 480 | github-linguist (~> 2.3.4) |
487 | 481 | github-markup (~> 0.7.4) |
488 | 482 | gitlab_meta (= 4.0) |
483 | + gitlab_omniauth-ldap (= 1.0.2) | |
489 | 484 | gitlab_yaml_db (= 1.0.0) |
490 | 485 | gitolite (= 1.1.0) |
491 | 486 | grack! |
... | ... | @@ -508,7 +503,6 @@ DEPENDENCIES |
508 | 503 | omniauth (~> 1.1.1) |
509 | 504 | omniauth-github |
510 | 505 | omniauth-google-oauth2 |
511 | - omniauth-ldap! | |
512 | 506 | omniauth-twitter |
513 | 507 | pg |
514 | 508 | poltergeist! | ... | ... |