server.c revision 4d61c878ad5fbf36c5338bef5994cc5fe88a589a
2N/A * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2N/A * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2N/A#include "idmap_priv.h"
2N/A#include "nldaputils.h"
2N/A#include <auth_attr.h>
2N/A return (IDMAP_SUCCESS);
2N/A return (IDMAP_ERR_BAD_UTF8);
2N/A return (IDMAP_ERR_BAD_UTF8);
2N/A return (IDMAP_SUCCESS);
2N/A return (IDMAP_ERR_BAD_UTF8);
2N/A return (IDMAP_ERR_BAD_UTF8);
2N/A return (IDMAP_SUCCESS);
2N/A != IDMAP_SUCCESS)
2N/A return (IDMAP_ERR_BAD_UTF8);
2N/A return (IDMAP_SUCCESS);
2N/A sizeof (idmap_id_res));
2N/A (void) sanitize_mapping_request(
2N/A != IDMAP_SUCCESS)
2N/A (void) update_cache_sid2pid(
2N/A (void) update_cache_pid2sid(
2N/A static int validated_column_names = 0;
2N/A if (!validated_column_names) {
2N/A sizeof (idmap_mapping));
2N/A case IDMAP_MAP_TYPE_DS_AD:
2N/A case IDMAP_MAP_TYPE_DS_NLDAP:
2N/A case IDMAP_MAP_TYPE_EPHEMERAL:
2N/A case IDMAP_MAP_TYPE_LOCAL_SID:
2N/A static int validated_column_names = 0;
2N/A if (!validated_column_names) {
2N/A sizeof (idmap_namerule));
out:
if (expr)
if (sql)
return (TRUE);
goto out;
goto out;
goto out;
goto out;
goto out;
case OP_NONE:
case OP_ADD_NAMERULE:
case OP_RM_NAMERULE:
case OP_FLUSH_NAMERULES:
goto out;
out:
if (trans) {
return (TRUE);
goto out;
goto out;
goto out;
goto out;
db,
&request,
db,
&request,
db,
&request,
out:
return (TRUE);
switch (request) {
case PROP_LIST_SIZE_LIMIT:
case PROP_DEFAULT_DOMAIN:
case PROP_DOMAIN_NAME:
case PROP_MACHINE_SID:
case PROP_DOMAIN_CONTROLLER:
sizeof (idmap_ad_disc_ds_t));
case PROP_FOREST_NAME:
case PROP_SITE_NAME:
case PROP_GLOBAL_CATALOG:
case PROP_AD_UNIXUSER_ATTR:
case PROP_AD_UNIXGROUP_ATTR:
case PROP_NLDAP_WINNAME_ATTR:
out:
return (TRUE);
return (TRUE);