Skip to Content.
Sympa Menu

en - Re: Can't connect to LDAP server!

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Rajat <address@concealed>
  • To: Olivier Salaun <address@concealed>
  • Cc: address@concealed
  • Subject: Re: Can't connect to LDAP server!
  • Date: Thu, 14 Dec 2000 05:09:24 -0800 (PST)

Hi Oliver!

thnx a ton for the help .. i can now extract the
subscribers from my ldap database ...
:)

i have now installed the new sympa-3.0b.4 ... the web
interface is great .. and the topics.conf is working
perfectly ..
:)

I have a few more queries ...

1.) If i extract the Subscribers from the LDAP
database ... and i try to login into wwsympa it gives
an error ..
************************************************
Dec 14 17:51:28 ns wwsympa[17143]: [client
192.168.100.12] do_login(address@concealed)
Dec 14 17:51:28 ns wwsympa[17143]: [client
192.168.100.12] do_login: incorrect password for user
address@concealed
************************************************

this user "address@concealed" is a LDAP user and not
a regular system user and is not in the sympa database
..

by the way i also have postgresql installed .. am also
using that too ... ( for those mailing list which do
not use ldap )

logins subscriptions works great with postgres as
database ...


2.) y is the subscription closed when we use LDAP ????

3.) As u mentioned that for adding aliases for the
mailing list one needs root's access ....

i was thinking .. if the aliases generated after the
listmaster has validated the mailing list for creation
and installed the mailing list for the user .. and
when the page echos the aliases on the web page ...

then if i have those aliases in some text file in
/home/sympa ....
then i can make a "cron" job which will after 15 min.
pick up that text file and append them in the
/etc/aliases and then i can use the qmail's
"newaliases " via that same cronjob to create the
aliases .. as the cron job is run via the root .. i
do'nt see any problem in doing this ...

the only problem is how to get those aliases in a
plain text file to be appended to the aliases file????

can u help me in telling me how to generate this
aliases file ....?????

4.) i tried this

true() md5,smime -> do_it

in /home/sympa/bin/etc/scenari/create_list.default

etc path in sympa.conf is /home/sympa/bin/etc

but the listmaster still has too validate it ????

how can i avoid this ... if u can help me define the
custon scenari and how to install it i would
appreciate it ...

Thnaks Oliver for all the help u r givin ..
it is greatly appreciated!
:)

regards
Rajat

--- Olivier Salaun <address@concealed> wrote:
> Rajat wrote:
>
> > i have the following error in my "/var/log/sympa"
> file :
> > [...]
> > Dec 13 18:59:28 ns wwsympa[9782]: Can't connect to
> LDAP server '' '389' : IO::Socket::INET: Bad peer
> address
>
> > my "config" file for mylist is :
> > [...]
> > user_data_source include
> >
> > include_ldap_query
> >
> > host 192.168.100.2
> > suffix o=ibmdellinux,c=in
> > filter (mailgroup=mylist)
>
> You shouldn't have that empty line after
> "include_ldap_query" !
> "host", "suffix" & "filter" are part of the
> "include_ldap_query"
> paragraph.
>
> > Also the topics field says "Select a topic" in the
> create_list process
> > ... even though i have defined the topics ....
>
> Once you have defined the available topics in
> topics.conf, the list
> creator
> has to choose a topic for his/her list.
>
> > I also want to remove one hop in the creation if
> the mailing list .. i
> > do'nt want to send the request to the listmaster
> ... i want the users to
> > create the mailing lists as desired by them ...
> >
> > something like what egroups.com is doing ...
>
> All you have to do is write your own create_list
> scenario with a single
> line :
> true() md5,smime -> do_it
>
> What's missing is the aliases installation at
> creation time, because it
> requires root privileges.
>
> --
> Olivier Salaün
> Comité Réseaux des Universités


__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/



Archive powered by MHonArc 2.6.19+.

Top of Page