Share your knowledge at the LQ Wiki.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 01-26-2011, 05:26 AM   #1
Registered: Dec 2010
Distribution: fedora, openSUSE
Posts: 49

Rep: Reputation: 1
How do I modify 1 of my ldap attribute if I have 2 same attribute under 1 entry?

Hi guys,

Assume, I have the below LDAP entry

dn: cn=123,dc=plainjoe, dc=org
objectclass: inetOrgPerson
cn: 123
sn: surname
userPassword: secret
userPassword: hangten
userPassword: anotherpassword
Which command should I use programmatically (in ldap.h) to change only ONE of the attributes above? say i only want to change the userPassword from value secret -> notasecret

Do we use??
and how??

Thanks and Cheers,

Last edited by chinho; 01-26-2011 at 05:37 AM.
Old 01-31-2011, 04:37 AM   #2
Registered: Dec 2010
Distribution: fedora, openSUSE
Posts: 49

Original Poster
Rep: Reputation: 1
Any helps guyss??


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
update problem "Attribute error object has no attribute 'rsplit' ruse Linux - Newbie 0 08-28-2009 02:46 AM
ldap_add: Undefined attribute type (17) additional info: ojectclass: attribute type vinaytp Linux - Newbie 2 05-28-2009 05:57 AM
RHEL5 - Modify /usr/bin/script to include flushtime attribute malar Linux - Enterprise 2 04-28-2009 12:12 PM
LDAP attribute aravind1024004 Linux - Server 1 04-12-2008 02:29 PM
How to modify a file's attribute in shell? Xiangbuilder Linux - Newbie 1 09-06-2003 07:18 AM

All times are GMT -5. The time now is 07:16 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration