NAME
urpm::ldap - routines to handle configuration with ldap
SYNOPSIS
DESCRIPTION
- write_ldap_cache($urpm,$medium)
-
Writes the value fetched from ldap, in case of server failure. This should not be used to reduce the load of the ldap server, as fetching is still needed, and therefore, caching is useless if server is up.
- check_ldap_medium($medium)
-
Checks if the ldap medium has all required attributes.
- read_ldap_cache($urpm)
-
Reads the cache created by the
write_ldap_cache
function. Should be called if the ldap server doesn't answer (upgrade, network problem, mobile user, etc.) - clean_ldap_cache($urpm)
-
Cleans the ldap cache, removes all files in the directory.
- load_ldap_media($urpm)
-
Loads urpmi media configuration from ldap.
- get_ldap_config()
- get_ldap_config_file($file)
- get_ldap_config_dns()
-
Not implemented yet.
COPYRIGHT
Copyright (C) 2005 MandrakeSoft SA
Copyright (C) 2005-2010 Mandriva SA