From 949133f5f232622b5dd8ec6a03b6287a7b59853d Mon Sep 17 00:00:00 2001 From: Richard Sharpe Date: Sat, 2 Nov 2002 06:21:10 +0000 Subject: Make sure that %u is used for SID elements ... (This used to be commit 82f6b264037a2f1b882dc75bc43c6c8b41477270) --- source3/utils/profiles.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/utils') diff --git a/source3/utils/profiles.c b/source3/utils/profiles.c index c8d875dfab..c939af276d 100644 --- a/source3/utils/profiles.c +++ b/source3/utils/profiles.c @@ -435,7 +435,7 @@ int get_sid(DOM_SID *sid, char *sid_str) lstr = sid_str + 5; while (1) { - if (!lstr || !lstr[0] || sscanf(lstr, "-%d", &auth) == 0) { + if (!lstr || !lstr[0] || sscanf(lstr, "-%u", &auth) == 0) { if (i < 4) { fprintf(stderr, "Not of form -d-d...: %s, %u\n", lstr, i); return 0; -- cgit