Method: Net::LDAP#rename

Defined in:
lib/net/ldap.rb

#rename(args) ⇒ Object Also known as: modify_rdn

Rename an entry on the remote DIS by changing the last RDN of its DN.

Documentation stub

[View source]

1154
1155
1156
1157
1158
1159
1160
1161
# File 'lib/net/ldap.rb', line 1154

def rename(args)
  instrument "rename.net_ldap", args do |payload|
    @result = use_connection(args) do |conn|
      conn.rename(args)
    end
    @result.success?
  end
end