Windows 2000 - Samaba-2.2.2 LDAP: Change of Relative ID.

Ignacio Coupeau icoupeau at unav.es
Mon Oct 29 08:54:02 GMT 2001


Joachim.Tork at gad.de wrote:
> 
> Hello everybody,
> 
> Thanks to Ignacio Coupeaus Patch I was able to join a Windows 2000 client
> to samba domain with ldap backend.
> 
> But I see the following problem:
> When I create the machine account a rid != 0 is created, in my case
> 3006.
> When the Windows 2000 machine joins my domain the rid is changed to 12294
> which is
> 3006 when you consider 3006 hex and 12294 dec.
> When I want to join this machine a second time it fails again because of
> the new, wrong rid. So I have to re-set the machine in ldap.

In the old samba ldap code, the rid was stored in hex (1f4, etc.), and
now in decimal format, but perhaps it should be stored again in hex with
something like
	*rid = strtol(rid_str, NULL, 16);

Ignacio
-- 
____________________________________________________
Ignacio Coupeau, Ph.D.     e-mail: icoupeau at unav.es
CTI, Director              fax:    948 425619
University of Navarra      voice:  948 425600
Pamplona, SPAIN            http://www.unav.es/cti/




More information about the samba-technical mailing list