summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-05-07 08:36:06 +0200
committerAndrew Bartlett <abartlet@samba.org>2011-05-08 10:56:27 +0200
commit69905360002203faf2db7a4df2bca237ea406396 (patch)
treea20fe5a93bf6a0cd46a5eb6e0a5cbdb361c636bc
parentea0ac9cdfceae96b0e0be2531d9dea3b079bcd7f (diff)
downloadsamba-69905360002203faf2db7a4df2bca237ea406396.tar.gz
samba-69905360002203faf2db7a4df2bca237ea406396.tar.bz2
samba-69905360002203faf2db7a4df2bca237ea406396.zip
auth: allow auth_common.h to be included multiple times without error
-rw-r--r--auth/common_auth.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/auth/common_auth.h b/auth/common_auth.h
index c64b46c7cf..b2db23c720 100644
--- 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