🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: fj.net.ldap
Article #171

Problem in retrieving Attibute values of LDAP User

#171
From: veenu
Date: Tue, 04 Jul 2006 07:26
42 lines
2041 bytes
hi all,

I am new to this LDAP concept.
I am working on Windows2000 Server.
I have installed the Microsoft Active Directory.
I have seen the User properties window in the Active Directory Users
and Computers.
I have written a code in C to retrieve all the values of the attributes

of the Users who all are present under the root domain.


I am able to retrieve the following fields from the AD,
cn , sn , city , mail , telephone no. , city and zip code.


For the above fields i have used these symbols:


cn - for Full display name
sn- for Surname
mail - for E-mail
streetAddress - for Street
telephoneNumber - for Phone number.
l - for City/location
postalCode - for zip/postal code


Can someone please tell me how i can get the ldap symbols for other
fields like,
Fax
State
Other telephone no.s
Department e.t.c


Is there any way to get the list of symbols for the attributes and the
list of attributes in the LDAP AD? 


Thanks in advance, 
Veenu
Technical Details
Message-ID: <1151997986.027613.113140@75g2000cwc.googlegroups.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!postnews.google.com!75g2000cwc.googlegroups.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 103627,d5cc99f7ac9370f5,start
X-Google-Attributes: gid103627,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!postnews.google.com!75g2000cwc.googlegroups.com!not-for-mail
From: "veenu" <veenuuu@gmail.com>
Newsgroups: fj.net.ldap
Subject: Problem in retrieving Attibute values of LDAP User
Date: 4 Jul 2006 00:26:26 -0700
Organization: http://groups.google.com
Lines: 43
Message-ID: <1151997986.027613.113140@75g2000cwc.googlegroups.com>
NNTP-Posting-Host: 61.95.203.74
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1151997991 3839 127.0.0.1 (4 Jul 2006 07:26:31 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Tue, 4 Jul 2006 07:26:31 +0000 (UTC)
User-Agent: G2/0.2
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0),gzip(gfe),gzip(gfe)
Complaints-To: groups-abuse@google.com
Injection-Info: 75g2000cwc.googlegroups.com; posting-host=61.95.203.74;
   posting-account=fjNvhA0AAACBNet_Y3Jdkzcy3MzecOrJ