Skip to content

Commit 3468c03

Browse files
committed
Readded README.md
1 parent fd167ee commit 3468c03

File tree

1 file changed

+79
-0
lines changed

1 file changed

+79
-0
lines changed

README.md

+79
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
# Work in progress
2+
Not ready yet... merging code from the closed smart_proxy pull request.
3+
4+
# Description
5+
This plugin adds a new realm provider for managing hosts in Active Directory.
6+
7+
## Installation
8+
See How_to_Install_a_Smart-Proxy_Plugin for how to install Smart Proxy plugins.
9+
10+
```
11+
git clone https://github.com/martencassel/smart_proxy_realm_ad_plugin
12+
cd smart_proxy_realm_ad_plugin
13+
bundle install && gem build smart_proxy_realm_ad_plugin.gemspec \
14+
&& sudo gem install smart_proxy_realm_ad_plugin-0.1.gem
15+
16+
```
17+
18+
Edit 'bundler.d/Gemfile.local.rb' and set:
19+
20+
gem 'smart_proxy_realm_ad_plugin'
21+
gem 'radcli'
22+
gem 'rkerberos', '>= 0.1.1'
23+
24+
## Configuration
25+
26+
To enable this realm provider, edit `/etc/foreman-proxy/settings.d/realm.yml` and set:
27+
28+
:enabled: true
29+
30+
:use_provider: realm_ad
31+
32+
## Testing
33+
34+
bundle exec rake test
35+
36+
## Install dependencies
37+
38+
### rkerberos
39+
```
40+
sudo gem install rkerberos
41+
```
42+
43+
### radcli
44+
45+
#### radcli prereqs (ubuntu)
46+
```
47+
sudo apt-get install ruby gem ruby-dev
48+
sudo gem install rake bundler rakecompiler rspec
49+
sudo apt-get install automake autoconf xmlto xsltproc libkrb5-dev libldap2-dev libsasl2-dev
50+
```
51+
52+
```
53+
git clone https://github.com/martencassel/radcli
54+
cd radcli
55+
rake build
56+
gem install pkg/radcli-0.1.0.gem
57+
```
58+
59+
## Contributing
60+
61+
Fork and send a Pull Request. Thanks!
62+
63+
## Copyright
64+
65+
Copyright (c) 2016,2017 Mårten Cassel
66+
67+
This program is free software: you can redistribute it and/or modify
68+
it under the terms of the GNU General Public License as published by
69+
the Free Software Foundation, either version 3 of the License, or
70+
(at your option) any later version.
71+
72+
This program is distributed in the hope that it will be useful,
73+
but WITHOUT ANY WARRANTY; without even the implied warranty of
74+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
75+
GNU General Public License for more details.
76+
77+
You should have received a copy of the GNU General Public License
78+
along with this program. If not, see <http://www.gnu.org/licenses/>.
79+

0 commit comments

Comments
 (0)