acs-ldap 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/acs/ldap/connector.rb +14 -6
- data/lib/acs/ldap/version.rb +1 -1
- data/log/.gitignore +2 -0
- data/log/acs_ldap.log +191 -372
- data/spec/acs/ldap/connector_spec.rb +5 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a081b795c66aa30d1ec38bb70b1ee676436bfca3
|
4
|
+
data.tar.gz: 590b6e97e23d43344128e662b3eda4ce4636b915
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d3abdf0445cc70fc295fd35c24534a1973ca9f15e901cbdd05d996d0f77b8d8274d2614aff09655a9cbe8f952423c0d0dea8fff24a02ae8c0131f3277437e6ed
|
7
|
+
data.tar.gz: 6f7c96df5c52175ed54bbec1cfb6375b3baf42e76ab9063f19b23a7d2f14a86763906eeaf67c4439c1af80397d617c785259126edb2b2c77b3892574120f438b
|
data/lib/acs/ldap/connector.rb
CHANGED
@@ -108,8 +108,9 @@ class Acs::Ldap::Connector
|
|
108
108
|
if @connected
|
109
109
|
@ldap
|
110
110
|
else
|
111
|
-
connect
|
111
|
+
@ldap = connect
|
112
112
|
end
|
113
|
+
@ldap
|
113
114
|
end
|
114
115
|
|
115
116
|
protected
|
@@ -120,12 +121,19 @@ protected
|
|
120
121
|
if ! @connected
|
121
122
|
logger.debug "Binding to ldap..."
|
122
123
|
@ldap = Net::LDAP.new(ldap_params)
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
124
|
+
begin
|
125
|
+
if @ldap.bind
|
126
|
+
logger.debug "Connection succeed"
|
127
|
+
@connected = true
|
128
|
+
else
|
129
|
+
@connected = false
|
130
|
+
@ldap = nil
|
131
|
+
logger.debug "Connection failed"
|
132
|
+
end
|
133
|
+
rescue Net::LDAP::Error => e
|
134
|
+
logger.error "Connection refused '#{e.inspect}'"
|
127
135
|
@connected = false
|
128
|
-
|
136
|
+
@ldap = nil
|
129
137
|
end
|
130
138
|
@ldap
|
131
139
|
else
|
data/lib/acs/ldap/version.rb
CHANGED
data/log/.gitignore
ADDED
data/log/acs_ldap.log
CHANGED
@@ -1,372 +1,191 @@
|
|
1
|
-
DEBUG : 15-03-
|
2
|
-
DEBUG : 15-03-
|
3
|
-
DEBUG : 15-03-
|
4
|
-
DEBUG : 15-03-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
INFO : 15-03-
|
10
|
-
INFO : 15-03-
|
11
|
-
INFO : 15-03-
|
12
|
-
INFO : 15-03-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
DEBUG : 15-03-
|
18
|
-
DEBUG : 15-03-
|
19
|
-
DEBUG : 15-03-
|
20
|
-
DEBUG : 15-03-
|
21
|
-
DEBUG : 15-03-
|
22
|
-
DEBUG : 15-03-
|
23
|
-
DEBUG : 15-03-
|
24
|
-
DEBUG : 15-03-
|
25
|
-
DEBUG : 15-03-
|
26
|
-
DEBUG : 15-03-
|
27
|
-
DEBUG : 15-03-
|
28
|
-
DEBUG : 15-03-
|
29
|
-
DEBUG : 15-03-
|
30
|
-
DEBUG : 15-03-
|
31
|
-
DEBUG : 15-03-
|
32
|
-
DEBUG : 15-03-
|
33
|
-
DEBUG : 15-03-
|
34
|
-
DEBUG : 15-03-
|
35
|
-
DEBUG : 15-03-
|
36
|
-
DEBUG : 15-03-
|
37
|
-
DEBUG : 15-03-
|
38
|
-
DEBUG : 15-03-
|
39
|
-
DEBUG : 15-03-
|
40
|
-
DEBUG : 15-03-
|
41
|
-
DEBUG : 15-03-
|
42
|
-
DEBUG : 15-03-
|
43
|
-
DEBUG : 15-03-
|
44
|
-
DEBUG : 15-03-
|
45
|
-
DEBUG : 15-03-
|
46
|
-
DEBUG : 15-03-
|
47
|
-
DEBUG : 15-03-
|
48
|
-
DEBUG : 15-03-
|
49
|
-
DEBUG : 15-03-
|
50
|
-
DEBUG : 15-03-
|
51
|
-
DEBUG : 15-03-
|
52
|
-
DEBUG : 15-03-
|
53
|
-
DEBUG : 15-03-
|
54
|
-
|
55
|
-
|
56
|
-
DEBUG : 15-03-
|
57
|
-
DEBUG : 15-03-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
DEBUG : 15-03-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
DEBUG : 15-03-
|
68
|
-
DEBUG : 15-03-
|
69
|
-
DEBUG : 15-03-
|
70
|
-
DEBUG : 15-03-
|
71
|
-
DEBUG : 15-03-
|
72
|
-
DEBUG : 15-03-
|
73
|
-
DEBUG : 15-03-
|
74
|
-
DEBUG : 15-03-
|
75
|
-
DEBUG : 15-03-
|
76
|
-
DEBUG : 15-03-
|
77
|
-
DEBUG : 15-03-
|
78
|
-
DEBUG : 15-03-
|
79
|
-
DEBUG : 15-03-
|
80
|
-
DEBUG : 15-03-
|
81
|
-
|
82
|
-
DEBUG : 15-03-
|
83
|
-
DEBUG : 15-03-
|
84
|
-
DEBUG : 15-03-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
DEBUG : 15-03-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
DEBUG : 15-03-
|
94
|
-
DEBUG : 15-03-
|
95
|
-
DEBUG : 15-03-
|
96
|
-
DEBUG : 15-03-
|
97
|
-
DEBUG : 15-03-
|
98
|
-
DEBUG : 15-03-
|
99
|
-
DEBUG : 15-03-
|
100
|
-
DEBUG : 15-03-
|
101
|
-
DEBUG : 15-03-
|
102
|
-
DEBUG : 15-03-
|
103
|
-
DEBUG : 15-03-
|
104
|
-
|
105
|
-
DEBUG : 15-03-
|
106
|
-
DEBUG : 15-03-
|
107
|
-
DEBUG : 15-03-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
DEBUG : 15-03-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
DEBUG : 15-03-
|
117
|
-
DEBUG : 15-03-
|
118
|
-
DEBUG : 15-03-
|
119
|
-
DEBUG : 15-03-
|
120
|
-
DEBUG : 15-03-
|
121
|
-
DEBUG : 15-03-
|
122
|
-
DEBUG : 15-03-
|
123
|
-
DEBUG : 15-03-
|
124
|
-
DEBUG : 15-03-
|
125
|
-
DEBUG : 15-03-
|
126
|
-
DEBUG : 15-03-
|
127
|
-
|
128
|
-
DEBUG : 15-03-
|
129
|
-
DEBUG : 15-03-
|
130
|
-
DEBUG : 15-03-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
DEBUG : 15-03-
|
136
|
-
|
137
|
-
|
138
|
-
INFO : 15-03-
|
139
|
-
|
140
|
-
|
141
|
-
DEBUG : 15-03-
|
142
|
-
DEBUG : 15-03-
|
143
|
-
|
144
|
-
INFO : 15-03-
|
145
|
-
|
146
|
-
DEBUG : 15-03-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
DEBUG : 15-03-
|
153
|
-
INFO : 15-03-
|
154
|
-
|
155
|
-
DEBUG : 15-03-
|
156
|
-
|
157
|
-
|
158
|
-
DEBUG : 15-03-
|
159
|
-
|
160
|
-
DEBUG : 15-03-
|
161
|
-
DEBUG : 15-03-
|
162
|
-
|
163
|
-
|
164
|
-
DEBUG : 15-03-
|
165
|
-
DEBUG : 15-03-
|
166
|
-
DEBUG : 15-03-
|
167
|
-
DEBUG : 15-03-
|
168
|
-
DEBUG : 15-03-
|
169
|
-
DEBUG : 15-03-
|
170
|
-
DEBUG : 15-03-
|
171
|
-
DEBUG : 15-03-
|
172
|
-
DEBUG : 15-03-
|
173
|
-
DEBUG : 15-03-
|
174
|
-
DEBUG : 15-03-
|
175
|
-
|
176
|
-
|
177
|
-
DEBUG : 15-03-
|
178
|
-
DEBUG : 15-03-
|
179
|
-
|
180
|
-
|
181
|
-
INFO : 15-03-
|
182
|
-
INFO : 15-03-
|
183
|
-
|
184
|
-
|
185
|
-
INFO : 15-03-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
INFO : 15-03-
|
191
|
-
INFO : 15-03-
|
192
|
-
INFO : 15-03-23 18:27:01:907 +0400 : Add dn 'uid=1,ou=people,dc=adharacs,dc=lan' attributes '{:sn=>"john.doe", :cn=>"John Doe", :givenName=>"John Doe", :mail=>"john.doe@adharacs.lan", :userPassword=>"{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1", :objectClass=>["organizationalPerson", "person", "top", "extensibleObject"]}'
|
193
|
-
INFO : 15-03-23 18:27:01:927 +0400 : Add result SUCCESS return code:0, matched_dn: , message:Success, data:nil
|
194
|
-
INFO : 15-03-23 18:27:01:934 +0400 : Search base 'ou=people,dc=adharacs,dc=lan' filter '(mail=john.doe@adharacs.lan)' attributes 'mail'
|
195
|
-
INFO : 15-03-23 18:27:01:957 +0400 : Search result SUCCESS return code:0, matched_dn: , message:Success, data:[#<Net::LDAP::Entry:0x007faf494ca6d0 @myhash={:dn=>["uid=1,ou=people,dc=adharacs,dc=lan"], :mail=>["john.doe@adharacs.lan"]}>]
|
196
|
-
INFO : 15-03-23 18:27:01:959 +0400 : Delete dn 'uid=1,ou=people,dc=adharacs,dc=lan'
|
197
|
-
INFO : 15-03-23 18:27:01:972 +0400 : Delete result SUCCESS return code:0, matched_dn: , message:Success, data:nil
|
198
|
-
DEBUG : 15-03-23 18:27:01:973 +0400 : Acs::Ldap::Mapper with options methods_separator '.' force_method_calls 'false'
|
199
|
-
DEBUG : 15-03-23 18:27:01:973 +0400 : Acs::Ldap::Mapper chain_method on object '[[[1, 2], 3], 4]' with chain 'shift.shift.shift' separator '.' force_method_calls 'false'
|
200
|
-
DEBUG : 15-03-23 18:27:01:973 +0400 : Acs::Ldap::Mapper chain_method on object '[[1, 2], 3]' with chain 'shift.shift' separator '.' force_method_calls 'false'
|
201
|
-
DEBUG : 15-03-23 18:27:01:973 +0400 : Acs::Ldap::Mapper chain_method on object '[1, 2]' with chain 'shift' separator '.' force_method_calls 'false'
|
202
|
-
DEBUG : 15-03-23 18:27:01:973 +0400 : Acs::Ldap::Mapper chain_method returns '1'
|
203
|
-
DEBUG : 15-03-23 18:27:01:974 +0400 : Acs::Ldap::Mapper with options methods_separator '.' force_method_calls 'false'
|
204
|
-
DEBUG : 15-03-23 18:27:01:974 +0400 : Acs::Ldap::Mapper chain_method on object '#<TestObject:0x007faf4949b8a8>' with chain 'get' separator '.' force_method_calls 'false'
|
205
|
-
DEBUG : 15-03-23 18:27:01:974 +0400 : Acs::Ldap::Mapper chain_method returns 'test'
|
206
|
-
DEBUG : 15-03-23 18:27:01:974 +0400 : Acs::Ldap::Mapper with options methods_separator '.' force_method_calls 'false'
|
207
|
-
DEBUG : 15-03-23 18:27:01:974 +0400 : Acs::Ldap::Mapper chain_method on object '#<TestObject:0x007faf4949b7e0>' with chain 'get.get' separator '.' force_method_calls 'false'
|
208
|
-
DEBUG : 15-03-23 18:27:01:974 +0400 : Acs::Ldap::Mapper chain_method on object '#<TestObject:0x007faf4949b830>' with chain 'get' separator '.' force_method_calls 'false'
|
209
|
-
DEBUG : 15-03-23 18:27:01:974 +0400 : Acs::Ldap::Mapper chain_method returns 'test'
|
210
|
-
DEBUG : 15-03-23 18:27:01:975 +0400 : Acs::Ldap::Mapper with options methods_separator '.' force_method_calls 'false'
|
211
|
-
DEBUG : 15-03-23 18:27:01:975 +0400 : Acs::Ldap::Mapper chain_method on object '[[[1, 2], 3], 4]' with chain 'shift:shift:shift' separator ':' force_method_calls 'false'
|
212
|
-
DEBUG : 15-03-23 18:27:01:976 +0400 : Acs::Ldap::Mapper chain_method on object '[[1, 2], 3]' with chain 'shift:shift' separator ':' force_method_calls 'false'
|
213
|
-
DEBUG : 15-03-23 18:27:01:976 +0400 : Acs::Ldap::Mapper chain_method on object '[1, 2]' with chain 'shift' separator ':' force_method_calls 'false'
|
214
|
-
DEBUG : 15-03-23 18:27:01:976 +0400 : Acs::Ldap::Mapper chain_method returns '1'
|
215
|
-
DEBUG : 15-03-23 18:27:01:976 +0400 : Acs::Ldap::Mapper with options methods_separator '.' force_method_calls 'false'
|
216
|
-
DEBUG : 15-03-23 18:27:01:976 +0400 : Acs::Ldap::Mapper chain_method on object '#<TestObject:0x007faf48d33db8>' with chain 'get:get' separator ':' force_method_calls 'false'
|
217
|
-
DEBUG : 15-03-23 18:27:01:976 +0400 : Acs::Ldap::Mapper chain_method on object '#<TestObject:0x007faf48d33e80>' with chain 'get' separator ':' force_method_calls 'false'
|
218
|
-
DEBUG : 15-03-23 18:27:01:977 +0400 : Acs::Ldap::Mapper chain_method returns 'test'
|
219
|
-
DEBUG : 15-03-23 18:27:01:977 +0400 : Acs::Ldap::Mapper with options methods_separator '.' force_method_calls 'false'
|
220
|
-
DEBUG : 15-03-23 18:27:01:977 +0400 : Acs::Ldap::Mapper chain_method on object '#<TestObject:0x007faf48d205d8>' with chain 'get.get' separator '.' force_method_calls 'false'
|
221
|
-
DEBUG : 15-03-23 18:27:01:978 +0400 : Acs::Ldap::Mapper chain_method on object '#<TestObject:0x007faf48d206f0>' with chain 'get' separator '.' force_method_calls 'false'
|
222
|
-
DEBUG : 15-03-23 18:27:01:978 +0400 : Acs::Ldap::Mapper chain_method returns 'test'
|
223
|
-
DEBUG : 15-03-23 18:27:01:978 +0400 : Acs::Ldap::Mapper with options methods_separator '.' force_method_calls 'false'
|
224
|
-
DEBUG : 15-03-23 18:27:01:978 +0400 : Acs::Ldap::Mapper chain_method on object '#<TestObject:0x007faf48d207b8>' with chain 'get' separator '.' force_method_calls 'false'
|
225
|
-
DEBUG : 15-03-23 18:27:01:978 +0400 : Acs::Ldap::Mapper chain_method returns 'test'
|
226
|
-
DEBUG : 15-03-23 18:27:01:979 +0400 : Acs::Ldap::Mapper with options methods_separator '.' force_method_calls 'false'
|
227
|
-
DEBUG : 15-03-23 18:27:01:979 +0400 : Acs::Ldap::Mapper chain_method on object '#<TestObject:0x007faf49489310>' with chain 'get.get' separator '.' force_method_calls 'false'
|
228
|
-
DEBUG : 15-03-23 18:27:01:979 +0400 : Acs::Ldap::Mapper chain_method on object '#<TestObject:0x007faf494893b0>' with chain 'get' separator '.' force_method_calls 'false'
|
229
|
-
DEBUG : 15-03-23 18:27:01:979 +0400 : Acs::Ldap::Mapper chain_method returns 'test'
|
230
|
-
DEBUG : 15-03-23 18:27:01:979 +0400 : Acs::Ldap::Mapper with options methods_separator '.' force_method_calls 'false'
|
231
|
-
DEBUG : 15-03-23 18:27:01:979 +0400 : Acs::Ldap::Mapper chain_method on object '#<TestObject:0x007faf49489478>' with chain 'get' separator '.' force_method_calls 'false'
|
232
|
-
DEBUG : 15-03-23 18:27:01:979 +0400 : Acs::Ldap::Mapper chain_method returns 'test'
|
233
|
-
DEBUG : 15-03-23 18:27:01:980 +0400 : Acs::Ldap::Mapper with options methods_separator '.' force_method_calls 'false'
|
234
|
-
DEBUG : 15-03-23 18:27:01:980 +0400 : Acs::Ldap::Mapper chain_method on object '#<TestObject:0x007faf49472ef8>' with chain 'get' separator '.' force_method_calls 'false'
|
235
|
-
DEBUG : 15-03-23 18:27:01:980 +0400 : Acs::Ldap::Mapper chain_method returns 'test'
|
236
|
-
DEBUG : 15-03-23 18:27:01:980 +0400 : Acs::Ldap::Mapper chain_method on object '#<TestObject:0x007faf49472ef8>' with chain 'get2' separator '.' force_method_calls 'false'
|
237
|
-
DEBUG : 15-03-23 18:27:01:980 +0400 : Acs::Ldap::Mapper chain_method returns 'value2'
|
238
|
-
DEBUG : 15-03-23 18:27:01:981 +0400 : Acs::Ldap::Mapper with options methods_separator '.' force_method_calls 'true'
|
239
|
-
INFO : 15-03-23 18:27:01:981 +0400 : Delete all ou=people
|
240
|
-
INFO : 15-03-23 18:27:01:981 +0400 : Search base 'ou=people,dc=adharacs,dc=lan' filter '' attributes 'uid'
|
241
|
-
DEBUG : 15-03-23 18:27:01:981 +0400 : LDAP connect
|
242
|
-
DEBUG : 15-03-23 18:27:01:981 +0400 : Binding to ldap...
|
243
|
-
DEBUG : 15-03-23 18:27:01:981 +0400 : Connection params: {:host=>"192.168.59.103", :port=>49389, :base=>"dc=adharacs,dc=lan", :auth=>{:method=>:simple, :username=>"cn=admin,dc=adharacs,dc=lan", :password=>"admin"}}
|
244
|
-
DEBUG : 15-03-23 18:27:01:986 +0400 : Connection succeed
|
245
|
-
INFO : 15-03-23 18:27:02:013 +0400 : Search result SUCCESS return code:0, matched_dn: , message:Success, data:[#<Net::LDAP::Entry:0x007faf49410370 @myhash={:dn=>["ou=people,dc=adharacs,dc=lan"]}>]
|
246
|
-
INFO : 15-03-23 18:27:02:014 +0400 : Search base 'ou=people,dc=adharacs,dc=lan' filter '' attributes ''
|
247
|
-
INFO : 15-03-23 18:27:02:020 +0400 : Search result SUCCESS return code:0, matched_dn: , message:Success, data:[#<Net::LDAP::Entry:0x007faf493fbd58 @myhash={:dn=>["ou=people,dc=adharacs,dc=lan"], :objectclass=>["organizationalUnit", "top"], :ou=>["people"]}>]
|
248
|
-
DEBUG : 15-03-23 18:27:02:021 +0400 : Acs::Ldap::Mapper with options methods_separator '.' force_method_calls 'true'
|
249
|
-
DEBUG : 15-03-23 18:27:02:021 +0400 : Acs::Ldap::Mapper chain_method on object '{:id=>2, :sn=>"dark.vador", :cn=>"dark.vador", :givenName=>"Dark Vador", :userPassword=>"{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1", :mail=>"dvador@adharacs.lan"}' with chain 'id' separator '.' force_method_calls 'true'
|
250
|
-
DEBUG : 15-03-23 18:27:02:021 +0400 : Acs::Ldap::Mapper chain_method returns '2'
|
251
|
-
DEBUG : 15-03-23 18:27:02:021 +0400 : Acs::Ldap::Mapper chain_method on object '{:id=>2, :sn=>"dark.vador", :cn=>"dark.vador", :givenName=>"Dark Vador", :userPassword=>"{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1", :mail=>"dvador@adharacs.lan"}' with chain 'sn' separator '.' force_method_calls 'true'
|
252
|
-
DEBUG : 15-03-23 18:27:02:021 +0400 : Acs::Ldap::Mapper chain_method returns 'dark.vador'
|
253
|
-
DEBUG : 15-03-23 18:27:02:021 +0400 : Acs::Ldap::Mapper chain_method on object '{:id=>2, :sn=>"dark.vador", :cn=>"dark.vador", :givenName=>"Dark Vador", :userPassword=>"{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1", :mail=>"dvador@adharacs.lan"}' with chain 'cn' separator '.' force_method_calls 'true'
|
254
|
-
DEBUG : 15-03-23 18:27:02:021 +0400 : Acs::Ldap::Mapper chain_method returns 'dark.vador'
|
255
|
-
DEBUG : 15-03-23 18:27:02:022 +0400 : Acs::Ldap::Mapper chain_method on object '{:id=>2, :sn=>"dark.vador", :cn=>"dark.vador", :givenName=>"Dark Vador", :userPassword=>"{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1", :mail=>"dvador@adharacs.lan"}' with chain 'givenName' separator '.' force_method_calls 'true'
|
256
|
-
DEBUG : 15-03-23 18:27:02:022 +0400 : Acs::Ldap::Mapper chain_method returns 'Dark Vador'
|
257
|
-
DEBUG : 15-03-23 18:27:02:022 +0400 : Acs::Ldap::Mapper chain_method on object '{:id=>2, :sn=>"dark.vador", :cn=>"dark.vador", :givenName=>"Dark Vador", :userPassword=>"{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1", :mail=>"dvador@adharacs.lan"}' with chain 'mail' separator '.' force_method_calls 'true'
|
258
|
-
DEBUG : 15-03-23 18:27:02:022 +0400 : Acs::Ldap::Mapper chain_method returns 'dvador@adharacs.lan'
|
259
|
-
DEBUG : 15-03-23 18:27:02:022 +0400 : Acs::Ldap::Mapper chain_method on object '{:id=>2, :sn=>"dark.vador", :cn=>"dark.vador", :givenName=>"Dark Vador", :userPassword=>"{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1", :mail=>"dvador@adharacs.lan"}' with chain 'userPassword' separator '.' force_method_calls 'true'
|
260
|
-
DEBUG : 15-03-23 18:27:02:022 +0400 : Acs::Ldap::Mapper chain_method returns '{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1'
|
261
|
-
DEBUG : 15-03-23 18:27:02:022 +0400 : Acs::Ldap::Mapper chain_method on object '{:id=>2, :sn=>"dark.vador", :cn=>"dark.vador", :givenName=>"Dark Vador", :userPassword=>"{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1", :mail=>"dvador@adharacs.lan"}' with chain 'id' separator '.' force_method_calls 'true'
|
262
|
-
DEBUG : 15-03-23 18:27:02:022 +0400 : Acs::Ldap::Mapper chain_method returns '2'
|
263
|
-
DEBUG : 15-03-23 18:27:02:022 +0400 : Pusher#create dn 'uid=2,ou=people,dc=adharacs,dc=lan' attributes '{:sn=>"dark.vador", :cn=>"dark.vador", :givenName=>"Dark Vador", :mail=>"dvador@adharacs.lan", :userPassword=>"{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1", :objectClass=>["organizationalPerson", "person", "top", "extensibleObject"]}'
|
264
|
-
DEBUG : 15-03-23 18:27:02:023 +0400 : Acs::Ldap::Mapper chain_method on object '{:id=>2, :sn=>"dark.vador", :cn=>"dark.vador", :givenName=>"Dark Vador", :userPassword=>"{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1", :mail=>"dvador@adharacs.lan"}' with chain 'id' separator '.' force_method_calls 'true'
|
265
|
-
DEBUG : 15-03-23 18:27:02:023 +0400 : Acs::Ldap::Mapper chain_method returns '2'
|
266
|
-
INFO : 15-03-23 18:27:02:023 +0400 : Add dn 'uid=2,ou=people,dc=adharacs,dc=lan' attributes '{:sn=>"dark.vador", :cn=>"dark.vador", :givenName=>"Dark Vador", :mail=>"dvador@adharacs.lan", :userPassword=>"{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1", :objectClass=>["organizationalPerson", "person", "top", "extensibleObject"]}'
|
267
|
-
DEBUG : 15-03-23 18:27:02:023 +0400 : LDAP connect
|
268
|
-
DEBUG : 15-03-23 18:27:02:023 +0400 : Binding to ldap...
|
269
|
-
DEBUG : 15-03-23 18:27:02:023 +0400 : Connection params: {:host=>"192.168.59.103", :port=>49389, :base=>"dc=adharacs,dc=lan", :auth=>{:method=>:simple, :username=>"cn=admin,dc=adharacs,dc=lan", :password=>"admin"}}
|
270
|
-
DEBUG : 15-03-23 18:27:02:028 +0400 : Connection succeed
|
271
|
-
INFO : 15-03-23 18:27:02:046 +0400 : Add result SUCCESS return code:0, matched_dn: , message:Success, data:nil
|
272
|
-
INFO : 15-03-23 18:27:02:047 +0400 : Search base 'ou=people,dc=adharacs,dc=lan' filter '' attributes ''
|
273
|
-
INFO : 15-03-23 18:27:02:062 +0400 : Search result SUCCESS return code:0, matched_dn: , message:Success, data:[#<Net::LDAP::Entry:0x007faf4937b5b8 @myhash={:dn=>["ou=people,dc=adharacs,dc=lan"], :objectclass=>["organizationalUnit", "top"], :ou=>["people"]}>, #<Net::LDAP::Entry:0x007faf4a843388 @myhash={:dn=>["uid=2,ou=people,dc=adharacs,dc=lan"], :sn=>["dark.vador"], :cn=>["dark.vador"], :givenname=>["Dark Vador"], :mail=>["dvador@adharacs.lan"], :userpassword=>["{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1"], :objectclass=>["organizationalPerson", "person", "top", "extensibleObject"], :uid=>["2"]}>]
|
274
|
-
DEBUG : 15-03-23 18:27:02:064 +0400 : Acs::Ldap::Mapper with options methods_separator '.' force_method_calls 'true'
|
275
|
-
DEBUG : 15-03-23 18:27:02:064 +0400 : Acs::Ldap::Mapper chain_method on object '{:id=>2, :sn=>"dark.vador", :cn=>"dark.vador", :givenName=>"Vador Dark", :userPassword=>"{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1", :mail=>"dvador@adharacs.lan"}' with chain 'id' separator '.' force_method_calls 'true'
|
276
|
-
DEBUG : 15-03-23 18:27:02:064 +0400 : Acs::Ldap::Mapper chain_method returns '2'
|
277
|
-
DEBUG : 15-03-23 18:27:02:065 +0400 : Acs::Ldap::Mapper chain_method on object '{:id=>2, :sn=>"dark.vador", :cn=>"dark.vador", :givenName=>"Vador Dark", :userPassword=>"{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1", :mail=>"dvador@adharacs.lan"}' with chain 'sn' separator '.' force_method_calls 'true'
|
278
|
-
DEBUG : 15-03-23 18:27:02:065 +0400 : Acs::Ldap::Mapper chain_method returns 'dark.vador'
|
279
|
-
DEBUG : 15-03-23 18:27:02:065 +0400 : Acs::Ldap::Mapper chain_method on object '{:id=>2, :sn=>"dark.vador", :cn=>"dark.vador", :givenName=>"Vador Dark", :userPassword=>"{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1", :mail=>"dvador@adharacs.lan"}' with chain 'cn' separator '.' force_method_calls 'true'
|
280
|
-
DEBUG : 15-03-23 18:27:02:065 +0400 : Acs::Ldap::Mapper chain_method returns 'dark.vador'
|
281
|
-
DEBUG : 15-03-23 18:27:02:065 +0400 : Acs::Ldap::Mapper chain_method on object '{:id=>2, :sn=>"dark.vador", :cn=>"dark.vador", :givenName=>"Vador Dark", :userPassword=>"{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1", :mail=>"dvador@adharacs.lan"}' with chain 'givenName' separator '.' force_method_calls 'true'
|
282
|
-
DEBUG : 15-03-23 18:27:02:065 +0400 : Acs::Ldap::Mapper chain_method returns 'Vador Dark'
|
283
|
-
DEBUG : 15-03-23 18:27:02:065 +0400 : Acs::Ldap::Mapper chain_method on object '{:id=>2, :sn=>"dark.vador", :cn=>"dark.vador", :givenName=>"Vador Dark", :userPassword=>"{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1", :mail=>"dvador@adharacs.lan"}' with chain 'mail' separator '.' force_method_calls 'true'
|
284
|
-
DEBUG : 15-03-23 18:27:02:066 +0400 : Acs::Ldap::Mapper chain_method returns 'dvador@adharacs.lan'
|
285
|
-
DEBUG : 15-03-23 18:27:02:066 +0400 : Acs::Ldap::Mapper chain_method on object '{:id=>2, :sn=>"dark.vador", :cn=>"dark.vador", :givenName=>"Vador Dark", :userPassword=>"{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1", :mail=>"dvador@adharacs.lan"}' with chain 'userPassword' separator '.' force_method_calls 'true'
|
286
|
-
DEBUG : 15-03-23 18:27:02:066 +0400 : Acs::Ldap::Mapper chain_method returns '{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1'
|
287
|
-
DEBUG : 15-03-23 18:27:02:066 +0400 : Acs::Ldap::Mapper chain_method on object '{:id=>2, :sn=>"dark.vador", :cn=>"dark.vador", :givenName=>"Vador Dark", :userPassword=>"{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1", :mail=>"dvador@adharacs.lan"}' with chain 'id' separator '.' force_method_calls 'true'
|
288
|
-
DEBUG : 15-03-23 18:27:02:066 +0400 : Acs::Ldap::Mapper chain_method returns '2'
|
289
|
-
INFO : 15-03-23 18:27:02:066 +0400 : Modify dn 'uid=2,ou=people,dc=adharacs,dc=lan' operations '[[:replace, "sn", "dark.vador"], [:replace, "cn", "dark.vador"], [:replace, "givenName", "Vador Dark"], [:replace, "mail", "dvador@adharacs.lan"], [:replace, "userPassword", "{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1"]]'
|
290
|
-
DEBUG : 15-03-23 18:27:02:066 +0400 : LDAP connect
|
291
|
-
DEBUG : 15-03-23 18:27:02:066 +0400 : Binding to ldap...
|
292
|
-
DEBUG : 15-03-23 18:27:02:066 +0400 : Connection params: {:host=>"192.168.59.103", :port=>49389, :base=>"dc=adharacs,dc=lan", :auth=>{:method=>:simple, :username=>"cn=admin,dc=adharacs,dc=lan", :password=>"admin"}}
|
293
|
-
DEBUG : 15-03-23 18:27:02:077 +0400 : Connection succeed
|
294
|
-
INFO : 15-03-23 18:27:02:096 +0400 : Modify result SUCCESS return code:0, matched_dn: , message:Success, data:nil
|
295
|
-
INFO : 15-03-23 18:27:02:096 +0400 : Search base 'ou=people,dc=adharacs,dc=lan' filter '(uid=2)' attributes ''
|
296
|
-
INFO : 15-03-23 18:27:02:127 +0400 : Search result SUCCESS return code:0, matched_dn: , message:Success, data:[#<Net::LDAP::Entry:0x007faf49231fe0 @myhash={:dn=>["uid=2,ou=people,dc=adharacs,dc=lan"], :objectclass=>["organizationalPerson", "person", "top", "extensibleObject"], :uid=>["2"], :sn=>["dark.vador"], :cn=>["dark.vador"], :givenname=>["Vador Dark"], :mail=>["dvador@adharacs.lan"], :userpassword=>["{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1"]}>]
|
297
|
-
DEBUG : 15-03-23 18:27:02:127 +0400 : Acs::Ldap::Mapper with options methods_separator '.' force_method_calls 'true'
|
298
|
-
DEBUG : 15-03-23 18:27:02:128 +0400 : Acs::Ldap::Mapper chain_method on object '{:id=>2, :sn=>"dark.vador", :cn=>"dark.vador", :givenName=>"D V", :userPassword=>"{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1", :mail=>"dv@adharacs.lan"}' with chain 'id' separator '.' force_method_calls 'true'
|
299
|
-
DEBUG : 15-03-23 18:27:02:128 +0400 : Acs::Ldap::Mapper chain_method returns '2'
|
300
|
-
DEBUG : 15-03-23 18:27:02:128 +0400 : Acs::Ldap::Mapper chain_method on object '{:id=>2, :sn=>"dark.vador", :cn=>"dark.vador", :givenName=>"D V", :userPassword=>"{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1", :mail=>"dv@adharacs.lan"}' with chain 'sn' separator '.' force_method_calls 'true'
|
301
|
-
DEBUG : 15-03-23 18:27:02:128 +0400 : Acs::Ldap::Mapper chain_method returns 'dark.vador'
|
302
|
-
DEBUG : 15-03-23 18:27:02:128 +0400 : Acs::Ldap::Mapper chain_method on object '{:id=>2, :sn=>"dark.vador", :cn=>"dark.vador", :givenName=>"D V", :userPassword=>"{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1", :mail=>"dv@adharacs.lan"}' with chain 'cn' separator '.' force_method_calls 'true'
|
303
|
-
DEBUG : 15-03-23 18:27:02:128 +0400 : Acs::Ldap::Mapper chain_method returns 'dark.vador'
|
304
|
-
DEBUG : 15-03-23 18:27:02:128 +0400 : Acs::Ldap::Mapper chain_method on object '{:id=>2, :sn=>"dark.vador", :cn=>"dark.vador", :givenName=>"D V", :userPassword=>"{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1", :mail=>"dv@adharacs.lan"}' with chain 'givenName' separator '.' force_method_calls 'true'
|
305
|
-
DEBUG : 15-03-23 18:27:02:128 +0400 : Acs::Ldap::Mapper chain_method returns 'D V'
|
306
|
-
DEBUG : 15-03-23 18:27:02:128 +0400 : Acs::Ldap::Mapper chain_method on object '{:id=>2, :sn=>"dark.vador", :cn=>"dark.vador", :givenName=>"D V", :userPassword=>"{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1", :mail=>"dv@adharacs.lan"}' with chain 'mail' separator '.' force_method_calls 'true'
|
307
|
-
DEBUG : 15-03-23 18:27:02:128 +0400 : Acs::Ldap::Mapper chain_method returns 'dv@adharacs.lan'
|
308
|
-
DEBUG : 15-03-23 18:27:02:128 +0400 : Acs::Ldap::Mapper chain_method on object '{:id=>2, :sn=>"dark.vador", :cn=>"dark.vador", :givenName=>"D V", :userPassword=>"{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1", :mail=>"dv@adharacs.lan"}' with chain 'userPassword' separator '.' force_method_calls 'true'
|
309
|
-
DEBUG : 15-03-23 18:27:02:128 +0400 : Acs::Ldap::Mapper chain_method returns '{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1'
|
310
|
-
DEBUG : 15-03-23 18:27:02:128 +0400 : Acs::Ldap::Mapper chain_method on object '{:id=>2, :sn=>"dark.vador", :cn=>"dark.vador", :givenName=>"D V", :userPassword=>"{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1", :mail=>"dv@adharacs.lan"}' with chain 'id' separator '.' force_method_calls 'true'
|
311
|
-
DEBUG : 15-03-23 18:27:02:129 +0400 : Acs::Ldap::Mapper chain_method returns '2'
|
312
|
-
INFO : 15-03-23 18:27:02:129 +0400 : Modify dn 'uid=2,ou=people,dc=adharacs,dc=lan' operations '[[:replace, "givenName", "D V"]]'
|
313
|
-
DEBUG : 15-03-23 18:27:02:129 +0400 : LDAP connect
|
314
|
-
DEBUG : 15-03-23 18:27:02:129 +0400 : Binding to ldap...
|
315
|
-
DEBUG : 15-03-23 18:27:02:129 +0400 : Connection params: {:host=>"192.168.59.103", :port=>49389, :base=>"dc=adharacs,dc=lan", :auth=>{:method=>:simple, :username=>"cn=admin,dc=adharacs,dc=lan", :password=>"admin"}}
|
316
|
-
DEBUG : 15-03-23 18:27:02:136 +0400 : Connection succeed
|
317
|
-
INFO : 15-03-23 18:27:02:152 +0400 : Modify result SUCCESS return code:0, matched_dn: , message:Success, data:nil
|
318
|
-
INFO : 15-03-23 18:27:02:152 +0400 : Search base 'ou=people,dc=adharacs,dc=lan' filter '(uid=2)' attributes ''
|
319
|
-
INFO : 15-03-23 18:27:02:173 +0400 : Search result SUCCESS return code:0, matched_dn: , message:Success, data:[#<Net::LDAP::Entry:0x007faf4911aa58 @myhash={:dn=>["uid=2,ou=people,dc=adharacs,dc=lan"], :objectclass=>["organizationalPerson", "person", "top", "extensibleObject"], :uid=>["2"], :sn=>["dark.vador"], :cn=>["dark.vador"], :mail=>["dvador@adharacs.lan"], :userpassword=>["{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1"], :givenname=>["D V"]}>]
|
320
|
-
INFO : 15-03-23 18:27:02:173 +0400 : Search base 'ou=people,dc=adharacs,dc=lan' filter '(uid=2)' attributes ''
|
321
|
-
INFO : 15-03-23 18:27:02:187 +0400 : Search result SUCCESS return code:0, matched_dn: , message:Success, data:[#<Net::LDAP::Entry:0x007faf489d0900 @myhash={:dn=>["uid=2,ou=people,dc=adharacs,dc=lan"], :objectclass=>["organizationalPerson", "person", "top", "extensibleObject"], :uid=>["2"], :sn=>["dark.vador"], :cn=>["dark.vador"], :mail=>["dvador@adharacs.lan"], :userpassword=>["{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1"], :givenname=>["D V"]}>]
|
322
|
-
DEBUG : 15-03-23 18:27:02:187 +0400 : Acs::Ldap::Mapper with options methods_separator '.' force_method_calls 'true'
|
323
|
-
DEBUG : 15-03-23 18:27:02:188 +0400 : Acs::Ldap::Mapper chain_method on object '{:id=>2, :sn=>"dark.vador", :cn=>"dark.vador", :givenName=>"Dark Vador", :userPassword=>"{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1", :mail=>"dvador@adharacs.lan"}' with chain 'id' separator '.' force_method_calls 'true'
|
324
|
-
DEBUG : 15-03-23 18:27:02:188 +0400 : Acs::Ldap::Mapper chain_method returns '2'
|
325
|
-
INFO : 15-03-23 18:27:02:188 +0400 : Delete dn 'uid=2,ou=people,dc=adharacs,dc=lan'
|
326
|
-
DEBUG : 15-03-23 18:27:02:188 +0400 : LDAP connect
|
327
|
-
DEBUG : 15-03-23 18:27:02:188 +0400 : Binding to ldap...
|
328
|
-
DEBUG : 15-03-23 18:27:02:188 +0400 : Connection params: {:host=>"192.168.59.103", :port=>49389, :base=>"dc=adharacs,dc=lan", :auth=>{:method=>:simple, :username=>"cn=admin,dc=adharacs,dc=lan", :password=>"admin"}}
|
329
|
-
DEBUG : 15-03-23 18:27:02:194 +0400 : Connection succeed
|
330
|
-
INFO : 15-03-23 18:27:02:217 +0400 : Delete result SUCCESS return code:0, matched_dn: , message:Success, data:nil
|
331
|
-
INFO : 15-03-23 18:27:02:217 +0400 : Search base 'ou=people,dc=adharacs,dc=lan' filter '' attributes ''
|
332
|
-
INFO : 15-03-23 18:27:02:247 +0400 : Search result SUCCESS return code:0, matched_dn: , message:Success, data:[#<Net::LDAP::Entry:0x007faf4896afb0 @myhash={:dn=>["ou=people,dc=adharacs,dc=lan"], :objectclass=>["organizationalUnit", "top"], :ou=>["people"]}>]
|
333
|
-
DEBUG : 15-03-23 18:27:02:248 +0400 : Acs::Ldap::Mapper with options methods_separator '.' force_method_calls 'true'
|
334
|
-
INFO : 15-03-23 18:27:02:248 +0400 : Delete all ou=people
|
335
|
-
INFO : 15-03-23 18:27:02:249 +0400 : Search base 'ou=people,dc=adharacs,dc=lan' filter '' attributes 'uid'
|
336
|
-
DEBUG : 15-03-23 18:27:02:249 +0400 : LDAP connect
|
337
|
-
DEBUG : 15-03-23 18:27:02:249 +0400 : Binding to ldap...
|
338
|
-
DEBUG : 15-03-23 18:27:02:249 +0400 : Connection params: {:host=>"192.168.59.103", :port=>49389, :base=>"dc=adharacs,dc=lan", :auth=>{:method=>:simple, :username=>"cn=admin,dc=adharacs,dc=lan", :password=>"admin"}}
|
339
|
-
DEBUG : 15-03-23 18:27:02:257 +0400 : Connection succeed
|
340
|
-
INFO : 15-03-23 18:27:02:283 +0400 : Search result SUCCESS return code:0, matched_dn: , message:Success, data:[#<Net::LDAP::Entry:0x007faf4a041720 @myhash={:dn=>["ou=people,dc=adharacs,dc=lan"]}>]
|
341
|
-
DEBUG : 15-03-23 18:27:02:284 +0400 : Acs::Ldap::Mapper chain_method on object '{:id=>2, :sn=>"dark.vador", :cn=>"dark.vador", :givenName=>"Dark Vador", :userPassword=>"{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1", :mail=>"dvador@adharacs.lan"}' with chain 'id' separator '.' force_method_calls 'true'
|
342
|
-
DEBUG : 15-03-23 18:27:02:284 +0400 : Acs::Ldap::Mapper chain_method returns '2'
|
343
|
-
INFO : 15-03-23 18:27:02:284 +0400 : Search base 'uid=2,ou=people,dc=adharacs,dc=lan' filter '' attributes ''
|
344
|
-
INFO : 15-03-23 18:27:02:290 +0400 : Search result ERROR return code:32, matched_dn: ou=people,dc=adharacs,dc=lan, message:No Such Object, data:[]
|
345
|
-
DEBUG : 15-03-23 18:27:02:290 +0400 : Acs::Ldap::Mapper chain_method on object '{:id=>2, :sn=>"dark.vador", :cn=>"dark.vador", :givenName=>"Dark Vador", :userPassword=>"{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1", :mail=>"dvador@adharacs.lan"}' with chain 'id' separator '.' force_method_calls 'true'
|
346
|
-
DEBUG : 15-03-23 18:27:02:290 +0400 : Acs::Ldap::Mapper chain_method returns '2'
|
347
|
-
DEBUG : 15-03-23 18:27:02:290 +0400 : Acs::Ldap::Mapper chain_method on object '{:id=>2, :sn=>"dark.vador", :cn=>"dark.vador", :givenName=>"Dark Vador", :userPassword=>"{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1", :mail=>"dvador@adharacs.lan"}' with chain 'sn' separator '.' force_method_calls 'true'
|
348
|
-
DEBUG : 15-03-23 18:27:02:290 +0400 : Acs::Ldap::Mapper chain_method returns 'dark.vador'
|
349
|
-
DEBUG : 15-03-23 18:27:02:290 +0400 : Acs::Ldap::Mapper chain_method on object '{:id=>2, :sn=>"dark.vador", :cn=>"dark.vador", :givenName=>"Dark Vador", :userPassword=>"{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1", :mail=>"dvador@adharacs.lan"}' with chain 'cn' separator '.' force_method_calls 'true'
|
350
|
-
DEBUG : 15-03-23 18:27:02:290 +0400 : Acs::Ldap::Mapper chain_method returns 'dark.vador'
|
351
|
-
DEBUG : 15-03-23 18:27:02:291 +0400 : Acs::Ldap::Mapper chain_method on object '{:id=>2, :sn=>"dark.vador", :cn=>"dark.vador", :givenName=>"Dark Vador", :userPassword=>"{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1", :mail=>"dvador@adharacs.lan"}' with chain 'givenName' separator '.' force_method_calls 'true'
|
352
|
-
DEBUG : 15-03-23 18:27:02:291 +0400 : Acs::Ldap::Mapper chain_method returns 'Dark Vador'
|
353
|
-
DEBUG : 15-03-23 18:27:02:291 +0400 : Acs::Ldap::Mapper chain_method on object '{:id=>2, :sn=>"dark.vador", :cn=>"dark.vador", :givenName=>"Dark Vador", :userPassword=>"{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1", :mail=>"dvador@adharacs.lan"}' with chain 'mail' separator '.' force_method_calls 'true'
|
354
|
-
DEBUG : 15-03-23 18:27:02:291 +0400 : Acs::Ldap::Mapper chain_method returns 'dvador@adharacs.lan'
|
355
|
-
DEBUG : 15-03-23 18:27:02:291 +0400 : Acs::Ldap::Mapper chain_method on object '{:id=>2, :sn=>"dark.vador", :cn=>"dark.vador", :givenName=>"Dark Vador", :userPassword=>"{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1", :mail=>"dvador@adharacs.lan"}' with chain 'userPassword' separator '.' force_method_calls 'true'
|
356
|
-
DEBUG : 15-03-23 18:27:02:291 +0400 : Acs::Ldap::Mapper chain_method returns '{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1'
|
357
|
-
DEBUG : 15-03-23 18:27:02:292 +0400 : Acs::Ldap::Mapper chain_method on object '{:id=>2, :sn=>"dark.vador", :cn=>"dark.vador", :givenName=>"Dark Vador", :userPassword=>"{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1", :mail=>"dvador@adharacs.lan"}' with chain 'id' separator '.' force_method_calls 'true'
|
358
|
-
DEBUG : 15-03-23 18:27:02:292 +0400 : Acs::Ldap::Mapper chain_method returns '2'
|
359
|
-
DEBUG : 15-03-23 18:27:02:292 +0400 : Pusher#create dn 'uid=2,ou=people,dc=adharacs,dc=lan' attributes '{:sn=>"dark.vador", :cn=>"dark.vador", :givenName=>"Dark Vador", :mail=>"dvador@adharacs.lan", :userPassword=>"{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1", :objectClass=>["organizationalPerson", "person", "top", "extensibleObject"]}'
|
360
|
-
DEBUG : 15-03-23 18:27:02:292 +0400 : Acs::Ldap::Mapper chain_method on object '{:id=>2, :sn=>"dark.vador", :cn=>"dark.vador", :givenName=>"Dark Vador", :userPassword=>"{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1", :mail=>"dvador@adharacs.lan"}' with chain 'id' separator '.' force_method_calls 'true'
|
361
|
-
DEBUG : 15-03-23 18:27:02:292 +0400 : Acs::Ldap::Mapper chain_method returns '2'
|
362
|
-
INFO : 15-03-23 18:27:02:292 +0400 : Add dn 'uid=2,ou=people,dc=adharacs,dc=lan' attributes '{:sn=>"dark.vador", :cn=>"dark.vador", :givenName=>"Dark Vador", :mail=>"dvador@adharacs.lan", :userPassword=>"{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1", :objectClass=>["organizationalPerson", "person", "top", "extensibleObject"]}'
|
363
|
-
INFO : 15-03-23 18:27:02:307 +0400 : Add result SUCCESS return code:0, matched_dn: , message:Success, data:nil
|
364
|
-
DEBUG : 15-03-23 18:27:02:307 +0400 : Acs::Ldap::Mapper chain_method on object '{:id=>2, :sn=>"dark.vador", :cn=>"dark.vador", :givenName=>"Dark Vador", :userPassword=>"{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1", :mail=>"dvador@adharacs.lan"}' with chain 'id' separator '.' force_method_calls 'true'
|
365
|
-
DEBUG : 15-03-23 18:27:02:308 +0400 : Acs::Ldap::Mapper chain_method returns '2'
|
366
|
-
INFO : 15-03-23 18:27:02:308 +0400 : Search base 'uid=2,ou=people,dc=adharacs,dc=lan' filter '' attributes ''
|
367
|
-
INFO : 15-03-23 18:27:02:323 +0400 : Search result SUCCESS return code:0, matched_dn: , message:Success, data:[#<Net::LDAP::Entry:0x007faf491e8b38 @myhash={:dn=>["uid=2,ou=people,dc=adharacs,dc=lan"], :sn=>["dark.vador"], :cn=>["dark.vador"], :givenname=>["Dark Vador"], :mail=>["dvador@adharacs.lan"], :userpassword=>["{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1"], :objectclass=>["organizationalPerson", "person", "top", "extensibleObject"], :uid=>["2"]}>]
|
368
|
-
INFO : 15-03-23 18:27:02:323 +0400 : Delete all ou=people
|
369
|
-
INFO : 15-03-23 18:27:02:323 +0400 : Search base 'ou=people,dc=adharacs,dc=lan' filter '' attributes 'uid'
|
370
|
-
INFO : 15-03-23 18:27:02:337 +0400 : Search result SUCCESS return code:0, matched_dn: , message:Success, data:[#<Net::LDAP::Entry:0x007faf48b637b8 @myhash={:dn=>["ou=people,dc=adharacs,dc=lan"]}>, #<Net::LDAP::Entry:0x007faf48b628b8 @myhash={:dn=>["uid=2,ou=people,dc=adharacs,dc=lan"], :uid=>["2"]}>]
|
371
|
-
INFO : 15-03-23 18:27:02:338 +0400 : Delete dn 'uid=2,ou=people,dc=adharacs,dc=lan'
|
372
|
-
INFO : 15-03-23 18:27:02:362 +0400 : Delete result SUCCESS return code:0, matched_dn: , message:Success, data:nil
|
1
|
+
DEBUG : 15-03-24 09:12:27:567 +0400 : LDAP connect
|
2
|
+
DEBUG : 15-03-24 09:12:27:567 +0400 : Binding to ldap...
|
3
|
+
DEBUG : 15-03-24 09:12:27:568 +0400 : Connection params: {:host=>"192.168.59.103", :port=>49389, :base=>"dc=adharacs,dc=lan", :auth=>{:method=>:simple, :username=>"cn=admin,dc=adharacs,dc=lan", :password=>"admin"}}
|
4
|
+
DEBUG : 15-03-24 09:12:27:582 +0400 : Connection succeed
|
5
|
+
DEBUG : 15-03-24 09:12:27:582 +0400 : LDAP connect
|
6
|
+
DEBUG : 15-03-24 09:12:27:583 +0400 : Binding to ldap...
|
7
|
+
DEBUG : 15-03-24 09:12:27:583 +0400 : Connection params: {:host=>"127.0.0.1", :port=>49390, :base=>"dc=adharacs,dc=lan", :auth=>{:method=>:simple, :username=>"cn=admin,dc=adharacs,dc=lan", :password=>"admin"}}
|
8
|
+
ERROR : 15-03-24 09:12:27:583 +0400 : Connection refused '#<Net::LDAP::Error: Server 127.0.0.1 refused connection on port 49390.>'
|
9
|
+
INFO : 15-03-24 09:12:27:584 +0400 : Search base '' filter '' attributes ''
|
10
|
+
INFO : 15-03-24 09:12:27:604 +0400 : Search result SUCCESS return code:0, matched_dn: , message:Success, data:[#<Net::LDAP::Entry:0x007ffc2aa8bbe0 @myhash={:dn=>["dc=adharacs,dc=lan"], :objectclass=>["top", "dcObject", "organization"], :o=>["'LDAP Test'"], :dc=>["adharacs"]}>, #<Net::LDAP::Entry:0x007ffc2aa81848 @myhash={:dn=>["cn=admin,dc=adharacs,dc=lan"], :objectclass=>["simpleSecurityObject", "organizationalRole"], :cn=>["admin"], :description=>["LDAP administrator"], :userpassword=>["{SSHA}gfWXs6CZOCDlQXMwol0YPSye3w12V/XU"]}>, #<Net::LDAP::Entry:0x007ffc29bfb490 @myhash={:dn=>["ou=people,dc=adharacs,dc=lan"], :objectclass=>["organizationalUnit", "top"], :ou=>["people"]}>, #<Net::LDAP::Entry:0x007ffc29bf8448 @myhash={:dn=>["ou=mailbox,dc=adharacs,dc=lan"], :objectclass=>["organizationalUnit", "top"], :ou=>["mailbox"]}>, #<Net::LDAP::Entry:0x007ffc29bf2840 @myhash={:dn=>["ou=alias,dc=adharacs,dc=lan"], :objectclass=>["organizationalUnit", "top"], :ou=>["alias"]}>, #<Net::LDAP::Entry:0x007ffc29be9ee8 @myhash={:dn=>["ou=mailinglist,dc=adharacs,dc=lan"], :objectclass=>["organizationalUnit", "top"], :ou=>["mailinglist"]}>, #<Net::LDAP::Entry:0x007ffc29bd38a0 @myhash={:dn=>["ou=domain,dc=adharacs,dc=lan"], :objectclass=>["organizationalUnit", "top"], :ou=>["domain"]}>, #<Net::LDAP::Entry:0x007ffc2aa63460 @myhash={:dn=>["ou=vacation,dc=adharacs,dc=lan"], :objectclass=>["organizationalUnit", "top"], :ou=>["vacation"]}>, #<Net::LDAP::Entry:0x007ffc2aa5bc38 @myhash={:dn=>["ou=backup,dc=adharacs,dc=lan"], :objectclass=>["organizationalUnit", "top"], :ou=>["backup"]}>, #<Net::LDAP::Entry:0x007ffc2aa584c0 @myhash={:dn=>["ou=vpn,dc=adharacs,dc=lan"], :objectclass=>["organizationalUnit", "top"], :ou=>["vpn"]}>, #<Net::LDAP::Entry:0x007ffc2aa503b0 @myhash={:dn=>["ou=service,dc=adharacs,dc=lan"], :objectclass=>["organizationalUnit", "top"], :ou=>["service"]}>, #<Net::LDAP::Entry:0x007ffc2aa3bdc0 @myhash={:dn=>["uid=postfix,ou=service,dc=adharacs,dc=lan"], :objectclass=>["account", "simpleSecurityObject", "top"], :uid=>["postfix"], :userpassword=>["{SSHA}Eh7VTDYqC8qoZrvSkg68rMSnFoc3J5X3"]}>, #<Net::LDAP::Entry:0x007ffc29bc1e70 @myhash={:dn=>["uid=gnarwl,ou=service,dc=adharacs,dc=lan"], :objectclass=>["account", "simpleSecurityObject", "top"], :uid=>["postfix", "gnarwl"], :userpassword=>["{SSHA}WNBFAIOiPCRBrg4aB5jGQBAjDKVeHB6c"]}>, #<Net::LDAP::Entry:0x007ffc29ba1f80 @myhash={:dn=>["uid=dovecot,ou=service,dc=adharacs,dc=lan"], :objectclass=>["account", "simpleSecurityObject", "top"], :uid=>["dovecot"], :userpassword=>["{SSHA}hhmido6GNmtGo4iXqj7hdvIPAIxytxYY"]}>, #<Net::LDAP::Entry:0x007ffc29b90708 @myhash={:dn=>["uid=saslauthd,ou=service,dc=adharacs,dc=lan"], :objectclass=>["account", "simpleSecurityObject", "top"], :uid=>["saslauthd"], :userpassword=>["{SSHA}WsKuZD5GxtX8oSGx5ZLd2KUMMoSgNi74"]}>, #<Net::LDAP::Entry:0x007ffc2aa2ab60 @myhash={:dn=>["uid=radicale,ou=service,dc=adharacs,dc=lan"], :objectclass=>["account", "simpleSecurityObject", "top"], :uid=>["radicale"], :userpassword=>["{SSHA}PyObb9eltm9LCr1OSVh9qzNhXO54q3K7"]}>, #<Net::LDAP::Entry:0x007ffc29b898b8 @myhash={:dn=>["uid=proftpd,ou=service,dc=adharacs,dc=lan"], :objectclass=>["account", "simpleSecurityObject", "top"], :uid=>["proftpd"], :userpassword=>["{SSHA}rjeE6bAqX4UhLXLxMKSYT5qoXYjTuT8l"]}>, #<Net::LDAP::Entry:0x007ffc29b83e40 @myhash={:dn=>["uid=openvpn,ou=service,dc=adharacs,dc=lan"], :objectclass=>["account", "simpleSecurityObject", "top"], :uid=>["openvpn"], :userpassword=>["{SSHA}5vaBhOIqxkNOgfhd4zUQJ3Qij+nCf3Jj"]}>]
|
11
|
+
INFO : 15-03-24 09:12:27:604 +0400 : Add dn 'uid=1,ou=people,dc=adharacs,dc=lan' attributes '{:sn=>"john.doe", :cn=>"John Doe", :givenName=>"John Doe", :mail=>"john.doe@adharacs.lan", :userPassword=>"{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1", :objectClass=>["organizationalPerson", "person", "top", "extensibleObject"]}'
|
12
|
+
INFO : 15-03-24 09:12:27:632 +0400 : Add result SUCCESS return code:0, matched_dn: , message:Success, data:nil
|
13
|
+
INFO : 15-03-24 09:12:27:635 +0400 : Search base 'ou=people,dc=adharacs,dc=lan' filter '(mail=john.doe@adharacs.lan)' attributes 'mail'
|
14
|
+
INFO : 15-03-24 09:12:27:646 +0400 : Search result SUCCESS return code:0, matched_dn: , message:Success, data:[#<Net::LDAP::Entry:0x007ffc2a9c2678 @myhash={:dn=>["uid=1,ou=people,dc=adharacs,dc=lan"], :mail=>["john.doe@adharacs.lan"]}>]
|
15
|
+
INFO : 15-03-24 09:12:27:647 +0400 : Delete dn 'uid=1,ou=people,dc=adharacs,dc=lan'
|
16
|
+
INFO : 15-03-24 09:12:27:655 +0400 : Delete result SUCCESS return code:0, matched_dn: , message:Success, data:nil
|
17
|
+
DEBUG : 15-03-24 09:12:27:656 +0400 : Acs::Ldap::Mapper with options methods_separator '.' force_method_calls 'false'
|
18
|
+
DEBUG : 15-03-24 09:12:27:656 +0400 : Acs::Ldap::Mapper chain_method on object '[[[1, 2], 3], 4]' with chain 'shift.shift.shift' separator '.' force_method_calls 'false'
|
19
|
+
DEBUG : 15-03-24 09:12:27:657 +0400 : Acs::Ldap::Mapper chain_method on object '[[1, 2], 3]' with chain 'shift.shift' separator '.' force_method_calls 'false'
|
20
|
+
DEBUG : 15-03-24 09:12:27:657 +0400 : Acs::Ldap::Mapper chain_method on object '[1, 2]' with chain 'shift' separator '.' force_method_calls 'false'
|
21
|
+
DEBUG : 15-03-24 09:12:27:657 +0400 : Acs::Ldap::Mapper chain_method returns '1'
|
22
|
+
DEBUG : 15-03-24 09:12:27:657 +0400 : Acs::Ldap::Mapper with options methods_separator '.' force_method_calls 'false'
|
23
|
+
DEBUG : 15-03-24 09:12:27:657 +0400 : Acs::Ldap::Mapper chain_method on object '#<TestObject:0x007ffc29a68e48>' with chain 'get' separator '.' force_method_calls 'false'
|
24
|
+
DEBUG : 15-03-24 09:12:27:657 +0400 : Acs::Ldap::Mapper chain_method returns 'test'
|
25
|
+
DEBUG : 15-03-24 09:12:27:657 +0400 : Acs::Ldap::Mapper with options methods_separator '.' force_method_calls 'false'
|
26
|
+
DEBUG : 15-03-24 09:12:27:657 +0400 : Acs::Ldap::Mapper chain_method on object '#<TestObject:0x007ffc29a68a88>' with chain 'get.get' separator '.' force_method_calls 'false'
|
27
|
+
DEBUG : 15-03-24 09:12:27:657 +0400 : Acs::Ldap::Mapper chain_method on object '#<TestObject:0x007ffc29a68c18>' with chain 'get' separator '.' force_method_calls 'false'
|
28
|
+
DEBUG : 15-03-24 09:12:27:657 +0400 : Acs::Ldap::Mapper chain_method returns 'test'
|
29
|
+
DEBUG : 15-03-24 09:12:27:658 +0400 : Acs::Ldap::Mapper with options methods_separator '.' force_method_calls 'false'
|
30
|
+
DEBUG : 15-03-24 09:12:27:658 +0400 : Acs::Ldap::Mapper chain_method on object '[[[1, 2], 3], 4]' with chain 'shift:shift:shift' separator ':' force_method_calls 'false'
|
31
|
+
DEBUG : 15-03-24 09:12:27:658 +0400 : Acs::Ldap::Mapper chain_method on object '[[1, 2], 3]' with chain 'shift:shift' separator ':' force_method_calls 'false'
|
32
|
+
DEBUG : 15-03-24 09:12:27:658 +0400 : Acs::Ldap::Mapper chain_method on object '[1, 2]' with chain 'shift' separator ':' force_method_calls 'false'
|
33
|
+
DEBUG : 15-03-24 09:12:27:658 +0400 : Acs::Ldap::Mapper chain_method returns '1'
|
34
|
+
DEBUG : 15-03-24 09:12:27:658 +0400 : Acs::Ldap::Mapper with options methods_separator '.' force_method_calls 'false'
|
35
|
+
DEBUG : 15-03-24 09:12:27:658 +0400 : Acs::Ldap::Mapper chain_method on object '#<TestObject:0x007ffc2a9824b0>' with chain 'get:get' separator ':' force_method_calls 'false'
|
36
|
+
DEBUG : 15-03-24 09:12:27:658 +0400 : Acs::Ldap::Mapper chain_method on object '#<TestObject:0x007ffc2a982690>' with chain 'get' separator ':' force_method_calls 'false'
|
37
|
+
DEBUG : 15-03-24 09:12:27:658 +0400 : Acs::Ldap::Mapper chain_method returns 'test'
|
38
|
+
DEBUG : 15-03-24 09:12:27:659 +0400 : Acs::Ldap::Mapper with options methods_separator '.' force_method_calls 'false'
|
39
|
+
DEBUG : 15-03-24 09:12:27:659 +0400 : Acs::Ldap::Mapper chain_method on object '#<TestObject:0x007ffc2a943828>' with chain 'get.get' separator '.' force_method_calls 'false'
|
40
|
+
DEBUG : 15-03-24 09:12:27:659 +0400 : Acs::Ldap::Mapper chain_method on object '#<TestObject:0x007ffc2a943918>' with chain 'get' separator '.' force_method_calls 'false'
|
41
|
+
DEBUG : 15-03-24 09:12:27:659 +0400 : Acs::Ldap::Mapper chain_method returns 'test'
|
42
|
+
DEBUG : 15-03-24 09:12:27:660 +0400 : Acs::Ldap::Mapper with options methods_separator '.' force_method_calls 'false'
|
43
|
+
DEBUG : 15-03-24 09:12:27:660 +0400 : Acs::Ldap::Mapper chain_method on object '#<TestObject:0x007ffc2a9439b8>' with chain 'get' separator '.' force_method_calls 'false'
|
44
|
+
DEBUG : 15-03-24 09:12:27:660 +0400 : Acs::Ldap::Mapper chain_method returns 'test'
|
45
|
+
DEBUG : 15-03-24 09:12:27:661 +0400 : Acs::Ldap::Mapper with options methods_separator '.' force_method_calls 'false'
|
46
|
+
DEBUG : 15-03-24 09:12:27:661 +0400 : Acs::Ldap::Mapper chain_method on object '#<TestObject:0x007ffc2a920620>' with chain 'get.get' separator '.' force_method_calls 'false'
|
47
|
+
DEBUG : 15-03-24 09:12:27:661 +0400 : Acs::Ldap::Mapper chain_method on object '#<TestObject:0x007ffc2a920800>' with chain 'get' separator '.' force_method_calls 'false'
|
48
|
+
DEBUG : 15-03-24 09:12:27:661 +0400 : Acs::Ldap::Mapper chain_method returns 'test'
|
49
|
+
DEBUG : 15-03-24 09:12:27:661 +0400 : Acs::Ldap::Mapper with options methods_separator '.' force_method_calls 'false'
|
50
|
+
DEBUG : 15-03-24 09:12:27:662 +0400 : Acs::Ldap::Mapper chain_method on object '#<TestObject:0x007ffc2a9208c8>' with chain 'get' separator '.' force_method_calls 'false'
|
51
|
+
DEBUG : 15-03-24 09:12:27:662 +0400 : Acs::Ldap::Mapper chain_method returns 'test'
|
52
|
+
DEBUG : 15-03-24 09:12:27:662 +0400 : Acs::Ldap::Mapper with options methods_separator '.' force_method_calls 'false'
|
53
|
+
DEBUG : 15-03-24 09:12:27:662 +0400 : Acs::Ldap::Mapper chain_method on object '#<TestObject:0x007ffc29a31600>' with chain 'get' separator '.' force_method_calls 'false'
|
54
|
+
DEBUG : 15-03-24 09:12:27:663 +0400 : Acs::Ldap::Mapper chain_method returns 'test'
|
55
|
+
DEBUG : 15-03-24 09:12:27:663 +0400 : Acs::Ldap::Mapper chain_method on object '#<TestObject:0x007ffc29a31600>' with chain 'get2' separator '.' force_method_calls 'false'
|
56
|
+
DEBUG : 15-03-24 09:12:27:663 +0400 : Acs::Ldap::Mapper chain_method returns 'value2'
|
57
|
+
DEBUG : 15-03-24 09:12:27:664 +0400 : Acs::Ldap::Mapper with options methods_separator '.' force_method_calls 'true'
|
58
|
+
INFO : 15-03-24 09:12:27:664 +0400 : Delete all ou=people
|
59
|
+
INFO : 15-03-24 09:12:27:664 +0400 : Search base 'ou=people,dc=adharacs,dc=lan' filter '' attributes 'uid'
|
60
|
+
DEBUG : 15-03-24 09:12:27:664 +0400 : LDAP connect
|
61
|
+
DEBUG : 15-03-24 09:12:27:664 +0400 : Binding to ldap...
|
62
|
+
DEBUG : 15-03-24 09:12:27:664 +0400 : Connection params: {:host=>"192.168.59.103", :port=>49389, :base=>"dc=adharacs,dc=lan", :auth=>{:method=>:simple, :username=>"cn=admin,dc=adharacs,dc=lan", :password=>"admin"}}
|
63
|
+
DEBUG : 15-03-24 09:12:27:670 +0400 : Connection succeed
|
64
|
+
INFO : 15-03-24 09:12:27:684 +0400 : Search result SUCCESS return code:0, matched_dn: , message:Success, data:[#<Net::LDAP::Entry:0x007ffc29991d30 @myhash={:dn=>["ou=people,dc=adharacs,dc=lan"]}>]
|
65
|
+
INFO : 15-03-24 09:12:27:684 +0400 : Search base 'ou=people,dc=adharacs,dc=lan' filter '' attributes ''
|
66
|
+
INFO : 15-03-24 09:12:27:690 +0400 : Search result SUCCESS return code:0, matched_dn: , message:Success, data:[#<Net::LDAP::Entry:0x007ffc29970f18 @myhash={:dn=>["ou=people,dc=adharacs,dc=lan"], :objectclass=>["organizationalUnit", "top"], :ou=>["people"]}>]
|
67
|
+
DEBUG : 15-03-24 09:12:27:690 +0400 : Acs::Ldap::Mapper with options methods_separator '.' force_method_calls 'true'
|
68
|
+
DEBUG : 15-03-24 09:12:27:691 +0400 : Acs::Ldap::Mapper chain_method on object '{:id=>2, :sn=>"dark.vador", :cn=>"dark.vador", :givenName=>"Dark Vador", :userPassword=>"{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1", :mail=>"dvador@adharacs.lan"}' with chain 'id' separator '.' force_method_calls 'true'
|
69
|
+
DEBUG : 15-03-24 09:12:27:691 +0400 : Acs::Ldap::Mapper chain_method returns '2'
|
70
|
+
DEBUG : 15-03-24 09:12:27:691 +0400 : Acs::Ldap::Mapper chain_method on object '{:id=>2, :sn=>"dark.vador", :cn=>"dark.vador", :givenName=>"Dark Vador", :userPassword=>"{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1", :mail=>"dvador@adharacs.lan"}' with chain 'sn' separator '.' force_method_calls 'true'
|
71
|
+
DEBUG : 15-03-24 09:12:27:691 +0400 : Acs::Ldap::Mapper chain_method returns 'dark.vador'
|
72
|
+
DEBUG : 15-03-24 09:12:27:691 +0400 : Acs::Ldap::Mapper chain_method on object '{:id=>2, :sn=>"dark.vador", :cn=>"dark.vador", :givenName=>"Dark Vador", :userPassword=>"{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1", :mail=>"dvador@adharacs.lan"}' with chain 'cn' separator '.' force_method_calls 'true'
|
73
|
+
DEBUG : 15-03-24 09:12:27:691 +0400 : Acs::Ldap::Mapper chain_method returns 'dark.vador'
|
74
|
+
DEBUG : 15-03-24 09:12:27:691 +0400 : Acs::Ldap::Mapper chain_method on object '{:id=>2, :sn=>"dark.vador", :cn=>"dark.vador", :givenName=>"Dark Vador", :userPassword=>"{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1", :mail=>"dvador@adharacs.lan"}' with chain 'givenName' separator '.' force_method_calls 'true'
|
75
|
+
DEBUG : 15-03-24 09:12:27:691 +0400 : Acs::Ldap::Mapper chain_method returns 'Dark Vador'
|
76
|
+
DEBUG : 15-03-24 09:12:27:692 +0400 : Acs::Ldap::Mapper chain_method on object '{:id=>2, :sn=>"dark.vador", :cn=>"dark.vador", :givenName=>"Dark Vador", :userPassword=>"{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1", :mail=>"dvador@adharacs.lan"}' with chain 'mail' separator '.' force_method_calls 'true'
|
77
|
+
DEBUG : 15-03-24 09:12:27:692 +0400 : Acs::Ldap::Mapper chain_method returns 'dvador@adharacs.lan'
|
78
|
+
DEBUG : 15-03-24 09:12:27:692 +0400 : Acs::Ldap::Mapper chain_method on object '{:id=>2, :sn=>"dark.vador", :cn=>"dark.vador", :givenName=>"Dark Vador", :userPassword=>"{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1", :mail=>"dvador@adharacs.lan"}' with chain 'userPassword' separator '.' force_method_calls 'true'
|
79
|
+
DEBUG : 15-03-24 09:12:27:692 +0400 : Acs::Ldap::Mapper chain_method returns '{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1'
|
80
|
+
DEBUG : 15-03-24 09:12:27:692 +0400 : Acs::Ldap::Mapper chain_method on object '{:id=>2, :sn=>"dark.vador", :cn=>"dark.vador", :givenName=>"Dark Vador", :userPassword=>"{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1", :mail=>"dvador@adharacs.lan"}' with chain 'id' separator '.' force_method_calls 'true'
|
81
|
+
DEBUG : 15-03-24 09:12:27:692 +0400 : Acs::Ldap::Mapper chain_method returns '2'
|
82
|
+
DEBUG : 15-03-24 09:12:27:692 +0400 : Pusher#create dn 'uid=2,ou=people,dc=adharacs,dc=lan' attributes '{:sn=>"dark.vador", :cn=>"dark.vador", :givenName=>"Dark Vador", :mail=>"dvador@adharacs.lan", :userPassword=>"{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1", :objectClass=>["organizationalPerson", "person", "top", "extensibleObject"]}'
|
83
|
+
DEBUG : 15-03-24 09:12:27:692 +0400 : Acs::Ldap::Mapper chain_method on object '{:id=>2, :sn=>"dark.vador", :cn=>"dark.vador", :givenName=>"Dark Vador", :userPassword=>"{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1", :mail=>"dvador@adharacs.lan"}' with chain 'id' separator '.' force_method_calls 'true'
|
84
|
+
DEBUG : 15-03-24 09:12:27:692 +0400 : Acs::Ldap::Mapper chain_method returns '2'
|
85
|
+
INFO : 15-03-24 09:12:27:693 +0400 : Add dn 'uid=2,ou=people,dc=adharacs,dc=lan' attributes '{:sn=>"dark.vador", :cn=>"dark.vador", :givenName=>"Dark Vador", :mail=>"dvador@adharacs.lan", :userPassword=>"{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1", :objectClass=>["organizationalPerson", "person", "top", "extensibleObject"]}'
|
86
|
+
DEBUG : 15-03-24 09:12:27:693 +0400 : LDAP connect
|
87
|
+
DEBUG : 15-03-24 09:12:27:693 +0400 : Binding to ldap...
|
88
|
+
DEBUG : 15-03-24 09:12:27:693 +0400 : Connection params: {:host=>"192.168.59.103", :port=>49389, :base=>"dc=adharacs,dc=lan", :auth=>{:method=>:simple, :username=>"cn=admin,dc=adharacs,dc=lan", :password=>"admin"}}
|
89
|
+
DEBUG : 15-03-24 09:12:27:718 +0400 : Connection succeed
|
90
|
+
INFO : 15-03-24 09:12:27:736 +0400 : Add result SUCCESS return code:0, matched_dn: , message:Success, data:nil
|
91
|
+
INFO : 15-03-24 09:12:27:736 +0400 : Search base 'ou=people,dc=adharacs,dc=lan' filter '' attributes ''
|
92
|
+
INFO : 15-03-24 09:12:27:749 +0400 : Search result SUCCESS return code:0, matched_dn: , message:Success, data:[#<Net::LDAP::Entry:0x007ffc29eaa1a0 @myhash={:dn=>["ou=people,dc=adharacs,dc=lan"], :objectclass=>["organizationalUnit", "top"], :ou=>["people"]}>, #<Net::LDAP::Entry:0x007ffc29ea8738 @myhash={:dn=>["uid=2,ou=people,dc=adharacs,dc=lan"], :sn=>["dark.vador"], :cn=>["dark.vador"], :givenname=>["Dark Vador"], :mail=>["dvador@adharacs.lan"], :userpassword=>["{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1"], :objectclass=>["organizationalPerson", "person", "top", "extensibleObject"], :uid=>["2"]}>]
|
93
|
+
DEBUG : 15-03-24 09:12:27:749 +0400 : Acs::Ldap::Mapper with options methods_separator '.' force_method_calls 'true'
|
94
|
+
DEBUG : 15-03-24 09:12:27:750 +0400 : Acs::Ldap::Mapper chain_method on object '{:id=>2, :sn=>"dark.vador", :cn=>"dark.vador", :givenName=>"Vador Dark", :userPassword=>"{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1", :mail=>"dvador@adharacs.lan"}' with chain 'id' separator '.' force_method_calls 'true'
|
95
|
+
DEBUG : 15-03-24 09:12:27:750 +0400 : Acs::Ldap::Mapper chain_method returns '2'
|
96
|
+
DEBUG : 15-03-24 09:12:27:750 +0400 : Acs::Ldap::Mapper chain_method on object '{:id=>2, :sn=>"dark.vador", :cn=>"dark.vador", :givenName=>"Vador Dark", :userPassword=>"{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1", :mail=>"dvador@adharacs.lan"}' with chain 'sn' separator '.' force_method_calls 'true'
|
97
|
+
DEBUG : 15-03-24 09:12:27:750 +0400 : Acs::Ldap::Mapper chain_method returns 'dark.vador'
|
98
|
+
DEBUG : 15-03-24 09:12:27:750 +0400 : Acs::Ldap::Mapper chain_method on object '{:id=>2, :sn=>"dark.vador", :cn=>"dark.vador", :givenName=>"Vador Dark", :userPassword=>"{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1", :mail=>"dvador@adharacs.lan"}' with chain 'cn' separator '.' force_method_calls 'true'
|
99
|
+
DEBUG : 15-03-24 09:12:27:750 +0400 : Acs::Ldap::Mapper chain_method returns 'dark.vador'
|
100
|
+
DEBUG : 15-03-24 09:12:27:750 +0400 : Acs::Ldap::Mapper chain_method on object '{:id=>2, :sn=>"dark.vador", :cn=>"dark.vador", :givenName=>"Vador Dark", :userPassword=>"{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1", :mail=>"dvador@adharacs.lan"}' with chain 'givenName' separator '.' force_method_calls 'true'
|
101
|
+
DEBUG : 15-03-24 09:12:27:750 +0400 : Acs::Ldap::Mapper chain_method returns 'Vador Dark'
|
102
|
+
DEBUG : 15-03-24 09:12:27:750 +0400 : Acs::Ldap::Mapper chain_method on object '{:id=>2, :sn=>"dark.vador", :cn=>"dark.vador", :givenName=>"Vador Dark", :userPassword=>"{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1", :mail=>"dvador@adharacs.lan"}' with chain 'mail' separator '.' force_method_calls 'true'
|
103
|
+
DEBUG : 15-03-24 09:12:27:750 +0400 : Acs::Ldap::Mapper chain_method returns 'dvador@adharacs.lan'
|
104
|
+
DEBUG : 15-03-24 09:12:27:751 +0400 : Acs::Ldap::Mapper chain_method on object '{:id=>2, :sn=>"dark.vador", :cn=>"dark.vador", :givenName=>"Vador Dark", :userPassword=>"{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1", :mail=>"dvador@adharacs.lan"}' with chain 'userPassword' separator '.' force_method_calls 'true'
|
105
|
+
DEBUG : 15-03-24 09:12:27:751 +0400 : Acs::Ldap::Mapper chain_method returns '{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1'
|
106
|
+
DEBUG : 15-03-24 09:12:27:751 +0400 : Acs::Ldap::Mapper chain_method on object '{:id=>2, :sn=>"dark.vador", :cn=>"dark.vador", :givenName=>"Vador Dark", :userPassword=>"{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1", :mail=>"dvador@adharacs.lan"}' with chain 'id' separator '.' force_method_calls 'true'
|
107
|
+
DEBUG : 15-03-24 09:12:27:751 +0400 : Acs::Ldap::Mapper chain_method returns '2'
|
108
|
+
INFO : 15-03-24 09:12:27:751 +0400 : Modify dn 'uid=2,ou=people,dc=adharacs,dc=lan' operations '[[:replace, "sn", "dark.vador"], [:replace, "cn", "dark.vador"], [:replace, "givenName", "Vador Dark"], [:replace, "mail", "dvador@adharacs.lan"], [:replace, "userPassword", "{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1"]]'
|
109
|
+
DEBUG : 15-03-24 09:12:27:751 +0400 : LDAP connect
|
110
|
+
DEBUG : 15-03-24 09:12:27:751 +0400 : Binding to ldap...
|
111
|
+
DEBUG : 15-03-24 09:12:27:751 +0400 : Connection params: {:host=>"192.168.59.103", :port=>49389, :base=>"dc=adharacs,dc=lan", :auth=>{:method=>:simple, :username=>"cn=admin,dc=adharacs,dc=lan", :password=>"admin"}}
|
112
|
+
DEBUG : 15-03-24 09:12:27:764 +0400 : Connection succeed
|
113
|
+
INFO : 15-03-24 09:12:27:772 +0400 : Modify result SUCCESS return code:0, matched_dn: , message:Success, data:nil
|
114
|
+
INFO : 15-03-24 09:12:27:772 +0400 : Search base 'ou=people,dc=adharacs,dc=lan' filter '(uid=2)' attributes ''
|
115
|
+
INFO : 15-03-24 09:12:27:784 +0400 : Search result SUCCESS return code:0, matched_dn: , message:Success, data:[#<Net::LDAP::Entry:0x007ffc29e786a0 @myhash={:dn=>["uid=2,ou=people,dc=adharacs,dc=lan"], :objectclass=>["organizationalPerson", "person", "top", "extensibleObject"], :uid=>["2"], :sn=>["dark.vador"], :cn=>["dark.vador"], :givenname=>["Vador Dark"], :mail=>["dvador@adharacs.lan"], :userpassword=>["{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1"]}>]
|
116
|
+
DEBUG : 15-03-24 09:12:27:785 +0400 : Acs::Ldap::Mapper with options methods_separator '.' force_method_calls 'true'
|
117
|
+
DEBUG : 15-03-24 09:12:27:786 +0400 : Acs::Ldap::Mapper chain_method on object '{:id=>2, :sn=>"dark.vador", :cn=>"dark.vador", :givenName=>"D V", :userPassword=>"{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1", :mail=>"dv@adharacs.lan"}' with chain 'id' separator '.' force_method_calls 'true'
|
118
|
+
DEBUG : 15-03-24 09:12:27:786 +0400 : Acs::Ldap::Mapper chain_method returns '2'
|
119
|
+
DEBUG : 15-03-24 09:12:27:786 +0400 : Acs::Ldap::Mapper chain_method on object '{:id=>2, :sn=>"dark.vador", :cn=>"dark.vador", :givenName=>"D V", :userPassword=>"{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1", :mail=>"dv@adharacs.lan"}' with chain 'sn' separator '.' force_method_calls 'true'
|
120
|
+
DEBUG : 15-03-24 09:12:27:786 +0400 : Acs::Ldap::Mapper chain_method returns 'dark.vador'
|
121
|
+
DEBUG : 15-03-24 09:12:27:786 +0400 : Acs::Ldap::Mapper chain_method on object '{:id=>2, :sn=>"dark.vador", :cn=>"dark.vador", :givenName=>"D V", :userPassword=>"{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1", :mail=>"dv@adharacs.lan"}' with chain 'cn' separator '.' force_method_calls 'true'
|
122
|
+
DEBUG : 15-03-24 09:12:27:786 +0400 : Acs::Ldap::Mapper chain_method returns 'dark.vador'
|
123
|
+
DEBUG : 15-03-24 09:12:27:786 +0400 : Acs::Ldap::Mapper chain_method on object '{:id=>2, :sn=>"dark.vador", :cn=>"dark.vador", :givenName=>"D V", :userPassword=>"{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1", :mail=>"dv@adharacs.lan"}' with chain 'givenName' separator '.' force_method_calls 'true'
|
124
|
+
DEBUG : 15-03-24 09:12:27:786 +0400 : Acs::Ldap::Mapper chain_method returns 'D V'
|
125
|
+
DEBUG : 15-03-24 09:12:27:786 +0400 : Acs::Ldap::Mapper chain_method on object '{:id=>2, :sn=>"dark.vador", :cn=>"dark.vador", :givenName=>"D V", :userPassword=>"{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1", :mail=>"dv@adharacs.lan"}' with chain 'mail' separator '.' force_method_calls 'true'
|
126
|
+
DEBUG : 15-03-24 09:12:27:786 +0400 : Acs::Ldap::Mapper chain_method returns 'dv@adharacs.lan'
|
127
|
+
DEBUG : 15-03-24 09:12:27:786 +0400 : Acs::Ldap::Mapper chain_method on object '{:id=>2, :sn=>"dark.vador", :cn=>"dark.vador", :givenName=>"D V", :userPassword=>"{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1", :mail=>"dv@adharacs.lan"}' with chain 'userPassword' separator '.' force_method_calls 'true'
|
128
|
+
DEBUG : 15-03-24 09:12:27:786 +0400 : Acs::Ldap::Mapper chain_method returns '{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1'
|
129
|
+
DEBUG : 15-03-24 09:12:27:786 +0400 : Acs::Ldap::Mapper chain_method on object '{:id=>2, :sn=>"dark.vador", :cn=>"dark.vador", :givenName=>"D V", :userPassword=>"{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1", :mail=>"dv@adharacs.lan"}' with chain 'id' separator '.' force_method_calls 'true'
|
130
|
+
DEBUG : 15-03-24 09:12:27:786 +0400 : Acs::Ldap::Mapper chain_method returns '2'
|
131
|
+
INFO : 15-03-24 09:12:27:786 +0400 : Modify dn 'uid=2,ou=people,dc=adharacs,dc=lan' operations '[[:replace, "givenName", "D V"]]'
|
132
|
+
DEBUG : 15-03-24 09:12:27:787 +0400 : LDAP connect
|
133
|
+
DEBUG : 15-03-24 09:12:27:787 +0400 : Binding to ldap...
|
134
|
+
DEBUG : 15-03-24 09:12:27:787 +0400 : Connection params: {:host=>"192.168.59.103", :port=>49389, :base=>"dc=adharacs,dc=lan", :auth=>{:method=>:simple, :username=>"cn=admin,dc=adharacs,dc=lan", :password=>"admin"}}
|
135
|
+
DEBUG : 15-03-24 09:12:27:790 +0400 : Connection succeed
|
136
|
+
INFO : 15-03-24 09:12:27:800 +0400 : Modify result SUCCESS return code:0, matched_dn: , message:Success, data:nil
|
137
|
+
INFO : 15-03-24 09:12:27:800 +0400 : Search base 'ou=people,dc=adharacs,dc=lan' filter '(uid=2)' attributes ''
|
138
|
+
INFO : 15-03-24 09:12:27:815 +0400 : Search result SUCCESS return code:0, matched_dn: , message:Success, data:[#<Net::LDAP::Entry:0x007ffc29eb8390 @myhash={:dn=>["uid=2,ou=people,dc=adharacs,dc=lan"], :objectclass=>["organizationalPerson", "person", "top", "extensibleObject"], :uid=>["2"], :sn=>["dark.vador"], :cn=>["dark.vador"], :mail=>["dvador@adharacs.lan"], :userpassword=>["{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1"], :givenname=>["D V"]}>]
|
139
|
+
INFO : 15-03-24 09:12:27:815 +0400 : Search base 'ou=people,dc=adharacs,dc=lan' filter '(uid=2)' attributes ''
|
140
|
+
INFO : 15-03-24 09:12:27:831 +0400 : Search result SUCCESS return code:0, matched_dn: , message:Success, data:[#<Net::LDAP::Entry:0x007ffc2b0df348 @myhash={:dn=>["uid=2,ou=people,dc=adharacs,dc=lan"], :objectclass=>["organizationalPerson", "person", "top", "extensibleObject"], :uid=>["2"], :sn=>["dark.vador"], :cn=>["dark.vador"], :mail=>["dvador@adharacs.lan"], :userpassword=>["{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1"], :givenname=>["D V"]}>]
|
141
|
+
DEBUG : 15-03-24 09:12:27:832 +0400 : Acs::Ldap::Mapper with options methods_separator '.' force_method_calls 'true'
|
142
|
+
DEBUG : 15-03-24 09:12:27:832 +0400 : Acs::Ldap::Mapper chain_method on object '{:id=>2, :sn=>"dark.vador", :cn=>"dark.vador", :givenName=>"Dark Vador", :userPassword=>"{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1", :mail=>"dvador@adharacs.lan"}' with chain 'id' separator '.' force_method_calls 'true'
|
143
|
+
DEBUG : 15-03-24 09:12:27:832 +0400 : Acs::Ldap::Mapper chain_method returns '2'
|
144
|
+
INFO : 15-03-24 09:12:27:832 +0400 : Delete dn 'uid=2,ou=people,dc=adharacs,dc=lan'
|
145
|
+
DEBUG : 15-03-24 09:12:27:832 +0400 : LDAP connect
|
146
|
+
DEBUG : 15-03-24 09:12:27:832 +0400 : Binding to ldap...
|
147
|
+
DEBUG : 15-03-24 09:12:27:832 +0400 : Connection params: {:host=>"192.168.59.103", :port=>49389, :base=>"dc=adharacs,dc=lan", :auth=>{:method=>:simple, :username=>"cn=admin,dc=adharacs,dc=lan", :password=>"admin"}}
|
148
|
+
DEBUG : 15-03-24 09:12:27:835 +0400 : Connection succeed
|
149
|
+
INFO : 15-03-24 09:12:27:851 +0400 : Delete result SUCCESS return code:0, matched_dn: , message:Success, data:nil
|
150
|
+
INFO : 15-03-24 09:12:27:851 +0400 : Search base 'ou=people,dc=adharacs,dc=lan' filter '' attributes ''
|
151
|
+
INFO : 15-03-24 09:12:27:867 +0400 : Search result SUCCESS return code:0, matched_dn: , message:Success, data:[#<Net::LDAP::Entry:0x007ffc2ae10d10 @myhash={:dn=>["ou=people,dc=adharacs,dc=lan"], :objectclass=>["organizationalUnit", "top"], :ou=>["people"]}>]
|
152
|
+
DEBUG : 15-03-24 09:12:27:869 +0400 : Acs::Ldap::Mapper with options methods_separator '.' force_method_calls 'true'
|
153
|
+
INFO : 15-03-24 09:12:27:869 +0400 : Delete all ou=people
|
154
|
+
INFO : 15-03-24 09:12:27:869 +0400 : Search base 'ou=people,dc=adharacs,dc=lan' filter '' attributes 'uid'
|
155
|
+
DEBUG : 15-03-24 09:12:27:869 +0400 : LDAP connect
|
156
|
+
DEBUG : 15-03-24 09:12:27:869 +0400 : Binding to ldap...
|
157
|
+
DEBUG : 15-03-24 09:12:27:869 +0400 : Connection params: {:host=>"192.168.59.103", :port=>49389, :base=>"dc=adharacs,dc=lan", :auth=>{:method=>:simple, :username=>"cn=admin,dc=adharacs,dc=lan", :password=>"admin"}}
|
158
|
+
DEBUG : 15-03-24 09:12:27:884 +0400 : Connection succeed
|
159
|
+
INFO : 15-03-24 09:12:27:902 +0400 : Search result SUCCESS return code:0, matched_dn: , message:Success, data:[#<Net::LDAP::Entry:0x007ffc29eca518 @myhash={:dn=>["ou=people,dc=adharacs,dc=lan"]}>]
|
160
|
+
DEBUG : 15-03-24 09:12:27:902 +0400 : Acs::Ldap::Mapper chain_method on object '{:id=>2, :sn=>"dark.vador", :cn=>"dark.vador", :givenName=>"Dark Vador", :userPassword=>"{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1", :mail=>"dvador@adharacs.lan"}' with chain 'id' separator '.' force_method_calls 'true'
|
161
|
+
DEBUG : 15-03-24 09:12:27:902 +0400 : Acs::Ldap::Mapper chain_method returns '2'
|
162
|
+
INFO : 15-03-24 09:12:27:903 +0400 : Search base 'uid=2,ou=people,dc=adharacs,dc=lan' filter '' attributes ''
|
163
|
+
INFO : 15-03-24 09:12:27:908 +0400 : Search result ERROR return code:32, matched_dn: ou=people,dc=adharacs,dc=lan, message:No Such Object, data:[]
|
164
|
+
DEBUG : 15-03-24 09:12:27:908 +0400 : Acs::Ldap::Mapper chain_method on object '{:id=>2, :sn=>"dark.vador", :cn=>"dark.vador", :givenName=>"Dark Vador", :userPassword=>"{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1", :mail=>"dvador@adharacs.lan"}' with chain 'id' separator '.' force_method_calls 'true'
|
165
|
+
DEBUG : 15-03-24 09:12:27:910 +0400 : Acs::Ldap::Mapper chain_method returns '2'
|
166
|
+
DEBUG : 15-03-24 09:12:27:910 +0400 : Acs::Ldap::Mapper chain_method on object '{:id=>2, :sn=>"dark.vador", :cn=>"dark.vador", :givenName=>"Dark Vador", :userPassword=>"{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1", :mail=>"dvador@adharacs.lan"}' with chain 'sn' separator '.' force_method_calls 'true'
|
167
|
+
DEBUG : 15-03-24 09:12:27:910 +0400 : Acs::Ldap::Mapper chain_method returns 'dark.vador'
|
168
|
+
DEBUG : 15-03-24 09:12:27:910 +0400 : Acs::Ldap::Mapper chain_method on object '{:id=>2, :sn=>"dark.vador", :cn=>"dark.vador", :givenName=>"Dark Vador", :userPassword=>"{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1", :mail=>"dvador@adharacs.lan"}' with chain 'cn' separator '.' force_method_calls 'true'
|
169
|
+
DEBUG : 15-03-24 09:12:27:910 +0400 : Acs::Ldap::Mapper chain_method returns 'dark.vador'
|
170
|
+
DEBUG : 15-03-24 09:12:27:910 +0400 : Acs::Ldap::Mapper chain_method on object '{:id=>2, :sn=>"dark.vador", :cn=>"dark.vador", :givenName=>"Dark Vador", :userPassword=>"{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1", :mail=>"dvador@adharacs.lan"}' with chain 'givenName' separator '.' force_method_calls 'true'
|
171
|
+
DEBUG : 15-03-24 09:12:27:910 +0400 : Acs::Ldap::Mapper chain_method returns 'Dark Vador'
|
172
|
+
DEBUG : 15-03-24 09:12:27:911 +0400 : Acs::Ldap::Mapper chain_method on object '{:id=>2, :sn=>"dark.vador", :cn=>"dark.vador", :givenName=>"Dark Vador", :userPassword=>"{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1", :mail=>"dvador@adharacs.lan"}' with chain 'mail' separator '.' force_method_calls 'true'
|
173
|
+
DEBUG : 15-03-24 09:12:27:911 +0400 : Acs::Ldap::Mapper chain_method returns 'dvador@adharacs.lan'
|
174
|
+
DEBUG : 15-03-24 09:12:27:911 +0400 : Acs::Ldap::Mapper chain_method on object '{:id=>2, :sn=>"dark.vador", :cn=>"dark.vador", :givenName=>"Dark Vador", :userPassword=>"{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1", :mail=>"dvador@adharacs.lan"}' with chain 'userPassword' separator '.' force_method_calls 'true'
|
175
|
+
DEBUG : 15-03-24 09:12:27:911 +0400 : Acs::Ldap::Mapper chain_method returns '{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1'
|
176
|
+
DEBUG : 15-03-24 09:12:27:911 +0400 : Acs::Ldap::Mapper chain_method on object '{:id=>2, :sn=>"dark.vador", :cn=>"dark.vador", :givenName=>"Dark Vador", :userPassword=>"{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1", :mail=>"dvador@adharacs.lan"}' with chain 'id' separator '.' force_method_calls 'true'
|
177
|
+
DEBUG : 15-03-24 09:12:27:911 +0400 : Acs::Ldap::Mapper chain_method returns '2'
|
178
|
+
DEBUG : 15-03-24 09:12:27:911 +0400 : Pusher#create dn 'uid=2,ou=people,dc=adharacs,dc=lan' attributes '{:sn=>"dark.vador", :cn=>"dark.vador", :givenName=>"Dark Vador", :mail=>"dvador@adharacs.lan", :userPassword=>"{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1", :objectClass=>["organizationalPerson", "person", "top", "extensibleObject"]}'
|
179
|
+
DEBUG : 15-03-24 09:12:27:912 +0400 : Acs::Ldap::Mapper chain_method on object '{:id=>2, :sn=>"dark.vador", :cn=>"dark.vador", :givenName=>"Dark Vador", :userPassword=>"{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1", :mail=>"dvador@adharacs.lan"}' with chain 'id' separator '.' force_method_calls 'true'
|
180
|
+
DEBUG : 15-03-24 09:12:27:912 +0400 : Acs::Ldap::Mapper chain_method returns '2'
|
181
|
+
INFO : 15-03-24 09:12:27:912 +0400 : Add dn 'uid=2,ou=people,dc=adharacs,dc=lan' attributes '{:sn=>"dark.vador", :cn=>"dark.vador", :givenName=>"Dark Vador", :mail=>"dvador@adharacs.lan", :userPassword=>"{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1", :objectClass=>["organizationalPerson", "person", "top", "extensibleObject"]}'
|
182
|
+
INFO : 15-03-24 09:12:27:928 +0400 : Add result SUCCESS return code:0, matched_dn: , message:Success, data:nil
|
183
|
+
DEBUG : 15-03-24 09:12:27:928 +0400 : Acs::Ldap::Mapper chain_method on object '{:id=>2, :sn=>"dark.vador", :cn=>"dark.vador", :givenName=>"Dark Vador", :userPassword=>"{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1", :mail=>"dvador@adharacs.lan"}' with chain 'id' separator '.' force_method_calls 'true'
|
184
|
+
DEBUG : 15-03-24 09:12:27:928 +0400 : Acs::Ldap::Mapper chain_method returns '2'
|
185
|
+
INFO : 15-03-24 09:12:27:928 +0400 : Search base 'uid=2,ou=people,dc=adharacs,dc=lan' filter '' attributes ''
|
186
|
+
INFO : 15-03-24 09:12:27:941 +0400 : Search result SUCCESS return code:0, matched_dn: , message:Success, data:[#<Net::LDAP::Entry:0x007ffc2ad727a0 @myhash={:dn=>["uid=2,ou=people,dc=adharacs,dc=lan"], :sn=>["dark.vador"], :cn=>["dark.vador"], :givenname=>["Dark Vador"], :mail=>["dvador@adharacs.lan"], :userpassword=>["{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1"], :objectclass=>["organizationalPerson", "person", "top", "extensibleObject"], :uid=>["2"]}>]
|
187
|
+
INFO : 15-03-24 09:12:27:941 +0400 : Delete all ou=people
|
188
|
+
INFO : 15-03-24 09:12:27:941 +0400 : Search base 'ou=people,dc=adharacs,dc=lan' filter '' attributes 'uid'
|
189
|
+
INFO : 15-03-24 09:12:27:948 +0400 : Search result SUCCESS return code:0, matched_dn: , message:Success, data:[#<Net::LDAP::Entry:0x007ffc2ad69f60 @myhash={:dn=>["ou=people,dc=adharacs,dc=lan"]}>, #<Net::LDAP::Entry:0x007ffc2ad68480 @myhash={:dn=>["uid=2,ou=people,dc=adharacs,dc=lan"], :uid=>["2"]}>]
|
190
|
+
INFO : 15-03-24 09:12:27:948 +0400 : Delete dn 'uid=2,ou=people,dc=adharacs,dc=lan'
|
191
|
+
INFO : 15-03-24 09:12:27:956 +0400 : Delete result SUCCESS return code:0, matched_dn: , message:Success, data:nil
|
@@ -13,6 +13,11 @@ describe Acs::Ldap::Connector, order: :defined do
|
|
13
13
|
expect(@connector.get_connection()).not_to be_nil
|
14
14
|
end
|
15
15
|
|
16
|
+
it "should return an error if a connection failed" do
|
17
|
+
connector = Acs::Ldap::Connector.new({host: '127.0.0.1', port: 49390, base: "dc=adharacs,dc=lan", dn: "cn=admin,dc=adharacs,dc=lan", password: "admin"})
|
18
|
+
expect(connector.get_connection()).to be_nil
|
19
|
+
end
|
20
|
+
|
16
21
|
it "should be possible to search without specs" do
|
17
22
|
expect(@connector.search()).not_to be_nil
|
18
23
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: acs-ldap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Terranova David
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-03-
|
11
|
+
date: 2015-03-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -114,6 +114,7 @@ files:
|
|
114
114
|
- lib/acs/ldap/pusher.rb
|
115
115
|
- lib/acs/ldap/result.rb
|
116
116
|
- lib/acs/ldap/version.rb
|
117
|
+
- log/.gitignore
|
117
118
|
- log/.keep
|
118
119
|
- log/acs_ldap.log
|
119
120
|
- spec/acs/ldap/connector_spec.rb
|