Skip to Content.
Sympa Menu

devel - Re: [sympa-developpers] fichier auth.conf

Subject: Developers of Sympa

List archive

Chronological Thread  
  • From: IKEDA Soji <address@concealed>
  • To: address@concealed
  • Subject: Re: [sympa-developpers] fichier auth.conf
  • Date: Sat, 18 Nov 2017 08:07:25 +0900

2017/11/17 19:26、Stefan Hornburg (Racke) <address@concealed> のメッセージ:

>> On 11/17/2017 11:20 AM, Pascal Maes wrote:
>>
>>
>>> Le 17 nov. 2017 à 08:42, Stefan Hornburg (Racke) <address@concealed> a
>>> écrit :
>>>
>>> On 11/17/2017 08:31 AM, Pascal Maes wrote:
>>>>
>>>>
>>>>> Le 17 nov. 2017 à 08:19, Stefan Hornburg (Racke) <address@concealed> a
>>>>> écrit :
>>>>>
>>>>> On 11/17/2017 08:10 AM, Pascal Maes wrote:
>>>>>> Bonjour,
>>>>>>
>>>>>>
>>>>>> J'ai compris !
>>>>>> Le fichier auth.conf doit se trouver dans le répertoire
>>>>>> "etc/nom_du_robot"
>>>>>>
>>>>>
>>>>> Hello Pascal,
>>>>>
>>>>> do you mind to rephrase your problem in English? That would
>>>>> substantially broaden your audience.
>>>>> Also please add your Sympa version number.
>>>>>
>>>>> Regards
>>>>> Racke
>>>>>
>>>>
>>>>
>>>> Sorry.
>>>>
>>>> I was wondering why our "etc/auth.conf" was not taken into account (in
>>>> favor of "default/auth.conf" which is overwritten at each upgrade) but
>>>> with some log-syslog, I found that the file had to be placed in
>>>> "etc/robot_name/auth.conf"
>>>>
>>>> Our Sympa version : 6.2.22
>>>>
>>>>
>>>> Regards
>>>>
>>>
>>> Hello Pascal,
>>>
>>> can you tell me the installation method and configure flags in case you
>>> installed from source?
>>>
>>> Maybe we can improve the documentation regarding auth.conf location.
>>>
>>> Regards
>>> Racke
>>>
>>
>> Hello Racke,
>>
>>
>> sympa is installed from source
>>
>> ./configure \
>> --prefix=/var/sympa \
>> --with-confdir=/etc/sympa \
>> --with-perl=/usr/bin/perl \
>> --with-user=sympa \
>> --with-group=sympa \
>> --with-postalias=/usr/sbin/postalias \
>> --with-postmap=/usr/sbin/postmap \
>>
>>
>> About the doc (http://www.sympa.org/manualtest/authentication#authconf),
>> only the file "/home/sympa/etc/auth.conf" is mentioned.
>>
>
> In your case, I would expect to find the global authentication
> configuration file in /etc/sympa/auth.conf - the one for
> the robot in /etc/sympa/ro.b.ot/auth.conf.

No, in this case auth.conf would be put in /var/sympa/etc/auth.conf or
/var/sympa/etc/ro.b.ot/auth.conf.

Please check Sympa/Constants.pm in your installation.
Global or robot config files would be put under SYSCONFDIR (by default the
directory specified by --syscondir option, or PREFIX/etc if not specified).
Only _exception_ is sympa.conf: it will be put in the directory specified by
--with-confdir option.

Regards,
-- Soji

> Regards
> Racke
>
>
> --
> Ecommerce and Linux consulting + Perl and web application programming.
> Debian and Sympa administration. Provisioning with Ansible.





Archive powered by MHonArc 2.6.19+.

Top of Page