VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
hads at nice.net.nz Guest
|
Posted: Thu Dec 11, 2008 2:49 pm Post subject: [Freeswitch-users] LDAP Integration |
|
|
On Friday 12 December 2008 09:16:56 Vinicius Kobashi wrote:
Quote: | i found another module called mod_xml_curl and loaded it to freeswitch
too... but still it shows me the following error:
2008-12-11 17:04:04 [WARNING] sofia_reg.c:1501 sofia_reg_parse_auth()
Can't find user [username@freeswitchserver.com] You must define a domain
called 'freeswitchserver.com' in your directory and add a user with the
id="username" attribute and you must configure your device to use the
proper domain in it's authentication credentials.
does anyone got an idea?
|
Yes, you need to define a domain called 'freeswitchserver.com' in your
directory and add a user with the id="username" just like the error message
says.
The directory files are in conf/directory/
If you would like to read up on mod_xml_curl there is a detailed page on the
wiki;
http://wiki.freeswitch.org/wiki/Mod_xml_curl
hads
--
http://nicegear.co.nz
VoIP, DVB and other Linux compatible hardware.
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
vkobashi at ydeasoluti... Guest
|
Posted: Thu Dec 11, 2008 3:50 pm Post subject: [Freeswitch-users] LDAP Integration |
|
|
ok ill try that
i found another module thats mod_xml_ldap
but when i try to load it, during compiling i get the 404 error http://svn.freeswitch.org/downloads/libs/openldap-2.4.11.tgz file not found....
ill try to download it myself and then try to compile freeswitch again and test
=D thankz for the fast answer
Hadley Rich escreveu: Quote: | Quote: | On Friday 12 December 2008 09:16:56 Vinicius Kobashi wrote:
Quote: | i found another module called mod_xml_curl and loaded it to freeswitch
too... but still it shows me the following error:
2008-12-11 17:04:04 [WARNING] sofia_reg.c:1501 sofia_reg_parse_auth()
Can't find user [username@freeswitchserver.com (username@freeswitchserver.com)] You must define a domain
called 'freeswitchserver.com' in your directory and add a user with the
id="username" attribute and you must configure your device to use the
proper domain in it's authentication credentials.
does anyone got an idea?
|
Yes, you need to define a domain called 'freeswitchserver.com' in your
directory and add a user with the id="username" just like the error message
says.
The directory files are in conf/directory/
If you would like to read up on mod_xml_curl there is a detailed page on the
wiki;
http://wiki.freeswitch.org/wiki/Mod_xml_curl
hads
| |
--
Vinicius Kobashi
Infra-Estrutura
Ydea Desenvolvimento de Software LTDA.
Av. Adolfo Pinheiro, 2338 - Alto da Boa Vista
CEP.:04734-004 - São Paulo - SP
Tel.: 55-11-5523-0333 |
|
Back to top |
|
|
msc at freeswitch.org Guest
|
Posted: Thu Dec 11, 2008 3:55 pm Post subject: [Freeswitch-users] LDAP Integration |
|
|
Please confirm your svn rev - I believe this was fixed recently. Do
"make current" in your source directory.
-MC
On Thu, Dec 11, 2008 at 1:35 PM, Vinicius Kobashi
<vkobashi@ydeasolutions.com.br> wrote:
Quote: | ok ill try that
i found another module thats mod_xml_ldap
but when i try to load it, during compiling i get the 404 error
http://svn.freeswitch.org/downloads/libs/openldap-2.4.11.tgz file not
found....
ill try to download it myself and then try to compile freeswitch again and
test
=D thankz for the fast answer
Hadley Rich escreveu:
On Friday 12 December 2008 09:16:56 Vinicius Kobashi wrote:
i found another module called mod_xml_curl and loaded it to freeswitch
too... but still it shows me the following error:
2008-12-11 17:04:04 [WARNING] sofia_reg.c:1501 sofia_reg_parse_auth()
Can't find user [username@freeswitchserver.com] You must define a domain
called 'freeswitchserver.com' in your directory and add a user with the
id="username" attribute and you must configure your device to use the
proper domain in it's authentication credentials.
does anyone got an idea?
Yes, you need to define a domain called 'freeswitchserver.com' in your
directory and add a user with the id="username" just like the error message
says.
The directory files are in conf/directory/
If you would like to read up on mod_xml_curl there is a detailed page on the
wiki;
http://wiki.freeswitch.org/wiki/Mod_xml_curl
hads
--
Vinicius Kobashi
Infra-Estrutura
Ydea Desenvolvimento de Software LTDA.
Av. Adolfo Pinheiro, 2338 - Alto da Boa Vista
CEP.:04734-004 - São Paulo - SP
Tel.: 55-11-5523-0333
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
brian at freeswitch.org Guest
|
Posted: Thu Dec 11, 2008 4:03 pm Post subject: [Freeswitch-users] LDAP Integration |
|
|
Thats already fixed too.. update.
/b
On Dec 11, 2008, at 3:35 PM, Vinicius Kobashi wrote:
Quote: | ok ill try that
i found another module thats mod_xml_ldap
but when i try to load it, during compiling i get the 404 error http://svn.freeswitch.org/downloads/libs/openldap-2.4.11.tgz file not found....
ill try to download it myself and then try to compile freeswitch again and test
=D thankz for the fast answer
|
|
|
Back to top |
|
|
vkobashi at ydeasoluti... Guest
|
Posted: Thu Dec 11, 2008 4:59 pm Post subject: [Freeswitch-users] LDAP Integration |
|
|
i did it... i still had some problems with sasl, but i managed to fix them.
now the module is up and running.... but i still dunno where to put the mod_xml_ldap configuration file.
does anyone have a sample of the config file? and know where to put it?
Michael Collins escreveu:
--
Vinicius Kobashi
Infra-Estrutura
Ydea Desenvolvimento de Software LTDA.
Av. Adolfo Pinheiro, 2338 - Alto da Boa Vista
CEP.:04734-004 - São Paulo - SP
Tel.: 55-11-5523-0333 |
|
Back to top |
|
|
vkobashi at ydeasoluti... Guest
|
Posted: Fri Dec 12, 2008 10:48 am Post subject: [Freeswitch-users] LDAP Integration |
|
|
does anyone have a sample of the config file for mod_xml_ldap? and know where to put it?
Vinicius Kobashi escreveu: Quote: | i did it... i still had some problems with sasl, but i managed to fix them.
now the module is up and running.... but i still dunno where to put the mod_xml_ldap configuration file.
does anyone have a sample of the config file? and know where to put it?
Michael Collins escreveu: Quote: | Quote: | Please confirm your svn rev - I believe this was fixed recently. Do
"make current" in your source directory.
-MC
On Thu, Dec 11, 2008 at 1:35 PM, Vinicius Kobashi
<vkobashi@ydeasolutions.com.br> wrote:
Quote: | ok ill try that
i found another module thats mod_xml_ldap
but when i try to load it, during compiling i get the 404 error
http://svn.freeswitch.org/downloads/libs/openldap-2.4.11.tgz file not
found....
ill try to download it myself and then try to compile freeswitch again and
test
=D thankz for the fast answer
Hadley Rich escreveu:
On Friday 12 December 2008 09:16:56 Vinicius Kobashi wrote:
i found another module called mod_xml_curl and loaded it to freeswitch
too... but still it shows me the following error:
2008-12-11 17:04:04 [WARNING] sofia_reg.c:1501 sofia_reg_parse_auth()
Can't find user [username@freeswitchserver.com] You must define a domain
called 'freeswitchserver.com' in your directory and add a user with the
id="username" attribute and you must configure your device to use the
proper domain in it's authentication credentials.
does anyone got an idea?
Yes, you need to define a domain called 'freeswitchserver.com' in your
directory and add a user with the id="username" just like the error message
says.
The directory files are in conf/directory/
If you would like to read up on mod_xml_curl there is a detailed page on the
wiki;
http://wiki.freeswitch.org/wiki/Mod_xml_curl
hads
--
Vinicius Kobashi
Infra-Estrutura
Ydea Desenvolvimento de Software LTDA.
Av. Adolfo Pinheiro, 2338 - Alto da Boa Vista
CEP.:04734-004 - São Paulo - SP
Tel.: 55-11-5523-0333
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
| |
--
Vinicius Kobashi
Infra-Estrutura
Ydea Desenvolvimento de Software LTDA.
Av. Adolfo Pinheiro, 2338 - Alto da Boa Vista
CEP.:04734-004 - São Paulo - SP
Tel.: 55-11-5523-0333
|
--
Vinicius Kobashi
Infra-Estrutura
Ydea Desenvolvimento de Software LTDA.
Av. Adolfo Pinheiro, 2338 - Alto da Boa Vista
CEP.:04734-004 - São Paulo - SP
Tel.: 55-11-5523-0333 |
|
Back to top |
|
|
vkobashi at ydeasoluti... Guest
|
Posted: Tue Dec 16, 2008 8:08 am Post subject: [Freeswitch-users] LDAP Integration |
|
|
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?
thankz!
Vinicius Kobashi wrote: Quote: | i did it... i still had some problems with sasl, but i managed to fix them.
now the module is up and running.... but i still dunno where to put the mod_xml_ldap configuration file.
does anyone have a sample of the config file? and know where to put it?
Michael Collins escreveu: Quote: | Quote: | Please confirm your svn rev - I believe this was fixed recently. Do
"make current" in your source directory.
-MC
On Thu, Dec 11, 2008 at 1:35 PM, Vinicius Kobashi
<vkobashi@ydeasolutions.com.br> wrote:
Quote: | ok ill try that
i found another module thats mod_xml_ldap
but when i try to load it, during compiling i get the 404 error
http://svn.freeswitch.org/downloads/libs/openldap-2.4.11.tgz file not
found....
ill try to download it myself and then try to compile freeswitch again and
test
=D thankz for the fast answer
Hadley Rich escreveu:
On Friday 12 December 2008 09:16:56 Vinicius Kobashi wrote:
i found another module called mod_xml_curl and loaded it to freeswitch
too... but still it shows me the following error:
2008-12-11 17:04:04 [WARNING] sofia_reg.c:1501 sofia_reg_parse_auth()
Can't find user [username@freeswitchserver.com] You must define a domain
called 'freeswitchserver.com' in your directory and add a user with the
id="username" attribute and you must configure your device to use the
proper domain in it's authentication credentials.
does anyone got an idea?
Yes, you need to define a domain called 'freeswitchserver.com' in your
directory and add a user with the id="username" just like the error message
says.
The directory files are in conf/directory/
If you would like to read up on mod_xml_curl there is a detailed page on the
wiki;
http://wiki.freeswitch.org/wiki/Mod_xml_curl
hads
--
Vinicius Kobashi
Infra-Estrutura
Ydea Desenvolvimento de Software LTDA.
Av. Adolfo Pinheiro, 2338 - Alto da Boa Vista
CEP.:04734-004 - São Paulo - SP
Tel.: 55-11-5523-0333
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
| |
--
Vinicius Kobashi
Infra-Estrutura
Ydea Desenvolvimento de Software LTDA.
Av. Adolfo Pinheiro, 2338 - Alto da Boa Vista
CEP.:04734-004 - São Paulo - SP
Tel.: 55-11-5523-0333
|
|
|
Back to top |
|
|
jlists at skopis.com Guest
|
Posted: Tue Dec 16, 2008 9:00 pm Post subject: [Freeswitch-users] LDAP Integration |
|
|
vinicius wrote:
Quote: | 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?
|
Be advised mod_xml_ldap is probably not production quality and will
undoubtedly change, eventually at least.
Here is what I used once:
<bindings>
<binding name="directory">
<!--%s is populated with the extension -->
<param name="filter" value="(FSid=%s)" bindings="directory"/>
<!--basedn for the searches %s is replaced with domain-->
<param name="basedn" value="ou=people,dc=example" />
<param name="url" value="ldap://172.16.75.129" />
<param name="binddn" value="cn=admin,dc=example" />
<param name="bindpass" value="secret" />
<trans>
<!-- we need to translate these attrs into FS attrs -->
<tran name="id" mapfrom="FSid" />
<tran name="mailbox" mapfrom="FSmailbox" />
<tran name="password" mapfrom="FSPassword" />
<tran name="vm-password" mapfrom="FSvm-password" />
<tran name="email-addr" mapfrom="FSemail-addr" />
<tran name="vm-email-all-messages" mapfrom="FSvm-email-all-messages" />
<tran name="vm-delete-file" mapfrom="FSvm-delete-file" />
<tran name="vm-attach-file" mapfrom="FSvm-attach-file" />
</trans>
</binding>
<binding name="configuration">
<param name="filter" value="(%s=%s)" bindings="configuration"/>
<param name="basedn" value="name=%s,dc=example" />
<param name="url" value="ldap://172.16.75.129" />
<param name="binddn" value="cn=admin,dc=example" />
<param name="bindpass" value="secret" />
</binding>
</bindings>
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: john+fs@skopis.com
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: sip:1001@172.16.75.129
SIPIdentityRegistrarAddress: 172.16.75.128
SIPIdentityProxyAddress: 172.16.75.128
SIPIdentityPassword: 1234
SIPIdentityUserName: 1001
SIPIdentityServiceLevel: premium
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
vkobashi at ydeasoluti... Guest
|
Posted: Wed Dec 17, 2008 11:26 am Post subject: [Freeswitch-users] LDAP Integration |
|
|
thankz!
ill set my openldap to provide these information..
but these about these binding settings... where should i set them?
best regards
John Skopis (Lists) wrote: Quote: | Quote: | vinicius wrote:
Quote: | 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?
|
Be advised mod_xml_ldap is probably not production quality and will
undoubtedly change, eventually at least.
Here is what I used once:
<bindings>
<binding name="directory">
<!--%s is populated with the extension -->
<param name="filter" value="(FSid=%s)" bindings="directory"/>
<!--basedn for the searches %s is replaced with domain-->
<param name="basedn" value="ou=people,dc=example" />
<param name="url" value="ldap://172.16.75.129" />
<param name="binddn" value="cn=admin,dc=example" />
<param name="bindpass" value="secret" />
<trans>
<!-- we need to translate these attrs into FS attrs -->
<tran name="id" mapfrom="FSid" />
<tran name="mailbox" mapfrom="FSmailbox" />
<tran name="password" mapfrom="FSPassword" />
<tran name="vm-password" mapfrom="FSvm-password" />
<tran name="email-addr" mapfrom="FSemail-addr" />
<tran name="vm-email-all-messages" mapfrom="FSvm-email-all-messages" />
<tran name="vm-delete-file" mapfrom="FSvm-delete-file" />
<tran name="vm-attach-file" mapfrom="FSvm-attach-file" />
</trans>
</binding>
<binding name="configuration">
<param name="filter" value="(%s=%s)" bindings="configuration"/>
<param name="basedn" value="name=%s,dc=example" />
<param name="url" value="ldap://172.16.75.129" />
<param name="binddn" value="cn=admin,dc=example" />
<param name="bindpass" value="secret" />
</binding>
</bindings>
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: john+fs@skopis.com ([email]john+fs@skopis.com[/email])
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: [url=sip:1001@172.16.75.129]sip:1001@172.16.75.129[/url]
SIPIdentityRegistrarAddress: 172.16.75.128
SIPIdentityProxyAddress: 172.16.75.128
SIPIdentityPassword: 1234
SIPIdentityUserName: 1001
SIPIdentityServiceLevel: premium
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
| |
|
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|