<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
hi ppl.<br>
<br>
i tried hard to make it work, but still i couldnt find a complete
openldap scheme that provides these information, and i still could't<br>
find out where to put these configuration...<br>
<br>
can anyone help me?<br>
<br>
thankz!<br>
<br>
vinicius escreveu:
<blockquote cite="mid:4949025F.9040008@ydeasolutions.com.br" type="cite">
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
thankz!<br>
  <br>
ill set my openldap to provide these information..<br>
  <br>
but these about these binding settings... where should i set them?<br>
  <br>
best regards<br>
  <br>
John Skopis (Lists) wrote:
  <blockquote cite="mid:49485AD1.5070708@skopis.com" type="cite">
    <pre wrap="">vinicius wrote:
  </pre>
    <blockquote type="cite">
      <pre wrap="">hi ppl.. i tried to find something at google, but i couldnt manage to find
anything.
i still dont know what to do to make the mod_xml_ldap work.
i couldnt find information about how to build a config file for the
module, and where to store it...

can anyone give me a help?

    </pre>
    </blockquote>
    <pre wrap=""><!---->
Be advised mod_xml_ldap is probably not production quality and will
undoubtedly change, eventually at least.

Here is what I used once:

  &lt;bindings&gt;


    &lt;binding name="directory"&gt;
                &lt;!--%s is populated with the extension --&gt;
                &lt;param name="filter" value="(FSid=%s)" bindings="directory"/&gt;
                &lt;!--basedn for the searches %s is replaced with domain--&gt;
                &lt;param name="basedn" value="ou=people,dc=example" /&gt;
                &lt;param name="url" value=<a class="moz-txt-link-rfc2396E" href="ldap://172.16.75.129">"ldap://172.16.75.129"</a> /&gt;
                &lt;param name="binddn" value="cn=admin,dc=example" /&gt;
                &lt;param name="bindpass" value="secret" /&gt;

                &lt;trans&gt;
                        &lt;!-- we need to translate these attrs into FS attrs --&gt;
                        &lt;tran name="id" mapfrom="FSid" /&gt;
                        &lt;tran name="mailbox" mapfrom="FSmailbox" /&gt;
                        &lt;tran name="password" mapfrom="FSPassword" /&gt;
                        &lt;tran name="vm-password" mapfrom="FSvm-password" /&gt;
                        &lt;tran name="email-addr" mapfrom="FSemail-addr" /&gt;
                        &lt;tran name="vm-email-all-messages" mapfrom="FSvm-email-all-messages" /&gt;
                        &lt;tran name="vm-delete-file" mapfrom="FSvm-delete-file" /&gt;
                        &lt;tran name="vm-attach-file" mapfrom="FSvm-attach-file" /&gt;
                &lt;/trans&gt;
    &lt;/binding&gt;

    &lt;binding name="configuration"&gt;
        &lt;param name="filter" value="(%s=%s)" bindings="configuration"/&gt;
        &lt;param name="basedn" value="name=%s,dc=example" /&gt;
        &lt;param name="url" value=<a class="moz-txt-link-rfc2396E" href="ldap://172.16.75.129">"ldap://172.16.75.129"</a> /&gt;
        &lt;param name="binddn" value="cn=admin,dc=example" /&gt;
        &lt;param name="bindpass" value="secret" /&gt;
    &lt;/binding&gt;
&lt;/bindings&gt;


which should/probably/might work with ldap objects like these:

dn: cn=John Skopis,ou=people,dc=example
objectClass: person
objectClass: inetOrgPerson
objectClass: organizationalPerson
objectClass: FreeSWITCH-Exten-Object
objectClass: top
cn: John Skopis
sn: Skopis
givenName: John
FSid: 1001
FSmailbox: 1001
FSpassword: 1234
FSvm-password: 1001
FSemail-addr: <a moz-do-not-send="true" class="moz-txt-link-abbreviated"
 href="mailto:john+fs@skopis.com">john+fs@skopis.com</a>
FSvm-email-all-messages: TRUE
FSvm-delete-file: TRUE
FSvm-attach-file: TRUE

dn: SIPIdentityUserName=1001,ou=h350,dc=example
objectClass: person
objectClass: SIPIdentity
objectClass: top
cn: 1001
sn: 1001
SIPIdentitySIPURI: <a moz-do-not-send="true"
 class="moz-txt-link-freetext" href="sip:1001@172.16.75.129">sip:1001@172.16.75.129</a>
SIPIdentityRegistrarAddress: 172.16.75.128
SIPIdentityProxyAddress: 172.16.75.128
SIPIdentityPassword: 1234
SIPIdentityUserName: 1001
SIPIdentityServiceLevel: premium


_______________________________________________
Freeswitch-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated"
 href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
 href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a moz-do-not-send="true" class="moz-txt-link-freetext"
 href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
 href="http://www.freeswitch.org">http://www.freeswitch.org</a>
  </pre>
  </blockquote>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Freeswitch-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
  </pre>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<img src="cid:part1.05010200.09060101@ydeasolutions.com.br"
 alt="Ydea Desenvolvimento de Software LTDA."> <br>
<br>
<font color="#0090ff" face="verdana" size="2"> Vinicius Kobashi <br>
<br>
Infra-Estrutura <br>
Infrastructure <br>
<br>
Ydea Desenvolvimento de Software LTDA. <br>
Av. Adolfo Pinheiro, 2338 - Alto da Boa Vista <br>
CEP.:04734-004 - Brazil - S&atilde;o Paulo - SP <br>
Tel.: 55-11-5523-0333 <br>
Mobile: 55-11-8778-5850 </font> </div>
</body>
</html>