Yes, it can be read by all user like other configuration file:<br>-rw-r--r--   1 root root   566 Jun 20 18:56 ldap.cfg<br><br><div class="gmail_quote">On Tue, Jun 21, 2011 at 2:33 PM, Daniel-Constantin Mierla <span dir="ltr">&lt;<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000"><div class="im">
    <br>
    <br>
    On 6/21/11 12:33 PM, laura testi wrote:
    <blockquote type="cite">The LDAP server is running on another machine in the
      same LAN without any firewall. <br>
      <br>
      As by your suggestion, I change the user and group from kamailio
      to root in the /etc/default/kamilio file. Now it works.<br>
      <br>
      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)<br>
      <br>
      wuthout ldap.so, I can run the kamilio from the user kamailio
      normally when I run &quot;service kamailio start&quot; from root.<br>
    </blockquote></div>
    Is the ldap module configuration file readable by user kamailio?<br>
    <br>
    Cheers,<br><font color="#888888">
    Daniel</font><div class="im"><br>
    <br>
    <blockquote type="cite"><br>
      <br>
      <div class="gmail_quote">On Tue, Jun 21, 2011 at 12:07 PM,
        Daniel-Constantin Mierla <span dir="ltr">&lt;<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>&gt;</span>
        wrote:<br>
        <blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">
          <div bgcolor="#FFFFFF" text="#000000"> Hello,<br>
            <br>
            interesting, is the ldap server running on same server? Is
            the connection via local network? <br>
            <br>
            When starting as service, kamailio is probably run under
            user kamailio. Any firewall in place or system restrictions
            for user &#39;kamailio&#39;?<br>
            <br>
            You can change the user/group for kamailio service in
            /etc/default/kamailio<br>
            <br>
            Cheers,<br>
            Daniel
            <div>
              <div><br>
              </div>
            </div>
          </div>
        </blockquote>
      </div>
    </blockquote>
    <br>
    </div><div class="im"><pre cols="72">-- 
Daniel-Constantin Mierla -- <a href="http://www.asipto.com" target="_blank">http://www.asipto.com</a>
<a href="http://linkedin.com/in/miconda" target="_blank">http://linkedin.com/in/miconda</a> -- <a href="http://twitter.com/miconda" target="_blank">http://twitter.com/miconda</a></pre>
  </div></div>

</blockquote></div><br>