Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1:kernel-2.6.32
dhcp
dhcp-3.0.5-ldap-patch_server_dn.dif
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dhcp-3.0.5-ldap-patch_server_dn.dif of Package dhcp
--- server/ldap.c +++ server/ldap.c 2007/04/26 11:42:39 @@ -1477,8 +1477,8 @@ for (cnt=0; tempstr[cnt] != NULL; cnt++) { snprintf(sfilter, sizeof(sfilter), "(&(objectClass=dhcpService)" - "(|(dhcpPrimaryDN=%s)(dhcpSecondaryDN=%s)))", - hostdn, hostdn); + "(|(|(dhcpPrimaryDN=%s)(dhcpSecondaryDN=%s))(dhcpServerDN=%s)))", + hostdn, hostdn, hostdn); ldres = NULL; if ((ret = ldap_search_s (ld, tempstr[cnt], LDAP_SCOPE_BASE, sfilter, NULL, 0, &ldres)) != LDAP_SUCCESS) @@ -1493,7 +1493,7 @@ if ((ent = ldap_first_entry (ld, ldres)) == NULL) { - log_error ("Error: Cannot find dhcpService DN '%s' with primary or secondary server reference. Please update the LDAP server entry '%s'", + log_error ("Error: Cannot find dhcpService DN '%s' with server reference. Please update the LDAP server entry '%s'", tempstr[cnt], hostdn); ldap_msgfree(ldres);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor