Re: Need an example Makefile for arealdap.c for Linux

2008-04-09 Thread Geoffrey Endresen
It looks like I had to change the LICENSE_MASK in the arealdap.c code. I had to change the AREA_LICENSE_MASK_ALL to AREA_LICENSE_MASK_WRITE. /* * We found a match and either the password is good or * we are just processing information for notification * purposes.

Re: Need an example Makefile for arealdap.c for Linux

2008-04-08 Thread Geoffrey Endresen
Here's a follow-up question. I got my own copy to compile with the AR System 6.3 libraries on RHEL3. But the example ldap script does not actually work for me. I used the arealdap.c example and modified it. ARERR [623] Authentication failed Is there something else that needs to change to get

Re: Need an example Makefile for arealdap.c for Linux

2008-04-08 Thread Ben Chernys
Your make is OK else the plug-in server would blow up. You will need to add logging to your plugin and perhaps increase the plugin log level (by lowering the number to 100). It looks like your plugin returned a fail code (ie the user was not authenticated). I am not familiar with the sample

Re: Need an example Makefile for arealdap.c for Linux

2008-04-08 Thread Axton
I also have some helper functions for c plug-in logging here: http://arswiki.org/projects/arfprng/browser/trunk/lib Set up the pointer to the logging function: http://arswiki.org/projects/arfprng/browser/trunk/lib/arfprng.c#L48 http://arswiki.org/projects/arfprng/browser/trunk/lib/arfprng.c#L128

Re: Need an example Makefile for arealdap.c for Linux

2008-04-08 Thread Geoffrey Endresen
OK, I must be missing something. I got it to compile and run. It now returns OK in the plugin.log but returns this error to the user tool. ARERR [8922] The authentication service is not responding. Cannot connect to the system at this time. Contact your AR System Administrator for assistance.

Re: Need an example Makefile for arealdap.c for Linux

2008-04-03 Thread Axton
http://arswiki.org/projects/arapi/browser/trunk/7.1/linux/src/area/skeleton/Makefile On Thu, Apr 3, 2008 at 6:47 PM, Geoffrey Endresen [EMAIL PROTECTED] wrote: ** Hackers, I must admit it's been about 2 years since I've compiled anything using gcc. Anyone have a default Make file for