mirror of
https://github.com/samba-team/samba.git
synced 2025-11-12 04:23:49 +03:00
r2757: some minor fixes
metze
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
ba2970c3a4
commit
991b4777c8
@@ -40,7 +40,7 @@ struct samdb_context {
|
||||
*/
|
||||
static char *sldb_fix_dn(const char *dn)
|
||||
{
|
||||
char *new_dn, *n, *current;
|
||||
char *new_dn;
|
||||
int i, j, k;
|
||||
|
||||
/* alloc enough room to host the whole dn as multibyte string */
|
||||
@@ -333,8 +333,6 @@ static NTSTATUS sldb_Del(struct ldapsrv_partition *partition, struct ldapsrv_cal
|
||||
ldb_set_alloc(ldb, talloc_ldb_alloc, samdb);
|
||||
ldb_ret = ldb_delete(ldb, dn);
|
||||
|
||||
errstr = ldb_errstring(ldb);
|
||||
|
||||
del_reply = ldapsrv_init_reply(call, LDAP_TAG_DelResponse);
|
||||
ALLOC_CHECK(del_reply);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user