Sponsored Content
Full Discussion: Game: Name this person
The Lounge What is on Your Mind? Game: Name this person Post 302127142 by reborg on Monday 16th of July 2007 09:57:51 AM
Old 07-16-2007
Would that be Bob Weir?
 

4 More Discussions You Might Find Interesting

1. Solaris

Another person that needs Internet help

Ok i have a router, which my sparc 5 is connected to. I can acess the router webpage (192.168.0.1). But I cant access the internet. When i use sys-unconfig i enter my ip address fine then i click none for when it asks me for DNS info because I dont have a domain. I was told i can manually change... (10 Replies)
Discussion started by: vikster007
10 Replies

2. Shell Programming and Scripting

New Person Added to the Forum

Hello, I'm brand new to this forum. I am working on my first Bash shell script. We were given an exercise to get ready for the real assignment. I could use some help. The exercise is to "set two variables (i. e., file1 & file2) on the command line to the paths of the text files. We are to... (1 Reply)
Discussion started by: wcarp05
1 Replies

3. UNIX for Advanced & Expert Users

How to get a login name of a person who used 'su' and act with different user-name?

I need to realize the user login name after he/she used the 'su' command to log under another name (for specific privileges.) I am on SunOS v5.6, and here by now I could not find a way to figured it out. In another Thread I've get an advise from Linux user to use 'ps afxj' that display a... (3 Replies)
Discussion started by: alex_5161
3 Replies

4. What is on Your Mind?

how do you call a person who assembles computers?

The title says everything. I'm wondering how we call in English the person who builds a computer. I mean instead of buying a branded computer like dell or toshiba, how do you call the guy who assembles computers from pieces of various suppliers. Thanks for your help Santiago (8 Replies)
Discussion started by: chebarbudo
8 Replies
LDAP_GET_DN(3)						     Library Functions Manual						    LDAP_GET_DN(3)

NAME
ldap_get_dn, ldap_explode_dn, ldap_explode_rdn, ldap_dn2ufn - LDAP DN handling routines SYNOPSIS
#include <ldap.h> char *ldap_get_dn(ld, entry) LDAP *ld; LDAPMessage *entry; char **ldap_explode_dn(dn, notypes) char *dn; int notypes; char **ldap_explode_rdn(rdn, notypes) char *rdn; int notypes; char *ldap_dn2ufn(dn) char *dn; DESCRIPTION
These routines allow LDAP entry names (Distinguished Names, or DNs) to be obtained, parsed, converted to a user-friendly form, and tested. A DN has the form described in RFC 2253 "Lightweight Directory Access Protocol (v3): UTF-8 String Representation of Distinguished Names". The ldap_get_dn() routine takes an entry as returned by ldap_first_entry(3) or ldap_next_entry(3) and returns a copy of the entry's DN. Space for the DN will be obtained dynamically and should be freed by the caller using ldap_memfree(3). The ldap_explode_dn() routine takes a DN as returned by ldap_get_dn() and breaks it up into its component parts. Each part is known as a Relative Distinguished Name, or RDN. ldap_explode_dn() returns a NULL-terminated array, each component of which contains an RDN from the DN. The notypes parameter is used to request that only the RDN values be returned, not their types. For example, the DN "cn=Bob, c=US" would return as either { "cn=Bob", "c=US", NULL } or { "Bob", "US", NULL }, depending on whether notypes was 0 or 1, respectively. The result can be freed by calling ldap_value_free(3). Similarly, the ldap_explode_rdn() routine takes an RDN as returned by ldap_explode_dn(dn,0) and breaks it up into its "type=value" compo- nent parts (or just "value", if the notypes parameter is set). The result can be freed by calling ldap_value_free(3). ldap_dn2ufn() is used to turn a DN as returned by ldap_get_dn() into a more user-friendly form, stripping off type names. See RFC 1781 "Using the Directory to Achieve User Friendly Naming" for more details on the UFN format. The space for the UFN returned is obtained dynamically and the user is responsible for freeing it via a call to ldap_memfree(3). ERRORS
If an error occurs in ldap_get_dn(), NULL is returned and the ld_errno field in the ld parameter is set to indicate the error. See ldap_error(3) for a description of possible error codes. ldap_explode_dn(), ldap_explode_rdn(), and ldap_dn2ufn() will return NULL with errno(3) set appropriately in case of trouble. NOTES
These routines dyanamically allocate memory that the caller must free. SEE ALSO
ldap(3), ldap_error(3), ldap_first_entry(3), ldap_memfree(3), ldap_value_free(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 21 July 2000 LDAP_GET_DN(3)
All times are GMT -4. The time now is 02:30 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy