Irving Carrion
2002-Dec-05 15:25 UTC
[Samba] Samba 2.2.7 - client computer can NOT log IN.
Hello All! Any of our workstations who try and log into the domain receive the following Windows error: "The system cannot log you on to this domain because the system's computer account in its primary domain is missing or the password on that account is incorrect". Ok, good enough... If I check the smbpasswd file I can see the machine account and it is also in passwd. So I decide to manually remove it using smbpasswd -x -m computer1 userdel computer1$ I verify that it is NOT in smbpasswd,passwd,shadow etc....Then continue with useradd -d /dev/null -g 100 -s /bin/false -M computer1$ smbpasswd -a -m computer1$ I verify that it IS in smbpasswd,passwd,shadow etc.... Ok, this should work, right? Not. Try again. Same error message. Oh and by the way, these machine accounts were working perfectly before. I've googled and babbled and have read manuals, with no luck. Also, if it's not the computer account, is it a wrong machine password? The password should be null so I don't understand the logic? Also, is there some type of machine cache? Is samba 2.2.7 storing the machine info in some .tdb file as well? Debian3.0/Samba 2.2.7 Would be highly appreciative if someone could extend some knowledge my way? Thanks! IRV
Frank Matthieß
2002-Dec-05 15:47 UTC
[Samba] Samba 2.2.7 - client computer can NOT log IN.
On Thu, Dec 05, 2002 at 10:16:48AM -0500, Irving Carrion wrote:> Hello All! > > Any of our workstations who try and log into the domain receive the > following Windows error: "The system cannot log you on to this domain > because the system's computer account in its primary domain is missing > or the password on that account is incorrect". Ok, good enough... > > If I check the smbpasswd file I can see the machine account and it is > also in passwd. So I decide to manually remove it using > > smbpasswd -x -m computer1 > userdel computer1$ > > I verify that it is NOT in smbpasswd,passwd,shadow etc....Then continue > with > > useradd -d /dev/null -g 100 -s /bin/false -M computer1$ > smbpasswd -a -m computer1$^ ? Should "smbpasswd -a -m computer1" Your smbpasswd file must have a wrong computer1$$ entry. Try the smbpasswd command without the trailing $. -- Frank Matthie? fm+samba@Microdata-pos.de