|
|
@ -13,8 +13,6 @@ func (inst *instance) Add_Request(dn string, attributes map[string][]string) err |
|
|
|
|
|
|
|
//Send the request
|
|
|
|
err := inst.logging.Add(req) |
|
|
|
//@FIXME: Remove when you try to correct the bug MessageID
|
|
|
|
inst.Reconnect() |
|
|
|
return err |
|
|
|
|
|
|
|
} |
|
|
@ -36,8 +34,6 @@ func (inst *instance) Modify_Request(dn string, add_attributes, delete_attribute |
|
|
|
} |
|
|
|
|
|
|
|
err := inst.logging.Modify(modifyReq) |
|
|
|
//@FIXME: Remove when you try to correct the bug MessageID
|
|
|
|
inst.Reconnect() |
|
|
|
return err |
|
|
|
} |
|
|
|
|
|
|
@ -45,8 +41,6 @@ func (inst *instance) Delete_Request(dn string) error { |
|
|
|
del := ldap.NewDelRequest(dn, nil) |
|
|
|
|
|
|
|
err := inst.logging.Del(del) |
|
|
|
//@FIXME: Remove when you try to correct the bug MessageID
|
|
|
|
inst.Reconnect() |
|
|
|
return err |
|
|
|
} |
|
|
|
|
|
|
@ -61,7 +55,5 @@ func (inst *instance) Search_Request(dn, filter string, name_attributes []string |
|
|
|
|
|
|
|
res, err := inst.logging.Search(searchReq) |
|
|
|
logging.Debugf("Search Request made with: dn: %s, filter: %s, attributes: %s. \n", dn, filter, name_attributes) |
|
|
|
//@FIXME: Remove when you try to correct the bug MessageID
|
|
|
|
inst.Reconnect() |
|
|
|
return res, err |
|
|
|
} |
|
|
|