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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4ac45707d304faeaa2a67eaacf945d13aeeff317
4
- data.tar.gz: 72615c12fb0b23404500819541eac7d9d3f21ccd
3
+ metadata.gz: a081b795c66aa30d1ec38bb70b1ee676436bfca3
4
+ data.tar.gz: 590b6e97e23d43344128e662b3eda4ce4636b915
5
5
  SHA512:
6
- metadata.gz: d829a90c37601abab9f1c7d26ad53baadca96b89cc60bd53437add329af2a699dbcd901d5ddbb1f6487725b45f58a87eeacab3c500313086ae0d991ac0905933
7
- data.tar.gz: 6117567fb46a06c73a049ad390f2fe8e79841716d20b3228fe5d525ba8b3111ee38f5a2c73317fab970210d2ef80024afef46511b28d54f0d0b3b77d6e042d0c
6
+ metadata.gz: d3abdf0445cc70fc295fd35c24534a1973ca9f15e901cbdd05d996d0f77b8d8274d2614aff09655a9cbe8f952423c0d0dea8fff24a02ae8c0131f3277437e6ed
7
+ data.tar.gz: 6f7c96df5c52175ed54bbec1cfb6375b3baf42e76ab9063f19b23a7d2f14a86763906eeaf67c4439c1af80397d617c785259126edb2b2c77b3892574120f438b
@@ -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
- if @ldap.bind
124
- logger.debug "Connection succeed"
125
- @connected = true
126
- else
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
- logger.debug "Connection failed"
136
+ @ldap = nil
129
137
  end
130
138
  @ldap
131
139
  else
@@ -1,5 +1,5 @@
1
1
  module Acs
2
2
  module Ldap
3
- VERSION = "0.2.1"
3
+ VERSION = "0.2.2"
4
4
  end
5
5
  end
