urpm::ldap

Section: Mageia Package Management (3)
Updated: 2017-12-23
Page Index
 

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.
get_ldap_config()
parse the system LDAP configuration file and return its config values
get_ldap_config_file($file)
parse a given LDAP configuration file and return its config values
get_ldap_config_dns()
Not implemented yet.
load_ldap_media($urpm)
Loads urpmi media configuration from ldap.
 

COPYRIGHT

Copyright (C) 2005 MandrakeSoft SA

Copyright (C) 2005-2010 Mandriva SA

Copyright (C) 2011-2017 Mageia


 

Index

NAME
SYNOPSIS
DESCRIPTION
COPYRIGHT