Greetings,
I cannot seem to avoid getting an LDAP error when doing an AutoYast
install. A dialog box pops up saying "Invalid LDAP configuration. Cannot
use LDAP." and you have to press OK to continue. Here's the y2log snip:
2005-09-21 16:28:44 <1> linux(2691) [YCP] clients/dns-server_auto.ycp:26
----------------------------------------
2005-09-21 16:28:44 <1> linux(2691) [YCP] clients/dns-server_auto.ycp:27
DnsServer auto started
2005-09-21 16:28:44 <1> linux(2691) [wfm] Y2WFMComponent.cc(import):579
Y2WFMComponent::import (Mode)
2005-09-21 16:28:44 <1> linux(2691) [wfm] Y2WFMComponent.cc(import):579
Y2WFMComponent::import (Mode)
2005-09-21 16:28:44 <1> linux(2691) [-e] Initializing LDAP support
2005-09-21 16:28:44 <1> linux(2691) [wfm] Y2WFMComponent.cc(import):579
Y2WFMComponent::import (Ldap)
2005-09-21 16:28:44 <3> linux(2691) [YCP] Service.ycp:80 Service ypbind
does not exist.
2005-09-21 16:28:44 <3> linux(2691) [YCP] Service.ycp:80 Service autofs
does not exist.
2005-09-21 16:28:44 <1> linux(2691) [wfm] Y2WFMComponent.cc(import):579
Y2WFMComponent::import (Ldap)
2005-09-21 16:28:44 <1> linux(2691) [wfm] Y2WFMComponent.cc(import):579
Y2WFMComponent::import (Ldap)
2005-09-21 16:28:44 <1> linux(2691) [-e] Main configuration DN:
2005-09-21 16:28:44 <1> linux(2691) [-e] Main config DN not found
2005-09-21 16:28:44 <1> linux(2691) [wfm] Y2WFMComponent.cc(import):579
Y2WFMComponent::import (Report)
2005-09-21 16:42:33 <1> linux(2691) [YCP] clients/dns-server_auto.ycp:92
DnsServer auto finished
2005-09-21 16:42:33 <1> linux(2691) [YCP] clients/dns-server_auto.ycp:93
----------------------------------------
I was looking around at some of the YaST2 modules and it seems the error
is coming from the DhcpServer.pm module, is this correct? If so, this
error message is produced when $ldap_config_dn is not set.
$ldap_config_dn gets set by Ldap->GetMainConfigDN () which appears to
return base_config_dn which seems to be grabbed from the autoyast file.
Here's the relevant snippet from the autoyast xml file I'm using:
<?xml version="1.0"?>
<!DOCTYPE profile SYSTEM "/usr/share/autoinstall/dtd/profile.dtd">
<profile xmlns="http://www.suse.com/1.0/yast2ns"
xmlns:config="http://www.suse.com/1.0/configns">
<configure>
<ldap>