data/log/.gitignore ADDED
@@ -0,0 +1,2 @@
1
+ *
2
+ !.gitignore
data/log/acs_ldap.log CHANGED
@@ -1,372 +1,191 @@
1
- DEBUG : 15-03-23 18:23:51:058 +0400 : LDAP connect
2
- DEBUG : 15-03-23 18:23:51:058 +0400 : Binding to ldap...
3
- DEBUG : 15-03-23 18:23:51:058 +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-23 18:23:51:064 +0400 : Connection succeed
5
- INFO : 15-03-23 18:23:51:065 +0400 : Search base '' filter '' attributes ''
6
- INFO : 15-03-23 18:23:51:095 +0400 : Search result SUCCESS return code:0, matched_dn: , message:Success, data:[#<Net::LDAP::Entry:0x007fd884cf07b0 @myhash={:dn=>["dc=adharacs,dc=lan"], :objectclass=>["top", "dcObject", "organization"], :o=>["'LDAP Test'"], :dc=>["adharacs"]}>, #<Net::LDAP::Entry:0x007fd884555168 @myhash={:dn=>["cn=admin,dc=adharacs,dc=lan"], :objectclass=>["simpleSecurityObject", "organizationalRole"], :cn=>["admin"], :description=>["LDAP administrator"], :userpassword=>["{SSHA}gfWXs6CZOCDlQXMwol0YPSye3w12V/XU"]}>, #<Net::LDAP::Entry:0x007fd884546758 @myhash={:dn=>["ou=people,dc=adharacs,dc=lan"], :objectclass=>["organizationalUnit", "top"], :ou=>["people"]}>, #<Net::LDAP::Entry:0x007fd884544548 @myhash={:dn=>["ou=mailbox,dc=adharacs,dc=lan"], :objectclass=>["organizationalUnit", "top"], :ou=>["mailbox"]}>, #<Net::LDAP::Entry:0x007fd884cea068 @myhash={:dn=>["ou=alias,dc=adharacs,dc=lan"], :objectclass=>["organizationalUnit", "top"], :ou=>["alias"]}>, #<Net::LDAP::Entry:0x007fd884cdb950 @myhash={:dn=>["ou=mailinglist,dc=adharacs,dc=lan"], :objectclass=>["organizationalUnit", "top"], :ou=>["mailinglist"]}>, #<Net::LDAP::Entry:0x007fd884cd9c90 @myhash={:dn=>["ou=domain,dc=adharacs,dc=lan"], :objectclass=>["organizationalUnit", "top"], :ou=>["domain"]}>, #<Net::LDAP::Entry:0x007fd884ccb898 @myhash={:dn=>["ou=vacation,dc=adharacs,dc=lan"], :objectclass=>["organizationalUnit", "top"], :ou=>["vacation"]}>, #<Net::LDAP::Entry:0x007fd884cca010 @myhash={:dn=>["ou=backup,dc=adharacs,dc=lan"], :objectclass=>["organizationalUnit", "top"], :ou=>["backup"]}>, #<Net::LDAP::Entry:0x007fd884cc80d0 @myhash={:dn=>["ou=vpn,dc=adharacs,dc=lan"], :objectclass=>["organizationalUnit", "top"], :ou=>["vpn"]}>, #<Net::LDAP::Entry:0x007fd88452cce0 @myhash={:dn=>["ou=service,dc=adharacs,dc=lan"], :objectclass=>["organizationalUnit", "top"], :ou=>["service"]}>, #<Net::LDAP::Entry:0x007fd884cba4a8 @myhash={:dn=>["uid=postfix,ou=service,dc=adharacs,dc=lan"], :objectclass=>["account", "simpleSecurityObject", "top"], :uid=>["postfix"], :userpassword=>["{SSHA}Eh7VTDYqC8qoZrvSkg68rMSnFoc3J5X3"]}>, #<Net::LDAP::Entry:0x007fd88397d9d0 @myhash={:dn=>["uid=gnarwl,ou=service,dc=adharacs,dc=lan"], :objectclass=>["account", "simpleSecurityObject", "top"], :uid=>["postfix", "gnarwl"], :userpassword=>["{SSHA}WNBFAIOiPCRBrg4aB5jGQBAjDKVeHB6c"]}>, #<Net::LDAP::Entry:0x007fd884524b58 @myhash={:dn=>["uid=dovecot,ou=service,dc=adharacs,dc=lan"], :objectclass=>["account", "simpleSecurityObject", "top"], :uid=>["dovecot"], :userpassword=>["{SSHA}hhmido6GNmtGo4iXqj7hdvIPAIxytxYY"]}>, #<Net::LDAP::Entry:0x007fd8845158b0 @myhash={:dn=>["uid=saslauthd,ou=service,dc=adharacs,dc=lan"], :objectclass=>["account", "simpleSecurityObject", "top"], :uid=>["saslauthd"], :userpassword=>["{SSHA}WsKuZD5GxtX8oSGx5ZLd2KUMMoSgNi74"]}>, #<Net::LDAP::Entry:0x007fd884caa760 @myhash={:dn=>["uid=radicale,ou=service,dc=adharacs,dc=lan"], :objectclass=>["account", "simpleSecurityObject", "top"], :uid=>["radicale"], :userpassword=>["{SSHA}PyObb9eltm9LCr1OSVh9qzNhXO54q3K7"]}>, #<Net::LDAP::Entry:0x007fd884c9b3f0 @myhash={:dn=>["uid=proftpd,ou=service,dc=adharacs,dc=lan"], :objectclass=>["account", "simpleSecurityObject", "top"], :uid=>["proftpd"], :userpassword=>["{SSHA}rjeE6bAqX4UhLXLxMKSYT5qoXYjTuT8l"]}>, #<Net::LDAP::Entry:0x007fd884506fe0 @myhash={:dn=>["uid=openvpn,ou=service,dc=adharacs,dc=lan"], :objectclass=>["account", "simpleSecurityObject", "top"], :uid=>["openvpn"], :userpassword=>["{SSHA}5vaBhOIqxkNOgfhd4zUQJ3Qij+nCf3Jj"]}>]
7
- INFO : 15-03-23 18:23:51:095 +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"]}'
8
- INFO : 15-03-23 18:23:51:116 +0400 : Add result SUCCESS return code:0, matched_dn: , message:Success, data:nil
9
- INFO : 15-03-23 18:23:51:127 +0400 : Search base 'ou=people,dc=adharacs,dc=lan' filter '(mail=john.doe@adharacs.lan)' attributes 'mail'
10
- INFO : 15-03-23 18:23:51:142 +0400 : Search result SUCCESS return code:0, matched_dn: , message:Success, data:[#<Net::LDAP::Entry:0x007fd884be1400 @myhash={:dn=>["uid=1,ou=people,dc=adharacs,dc=lan"], :mail=>["john.doe@adharacs.lan"]}>]
11
- INFO : 15-03-23 18:23:51:143 +0400 : Delete dn 'uid=1,ou=people,dc=adharacs,dc=lan'
12
- INFO : 15-03-23 18:23:51:163 +0400 : Delete result SUCCESS return code:0, matched_dn: , message:Success, data:nil
13
- DEBUG : 15-03-23 18:23:51:164 +0400 : Acs::Ldap::Mapper with options methods_separator '.' force_method_calls 'false'
14
- DEBUG : 15-03-23 18:23:51:165 +0400 : Acs::Ldap::Mapper chain_method on object '[[[1, 2], 3], 4]' with chain 'shift.shift.shift' separator '.' force_method_calls 'false'
15
- DEBUG : 15-03-23 18:23:51:165 +0400 : Acs::Ldap::Mapper chain_method on object '[[1, 2], 3]' with chain 'shift.shift' separator '.' force_method_calls 'false'
16
- DEBUG : 15-03-23 18:23:51:165 +0400 : Acs::Ldap::Mapper chain_method on object '[1, 2]' with chain 'shift' separator '.' force_method_calls 'false'
17
- DEBUG : 15-03-23 18:23:51:165 +0400 : Acs::Ldap::Mapper chain_method returns '1'
18
- DEBUG : 15-03-23 18:23:51:165 +0400 : Acs::Ldap::Mapper with options methods_separator '.' force_method_calls 'false'
19
- DEBUG : 15-03-23 18:23:51:166 +0400 : Acs::Ldap::Mapper chain_method on object '#<TestObject:0x007fd883977170>' with chain 'get' separator '.' force_method_calls 'false'
20
- DEBUG : 15-03-23 18:23:51:166 +0400 : Acs::Ldap::Mapper chain_method returns 'test'
21
- DEBUG : 15-03-23 18:23:51:166 +0400 : Acs::Ldap::Mapper with options methods_separator '.' force_method_calls 'false'
22
- DEBUG : 15-03-23 18:23:51:166 +0400 : Acs::Ldap::Mapper chain_method on object '#<TestObject:0x007fd883976ec8>' with chain 'get.get' separator '.' force_method_calls 'false'
23
- DEBUG : 15-03-23 18:23:51:166 +0400 : Acs::Ldap::Mapper chain_method on object '#<TestObject:0x007fd883977030>' with chain 'get' separator '.' force_method_calls 'false'
24
- DEBUG : 15-03-23 18:23:51:166 +0400 : Acs::Ldap::Mapper chain_method returns 'test'
25
- DEBUG : 15-03-23 18:23:51:167 +0400 : Acs::Ldap::Mapper with options methods_separator '.' force_method_calls 'false'
26
- DEBUG : 15-03-23 18:23:51:167 +0400 : Acs::Ldap::Mapper chain_method on object '[[[1, 2], 3], 4]' with chain 'shift:shift:shift' separator ':' force_method_calls 'false'
27
- DEBUG : 15-03-23 18:23:51:167 +0400 : Acs::Ldap::Mapper chain_method on object '[[1, 2], 3]' with chain 'shift:shift' separator ':' force_method_calls 'false'
28
- DEBUG : 15-03-23 18:23:51:167 +0400 : Acs::Ldap::Mapper chain_method on object '[1, 2]' with chain 'shift' separator ':' force_method_calls 'false'
29
- DEBUG : 15-03-23 18:23:51:167 +0400 : Acs::Ldap::Mapper chain_method returns '1'
30
- DEBUG : 15-03-23 18:23:51:167 +0400 : Acs::Ldap::Mapper with options methods_separator '.' force_method_calls 'false'
31
- DEBUG : 15-03-23 18:23:51:168 +0400 : Acs::Ldap::Mapper chain_method on object '#<TestObject:0x007fd884ba1940>' with chain 'get:get' separator ':' force_method_calls 'false'
32
- DEBUG : 15-03-23 18:23:51:168 +0400 : Acs::Ldap::Mapper chain_method on object '#<TestObject:0x007fd884ba19e0>' with chain 'get' separator ':' force_method_calls 'false'
33
- DEBUG : 15-03-23 18:23:51:168 +0400 : Acs::Ldap::Mapper chain_method returns 'test'
34
- DEBUG : 15-03-23 18:23:51:168 +0400 : Acs::Ldap::Mapper with options methods_separator '.' force_method_calls 'false'
35
- DEBUG : 15-03-23 18:23:51:168 +0400 : Acs::Ldap::Mapper chain_method on object '#<TestObject:0x007fd88446f7a8>' with chain 'get.get' separator '.' force_method_calls 'false'
36
- DEBUG : 15-03-23 18:23:51:168 +0400 : Acs::Ldap::Mapper chain_method on object '#<TestObject:0x007fd88446f7f8>' with chain 'get' separator '.' force_method_calls 'false'
37
- DEBUG : 15-03-23 18:23:51:169 +0400 : Acs::Ldap::Mapper chain_method returns 'test'
38
- DEBUG : 15-03-23 18:23:51:169 +0400 : Acs::Ldap::Mapper with options methods_separator '.' force_method_calls 'false'
39
- DEBUG : 15-03-23 18:23:51:169 +0400 : Acs::Ldap::Mapper chain_method on object '#<TestObject:0x007fd88446f8e8>' with chain 'get' separator '.' force_method_calls 'false'
40
- DEBUG : 15-03-23 18:23:51:169 +0400 : Acs::Ldap::Mapper chain_method returns 'test'
41
- DEBUG : 15-03-23 18:23:51:169 +0400 : Acs::Ldap::Mapper with options methods_separator '.' force_method_calls 'false'
42
- DEBUG : 15-03-23 18:23:51:169 +0400 : Acs::Ldap::Mapper chain_method on object '#<TestObject:0x007fd884b91248>' with chain 'get.get' separator '.' force_method_calls 'false'
43
- DEBUG : 15-03-23 18:23:51:169 +0400 : Acs::Ldap::Mapper chain_method on object '#<TestObject:0x007fd884b912c0>' with chain 'get' separator '.' force_method_calls 'false'
44
- DEBUG : 15-03-23 18:23:51:169 +0400 : Acs::Ldap::Mapper chain_method returns 'test'
45
- DEBUG : 15-03-23 18:23:51:169 +0400 : Acs::Ldap::Mapper with options methods_separator '.' force_method_calls 'false'
46
- DEBUG : 15-03-23 18:23:51:169 +0400 : Acs::Ldap::Mapper chain_method on object '#<TestObject:0x007fd884b91360>' with chain 'get' separator '.' force_method_calls 'false'
47
- DEBUG : 15-03-23 18:23:51:170 +0400 : Acs::Ldap::Mapper chain_method returns 'test'
48
- DEBUG : 15-03-23 18:23:51:170 +0400 : Acs::Ldap::Mapper with options methods_separator '.' force_method_calls 'false'
49
- DEBUG : 15-03-23 18:23:51:170 +0400 : Acs::Ldap::Mapper chain_method on object '#<TestObject:0x007fd884456898>' with chain 'get' separator '.' force_method_calls 'false'
50
- DEBUG : 15-03-23 18:23:51:170 +0400 : Acs::Ldap::Mapper chain_method returns 'test'
51
- DEBUG : 15-03-23 18:23:51:170 +0400 : Acs::Ldap::Mapper chain_method on object '#<TestObject:0x007fd884456898>' with chain 'get2' separator '.' force_method_calls 'false'
52
- DEBUG : 15-03-23 18:23:51:170 +0400 : Acs::Ldap::Mapper chain_method returns 'value2'
53
- DEBUG : 15-03-23 18:23:51:171 +0400 : Acs::Ldap::Mapper with options methods_separator '.' force_method_calls 'true'
54
- INFO : 15-03-23 18:23:51:171 +0400 : Delete all ou=people
55
- INFO : 15-03-23 18:23:51:171 +0400 : Search base 'ou=people,dc=adharacs,dc=lan' filter '' attributes 'uid'
56
- DEBUG : 15-03-23 18:23:51:171 +0400 : LDAP connect
57
- DEBUG : 15-03-23 18:23:51:171 +0400 : Binding to ldap...
58
- DEBUG : 15-03-23 18:23:51:171 +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"}}
59
- DEBUG : 15-03-23 18:23:51:182 +0400 : Connection succeed
60
- INFO : 15-03-23 18:23:51:216 +0400 : Search result SUCCESS return code:0, matched_dn: , message:Success, data:[#<Net::LDAP::Entry:0x007fd88442f608 @myhash={:dn=>["ou=people,dc=adharacs,dc=lan"]}>]
61
- INFO : 15-03-23 18:23:51:217 +0400 : Search base 'ou=people,dc=adharacs,dc=lan' filter '' attributes ''
62
- INFO : 15-03-23 18:23:51:234 +0400 : Search result SUCCESS return code:0, matched_dn: , message:Success, data:[#<Net::LDAP::Entry:0x007fd8858f9390 @myhash={:dn=>["ou=people,dc=adharacs,dc=lan"], :objectclass=>["organizationalUnit", "top"], :ou=>["people"]}>]
63
- DEBUG : 15-03-23 18:23:51:234 +0400 : Acs::Ldap::Mapper with options methods_separator '.' force_method_calls 'true'
64
- DEBUG : 15-03-23 18:23:51:234 +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'
65
- DEBUG : 15-03-23 18:23:51:235 +0400 : Acs::Ldap::Mapper chain_method returns '2'
66
- DEBUG : 15-03-23 18:23:51:235 +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'
67
- DEBUG : 15-03-23 18:23:51:235 +0400 : Acs::Ldap::Mapper chain_method returns 'dark.vador'
68
- DEBUG : 15-03-23 18:23:51:235 +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'
69
- DEBUG : 15-03-23 18:23:51:235 +0400 : Acs::Ldap::Mapper chain_method returns 'dark.vador'
70
- DEBUG : 15-03-23 18:23:51:235 +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'
71
- DEBUG : 15-03-23 18:23:51:235 +0400 : Acs::Ldap::Mapper chain_method returns 'Dark Vador'
72
- DEBUG : 15-03-23 18:23:51:236 +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'
73
- DEBUG : 15-03-23 18:23:51:236 +0400 : Acs::Ldap::Mapper chain_method returns 'dvador@adharacs.lan'
74
- DEBUG : 15-03-23 18:23:51:236 +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'
75
- DEBUG : 15-03-23 18:23:51:236 +0400 : Acs::Ldap::Mapper chain_method returns '{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1'
76
- DEBUG : 15-03-23 18:23:51:236 +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'
77
- DEBUG : 15-03-23 18:23:51:236 +0400 : Acs::Ldap::Mapper chain_method returns '2'
78
- DEBUG : 15-03-23 18:23:51:236 +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"]}'
79
- DEBUG : 15-03-23 18:23:51:237 +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'
80
- DEBUG : 15-03-23 18:23:51:237 +0400 : Acs::Ldap::Mapper chain_method returns '2'
81
- INFO : 15-03-23 18:23:51:237 +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"]}'
82
- DEBUG : 15-03-23 18:23:51:237 +0400 : LDAP connect
83
- DEBUG : 15-03-23 18:23:51:237 +0400 : Binding to ldap...
84
- DEBUG : 15-03-23 18:23:51:237 +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"}}
85
- DEBUG : 15-03-23 18:23:51:252 +0400 : Connection succeed
86
- INFO : 15-03-23 18:23:51:277 +0400 : Add result SUCCESS return code:0, matched_dn: , message:Success, data:nil
87
- INFO : 15-03-23 18:23:51:277 +0400 : Search base 'ou=people,dc=adharacs,dc=lan' filter '' attributes ''
88
- INFO : 15-03-23 18:23:51:295 +0400 : Search result SUCCESS return code:0, matched_dn: , message:Success, data:[#<Net::LDAP::Entry:0x007fd8844051f0 @myhash={:dn=>["ou=people,dc=adharacs,dc=lan"], :objectclass=>["organizationalUnit", "top"], :ou=>["people"]}>, #<Net::LDAP::Entry:0x007fd8843f53e0 @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"]}>]
89
- DEBUG : 15-03-23 18:23:51:295 +0400 : Acs::Ldap::Mapper with options methods_separator '.' force_method_calls 'true'
90
- DEBUG : 15-03-23 18:23:51:295 +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'
91
- DEBUG : 15-03-23 18:23:51:295 +0400 : Acs::Ldap::Mapper chain_method returns '2'
92
- DEBUG : 15-03-23 18:23:51:296 +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'
93
- DEBUG : 15-03-23 18:23:51:296 +0400 : Acs::Ldap::Mapper chain_method returns 'dark.vador'
94
- DEBUG : 15-03-23 18:23:51:296 +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'
95
- DEBUG : 15-03-23 18:23:51:296 +0400 : Acs::Ldap::Mapper chain_method returns 'dark.vador'
96
- DEBUG : 15-03-23 18:23:51:296 +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'
97
- DEBUG : 15-03-23 18:23:51:296 +0400 : Acs::Ldap::Mapper chain_method returns 'Vador Dark'
98
- DEBUG : 15-03-23 18:23:51:296 +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'
99
- DEBUG : 15-03-23 18:23:51:296 +0400 : Acs::Ldap::Mapper chain_method returns 'dvador@adharacs.lan'
100
- DEBUG : 15-03-23 18:23:51:297 +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'
101
- DEBUG : 15-03-23 18:23:51:297 +0400 : Acs::Ldap::Mapper chain_method returns '{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1'
102
- DEBUG : 15-03-23 18:23:51:297 +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'
103
- DEBUG : 15-03-23 18:23:51:297 +0400 : Acs::Ldap::Mapper chain_method returns '2'
104
- INFO : 15-03-23 18:23:51:297 +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"]]'
105
- DEBUG : 15-03-23 18:23:51:297 +0400 : LDAP connect
106
- DEBUG : 15-03-23 18:23:51:297 +0400 : Binding to ldap...
107
- DEBUG : 15-03-23 18:23:51:298 +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"}}
108
- DEBUG : 15-03-23 18:23:51:315 +0400 : Connection succeed
109
- INFO : 15-03-23 18:23:51:322 +0400 : Modify result SUCCESS return code:0, matched_dn: , message:Success, data:nil
110
- INFO : 15-03-23 18:23:51:323 +0400 : Search base 'ou=people,dc=adharacs,dc=lan' filter '(uid=2)' attributes ''
111
- INFO : 15-03-23 18:23:51:349 +0400 : Search result SUCCESS return code:0, matched_dn: , message:Success, data:[#<Net::LDAP::Entry:0x007fd884a1add8 @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"]}>]
112
- DEBUG : 15-03-23 18:23:51:350 +0400 : Acs::Ldap::Mapper with options methods_separator '.' force_method_calls 'true'
113
- DEBUG : 15-03-23 18:23:51:350 +0400 : Acs::Ldap::Mapper chain_method on object '{:id=>2, :sn=>"dark.vador", :cn=>"dark.vador", :givenName=>"D V", :userPassword=>"{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1", :mail=>"dvador@adharacs.lan"}' with chain 'id' separator '.' force_method_calls 'true'
114
- DEBUG : 15-03-23 18:23:51:351 +0400 : Acs::Ldap::Mapper chain_method returns '2'
115
- DEBUG : 15-03-23 18:23:51:351 +0400 : Acs::Ldap::Mapper chain_method on object '{:id=>2, :sn=>"dark.vador", :cn=>"dark.vador", :givenName=>"D V", :userPassword=>"{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1", :mail=>"dvador@adharacs.lan"}' with chain 'sn' separator '.' force_method_calls 'true'
116
- DEBUG : 15-03-23 18:23:51:351 +0400 : Acs::Ldap::Mapper chain_method returns 'dark.vador'
117
- DEBUG : 15-03-23 18:23:51:351 +0400 : Acs::Ldap::Mapper chain_method on object '{:id=>2, :sn=>"dark.vador", :cn=>"dark.vador", :givenName=>"D V", :userPassword=>"{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1", :mail=>"dvador@adharacs.lan"}' with chain 'cn' separator '.' force_method_calls 'true'
118
- DEBUG : 15-03-23 18:23:51:351 +0400 : Acs::Ldap::Mapper chain_method returns 'dark.vador'
119
- DEBUG : 15-03-23 18:23:51:352 +0400 : Acs::Ldap::Mapper chain_method on object '{:id=>2, :sn=>"dark.vador", :cn=>"dark.vador", :givenName=>"D V", :userPassword=>"{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1", :mail=>"dvador@adharacs.lan"}' with chain 'givenName' separator '.' force_method_calls 'true'
120
- DEBUG : 15-03-23 18:23:51:352 +0400 : Acs::Ldap::Mapper chain_method returns 'D V'
121
- DEBUG : 15-03-23 18:23:51:352 +0400 : Acs::Ldap::Mapper chain_method on object '{:id=>2, :sn=>"dark.vador", :cn=>"dark.vador", :givenName=>"D V", :userPassword=>"{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1", :mail=>"dvador@adharacs.lan"}' with chain 'mail' separator '.' force_method_calls 'true'
122
- DEBUG : 15-03-23 18:23:51:352 +0400 : Acs::Ldap::Mapper chain_method returns 'dvador@adharacs.lan'
123
- DEBUG : 15-03-23 18:23:51:352 +0400 : Acs::Ldap::Mapper chain_method on object '{:id=>2, :sn=>"dark.vador", :cn=>"dark.vador", :givenName=>"D V", :userPassword=>"{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1", :mail=>"dvador@adharacs.lan"}' with chain 'userPassword' separator '.' force_method_calls 'true'
124
- DEBUG : 15-03-23 18:23:51:352 +0400 : Acs::Ldap::Mapper chain_method returns '{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1'
125
- DEBUG : 15-03-23 18:23:51:352 +0400 : Acs::Ldap::Mapper chain_method on object '{:id=>2, :sn=>"dark.vador", :cn=>"dark.vador", :givenName=>"D V", :userPassword=>"{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1", :mail=>"dvador@adharacs.lan"}' with chain 'id' separator '.' force_method_calls 'true'
126
- DEBUG : 15-03-23 18:23:51:352 +0400 : Acs::Ldap::Mapper chain_method returns '2'
127
- INFO : 15-03-23 18:23:51:352 +0400 : Modify dn 'uid=2,ou=people,dc=adharacs,dc=lan' operations '[[:replace, "givenName", "D V"]]'
128
- DEBUG : 15-03-23 18:23:51:352 +0400 : LDAP connect
129
- DEBUG : 15-03-23 18:23:51:352 +0400 : Binding to ldap...
130
- DEBUG : 15-03-23 18:23:51:353 +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"}}
131
- DEBUG : 15-03-23 18:23:51:359 +0400 : Connection succeed
132
- INFO : 15-03-23 18:23:51:374 +0400 : Modify result SUCCESS return code:0, matched_dn: , message:Success, data:nil
133
- INFO : 15-03-23 18:23:51:375 +0400 : Search base 'ou=people,dc=adharacs,dc=lan' filter '(uid=2)' attributes ''
134
- INFO : 15-03-23 18:23:51:398 +0400 : Search result SUCCESS return code:0, matched_dn: , message:Success, data:[#<Net::LDAP::Entry:0x007fd884980c60 @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"]}>]
135
- DEBUG : 15-03-23 18:23:51:399 +0400 : Acs::Ldap::Mapper with options methods_separator '.' force_method_calls 'true'
136
- DEBUG : 15-03-23 18:23:51:399 +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'
137
- DEBUG : 15-03-23 18:23:51:399 +0400 : Acs::Ldap::Mapper chain_method returns '2'
138
- INFO : 15-03-23 18:23:51:399 +0400 : Delete dn 'uid=2,ou=people,dc=adharacs,dc=lan'
139
- DEBUG : 15-03-23 18:23:51:400 +0400 : LDAP connect
140
- DEBUG : 15-03-23 18:23:51:400 +0400 : Binding to ldap...
141
- DEBUG : 15-03-23 18:23:51:400 +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"}}
142
- DEBUG : 15-03-23 18:23:51:415 +0400 : Connection succeed
143
- INFO : 15-03-23 18:23:51:435 +0400 : Delete result SUCCESS return code:0, matched_dn: , message:Success, data:nil
144
- INFO : 15-03-23 18:23:51:436 +0400 : Search base 'ou=people,dc=adharacs,dc=lan' filter '' attributes ''
145
- INFO : 15-03-23 18:23:51:463 +0400 : Search result SUCCESS return code:0, matched_dn: , message:Success, data:[#<Net::LDAP::Entry:0x007fd884891700 @myhash={:dn=>["ou=people,dc=adharacs,dc=lan"], :objectclass=>["organizationalUnit", "top"], :ou=>["people"]}>]
146
- DEBUG : 15-03-23 18:23:51:464 +0400 : Acs::Ldap::Mapper with options methods_separator '.' force_method_calls 'true'
147
- INFO : 15-03-23 18:23:51:466 +0400 : Delete all ou=people
148
- INFO : 15-03-23 18:23:51:467 +0400 : Search base 'ou=people,dc=adharacs,dc=lan' filter '' attributes 'uid'
149
- DEBUG : 15-03-23 18:23:51:467 +0400 : LDAP connect
150
- DEBUG : 15-03-23 18:23:51:467 +0400 : Binding to ldap...
151
- DEBUG : 15-03-23 18:23:51:468 +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"}}
152
- DEBUG : 15-03-23 18:23:51:475 +0400 : Connection succeed
153
- INFO : 15-03-23 18:23:51:510 +0400 : Search result SUCCESS return code:0, matched_dn: , message:Success, data:[#<Net::LDAP::Entry:0x007fd8840240e0 @myhash={:dn=>["ou=people,dc=adharacs,dc=lan"]}>]
154
- DEBUG : 15-03-23 18:23:51:510 +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'
155
- DEBUG : 15-03-23 18:23:51:510 +0400 : Acs::Ldap::Mapper chain_method returns '2'
156
- INFO : 15-03-23 18:23:51:511 +0400 : Search base 'uid=2,ou=people,dc=adharacs,dc=lan' filter '' attributes ''
157
- INFO : 15-03-23 18:23:51:526 +0400 : Search result ERROR return code:32, matched_dn: ou=people,dc=adharacs,dc=lan, message:No Such Object, data:[]
158
- DEBUG : 15-03-23 18:23:51:526 +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'
159
- DEBUG : 15-03-23 18:23:51:526 +0400 : Acs::Ldap::Mapper chain_method returns '2'
160
- DEBUG : 15-03-23 18:23:51:526 +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'
161
- DEBUG : 15-03-23 18:23:51:526 +0400 : Acs::Ldap::Mapper chain_method returns 'dark.vador'
162
- DEBUG : 15-03-23 18:23:51:528 +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'
163
- DEBUG : 15-03-23 18:23:51:528 +0400 : Acs::Ldap::Mapper chain_method returns 'dark.vador'
164
- DEBUG : 15-03-23 18:23:51:529 +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'
165
- DEBUG : 15-03-23 18:23:51:529 +0400 : Acs::Ldap::Mapper chain_method returns 'Dark Vador'
166
- DEBUG : 15-03-23 18:23:51:529 +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'
167
- DEBUG : 15-03-23 18:23:51:529 +0400 : Acs::Ldap::Mapper chain_method returns 'dvador@adharacs.lan'
168
- DEBUG : 15-03-23 18:23:51:529 +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'
169
- DEBUG : 15-03-23 18:23:51:529 +0400 : Acs::Ldap::Mapper chain_method returns '{SSHA}+MBMtUqzkOeH8hI1KVnl+djdqzw0YmU5M2Y5MmQyOTgxMDU1'
170
- DEBUG : 15-03-23 18:23:51:529 +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'
171
- DEBUG : 15-03-23 18:23:51:529 +0400 : Acs::Ldap::Mapper chain_method returns '2'
172
- DEBUG : 15-03-23 18:23:51:530 +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"]}'
173
- DEBUG : 15-03-23 18:23:51:530 +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'
174
- DEBUG : 15-03-23 18:23:51:530 +0400 : Acs::Ldap::Mapper chain_method returns '2'
175
- INFO : 15-03-23 18:23:51:530 +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"]}'
176
- INFO : 15-03-23 18:23:51:538 +0400 : Add result SUCCESS return code:0, matched_dn: , message:Success, data:nil
177
- DEBUG : 15-03-23 18:23:51:538 +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'
178
- DEBUG : 15-03-23 18:23:51:539 +0400 : Acs::Ldap::Mapper chain_method returns '2'
179
- INFO : 15-03-23 18:23:51:539 +0400 : Search base 'uid=2,ou=people,dc=adharacs,dc=lan' filter '' attributes ''
180
- INFO : 15-03-23 18:23:51:558 +0400 : Search result SUCCESS return code:0, matched_dn: , message:Success, data:[#<Net::LDAP::Entry:0x007fd8841de390 @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"]}>]
181
- INFO : 15-03-23 18:23:51:558 +0400 : Delete all ou=people
182
- INFO : 15-03-23 18:23:51:558 +0400 : Search base 'ou=people,dc=adharacs,dc=lan' filter '' attributes 'uid'
183
- INFO : 15-03-23 18:23:51:575 +0400 : Search result SUCCESS return code:0, matched_dn: , message:Success, data:[#<Net::LDAP::Entry:0x007fd884266920 @myhash={:dn=>["ou=people,dc=adharacs,dc=lan"]}>, #<Net::LDAP::Entry:0x007fd884264210 @myhash={:dn=>["uid=2,ou=people,dc=adharacs,dc=lan"], :uid=>["2"]}>]
184
- INFO : 15-03-23 18:23:51:575 +0400 : Delete dn 'uid=2,ou=people,dc=adharacs,dc=lan'
185
- INFO : 15-03-23 18:23:51:603 +0400 : Delete result SUCCESS return code:0, matched_dn: , message:Success, data:nil
186
- DEBUG : 15-03-23 18:27:01:862 +0400 : LDAP connect
187
- DEBUG : 15-03-23 18:27:01:863 +0400 : Binding to ldap...
188
- DEBUG : 15-03-23 18:27:01:863 +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"}}
189
- DEBUG : 15-03-23 18:27:01:873 +0400 : Connection succeed
190
- INFO : 15-03-23 18:27:01:874 +0400 : Search base '' filter '' attributes ''
191
- INFO : 15-03-23 18:27:01:906 +0400 : Search result SUCCESS return code:0, matched_dn: , message:Success, data:[#<Net::LDAP::Entry:0x007faf48e43398 @myhash={:dn=>["dc=adharacs,dc=lan"], :objectclass=>["top", "dcObject", "organization"], :o=>["'LDAP Test'"], :dc=>["adharacs"]}>, #<Net::LDAP::Entry:0x007faf4956b008 @myhash={:dn=>["cn=admin,dc=adharacs,dc=lan"], :objectclass=>["simpleSecurityObject", "organizationalRole"], :cn=>["admin"], :description=>["LDAP administrator"], :userpassword=>["{SSHA}gfWXs6CZOCDlQXMwol0YPSye3w12V/XU"]}>, #<Net::LDAP::Entry:0x007faf49568f38 @myhash={:dn=>["ou=people,dc=adharacs,dc=lan"], :objectclass=>["organizationalUnit", "top"], :ou=>["people"]}>, #<Net::LDAP::Entry:0x007faf48e3a1d0 @myhash={:dn=>["ou=mailbox,dc=adharacs,dc=lan"], :objectclass=>["organizationalUnit", "top"], :ou=>["mailbox"]}>, #<Net::LDAP::Entry:0x007faf48e2ba40 @myhash={:dn=>["ou=alias,dc=adharacs,dc=lan"], :objectclass=>["organizationalUnit", "top"], :ou=>["alias"]}>, #<Net::LDAP::Entry:0x007faf48e2a230 @myhash={:dn=>["ou=mailinglist,dc=adharacs,dc=lan"], :objectclass=>["organizationalUnit", "top"], :ou=>["mailinglist"]}>, #<Net::LDAP::Entry:0x007faf4955b860 @myhash={:dn=>["ou=domain,dc=adharacs,dc=lan"], :objectclass=>["organizationalUnit", "top"], :ou=>["domain"]}>, #<Net::LDAP::Entry:0x007faf49559ee8 @myhash={:dn=>["ou=vacation,dc=adharacs,dc=lan"], :objectclass=>["organizationalUnit", "top"], :ou=>["vacation"]}>, #<Net::LDAP::Entry:0x007faf495580c0 @myhash={:dn=>["ou=backup,dc=adharacs,dc=lan"], :objectclass=>["organizationalUnit", "top"], :ou=>["backup"]}>, #<Net::LDAP::Entry:0x007faf48e11028 @myhash={:dn=>["ou=vpn,dc=adharacs,dc=lan"], :objectclass=>["organizationalUnit", "top"], :ou=>["vpn"]}>, #<Net::LDAP::Entry:0x007faf49553728 @myhash={:dn=>["ou=service,dc=adharacs,dc=lan"], :objectclass=>["organizationalUnit", "top"], :ou=>["service"]}>, #<Net::LDAP::Entry:0x007faf48dfb458 @myhash={:dn=>["uid=postfix,ou=service,dc=adharacs,dc=lan"], :objectclass=>["account", "simpleSecurityObject", "top"], :uid=>["postfix"], :userpassword=>["{SSHA}Eh7VTDYqC8qoZrvSkg68rMSnFoc3J5X3"]}>, #<Net::LDAP::Entry:0x007faf48df8d70 @myhash={:dn=>["uid=gnarwl,ou=service,dc=adharacs,dc=lan"], :objectclass=>["account", "simpleSecurityObject", "top"], :uid=>["postfix", "gnarwl"], :userpassword=>["{SSHA}WNBFAIOiPCRBrg4aB5jGQBAjDKVeHB6c"]}>, #<Net::LDAP::Entry:0x007faf4953b628 @myhash={:dn=>["uid=dovecot,ou=service,dc=adharacs,dc=lan"], :objectclass=>["account", "simpleSecurityObject", "top"], :uid=>["dovecot"], :userpassword=>["{SSHA}hhmido6GNmtGo4iXqj7hdvIPAIxytxYY"]}>, #<Net::LDAP::Entry:0x007faf49538248 @myhash={:dn=>["uid=saslauthd,ou=service,dc=adharacs,dc=lan"], :objectclass=>["account", "simpleSecurityObject", "top"], :uid=>["saslauthd"], :userpassword=>["{SSHA}WsKuZD5GxtX8oSGx5ZLd2KUMMoSgNi74"]}>, #<Net::LDAP::Entry:0x007faf49528730 @myhash={:dn=>["uid=radicale,ou=service,dc=adharacs,dc=lan"], :objectclass=>["account", "simpleSecurityObject", "top"], :uid=>["radicale"], :userpassword=>["{SSHA}PyObb9eltm9LCr1OSVh9qzNhXO54q3K7"]}>, #<Net::LDAP::Entry:0x007faf49518998 @myhash={:dn=>["uid=proftpd,ou=service,dc=adharacs,dc=lan"], :objectclass=>["account", "simpleSecurityObject", "top"], :uid=>["proftpd"], :userpassword=>["{SSHA}rjeE6bAqX4UhLXLxMKSYT5qoXYjTuT8l"]}>, #<Net::LDAP::Entry:0x007faf4a86bb30 @myhash={:dn=>["uid=openvpn,ou=service,dc=adharacs,dc=lan"], :objectclass=>["account", "simpleSecurityObject", "top"], :uid=>["openvpn"], :userpassword=>["{SSHA}5vaBhOIqxkNOgfhd4zUQJ3Qij+nCf3Jj"]}>]
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.1
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-23 00:00:00.000000000 Z
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