LDAP Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsDatabasesLDAP Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old December 16th, 2009, 06:05 AM
HenrikGe HenrikGe is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2009
Posts: 1 HenrikGe User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 25 m 51 sec
Reputation Power: 0
LDAP filter problem

Hi!
I'm having a filter problem. I hope someone can help me.

Let's say my LDAP structure looks something like this:
ou=Subject,ou=Course, ou=1234
..where Subject is of aux type x-subject, course is of aux type x-course and the last part is of type x-school.

I am wondering if it is possible to write a filter that finds all subjects that contains a school name 1234?

So from the following list i only want to filter out the first subject
ou=Math,ou=1, ou=1234
ou=Math,ou=2, ou=3333
ou=Math,ou=3, ou=3333

Thanks in advance,

Henrik

Reply With Quote
  #2  
Old December 16th, 2009, 07:47 AM
umbrella's Avatar
umbrella umbrella is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2008
Posts: 85 umbrella User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 23 h 38 m 31 sec
Reputation Power: 5
hi,
I assume usage -W flag so as to filtering query...?

Reply With Quote
  #3  
Old December 20th, 2009, 11:01 AM
ldapswandog ldapswandog is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2009
Location: Charlotte, NC
Posts: 111 ldapswandog User rank is Corporal (100 - 500 Reputation Level)ldapswandog User rank is Corporal (100 - 500 Reputation Level)ldapswandog User rank is Corporal (100 - 500 Reputation Level)ldapswandog User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 22 h 18 m
Reputation Power: 8
Filtering on the OU is the simplest LDAP query filter
Code:
filter="(ou=1234)"

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesLDAP Programming > LDAP filter problem

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap