svn commit: samba r20760 - in branches/SAMBA_4_0/source/dsdb/samdb/ldb_modules: .

metze at samba.org metze at samba.org
Sun Jan 14 13:40:53 GMT 2007


Author: metze
Date: 2007-01-14 13:40:53 +0000 (Sun, 14 Jan 2007)
New Revision: 20760

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

Log:
also handle the case where no private data is attached to the module

metze
Modified:
   branches/SAMBA_4_0/source/dsdb/samdb/ldb_modules/kludge_acl.c


Changeset:
Modified: branches/SAMBA_4_0/source/dsdb/samdb/ldb_modules/kludge_acl.c
===================================================================
--- branches/SAMBA_4_0/source/dsdb/samdb/ldb_modules/kludge_acl.c	2007-01-14 11:25:42 UTC (rev 20759)
+++ branches/SAMBA_4_0/source/dsdb/samdb/ldb_modules/kludge_acl.c	2007-01-14 13:40:53 UTC (rev 20760)
@@ -122,7 +122,7 @@
 	data = talloc_get_type(ac->module->private_data, struct kludge_private_data);
 
 	if (ares->type == LDB_REPLY_ENTRY
-		&& data->password_attrs) /* if we are not initialized just get through */
+	    && data && data->password_attrs) /* if we are not initialized just get through */
 	{
 		switch (ac->user_type) {
 		case SYSTEM:



More information about the samba-cvs mailing list