diff options
author | Simo Sorce <idra@samba.org> | 2004-09-27 15:40:12 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:59:24 -0500 |
commit | eac532ee3af95654b62d4db57feea0df6abab345 (patch) | |
tree | 8bd7353424e793dc4e4a5e86feff95ef480b7e99 /source4/ldap_server/ldap_simple_ldb.c | |
parent | 250996aa5a094cb9d203e2d2e369f6e6eab4cd9c (diff) | |
download | samba-eac532ee3af95654b62d4db57feea0df6abab345.tar.gz samba-eac532ee3af95654b62d4db57feea0df6abab345.tar.bz2 samba-eac532ee3af95654b62d4db57feea0df6abab345.zip |
r2695: revert "Del" renaming
(This used to be commit ddd74dae8efe4e04b5a56ee9ecd9d4f87f99d104)
Diffstat (limited to 'source4/ldap_server/ldap_simple_ldb.c')
-rw-r--r-- | source4/ldap_server/ldap_simple_ldb.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/source4/ldap_server/ldap_simple_ldb.c b/source4/ldap_server/ldap_simple_ldb.c index efd56c1cf9..ea3937376c 100644 --- a/source4/ldap_server/ldap_simple_ldb.c +++ b/source4/ldap_server/ldap_simple_ldb.c @@ -146,8 +146,8 @@ queue_reply: return ldapsrv_queue_reply(call, done_r); } -static NTSTATUS sldb_Delete(struct ldapsrv_partition *partition, struct ldapsrv_call *call, - struct ldap_DeleteRequest *r) +static NTSTATUS sldb_Del(struct ldapsrv_partition *partition, struct ldapsrv_call *call, + struct ldap_DelRequest *r) { struct ldap_Result *delete_result; struct ldapsrv_reply *delete_reply; @@ -155,7 +155,7 @@ static NTSTATUS sldb_Delete(struct ldapsrv_partition *partition, struct ldapsrv_ struct samdb_context *samdb; struct ldb_context *ldb; - DEBUG(0, ("sldb_Delete: %s\n", r->dn)); + DEBUG(0, ("sldb_Del: %s\n", r->dn)); samdb = samdb_connect(call); ldb = samdb->ldb; @@ -163,9 +163,9 @@ static NTSTATUS sldb_Delete(struct ldapsrv_partition *partition, struct ldapsrv_ ldb_set_alloc(ldb, talloc_ldb_alloc, samdb); ldb_ret = ldb_delete(ldb, r->dn); - delete_reply = ldapsrv_init_reply(call, LDAP_TAG_DeleteResponse); + delete_reply = ldapsrv_init_reply(call, LDAP_TAG_DelResponse); - delete_result = &delete_reply->msg.r.DeleteResponse; + delete_result = &delete_reply->msg.r.DelResponse; delete_result->dn = talloc_steal(delete_reply, r->dn); if (ldb_ret != 0) { @@ -190,7 +190,7 @@ static NTSTATUS sldb_Delete(struct ldapsrv_partition *partition, struct ldapsrv_ static const struct ldapsrv_partition_ops sldb_ops = { .Search = sldb_Search, - .Delete = sldb_Delete + .Del = sldb_Del }; const struct ldapsrv_partition_ops *ldapsrv_get_sldb_partition_ops(void) |