]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
pam_winbind: use integer constants.
authorGünther Deschner <gd@samba.org>
Thu, 14 Aug 2008 11:07:51 +0000 (13:07 +0200)
committerGünther Deschner <gd@samba.org>
Tue, 19 Aug 2008 13:20:44 +0000 (15:20 +0200)
Guenther

source/nsswitch/pam_winbind.h

index be17a6fe45ef9d567e561c1a33d0b64a0188c5b4..c8c19106410660ec3744f1685ebd19487b80eabd 100644 (file)
@@ -83,20 +83,20 @@ do {                             \
 #include <security/pam_ext.h>
 #endif
 
-#define WINBIND_DEBUG_ARG (1<<0)
-#define WINBIND_USE_AUTHTOK_ARG (1<<1)
-#define WINBIND_UNKNOWN_OK_ARG (1<<2)
-#define WINBIND_TRY_FIRST_PASS_ARG (1<<3)
-#define WINBIND_USE_FIRST_PASS_ARG (1<<4)
-#define WINBIND__OLD_PASSWORD (1<<5)
-#define WINBIND_REQUIRED_MEMBERSHIP (1<<6)
-#define WINBIND_KRB5_AUTH (1<<7)
-#define WINBIND_KRB5_CCACHE_TYPE (1<<8)
-#define WINBIND_CACHED_LOGIN (1<<9)
-#define WINBIND_CONFIG_FILE (1<<10)
-#define WINBIND_SILENT (1<<11)
-#define WINBIND_DEBUG_STATE (1<<12)
-#define WINBIND_WARN_PWD_EXPIRE (1<<13)
+#define WINBIND_DEBUG_ARG              0x00000001
+#define WINBIND_USE_AUTHTOK_ARG                0x00000002
+#define WINBIND_UNKNOWN_OK_ARG         0x00000004
+#define WINBIND_TRY_FIRST_PASS_ARG     0x00000008
+#define WINBIND_USE_FIRST_PASS_ARG     0x00000010
+#define WINBIND__OLD_PASSWORD          0x00000020
+#define WINBIND_REQUIRED_MEMBERSHIP    0x00000040
+#define WINBIND_KRB5_AUTH              0x00000080
+#define WINBIND_KRB5_CCACHE_TYPE       0x00000100
+#define WINBIND_CACHED_LOGIN           0x00000200
+#define WINBIND_CONFIG_FILE            0x00000400
+#define WINBIND_SILENT                 0x00000800
+#define WINBIND_DEBUG_STATE            0x00001000
+#define WINBIND_WARN_PWD_EXPIRE                0x00002000
 
 /*
  * here is the string to inform the user that the new passwords they