adauth 0.0.1pre → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/lib/adauth.rb
CHANGED
data/lib/adauth/version.rb
CHANGED
@@ -0,0 +1,35 @@
|
|
1
|
+
Adauth.configure do |c|
|
2
|
+
# The Domain name of your Domain
|
3
|
+
#
|
4
|
+
# This is usually my_company.com or my_company.local
|
5
|
+
#
|
6
|
+
# If you don't know your domain contact your IT support,
|
7
|
+
# it will be the DNS suffix applied to your machines
|
8
|
+
c.domain = "example.com"
|
9
|
+
|
10
|
+
# The IP address or Hostname of a DC (Domain Controller) on your network
|
11
|
+
#
|
12
|
+
# This could be anything and probably wont be 127.0.0.1
|
13
|
+
#
|
14
|
+
# Again contact your IT Support if you can't work this out
|
15
|
+
c.server = "127.0.0.1"
|
16
|
+
|
17
|
+
# The LDAP base of your domain/intended users
|
18
|
+
#
|
19
|
+
# For all users in your domain the base would be:
|
20
|
+
# dc=example, dc=com
|
21
|
+
# OUs can be prepeneded to restrict access to your app
|
22
|
+
c.base = "dc=example, dc=com"
|
23
|
+
|
24
|
+
# The port isn't always needed as Adauth defaults to 389 the LDAP Port
|
25
|
+
#
|
26
|
+
# If your DC is on the other side of a firewall you may need to change the port
|
27
|
+
#c.port = 389
|
28
|
+
|
29
|
+
# Windows Security groups to allow
|
30
|
+
#
|
31
|
+
# Only allow members of set windows security groups to login
|
32
|
+
#
|
33
|
+
# Takes an array for group names
|
34
|
+
#c.allowed_groups = ["Group1", "Group2"]
|
35
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: adauth
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: 27
|
5
|
+
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
-
- 0
|
9
8
|
- 1
|
10
|
-
-
|
11
|
-
version: 0.0
|
9
|
+
- 0
|
10
|
+
version: 0.1.0
|
12
11
|
platform: ruby
|
13
12
|
authors:
|
14
13
|
- Adam "Arcath" Laycock
|
@@ -16,7 +15,7 @@ autorequire:
|
|
16
15
|
bindir: bin
|
17
16
|
cert_chain: []
|
18
17
|
|
19
|
-
date: 2011-06-
|
18
|
+
date: 2011-06-23 00:00:00 +01:00
|
20
19
|
default_executable:
|
21
20
|
dependencies:
|
22
21
|
- !ruby/object:Gem::Dependency
|
@@ -69,6 +68,9 @@ files:
|
|
69
68
|
- lib/adauth/user.rb
|
70
69
|
- lib/adauth/user_model.rb
|
71
70
|
- lib/adauth/version.rb
|
71
|
+
- lib/generators/adauth/config/USAGE
|
72
|
+
- lib/generators/adauth/config/config_generator.rb
|
73
|
+
- lib/generators/adauth/config/templates/config.rb.erb
|
72
74
|
- lib/generators/adauth/user_model/USAGE
|
73
75
|
- lib/generators/adauth/user_model/templates/migration.rb.erb
|
74
76
|
- lib/generators/adauth/user_model/templates/model.rb.erb
|
@@ -95,14 +97,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
95
97
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
96
98
|
none: false
|
97
99
|
requirements:
|
98
|
-
- - "
|
100
|
+
- - ">="
|
99
101
|
- !ruby/object:Gem::Version
|
100
|
-
hash:
|
102
|
+
hash: 3
|
101
103
|
segments:
|
102
|
-
-
|
103
|
-
|
104
|
-
- 1
|
105
|
-
version: 1.3.1
|
104
|
+
- 0
|
105
|
+
version: "0"
|
106
106
|
requirements: []
|
107
107
|
|
108
108
|
rubyforge_project:
|