summaryrefslogtreecommitdiff
path: root/source3/lib/util.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-09-05 01:12:07 +0000
committerAndrew Tridgell <tridge@samba.org>1998-09-05 01:12:07 +0000
commit1546ccfd24a712973c82fcd2064d3c48381f1360 (patch)
tree25c549315c80d7ef88cfe37a73375a0a3d351ab5 /source3/lib/util.c
parent83900f2b682c62f2b5620b29ecb710274990ac51 (diff)
downloadsamba-1546ccfd24a712973c82fcd2064d3c48381f1360.tar.gz
samba-1546ccfd24a712973c82fcd2064d3c48381f1360.tar.bz2
samba-1546ccfd24a712973c82fcd2064d3c48381f1360.zip
got rid of interpret_security(). Thanks to Jean-Francois for pointing
out it is no longer used (replaced by enumerated types in loadparm.c) (This used to be commit 88df8a8b25921389ee9d017b770bbae143cc51b8)
Diffstat (limited to 'source3/lib/util.c')
-rw-r--r--source3/lib/util.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c
index 260435d9e8..8432071d80 100644
--- a/source3/lib/util.c
+++ b/source3/lib/util.c
@@ -3599,23 +3599,6 @@ int interpret_protocol(char *str,int def)
return(def);
}
-/****************************************************************************
-interpret a security level
-****************************************************************************/
-int interpret_security(char *str,int def)
-{
- if (strequal(str,"SERVER"))
- return(SEC_SERVER);
- if (strequal(str,"USER"))
- return(SEC_USER);
- if (strequal(str,"SHARE"))
- return(SEC_SHARE);
-
- DEBUG(0,("Unrecognised security level %s\n",str));
-
- return(def);
-}
-
/****************************************************************************
interpret an internet address or name into an IP address in 4 byte form