rid.so - idmap_rid_sid_to_id
Ephi Dror
Ephi.Dror at datadomain.com
Sat Jun 30 16:41:52 GMT 2007
Hello,
I'm using rid as idmap plugin and wonder:
In the function idmap_rid_sid_to_id() in idmap_rid.c line 144
It looks to me that we need to do:
map->xid.id = rid + ctx->base_rid + ctx->low_id;
and not:
map->xid.id = rid - ctx->base_rid + ctx->low_id;
Basically it work fine like a Swiss Watch form me only after I fixed that.
Does anyone else have the problem that the id comes way out of range?
Please advice,
I really appreciate your thoughts.
Cheers,
Ephi
More information about the samba-technical
mailing list