Hi Jiri, I tried your suggestion. Here's my changes to the autoyast xml file: <?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> <start_ldap>false</start_ldap> <ldap_domain>dc=clinics,dc=isgenesis,dc=com</ldap_domain> <!-- <ldap_address>10.1.128.1</ldap_address> --> <!-- <base_config_dn>cn=test,ou=test,dc=isgenesis,dc=com</base_config_dn> --> </ldap> I still get the same dialog box and log entries. I'm also trying commenting out the entire ldap section. Like so: <?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> <start_ldap>false</start_ldap> <ldap_domain>dc=clinics,dc=isgenesis,dc=com</ldap_domain> <ldap_address>10.1.128.1</ldap_address> <base_config_dn>cn=test,ou=test,dc=isgenesis,dc=com</base_config_dn> </ldap> --> I'll see how this works. Thanks, Nick Jiří Suchomel wrote:
Hi Nick!
I'm not sure, but from the quick look to the sources it looks like that you can prevent this popup to show when you _exclude_ ldap_address and base_config_dn keys from the xml file (assuming you really don't want tu use LDAP at all).
Jiri
On Monday 14 of November 2005 16:29, Nick Tzaperas wrote:
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:
... ----------------------------------------
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> <start_ldap>false</start_ldap> <ldap_domain>dc=foo,dc=bar,dc=com</ldap_domain> <ldap_address>10.1.128.1</ldap_address> <base_config_dn>cn=test,ou=test,dc=test,dc=com</base_config_dn> </ldap>
So, it appears I have base_config_dn set yet it's still not grabbing it. Any ideas? I'm not trying to use LDAP at all. I'm just trying to get it to where we don't have to intervene. Our entire build process is pretty much automated except for this LDAP error. Let me know if you need more info.
Thanks, Nick