137
137
/* translate the address to a string */
138
138
if (inet_ntop(af,addr,cbp.buf,sizeof(cbp.buf))==NULL)
140
Debug(LDAP_DEBUG_ANY,"nssov: unable to convert address to string",0,0,0);
140
Debug(LDAP_DEBUG_ANY,"nssov: unable to convert address to string\n",0,0,0);
143
143
cbp.addr.bv_val = cbp.buf;
144
144
cbp.addr.bv_len = strlen(cbp.buf);,
145
Debug(LDAP_DEBUG_TRACE,"nslcd_network_byaddr(%s)",cbp.addr.bv_val,0,0);,
145
Debug(LDAP_DEBUG_TRACE,"nslcd_network_byaddr(%s)\n",cbp.addr.bv_val,0,0);,
146
146
NSLCD_ACTION_NETWORK_BYADDR,
147
147
nssov_filter_byid(cbp.mi,1,&cbp.addr,&filter)