git.samba.org
/
rusty
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea0ac9c
)
auth: allow auth_common.h to be included multiple times without error
author
Andrew Bartlett
<abartlet@samba.org>
Sat, 7 May 2011 06:36:06 +0000
(08:36 +0200)
committer
Andrew Bartlett
<abartlet@samba.org>
Sun, 8 May 2011 08:56:27 +0000
(10:56 +0200)
auth/common_auth.h
patch
|
blob
|
history
diff --git
a/auth/common_auth.h
b/auth/common_auth.h
index c64b46c7cf019b69b4bb91e9ce778171d2f41844..b2db23c72001a03c9d86b3b8c989d12010676bd8 100644
(file)
--- a/
auth/common_auth.h
+++ b/
auth/common_auth.h
@@
-17,6
+17,9
@@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#ifndef AUTH_COMMON_AUTH_H
+#define AUTH_COMMON_AUTH_H
+
#define USER_INFO_CASE_INSENSITIVE_USERNAME 0x01 /* username may be in any case */
#define USER_INFO_CASE_INSENSITIVE_PASSWORD 0x02 /* password may be in any case */
#define USER_INFO_DONT_CHECK_UNIX_ACCOUNT 0x04 /* don't check unix account status */
@@
-59,3
+62,5
@@
struct auth_usersupplied_info
} password;
uint32_t flags;
};
+
+#endif