[Samba] winbind: uid range is ignored

Bjoern Baumbach bb at sernet.de
Thu Aug 2 09:14:00 MDT 2012


Hi Steve,

please use "idmap config * : range = ..." instead of idmap uid/gid.

Best regards
Björn

On 08/02/2012 05:01 PM, steve wrote:
> Hi everone.
> 
> Ubuntu 12.04 v3.6 clients with winbind joined to 12.04 Samba4 DC
> 
> Clients:
> smb.conf
> [global]
> realm = polop.site
> workgroup = POLOP
> security = ADS
> wide links = Yes
> unix extensions = No
> template shell = /bin/bash
> winbind enum users = Yes
> winbind enum groups = Yes
> idmap uid = 300000-400000
> idmap gid = 20000-30000
> 
> /etc/nsswitch.conf
> passwd:         compat winbind
> group:          compat winbind
> 
> Problem:
> The uid range is ignored. Both uid and gid come from the gid range. e.g.:
> getent passwd steve2
> POLOP\steve2:*:20007:20000:steve2:/home/POLOP/steve2:/bin/bash
> 
> Why is the uid range of 300000-400000 ignored?
> Cheers,
> Steve
> 

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de


More information about the samba mailing list