[usb-modeswitch-data] update to latest version.
[vuplus_openvuplus_3.0] / meta-openvuplus / recipes-connectivity / autofs / autofs-4.1.4 / 067_ldap_no_first_message.patch
1 #!/bin/sh /usr/share/dpatch/dpatch-run
2 ## 067_ldap_no_first_message.dpatch
3 ##
4 ## DP: No description.
5
6 @DPATCH@
7
8 diff -Naur .B/modules/lookup_ldap.c .A/modules/lookup_ldap.c
9 --- .B/modules/lookup_ldap.c    2005-02-27 05:37:14.000000000 +0000
10 +++ .A/modules/lookup_ldap.c    2007-01-07 21:36:35.000000000 +0000
11 @@ -437,7 +437,7 @@
12  
13         e = ldap_first_entry(ldap, result);
14         if (!e) {
15 -               crit(MODPREFIX "got answer, but no first entry for %s", query);
16 +               debug(MODPREFIX "got answer, but no first entry for %s", query);
17                 ldap_msgfree(result);
18                 ldap_unbind(ldap);
19                 return CHE_MISSING;
20 @@ -545,7 +545,7 @@
21  
22         e = ldap_first_entry(ldap, result);
23         if (!e) {
24 -               crit(MODPREFIX "got answer, but no first entry for %s", query);
25 +               debug(MODPREFIX "got answer, but no first entry for %s", query);
26                 ldap_msgfree(result);
27                 ldap_unbind(ldap);
28                 return CHE_MISSING;