Commit Graph

9 Commits

Author SHA1 Message Date
Rob Crittenden
ec2eff9774 Under some conditions rl may not have been initialized so the config may error out with:
UnboundLocalError: "local variable 'rl' referenced before assignment"

This is caught and ignored but the result is that the records in DNS may
not be used at all. Initializing rl to zero fixes this.

I also convert the server list into a set to make each entry unique (and
back to a list because that is what we are supposed to return)

433506
2008-06-04 22:40:32 -04:00
Simo Sorce
53afb67537 Fix the case where domain != lower(REALM)
add the domain to the ipa.conf file for apps that need to know
This should fix a bug in the replica setup
2008-05-29 09:43:00 -04:00
Simo Sorce
0b2756bed7 Fix existence check, default_server is an array so we need to
check its length to determine if it is empty
2008-05-10 11:25:31 -04:00
Simo Sorce
3e47b48068 Make sure we use the configured server in ipa.conf first, and
fallback to the discovered ones only if that's not available
2008-04-09 14:37:01 -04:00
Rob Crittenden
c3fedca013 Don't define bogus realm/server in configuration file by default
Add default exception handler to avoid backtraces in cmdline tools
Enhance error message when the IPA server or realm can't be found

437565
2008-03-17 13:16:56 -04:00
Rob Crittenden
8f0d4a8ed3 Add failover to the XML-RPC client
433506
2008-02-22 14:47:15 -05:00
Rob Crittenden
97d9c235dd Set the license uniformly to GPLv2 only. 2008-02-04 15:15:52 -05:00
Simo Sorce
3defaaf7ba Make admintools discover the domain using DNS calls to find the LDAP server. 2007-12-11 10:58:39 -05:00
Karl MacMillan
ec9ca376c5 Added config.py. 0001-01-01 00:00:00 +00:00