rpms/autofs/F-7 autofs-5.0.1-add-ldap-schema-discovery.patch, 1.3, 1.4

Ian Kent (iankent) fedora-extras-commits at redhat.com
Wed Sep 5 05:42:45 UTC 2007


Author: iankent

Update of /cvs/pkgs/rpms/autofs/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv25906

Modified Files:
	autofs-5.0.1-add-ldap-schema-discovery.patch 
Log Message:
- fix typo in schema discrovery patch.


autofs-5.0.1-add-ldap-schema-discovery.patch:

Index: autofs-5.0.1-add-ldap-schema-discovery.patch
===================================================================
RCS file: /cvs/pkgs/rpms/autofs/F-7/autofs-5.0.1-add-ldap-schema-discovery.patch,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- autofs-5.0.1-add-ldap-schema-discovery.patch	5 Sep 2007 05:33:14 -0000	1.3
+++ autofs-5.0.1-add-ldap-schema-discovery.patch	5 Sep 2007 05:42:12 -0000	1.4
@@ -279,8 +279,8 @@
 +			return 1;
 +		}
 +	} else {
-+		const char *class = common_schema[i].map_class;
-+		const char *key = common_schema[i].map_attr;
++		const char *class = ctxt->schema->map_class;
++		const char *key = ctxt->schema->map_attr;
 +		if (!get_query_dn(ldap, ctxt, class, key)) {
 +			unbind_ldap_connection(ldap, ctxt);
 +			error(LOGOPT_ANY, MODPREFIX "failed to get query dn");




More information about the fedora-extras-commits mailing list