Permalink
Browse files

Correction for rename #32

  • Loading branch information...
1 parent a102054 commit 51597eae9afcdd9353b542c2fef00277450c5fb9 Rory OConnell committed Feb 29, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/net/ldap.rb
View
@@ -1589,7 +1589,7 @@ def rename args
new_superior = args[:new_superior]
request = [old_dn.to_ber, new_rdn.to_ber, delete_attrs.to_ber]
- request << new_superior.to_ber unless new_superior == nil
+ request << new_superior.to_ber_contextspecific(0) unless new_superior == nil
pkt = [next_msgid.to_ber, request.to_ber_appsequence(12)].to_ber_sequence
@conn.write pkt

0 comments on commit 51597ea

Please sign in to comment.