Lines Matching defs:basedn
101 /* Macros used for triming unnecessary spaces in a basedn */
190 static void memcache_trim_basedn_spaces(char *basedn);
191 static int memcache_validate_basedn(LDAPMemCache *cache, const char *basedn);
208 const char *basedn);
736 ldap_memcache_new(LDAP *ld, int msgid, unsigned long key, const char *basedn)
752 nRes = memcache_add(ld, key, msgid, basedn);
827 /* Removes extraneous spaces in a basedn so that basedns differ by only those
829 precedes the basedn and those that follow a comma. */
835 memcache_trim_basedn_spaces(char *basedn)
839 if (!basedn)
842 for (pWrite = pRead = basedn; *pRead; ) {
855 checking if the search's basedn falls under any of the basedns for which
858 memcache_validate_basedn(LDAPMemCache *cache, const char *basedn)
867 if (basedn == NULL) {
868 basedn = "";
872 if (basedn == NULL)
879 if (memcache_compare_dn(basedn, cache->ldmemc_basedns[i],
1022 const char *basedn)
1033 (void*)&key, (void*)&reqid, (void*)basedn);
1428 char *basedn = (char*)pData3;
1441 pRes->ldmemcr_basedn = (basedn ? nsldapi_strdup(basedn) : NULL);
1443 size += sizeof(ldapmemcacheRes) + strlen(basedn) + 1;