/*
Authors:
Simo Sorce <ssorce@redhat.com>
Copyright (C) 2008-2010 Red Hat
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "providers/ldap/ldap_common.h"
int
{
return 0;
}
struct sdap_domain *
struct sss_domain_info *dom)
{
break;
}
}
return sditer;
}
struct sdap_domain *
const char *dn)
{
int match_len;
int best_match_len = 0;
return NULL;
}
if (best_match_len < match_len) {
/*this is a longer match*/
}
}
}
return sdmatch;
}
struct sss_domain_info *dom,
struct sdap_domain **_sdom)
{
return ENOMEM;
}
/* Convert the domain name into search base */
"Cannot convert domain name [%s] to base DN [%d]: %s\n",
goto done;
}
done:
}
return ret;
}
struct sdap_domain *sdom_list,
struct sss_domain_info *parent)
{
break;
}
}
/* New sdap domain */
"Cannot add new sdap domain for domain %s [%d]: %s\n",
return ret;
}
} else {
}
/* Update search bases */
return ENOMEM;
}
if (ret) {
return ret;
}
}
return EOK;
}
void
struct sss_domain_info *dom)
{
}