Bret Jordan wrote:
> If I try to do the following:
> /usr/local/samba/bin/pdbedit -a -u someusername -U 5000
> This works as one would think, the account is created with a RID of 5000.
>
> But when I do:
> /usr/local/samba/bin/pdbedit -a -m -u somemachinename -U 3000
> It does not work as you would think. The account is created but with
> the RID of the Unix UID*2+1000 not, a RID of 3000 as specificed on the
> command line. And if you try to modify that RID after the account is
> created with a:
> /usr/local/samba/bin/pdbedit -r -u somemachinename$ -U 3000
> It just causes all kinds of problems.
>
> Is there a way around this, is this a bug in the pdbedit program?
> Please respond directly to me at jordan@coe.utah.edu.
RID's are only changeable when you're using idmap. In all other cases,
the rid is derived from the uid.
(... or at least, last time I looked at this code, please correct me if
I'm wrong)
Cheers,
Jelmer