Bug 6343 - "pdbedit -U rid" complains not to treat rid string as SID.
Summary: "pdbedit -U rid" complains not to treat rid string as SID.
Alias: None
Product: Samba 3.3
Classification: Unclassified
Component: Client tools (show other bugs)
Version: 3.3.4
Hardware: x86 Linux
: P3 trivial
Target Milestone: ---
Assignee: Volker Lendecke
QA Contact: Samba QA Contact
Depends on:
Reported: 2009-05-08 08:39 UTC by TAKAHASHI Motonobu
Modified: 2009-05-13 04:10 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description TAKAHASHI Motonobu 2009-05-08 08:39:44 UTC
"pdbedit -U rid" complains not to treat rid string as SID.

According to the manpages, the -U option for pdbedit can be acceptable 
 to both SID and RID. But if we put RID to the pdbedit, pdbedit complains.
For example:

# /usr/local/samba/bin/pdbedit -U 1100 user1
string_to_sid: Sid 1100 does not start with 'S-'. <--- this error message
Unix username:        user1


User SID:             S-1-5-21-2535719703-1779805756-2758924810-1100

Actually RID is acceptable and the value is changed.
Comment 1 Volker Lendecke 2009-05-13 04:10:50 UTC
That is a debug level 3 message. With the default configuration or even with debug level = 2 this does not happen. As it is "only" annoying and only happens with a non-default debug level, I'm closing this as WONTFIX.

Please re-open if for you it also happens with the default debuglevel of 0 or with a debuglevel of 1.