svn commit: samba r8666 - in
branches/SAMBA_4_0/source/dsdb/samdb/ldb_modules: .
abartlet at samba.org
abartlet at samba.org
Thu Jul 21 07:57:21 GMT 2005
Author: abartlet
Date: 2005-07-21 07:57:20 +0000 (Thu, 21 Jul 2005)
New Revision: 8666
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=8666
Log:
The same fix as the last commit, I was caught out on a move from a
BOOL to int function return.
Andrew Bartlett
Modified:
branches/SAMBA_4_0/source/dsdb/samdb/ldb_modules/samldb.c
Changeset:
Modified: branches/SAMBA_4_0/source/dsdb/samdb/ldb_modules/samldb.c
===================================================================
--- branches/SAMBA_4_0/source/dsdb/samdb/ldb_modules/samldb.c 2005-07-21 07:52:31 UTC (rev 8665)
+++ branches/SAMBA_4_0/source/dsdb/samdb/ldb_modules/samldb.c 2005-07-21 07:57:20 UTC (rev 8666)
@@ -416,7 +416,7 @@
return NULL;
}
} else { /* FIXME: remove this if ldb supports natively aliasing between the rdn and the "cn" attribute */
- if ( ! ldb_msg_add_value(module->ldb, msg2, "cn", &rdn->value)) {
+ if ( ldb_msg_add_value(module->ldb, msg2, "cn", &rdn->value)) {
return NULL;
}
}
@@ -427,7 +427,7 @@
return NULL;
}
} else { /* FIXME: remove this if ldb supports natively aliasing between the rdn and the "name" attribute */
- if ( !ldb_msg_add_value(module->ldb, msg2, "name", &rdn->value)) {
+ if ( ldb_msg_add_value(module->ldb, msg2, "name", &rdn->value)) {
return NULL;
}
}
More information about the samba-cvs
mailing list