Yes, it can be read by all user like other configuration file:
-rw-r--r-- 1 root root 566 Jun 20 18:56 ldap.cfg
Is the ldap module configuration file readable by user kamailio?
On 6/21/11 12:33 PM, laura testi wrote:The LDAP server is running on another machine in the same LAN without any firewall.
As by your suggestion, I change the user and group from kamailio to root in the /etc/default/kamilio file. Now it works.
Why I can not run the kamailio as the user kamailio as the default installation set? (I install the kamilio from rpm and the user and group of kamailio are already created by the installation)
wuthout ldap.so, I can run the kamilio from the user kamailio normally when I run "service kamailio start" from root.
Cheers,
Daniel
On Tue, Jun 21, 2011 at 12:07 PM, Daniel-Constantin Mierla <miconda@gmail.com> wrote:
Hello,
interesting, is the ldap server running on same server? Is the connection via local network?
When starting as service, kamailio is probably run under user kamailio. Any firewall in place or system restrictions for user 'kamailio'?
You can change the user/group for kamailio service in /etc/default/kamailio
Cheers,
Daniel
-- Daniel-Constantin Mierla -- http://www.asipto.com http://linkedin.com/in/miconda -- http://twitter.com/miconda