LDAPFRIENDLY(5) File Formats Manual LDAPFRIENDLY(5)NAME
ldapfriendly - data file for LDAP friendly routines
SYNOPSIS
/usr/share/openldap/ldapfriendly
DESCRIPTION
The file /usr/share/openldap/ldapfriendly contains simple mapping information used by the ldap_friendly_name(3) routine. Blank lines and
lines that have a first character of `#' are treated as comments and ignored. The information consists of lines that contain an "unfriend-
ly" name, a tab, and a "friendly" name.
Other friendly mapping files can be created and used by ldap_friendly_name(3). Just use the same format as that described above and
include the file name in the ldap_friendly_name() call.
FILES
/usr/share/openldap/ldapfriendly
SEE ALSO ldap(3), ldap_friendly_name(3)ACKNOWLEDGEMENTS
OpenLDAP is developed and maintained by The OpenLDAP Project (http://www.openldap.org/). OpenLDAP is derived from University of Michigan
LDAP 3.3 Release.
OpenLDAP 2.0.27-Release 20 August 2000 LDAPFRIENDLY(5)
Check Out this Related Man Page
LDAP_FRIENDLY(3) Library Functions Manual LDAP_FRIENDLY(3)NAME
ldap_friendly_name, ldap_free_friendlymap - LDAP unfriendly to friendly name mapping routine
SYNOPSIS
#include <ldap.h>
typedef struct ldap_friendly {
char *lf_unfriendly;
char *lf_friendly;
} LDAPFriendlyMap;
char *ldap_friendly_name(filename, name, map)
char *filename;
char *name;
LDAPFriendlyMap **map;
void ldap_free_friendlymap(map)
LDAPFriendlyMap **map;
DESCRIPTION
This routine is used to map one set of strings to another. Typically, this is done for country names, to map from the two-letter country
codes to longer more readable names. The mechanism is general enough to be used with other things, though.
filename is the name of a file containing the unfriendly to friendly mapping, name is the unfriendly name to map to a friendly name, and
map is a result-parameter that should be set to NULL on the first call. It is then used to hold the mapping in core so that the file need
not be read on subsequent calls.
For example:
LDAPFriendlyMap *map = NULL;
printf( "unfriendly %s => friendly %s
", name,
ldap_friendly_name( "/usr/share/openldap/ldapfriendly", name, &map ) );
The mapping file should contain lines like this: unfriendlyname friendlyname. Lines that begin with a '#' character are comments and are
ignored.
The ldap_free_friendlymap() call is used to free structures allocated by ldap_friendly_name() when no more calls to ldap_friendly_name()
are to be made.
ERRORS
NULL is returned by ldap_friendly_name() if there is an error opening filename, or if the file has a bad format, or if the map parameter is
NULL.
FILES
/usr/share/openldap/ldapfriendly.conf
SEE ALSO ldap(3)ACKNOWLEDGEMENTS
OpenLDAP is developed and maintained by The OpenLDAP Project (http://www.openldap.org/). OpenLDAP is derived from University of Michigan
LDAP 3.3 Release.
OpenLDAP 2.0.27-Release 22 September 1998 LDAP_FRIENDLY(3)
Hello,
As a newbie:
I know that ls -l list files in a directory.Can i get a Bash script
that prints the same information as ls -l but ib a user friendly way?
Thank you. (3 Replies)
Hi,
I have a simple problem in vi of which I dont know the solution.
I have a file of 2000 lines. But when I open the file in vi, it only displays 20 lines and I have to use ctrl-f to see next lines.
How do change the screen settings in vi? I want to see screen full text.
stty rows... (2 Replies)
This is my first time configuring it, can someone give me advice on how you would config the architecture? For example, I'm stuck on the fail back issue. If my openldap box goes down, how do my users log in. I've heard of the following two options.
1 - create local user accounts ... ok but... (3 Replies)
Hi,
I am using OpenLDAP for authenticating my postfix mail server. Now i have to clean up some resigned users from the LDAP directory. I have the list of common names (CN) with me, how can i delete the LDAP users form with that list.
Regards,
Hima Kiran (2 Replies)
Hello,
I'm new to Centos and to openldap. I am by trade a Solaris Admin. I'm experimenting with openldap and thought Linux would be easier to install and setup openldap on, so far this is true. The problem I'm having is that I can't get the client server to authenticate to the openldap server. I... (1 Reply)
I downloaded the following packages for OpenLDAP wjich installed in /usr/local:
openldap-2.4.24
libtool
openssl-1.0.e
db-4.75.25NC
gcc-3.4.6
All installed with a problem, As soon as I tried to start up sldap, it said I was missing libicuuc.so.2
Has anyone here sucessfully installed... (14 Replies)
Hello,
I will be setting up OpenLDAP 2.4 on RHEL 7.3. I have used Jxplorer in past, which looks clumsy but did the work. As per I read, Apache Studio works better. Suggestions on this ?
Also, I am looking if there can self-service capability. That means, users can get advance notification of... (1 Reply)
Hello,
I have configured new LDAP and new LDAP clients. When I do "sudo su -", it shows me lot of information, which is not required on screen. I am not sure, if any debug mode is enabled or from where it can be turned off. Please suggest, if it is know for you.
-bash-3.2$ sudo su -
sudo:... (8 Replies)