Bug 9389 - The idmap section in the manpages don't cover maximum available UID.
Summary: The idmap section in the manpages don't cover maximum available UID.
Status: NEW
Alias: None
Product: Samba 3.6
Classification: Unclassified
Component: Docs (show other bugs)
Version: 3.6.9
Hardware: All All
: P5 normal
Target Milestone: ---
Assignee: Michael Adam
QA Contact: Samba Documentation QA Contact~
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-13 12:40 UTC by Andreas Schneider
Modified: 2012-11-13 12:40 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Schneider 2012-11-13 12:40:33 UTC
You can specify a range with

idmap config * : range 1000-9000000000

The minimum and maximum id for the range are 32bit unsigned integers. So the above setting in smb.conf overflows the value read with sscanf().

We should document the maximum value you can specify in the idmap manpage at least which is 2^32-1 as the maximum (we start from 0).