lib/replace/system/passwd.h

説明を見る。
00001 #ifndef _system_passwd_h
00002 #define _system_passwd_h
00003 
00004 /* 
00005    Unix SMB/CIFS implementation.
00006 
00007    passwd system include wrappers
00008 
00009    Copyright (C) Andrew Tridgell 2004
00010    
00011    This program is free software; you can redistribute it and/or modify
00012    it under the terms of the GNU General Public License as published by
00013    the Free Software Foundation; either version 2 of the License, or
00014    (at your option) any later version.
00015    
00016    This program is distributed in the hope that it will be useful,
00017    but WITHOUT ANY WARRANTY; without even the implied warranty of
00018    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00019    GNU General Public License for more details.
00020    
00021    You should have received a copy of the GNU General Public License
00022    along with this program; if not, write to the Free Software
00023    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00024 */
00025 
00026 #ifdef HAVE_PWD_H
00027 #include <pwd.h>
00028 #endif
00029 #ifdef HAVE_GRP_H
00030 #include <grp.h>
00031 #endif
00032 #ifdef HAVE_SYS_PRIV_H
00033 #include <sys/priv.h>
00034 #endif
00035 #ifdef HAVE_SYS_ID_H
00036 #include <sys/id.h>
00037 #endif
00038 
00039 #ifdef HAVE_CRYPT_H
00040 #include <crypt.h>
00041 #endif
00042 
00043 #ifdef HAVE_SHADOW_H
00044 #include <shadow.h>
00045 #endif
00046 
00047 #ifdef HAVE_SYS_SECURITY_H
00048 #include <sys/security.h>
00049 #include <prot.h>
00050 #define PASSWORD_LENGTH 16
00051 #endif  /* HAVE_SYS_SECURITY_H */
00052 
00053 #ifdef HAVE_GETPWANAM
00054 #include <sys/label.h>
00055 #include <sys/audit.h>
00056 #include <pwdadj.h>
00057 #endif
00058 
00059 #ifdef HAVE_COMPAT_H
00060 #include <compat.h>
00061 #endif
00062 
00063 #ifdef REPLACE_GETPASS
00064 #define getpass(prompt) getsmbpass((prompt))
00065 #endif
00066 
00067 #ifndef NGROUPS_MAX
00068 #define NGROUPS_MAX 32 /* Guess... */
00069 #endif
00070 
00071 /* what is the longest significant password available on your system? 
00072  Knowing this speeds up password searches a lot */
00073 #ifndef PASSWORD_LENGTH
00074 #define PASSWORD_LENGTH 8
00075 #endif
00076 
00077 #if defined(HAVE_PUTPRPWNAM) && defined(AUTH_CLEARTEXT_SEG_CHARS)
00078 #define OSF1_ENH_SEC 1
00079 #endif
00080 
00081 #ifndef ALLOW_CHANGE_PASSWORD
00082 #if (defined(HAVE_TERMIOS_H) && defined(HAVE_DUP2) && defined(HAVE_SETSID))
00083 #define ALLOW_CHANGE_PASSWORD 1
00084 #endif
00085 #endif
00086 
00087 #if defined(HAVE_CRYPT16) && defined(HAVE_GETAUTHUID)
00088 #define ULTRIX_AUTH 1
00089 #endif
00090 
00091 #endif

Sambaに対してSat Aug 29 21:22:59 2009に生成されました。  doxygen 1.4.7