[asterisk-users] deleting: res_ldap.conf

Shaun Ruffell sruffell at digium.com
Fri Apr 13 21:44:38 CDT 2012


On Fri, Apr 13, 2012 at 08:23:30PM -0600, Joseph wrote:
> On 04/13/12 21:10, Shaun Ruffell wrote:
> >On Fri, Apr 13, 2012 at 08:08:49PM -0600, Joseph wrote:
> >>
> >>I'm not using "ldap"
> >>and getting an error message:
> >>
> >>NOTICE[8210]: res_config_ldap.c:1632 parse_config: No directory user found, anonymous binding as default.
> >>ERROR[8210]: res_config_ldap.c:1658 parse_config: No directory URL or host found.
> >>NOTICE[8210]: res_config_ldap.c:1592 reload: Cannot reload LDAP RealTime driver.
> >
> >Probably better off adding:
> > noload => res_config_ldap.so
> >
> >to /etc/asterisk/modules.conf if you're not using res_config_ldap.
> 
> I tried your suggustion and "reload" but still getting this error:
> 
>  == Parsing '/etc/asterisk/res_ldap.conf':   == Found
>  NOTICE[8210]: res_config_ldap.c:1632 parse_config: No directory user found, anonymous binding as default.
>  ERROR[8210]: res_config_ldap.c:1658 parse_config: No directory URL or host found.
>  NOTICE[8210]: res_config_ldap.c:1592 reload: Cannot reload LDAP RealTime driver.

"module reload" will not reparse /etc/asterisk/modules.conf. If you
do not want to restart asterisk, try "module unload
res_config_ldap.so" and then "module reload" and that error should
be gone.

You'll need to edit /etc/asterisk/modules.conf to prevent it from
being autoloaded the next time your start your asterisk server.

-- 
Shaun Ruffell
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: www.digium.com & www.asterisk.org



More information about the asterisk-users mailing list