summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorRichard Sharpe <sharpe@samba.org>2002-11-02 06:21:10 +0000
committerRichard Sharpe <sharpe@samba.org>2002-11-02 06:21:10 +0000
commit949133f5f232622b5dd8ec6a03b6287a7b59853d (patch)
tree997ef0c38259ae86807e02117f38af0cb4c57d32 /source3
parent531cea29375dee44a8e611d7d0c7eaaae445e67e (diff)
downloadsamba-949133f5f232622b5dd8ec6a03b6287a7b59853d.tar.gz
samba-949133f5f232622b5dd8ec6a03b6287a7b59853d.tar.bz2
samba-949133f5f232622b5dd8ec6a03b6287a7b59853d.zip
Make sure that %u is used for SID elements ...
(This used to be commit 82f6b264037a2f1b882dc75bc43c6c8b41477270)
Diffstat (limited to 'source3')
-rw-r--r--source3/utils/profiles.c2
1 files changed, 1 insertions, 1 deletions
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;