ad_common.h (1fdeec65) ad_common.h (b3700b07)
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 6 unchanged lines hidden (view full) ---

15 * If applicable, add the following below this CDDL HEADER, with the
16 * fields enclosed by brackets "[]" replaced with your own identifying
17 * information: Portions Copyright [yyyy] [name of copyright owner]
18 *
19 * CDDL HEADER END
20 */
21/*
22 * Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

--- 6 unchanged lines hidden (view full) ---

15 * If applicable, add the following below this CDDL HEADER, with the
16 * fields enclosed by brackets "[]" replaced with your own identifying
17 * information: Portions Copyright [yyyy] [name of copyright owner]
18 *
19 * CDDL HEADER END
20 */
21/*
22 * Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
23 * Copyright 2014 Nexenta Systems, Inc. All rights reserved.
23 */
24
25#ifndef _AD_COMMON_H
26#define _AD_COMMON_H
27
28#ifdef __cplusplus
29extern "C" {
30#endif

--- 52 unchanged lines hidden (view full) ---

83 int buflen;
84 uid_t uid;
85 adutils_result_t *result;
86 nss_ad_db_type_t db_type;
87};
88
89typedef struct nssad_prop {
90 char *domain_name;
24 */
25
26#ifndef _AD_COMMON_H
27#define _AD_COMMON_H
28
29#ifdef __cplusplus
30extern "C" {
31#endif

--- 52 unchanged lines hidden (view full) ---

84 int buflen;
85 uid_t uid;
86 adutils_result_t *result;
87 nss_ad_db_type_t db_type;
88};
89
90typedef struct nssad_prop {
91 char *domain_name;
91 idmap_ad_disc_ds_t *domain_controller;
92 ad_disc_ds_t *domain_controller;
92} nssad_prop_t;
93
94typedef struct nssad_cfg {
95 pthread_rwlock_t lock;
96 nssad_prop_t props;
97 ad_disc_t ad_ctx;
98 adutils_ad_t *ad;
99 struct nssad_cfg *qnext;

--- 31 unchanged lines hidden ---
93} nssad_prop_t;
94
95typedef struct nssad_cfg {
96 pthread_rwlock_t lock;
97 nssad_prop_t props;
98 ad_disc_t ad_ctx;
99 adutils_ad_t *ad;
100 struct nssad_cfg *qnext;

--- 31 unchanged lines hidden ---