]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
winbindd: Reformat the WBFLAGS defines to prepare for adding a new flag.
authorKai Blin <kai@samba.org>
Fri, 7 Nov 2008 08:40:35 +0000 (09:40 +0100)
committerKarolin Seeger <kseeger@samba.org>
Mon, 12 Jan 2009 09:11:58 +0000 (10:11 +0100)
(cherry picked from commit 1f3eba80c8df79f31757bc2075f5730cd261806c)

source/nsswitch/winbindd_nss.h

index 8f22e158f52d7860e56ac48e27f3542eb1490206..f011e203eb5bcba83e852fdfdc8fb7f3be4fa3d5 100644 (file)
@@ -188,25 +188,25 @@ typedef struct winbindd_gr {
 } WINBINDD_GR;
 
 
-#define WBFLAG_PAM_INFO3_NDR           0x0001
-#define WBFLAG_PAM_INFO3_TEXT          0x0002
-#define WBFLAG_PAM_USER_SESSION_KEY     0x0004
-#define WBFLAG_PAM_LMKEY               0x0008
-#define WBFLAG_PAM_CONTACT_TRUSTDOM    0x0010
-#define WBFLAG_QUERY_ONLY              0x0020
-#define WBFLAG_PAM_UNIX_NAME            0x0080
-#define WBFLAG_PAM_AFS_TOKEN            0x0100
-#define WBFLAG_PAM_NT_STATUS_SQUASH     0x0200
+#define WBFLAG_PAM_INFO3_NDR           0x00000001
+#define WBFLAG_PAM_INFO3_TEXT          0x00000002
+#define WBFLAG_PAM_USER_SESSION_KEY    0x00000004
+#define WBFLAG_PAM_LMKEY               0x00000008
+#define WBFLAG_PAM_CONTACT_TRUSTDOM    0x00000010
+#define WBFLAG_QUERY_ONLY              0x00000020
+#define WBFLAG_PAM_UNIX_NAME           0x00000080
+#define WBFLAG_PAM_AFS_TOKEN           0x00000100
+#define WBFLAG_PAM_NT_STATUS_SQUASH    0x00000200
 
 /* This is a flag that can only be sent from parent to child */
-#define WBFLAG_IS_PRIVILEGED            0x0400
+#define WBFLAG_IS_PRIVILEGED           0x00000400
 /* Flag to say this is a winbindd internal send - don't recurse. */
-#define WBFLAG_RECURSE                 0x0800
+#define WBFLAG_RECURSE                 0x00000800
 
-#define WBFLAG_PAM_KRB5                        0x1000
-#define WBFLAG_PAM_FALLBACK_AFTER_KRB5 0x2000
-#define WBFLAG_PAM_CACHED_LOGIN                0x4000
-#define WBFLAG_PAM_GET_PWD_POLICY      0x8000
+#define WBFLAG_PAM_KRB5                        0x00001000
+#define WBFLAG_PAM_FALLBACK_AFTER_KRB5 0x00002000
+#define WBFLAG_PAM_CACHED_LOGIN                0x00004000
+#define WBFLAG_PAM_GET_PWD_POLICY      0x00008000
 
 #define WINBINDD_MAX_EXTRA_DATA (128*1024)