bsb_active_directory 45.0 → 98.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bsb_active_directory/group.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0de45d1f6c4d883dcf9fb6d43e59b00670622ff383cab036c0d98071929e2b74
|
4
|
+
data.tar.gz: 5d550aa3ab3fc509d3d1abc97432e3e635d90fda1aa04a1dd28cc816fcc17cdc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 07f9badc2f6575735b4628ef5a4793bd35609b28b24297e25387198aaf52f19e01b3d7ed7e6c4039b201a3021538eef8dcda63d633c57d6a302891be6a3d2e98
|
7
|
+
data.tar.gz: 885b54e9b05de4be726f4b021aa336c6672dfd94680807b70b5d7d99c18b4d04476f7cd073a7f43ebdb2e4418eb5399ccf905800cdf29412ebf2b743676b0974
|
@@ -50,7 +50,7 @@ module ActiveDirectory
|
|
50
50
|
user.member_of?(self)
|
51
51
|
end
|
52
52
|
|
53
|
-
def self.create_security_group(ou, name, type)
|
53
|
+
def self.create_security_group(ou, name, type, base)
|
54
54
|
type_mask = GroupType::SECURITY_ENABLED
|
55
55
|
case type
|
56
56
|
when 'local'
|
@@ -66,7 +66,7 @@ module ActiveDirectory
|
|
66
66
|
attributes = {
|
67
67
|
objectClass: %w[top group],
|
68
68
|
sAMAccountName: name,
|
69
|
-
objectCategory: 'CN=Group,CN=Schema,CN=Configuration,' +
|
69
|
+
objectCategory: 'CN=Group,CN=Schema,CN=Configuration,' + base,
|
70
70
|
groupType: type_mask.to_s
|
71
71
|
}
|
72
72
|
@@ldap.add(dn: dn, attributes: attributes)
|