From 8b2ba64d603dd1ef1afde621f594dc46f2133708 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 7 May 2011 13:32:20 +0200 Subject: libds: moved enum security_types to a common header Pair-Programmed-With: Andrew Bartlett --- source4/param/loadparm.c | 1 + source4/smb_server/smb_server.h | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'source4') diff --git a/source4/param/loadparm.c b/source4/param/loadparm.c index fa00beee96..79706b4f09 100644 --- a/source4/param/loadparm.c +++ b/source4/param/loadparm.c @@ -264,6 +264,7 @@ static const struct enum_list enum_protocol[] = { static const struct enum_list enum_security[] = { {SEC_SHARE, "SHARE"}, {SEC_USER, "USER"}, + {SEC_ADS, "ADS"}, {-1, NULL} }; diff --git a/source4/smb_server/smb_server.h b/source4/smb_server/smb_server.h index 83612194ff..6fcd9787bb 100644 --- a/source4/smb_server/smb_server.h +++ b/source4/smb_server/smb_server.h @@ -22,6 +22,7 @@ #include "libcli/raw/request.h" #include "libcli/raw/interfaces.h" #include "lib/socket/socket.h" +#include "libds/common/roles.h" #include "../lib/util/dlinklist.h" #include "../librpc/gen_ndr/nbt.h" @@ -265,8 +266,6 @@ struct smbsrv_request { struct smb_request_buffer out; }; -enum security_types {SEC_SHARE,SEC_USER}; - /* smb server context structure. This should contain all the state * information associated with a SMB server connection */ -- cgit