From 2f13a74671c62a2861979ce2ab33ad1363bdbcf7 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Thu, 20 Mar 2003 00:32:44 +0000 Subject: Cleanup bogus initialisation in SID_NAME_USE enum. Added new sid type = 9 for "computer" from MSDN. (This used to be commit 45929d126932e5cac5a23fe76d28a4fa05b54b77) --- source3/lib/util_sid.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source3/lib') diff --git a/source3/lib/util_sid.c b/source3/lib/util_sid.c index 81d17ae3f2..dfd3b312e0 100644 --- a/source3/lib/util_sid.c +++ b/source3/lib/util_sid.c @@ -91,8 +91,9 @@ static const struct { {SID_NAME_DELETED, "Deleted Account"}, {SID_NAME_INVALID, "Invalid Account"}, {SID_NAME_UNKNOWN, "UNKNOWN"}, + {SID_NAME_COMPUTER, "Computer"}, - {SID_NAME_USE_NONE, NULL} + {0, NULL} }; const char *sid_type_lookup(uint32 sid_type) -- cgit