[Date Prev][Date Next]
Shell backend: read_and_send_results
>Timur Izhbulatov writes:
>> I'm running openldap-2.3.20 from FreeBSD 6.1-prerelease ports. The
>> slapd server is configured to run my backend shell script. But the
>> server fails to parse my output.
>> The slapd log looks like this:
>> Apr 13 13:53:17 fbsd slapd: shell search reading line (RESULT
>It works with OpenLDAP HEAD, and the code has not been changed
Are you test it?
>However OpenLDAP outputs
>shell search reading line (RESULT
>so it looks like the FreeBSD folks have fixed that with a patch which
>replaces the newline with space. If they did that naively, they also
>concatenate the lines with spaces instead of newlines between them and
>feed that to slapd's entry parser. That's not likely to work...
In freebsd ports no patch for this.
I test it issue today on linux RHEL3.
Apr 14 09:47:17 archive slapd: => str2entry: "dn: cn=Boris
Norris,o=oilspace-shell cn: Boris Norris "
Apr 14 09:47:17 archive slapd: shell search reading line
Apr 14 09:47:17 archive slapd: shell search reading line (code:
Apr 14 09:47:17 archive slapd: shell: fgets failed: Success (0)
I get same result as Timur.
shell backend have error and it's not new error.
OILspace, 26 Leninskaya sloboda, bld. 2, 2nd floor, 115280 Moscow, Russia
P:+7 495 105 7247 ext.203 F:+7 495 105 7246 E:DmitriyKirhlarov@oilspace.com
OILspace - The resource enriched - www.oilspace.com