c5c4113dfcabb1eed3d4bdf7609de5170027a794nw * CDDL HEADER START
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw * The contents of this file are subject to the terms of the
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw * Common Development and Distribution License (the "License").
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw * You may not use this file except in compliance with the License.
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw * See the License for the specific language governing permissions
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw * and limitations under the License.
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw * When distributing Covered Code, include this CDDL HEADER in each
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw * If applicable, add the following below this CDDL HEADER, with the
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw * fields enclosed by brackets "[]" replaced with your own identifying
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw * information: Portions Copyright [yyyy] [name of copyright owner]
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw * CDDL HEADER END
148c5f43199ca0b43fc8e3b643aab11cd66ea327Alan Wright * Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
b3700b074e637f8c6991b70754c88a2cfffb246bGordon Ross * Copyright 2014 Nexenta Systems, Inc. All rights reserved.
c5c4113dfcabb1eed3d4bdf7609de5170027a794nwextern "C" {
e3f2c991a8548408db0a2787bd8b43d5124821d3Keyur Desaiextern struct enum_lookup_map directory_mapping_map[];
e3f2c991a8548408db0a2787bd8b43d5124821d3Keyur Desaiextern const char *enum_lookup(int value, struct enum_lookup_map *map);
c8e261054d98729a8718903716b9b8a512d8b693jp/* SMF and auto-discovery context handles */
c8e261054d98729a8718903716b9b8a512d8b693jp * This structure stores AD and AD-related configuration
b3700b074e637f8c6991b70754c88a2cfffb246bGordon Ross ad_disc_ds_t *global_catalog; /* global catalog hosts */
b3700b074e637f8c6991b70754c88a2cfffb246bGordon Ross ad_disc_ds_t *domain_controller; /* domain controller hosts */
b3700b074e637f8c6991b70754c88a2cfffb246bGordon Ross ad_disc_ds_t *global_catalog; /* global catalog hosts */
4d61c878ad5fbf36c5338bef5994cc5fe88a589aJulian Pullen *trusted_forests; /* Array of trusted forests */
e8c27ec857e6e2db8c4fe56938b70a89b5bed9f3baban * Following properties are associated with directory-based
e8c27ec857e6e2db8c4fe56938b70a89b5bed9f3baban * name-mappings.
0dcc71495bad040a0c83830efc85acf8d897350dnwextern int idmap_cfg_start_updates(void);
0dcc71495bad040a0c83830efc85acf8d897350dnwextern void idmap_cfg_poke_updates(void);
0dcc71495bad040a0c83830efc85acf8d897350dnwextern void idmap_cfg_hup_handler(int);
b3700b074e637f8c6991b70754c88a2cfffb246bGordon Ross#define CFG_FORGET_DC 0x2 /* Forget current DC. */
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw#endif /* _IDMAP_CONFIG_H */