<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    <br>
    On 6/21/11 12:33 PM, laura testi wrote:
    <blockquote
      cite="mid:BANLkTin9gT5f5mT8bm3nV6H12oyirWHGWw@mail.gmail.com"
      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 "service kamailio start" from root.<br>
    </blockquote>
    Is the ldap module configuration file readable by user kamailio?<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <blockquote
      cite="mid:BANLkTin9gT5f5mT8bm3nV6H12oyirWHGWw@mail.gmail.com"
      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
            moz-do-not-send="true" href="mailto:miconda@gmail.com">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 'kamailio'?<br>
            <br>
            You can change the user/group for kamailio service in
            /etc/default/kamailio<br>
            <br>
            Cheers,<br>
            Daniel
            <div>
              <div class="h5"><br>
              </div>
            </div>
          </div>
        </blockquote>
      </div>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla -- <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a class="moz-txt-link-freetext" href="http://linkedin.com/in/miconda">http://linkedin.com/in/miconda</a> -- <a class="moz-txt-link-freetext" href="http://twitter.com/miconda">http://twitter.com/miconda</a></pre>
  </body>
</html>