summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-05-17 01:43:05 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-05-17 01:43:05 +0000
commit2fce5e9b2a424188ec964ec157d4eb7d1c7caf4b (patch)
tree1fda746002e30c4b175c04aa559d26ed29710b4d /urpm
parent74d08af970f7b2362c8a6d15770bcdb8739db4f5 (diff)
downloadurpmi-2fce5e9b2a424188ec964ec157d4eb7d1c7caf4b.tar
urpmi-2fce5e9b2a424188ec964ec157d4eb7d1c7caf4b.tar.gz
urpmi-2fce5e9b2a424188ec964ec157d4eb7d1c7caf4b.tar.bz2
urpmi-2fce5e9b2a424188ec964ec157d4eb7d1c7caf4b.tar.xz
urpmi-2fce5e9b2a424188ec964ec157d4eb7d1c7caf4b.zip
POD fixes
Diffstat (limited to 'urpm')
-rw-r--r--urpm/ldap.pm21
1 files changed, 11 insertions, 10 deletions
diff --git a/urpm/ldap.pm b/urpm/ldap.pm
index 7be15926..792699d2 100644
--- a/urpm/ldap.pm
+++ b/urpm/ldap.pm
@@ -27,32 +27,33 @@ urpm::ldap - routines to handle configuration with ldap
=item write_ldap_cache($urpm,$medium)
-Write the value fetched from ldap, in case of failure of server
-This should not be used to reduce the load of ldap server, as
-fetching is still needed, and therefore, caching is useless if server is up
+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.
=item check_ldap_medium($medium)
-Check if the ldap medium has all needed attributes.
+Checks if the ldap medium has all required attributes.
=item read_ldap_cache($urpm,%options)
-Read the cache created by the function write_ldap_cache.
-should be called if the ldap server do not respond ( upgrade, network problem,
-mobile user, etc ).
+Reads the cache created by the C<write_ldap_cache> function. Should be called
+if the ldap server doesn't answer (upgrade, network problem, mobile user, etc.)
=item clean_ldap_cache($urpm)
-Clean the ldap cache, remove all file in the directory.
+Cleans the ldap cache, removes all files in the directory.
=item load_ldap_media($urpm,%options)
-=item get_ldap_config
+=item get_ldap_config()
=item get_ldap_config_file($file)
=item get_ldap_config_dns
+=back
+
=cut
sub write_ldap_cache($$) {
@@ -91,7 +92,7 @@ sub clean_ldap_cache($) {
unlink glob("$urpm->{cachedir}/ldap/*");
}
-sub get_ldap_config {
+sub get_ldap_config() {
return get_ldap_config_file($LDAP_CONFIG_FILE);
}