idmap_config.h revision e3c2d6aa3bc760b22fad3c83f876553f0d2c5b66
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
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw * Use is subject to license terms.
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw#pragma ident "%Z%%M% %I% %E% SMI"
c5c4113dfcabb1eed3d4bdf7609de5170027a794nwextern "C" {
c8e261054d98729a8718903716b9b8a512d8b693jp/* SMF and auto-discovery context handles */
c8e261054d98729a8718903716b9b8a512d8b693jptypedef struct idmap_cfg_handles {
c8e261054d98729a8718903716b9b8a512d8b693jp * This structure stores AD and AD-related configuration
c5c4113dfcabb1eed3d4bdf7609de5170027a794nwtypedef struct idmap_pg_config {
c8e261054d98729a8718903716b9b8a512d8b693jp * The idmap_cfg_update_thread() uses the ad_disc_t context in
c8e261054d98729a8718903716b9b8a512d8b693jp * the idmap_cfg_handles_t (see above) to track which values
c8e261054d98729a8718903716b9b8a512d8b693jp * came from SMF and which values didn't. This works for all
c8e261054d98729a8718903716b9b8a512d8b693jp * items that are discoverable, but default_domain (the domain
c8e261054d98729a8718903716b9b8a512d8b693jp * that we qualify unqualified names passed to idmap show) is
c8e261054d98729a8718903716b9b8a512d8b693jp * not discoverable independently of domain_name. So we need to
c8e261054d98729a8718903716b9b8a512d8b693jp * track its procedence separately. The dflt_dom_set_in_smf
c8e261054d98729a8718903716b9b8a512d8b693jp * field does just that.
c8e261054d98729a8718903716b9b8a512d8b693jp ad_disc_ds_t *domain_controller; /* domain controller hosts */
c5c4113dfcabb1eed3d4bdf7609de5170027a794nwtypedef struct idmap_cfg {
c5c4113dfcabb1eed3d4bdf7609de5170027a794nw#endif /* _IDMAP_CONFIG_H */