Skip to Content.
Sympa Menu

devel - [sympa-dev] include_ldap_2level_query errors

Subject: Developers of Sympa

List archive

Chronological Thread  
  • From: Thomas Berry <address@concealed>
  • To: sympa dev <address@concealed>
  • Subject: [sympa-dev] include_ldap_2level_query errors
  • Date: Tue, 30 Mar 2010 08:51:16 -0700

Maybe its nothing, but when I run a commandline script [pulled together from sympa's code] to display the members of a list, I get the following errors:

Mar 30 08:34:16 altvirlststap01 show_members.pl: List::_load_include_admin_user_file() Expecting a single line for "include_ldap_2level_query" parameter in /home/sympa/etc/data_sources/
Mar 30 08:34:16 altvirlststap01 show_members.pl: List::_load_include_admin_user_file() Bad entry "include_ldap_2level_query" in /home/sympa/etc/data_sources/
Mar 30 08:34:16 altvirlststap01 show_members.pl: List::_load_include_admin_user_file() Expecting a single line for "include_ldap_2level_query" parameter in /home/sympa/etc/data_sources/
Mar 30 08:34:16 altvirlststap01 show_members.pl: List::_load_include_admin_user_file() Bad entry "include_ldap_2level_query" in /home/sympa/etc/data_sources/


Here is the excerpt of the list's config:

editor
email mail
gecos contact
info Tel: 4-4357
reception nomail

editor_include
source ldap_editor_include
reception mail
source_parameters testlist

owner
email mail
gecos contact
info Tel: 4-4357
reception nomail

owner_include
source ldap_owner_include
profile normal
reception mail
source_parameters testlist


And, here is a list of the include files, of which, only the ldap_editor_include and ldap_owner_include are involved with this family of lists:


# cat ldap_editor_include.incl
include_ldap_2level_query
name [% param.0 %].editors
host ldap.jpl.nasa.gov
port 389
use_ssl no
suffix1 ou=Personnel,dc=dir,dc=jpl,dc=nasa,dc=gov
scope1 one
timeout1 300
filter1 (&(objectClass=groupOfUniqueNames)(cn=[% param.0 %]))
attrs1 owner
select1 all
suffix2 [attrs1]
scope2 base
timeout2 300
filter2 (mail=*)
attrs2 mail
select2 all


# cat ldap_owner_include.incl
include_ldap_2level_query
name [% param.0 %].owners
host ldaphost
port 389
use_ssl no
suffix1 dc=jpl,dc=nasa,dc=gov
scope1 one
timeout1 300
filter1 (&(objectClass=groupOfUniqueNames)(cn=[% param.0 %]))
attrs1 owner
select1 all
suffix2 [attrs1]
scope2 base
timeout2 300
filter2 (mail=*)
attrs2 mail
select2 all

# cat ldap_instcomm_include.incl
include_ldap_2level_query
name [% param.0 %].instcomm
host ldaphost
port 389
use_ssl no
timeout1 300
suffix1 dc=jpl,dc=nasa,dc=gov
scope1 one
filter1 (&(objectClass=groupOfUniqueNames)(cn=jplinstcomm_listmods))
attrs1 owner
select1 all
timeout2 300
suffix2 [attrs1]
scope2 base
filter2 (mail=*)
attrs2 mail
select2 all

Attachment: show_members.pl
Description: Perl program




Archive powered by MHonArc 2.6.19+.

Top of Page