2 Unix SMB/CIFS implementation.
4 Copyright (C) Andrew Tridgell 2003
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or
9 (at your option) any later version.
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
22 this header declares basic enumerated types
25 /* protocol types. It assumes that higher protocols include lower protocols
27 enum protocol_types
{PROTOCOL_NONE
,PROTOCOL_CORE
,PROTOCOL_COREPLUS
,PROTOCOL_LANMAN1
,PROTOCOL_LANMAN2
,PROTOCOL_NT1
};
30 enum security_types
{SEC_SHARE
,SEC_USER
,SEC_SERVER
,SEC_DOMAIN
,SEC_ADS
};
33 enum printing_types
{PRINT_BSD
,PRINT_SYSV
,PRINT_AIX
,PRINT_HPUX
,
34 PRINT_QNX
,PRINT_PLP
,PRINT_LPRNG
,PRINT_SOFTQ
,
35 PRINT_CUPS
,PRINT_LPRNT
,PRINT_LPROS2
38 #endif /* DEVELOPER */
41 /* LDAP schema types */
42 enum schema_types
{SCHEMA_COMPAT
, SCHEMA_AD
, SCHEMA_SAMBA
};
44 /* LDAP SSL options */
45 enum ldap_ssl_types
{LDAP_SSL_ON
, LDAP_SSL_OFF
, LDAP_SSL_START_TLS
};
47 /* LDAP PASSWD SYNC methods */
48 enum ldap_passwd_sync_types
{LDAP_PASSWD_SYNC_ON
, LDAP_PASSWD_SYNC_OFF
, LDAP_PASSWD_SYNC_ONLY
};
50 /* Remote architectures we know about. */
51 enum remote_arch_types
{RA_UNKNOWN
, RA_WFWG
, RA_OS2
, RA_WIN95
, RA_WINNT
, RA_WIN2K
, RA_WINXP
, RA_SAMBA
};
54 enum case_handling
{CASE_LOWER
,CASE_UPPER
};