svn commit: samba r7784 - in branches/SAMBA_4_0/source/lib/ldb/ldb_tdb: .

tridge at samba.org tridge at samba.org
Mon Jun 20 08:50:54 GMT 2005


Author: tridge
Date: 2005-06-20 08:50:53 +0000 (Mon, 20 Jun 2005)
New Revision: 7784

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=7784

Log:
give an error in ldb_tdb for invalid modify flags. The "whenChanged"
bug was being silently ignored with the tdb backend because of this
bug. A case where the ldap backend was right, and the tdb backend was
wrong!

Modified:
   branches/SAMBA_4_0/source/lib/ldb/ldb_tdb/ldb_tdb.c


Changeset:
Modified: branches/SAMBA_4_0/source/lib/ldb/ldb_tdb/ldb_tdb.c
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/ldb_tdb/ldb_tdb.c	2005-06-20 08:49:22 UTC (rev 7783)
+++ branches/SAMBA_4_0/source/lib/ldb/ldb_tdb/ldb_tdb.c	2005-06-20 08:50:53 UTC (rev 7784)
@@ -679,6 +679,9 @@
 				}
 			}
 			break;
+		default:
+			ltdb->last_err_string = "Invalid ldb_modify flags";
+			goto failed;
 		}
 	}
 



More information about the samba-cvs mailing list