[Samba] pdbedit bug?
bret.jordan at utah.edu
Fri Jan 9 19:17:54 GMT 2004
The problem appears to be that pdbedit will allow you to set the RID at
account creation so long as it is a normal user account, if it is a
machine account it will not.
Jelmer Vernooij wrote:
> 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
>> 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 at 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)
Bret Jordan Dean's Office
Computer Administrator College of Engineering
801.585.3765 University of Utah
jordan at coe.utah.edu
More information about the samba