Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-24-2006, 10:20 AM   #1
Registered: Aug 2004
Location: Hull - England
Distribution: Ubunto and slowly switching to debian
Posts: 308

Rep: Reputation: 30
Question adding an ldap field

hi, i hope i can make this clear as im not quite sure how to explain what i want/trying to to.

here goes,

in ldap you get the diffrent field types such as DN, objectClass, OU and other s like street, postalCode etc.

well i need one called 'gPLink'. i have been trying to edit my ldap core and samba3 schema files trying to add this field but in all honesty even with a little google ing i have no idea what i am doing within the schema files as i have never tutched them before.

i hope thats crear anough.

i will be extreamly greatfull for any input on this as its something i have been wanting to try and do for over a year and have only just got round to doing

Old 04-24-2006, 07:01 PM   #2
Registered: Apr 2006
Location: Pittsburgh
Distribution: Debian Sid AMD64
Posts: 296

Rep: Reputation: 30
Put something like this:
attributetype (
        NAME 'gPLink'
        DESC 'whatever you want'
        EQUALITY caseIgnoreMatch
        SUBSTR caseIgnoreSubstringsMatch
        SINGLE-VALUE )
If you want to allow more than one gPLink per entry, leave out SINGLE-VALUE.

Now you just have to add "gPLink" to the "MAY" or "MUST" section of the declaration for the objectClass that it should belong to. (The attributes in those sections are separated by "$".)
Old 04-25-2006, 06:51 AM   #3
Registered: Aug 2004
Location: Hull - England
Distribution: Ubunto and slowly switching to debian
Posts: 308

Original Poster
Rep: Reputation: 30
Thanks for the info, i will try it a bit later when i have got time.

thanks again, much appreciated.



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
Adding a new Field to Task_struct linusclone Programming 2 04-08-2005 12:54 PM
Adding entries to an LDAP address book? [GOD]Anck Linux - Software 1 02-10-2005 10:03 AM
Adding Option field in IP header guam Linux - Networking 0 11-04-2004 11:17 AM
Adding Postfix And LDAP to SUSE 9.0 Pro ombill Linux - Software 2 08-02-2004 05:39 AM
adding info to ldap chamkila Linux - General 5 08-14-2003 10:12 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:07 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
Open Source Consulting | Domain Registration