Re: Debugging a module

2009-09-21 Thread Ryan Steele
Hi Quanah, Quanah Gibson-Mount wrote: This is how filters work in LDAP. It sounds to me like things are working correctly. I.e., if I search for objectClass=joe objectClass, it will return every entry that has an objectClass value of joe, and all the values for objectClass. If I search

Re: Debugging a module

2009-09-18 Thread Ryan Steele
Hey Andreas, Andreas Hasenack wrote: On Wed, Sep 16, 2009 at 17:42, Ryan Steele ry...@aweber.com wrote: query returns nothing: ldapsearch -x -w SECRET -D cn=admin,dc=example,dc=com -b cn=testgroup,ou=Groups,dc=example,dc=com -LLL '(uid=user1)' This filter doesn't look right. Try

Re: Debugging a module

2009-09-18 Thread Quanah Gibson-Mount
--On Friday, September 18, 2009 2:13 PM -0400 Ryan Steele ry...@aweber.com wrote: This filter doesn't look right. Try (member=uid=user1,ou=Users,dc=example,dc=com) Thanks for the advice - I think you're right about filtering on the 'member' attribute. However, doing so still returns the

Re: Debugging a module

2009-09-18 Thread Quanah Gibson-Mount
This is how filters work in LDAP. It sounds to me like things are working correctly. I.e., if I search for objectClass=joe objectClass, it will return every entry that has an objectClass value of joe, and all the values for objectClass. If I search for

Re: Debugging a module

2009-09-18 Thread Howard Chu
Ryan Steele wrote: Hey Andreas, Andreas Hasenack wrote: On Wed, Sep 16, 2009 at 17:42, Ryan Steelery...@aweber.com wrote: query returns nothing: ldapsearch -x -w SECRET -D cn=admin,dc=example,dc=com -b cn=testgroup,ou=Groups,dc=example,dc=com -LLL '(uid=user1)' This filter doesn't look

Re: Debugging a module

2009-09-17 Thread Ryan Steele
Howard Chu wrote: autogroup isn't supposed to perform any expansion during searches. That's not what it does. So, you're saying that dynlist should perform the expansion, and autogroup just allows you to filter it? The autogroup man page makes no mention of needing the dynlist module (only

Re: Debugging a module

2009-09-17 Thread Ryan Steele
Howard Chu wrote: Ryan Steele wrote: Howard Chu wrote: autogroup isn't supposed to perform any expansion during searches. That's not what it does. So, you're saying that dynlist should perform the expansion, and autogroup just allows you to filter it? I'm quite certain I never said any

Re: Debugging a module

2009-09-17 Thread Andreas Hasenack
On Wed, Sep 16, 2009 at 17:42, Ryan Steele ry...@aweber.com wrote: query returns nothing: ldapsearch -x -w SECRET -D cn=admin,dc=example,dc=com -b cn=testgroup,ou=Groups,dc=example,dc=com -LLL '(uid=user1)' This filter doesn't look right. Try (member=uid=user1,ou=Users,dc=example,dc=com)

Re: Debugging a module

2009-09-16 Thread Aaron Richton
On Wed, 16 Sep 2009, omall...@msu.edu wrote: The ISCA answer is:? You might try run everything under Valgrind instead of gdb as it might be easier. You can try that, but unless the fault is a memory error of some sort, I don't know that valgrind has the right tools for it (or maybe I just

Re: Debugging a module

2009-09-16 Thread Howard Chu
Ryan Steele wrote: Hey folks, I'm trying to debug the cause of faulty module behavior (autogroup) which has eluded both strace and 'slapd -d 16383' (and, just as a point of reference, it's slapd 2.4.18 and autogroup 1.8 on Ubuntu 8.04). So, I'd like to use gdb to figure out what's going on,

Re: Debugging a module

2009-09-16 Thread Howard Chu
Ryan Steele wrote: Howard Chu wrote: autogroup isn't supposed to perform any expansion during searches. That's not what it does. So, you're saying that dynlist should perform the expansion, and autogroup just allows you to filter it? I'm quite certain I never said any such thing. The