Bug 9389 - The idmap section in the manpages don't cover maximum available UID.
The idmap section in the manpages don't cover maximum available UID.
Status: NEW
Product: Samba 3.6
Classification: Unclassified
Component: Docs
3.6.9
All All
: P5 normal
: ---
Assigned To: Michael Adam
Samba Documentation QA Contact~
:
Depends on:
Blocks:
  Show dependency treegraph
 
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).