[Samba] difficulties in rid mappings in 3.0.25

simo idra at samba.org
Tue Jun 5 20:17:02 GMT 2007


On Tue, 2007-05-29 at 14:41 +0300, Stefanos Karasavvidis wrote:
> I use the sernet samba packages on debian sarge and have problems after 
> upgrading to 3.0.25 with rid mappings.
> 
> My rid configuration for 3.0.24 looks like this
> 
> 	idmap backend = rid:ISC=500-100000000
> 	idmap uid = 500-100000000
> 	idmap gid = 500-100000000
> 
> after updating to 3.0.25 I get a core dump of winbind (log at the end of 
> the post) with these settings.
> 
> I tried to use the new configuration options, and indeed winbind doesn't 
> have any problems, but I have difficulties in specifying the options to 
> get the same mappings as before. I tried the following
> 	idmap domains = ISC
> 	idmap config ISC:default = yes
> 	idmap config ISC:backend = rid
> 	idmap config ISC:base_rid = 1000
> 	idmap config ISC:range = 500 - 100000000
> 
> But these result in different mappings
> 
> For example in 3.0.24 (and the old configuration) maps SID 
> S-1-5-21-2054584426-1363897300-1555891258-9296 to uid 9796 (I used 
> wbinfo -S)
> 
> In 3.0.25 and the new style configuration, maps the same SID to 8796
> 
> So the question:
> what are the correct parameters to get the same mappings as before?

Try base_rid = 0, that's the default.

Simo.

-- 
Simo Sorce
Samba Team GPL Compliance Officer
email: idra at samba.org
http://samba.org



More information about the samba mailing list