Re: [Samba] idmap_rid/idmap_hash collisions?

2009-11-11 Thread Robert LeBlanc
On Wed, Nov 11, 2009 at 10:18 AM, Gerald Carter wrote: > Robert LeBlanc wrote: > > > So if I understand right, hash does not hash the SID, it does the > > same as rid and takes the last section directly from the SID > > and uses that withou modification (rid adds that number to the > > lower rang

Re: [Samba] idmap_rid/idmap_hash collisions?

2009-11-11 Thread Gerald Carter
Robert LeBlanc wrote: > So if I understand right, hash does not hash the SID, it does the > same as rid and takes the last section directly from the SID > and uses that withou modification (rid adds that number to the > lower range number). idmap_hash *does* the SID. cheers, jerry signat

Re: [Samba] idmap_rid/idmap_hash collisions?

2009-11-11 Thread Robert LeBlanc
On Wed, Nov 11, 2009 at 9:52 AM, Gerald Carter wrote: > Robert LeBlanc wrote: > > > Does it suffer from the same collision problem as rid? > > idmap_rid doesn't have a collision problem that I'm aware of > as long as you set it up properly. Did I misunderstand something? > > > Our AD will have

Re: [Samba] idmap_rid/idmap_hash collisions?

2009-11-11 Thread Gerald Carter
Robert LeBlanc wrote: >> There's a slide or two outlining the algorithm in this slide deck >> from LInuxWorld SF '08 >> >> > > How does this compare with idmap hash? It's the same thing algo

Re: [Samba] idmap_rid/idmap_hash collisions?

2009-11-11 Thread Volker Lendecke
On Wed, Nov 11, 2009 at 09:30:03AM -0600, Robert LeBlanc wrote: > How does this compare with idmap hash? I can't seem to find the doc that I > found sometime ago regarding it's details. My understanding is that it uses > 31 bit uid/gid that is generated from a hash of the domain on certain bits > a

Re: [Samba] idmap_rid/idmap_hash collisions?

2009-11-11 Thread Robert LeBlanc
On Wed, Nov 11, 2009 at 7:52 AM, Gerald Carter wrote: > Hey Nick, > > Nick wrote: > > Is it possible for the uid/gid numbers that are generated by the > > idmap_rid and idmap_hash to collide if there are a large number of > > users or groups? I cannot seem to find any documentation on the > > li

Re: [Samba] idmap_rid/idmap_hash collisions?

2009-11-11 Thread Gerald Carter
Nick, Gerald Carter wrote: > Hey Nick, > > Nick wrote: >> Is it possible for the uid/gid numbers that are generated by the >> idmap_rid and idmap_hash to collide if there are a large number of >> users or groups? I cannot seem to find any documentation on the >> limitations of these plugins. Be

Re: [Samba] idmap_rid/idmap_hash collisions?

2009-11-11 Thread Gerald Carter
Hey Nick, Nick wrote: > Is it possible for the uid/gid numbers that are generated by the > idmap_rid and idmap_hash to collide if there are a large number of > users or groups? I cannot seem to find any documentation on the > limitations of these plugins. Before using I want to make absolutely >

Re: [Samba] idmap_rid/idmap_hash collisions?

2009-11-11 Thread Volker Lendecke
On Tue, Nov 10, 2009 at 06:34:13PM -0800, Nick wrote: > Is it possible for the uid/gid numbers that are generated by the > idmap_rid and idmap_hash to collide if there are a large number of > users or groups? I cannot seem to find any documentation on the > limitations of these plugins. Before us

[Samba] idmap_rid/idmap_hash collisions?

2009-11-10 Thread Nick
Is it possible for the uid/gid numbers that are generated by the idmap_rid and idmap_hash to collide if there are a large number of users or groups? I cannot seem to find any documentation on the limitations of these plugins. Before using I want to make absolutely sure that there won't be any col