[Samba] Re: Cannot add machine account

Marco De Vitis starless at spin.it
Sat Feb 2 09:05:50 GMT 2008


Il 2-02-2008 0:06, Ryan Novosielski ha scritto:

> Is that workstation name too long? On some of my machines, it would be.

Well, the WinXP OS accepted it so I suppose it's not too long.
Anyway I now tried adding another machine named "MDVMBXP" which surely 
is a good enough name, but the result is the same.

The client is not involved at all in the error, because it just happens 
as soon as I do the following on the Samba PDC, well before trying to 
join the client to the domain:

#>useradd -g smb_pc -d /dev/null -s /bin/false MDVMBXP$
#>passwd -l MDVMBXP$
Password changed.
#>pdbedit -a -m MDVMBXP
tdb_update_sam: struct samu (mdvmbxp$) with no RID!
Unable to add machine! (does it already exist?)

PS: uhm, I just tried using smbpasswd instead of pdbedit and it appears 
to work, but I cannot try joining the domain now because I'm physically 
far from the LAN. I'll check when possible.

-- 
Ciao,
   Marco.



More information about the samba mailing list