computer account it its primary domain is missing

Håvard Berland berland at stud.math.ntnu.no
Tue Mar 27 09:09:53 GMT 2001


Hello, I still haven't found a solution to our problem with W2k and
samba-cvs.

I have succesfully joined the domain, but no users can log on to the
domain, immediately after pressing Ok in the logon dialog, I get the
message:

"The system cannot log you on to this domain because the systems
computer account in its primary domain is missing or the password on
that account is incorrect."

And the user I try to log on with does indeed exist in smbpasswd.

From log level 6 I have found these error messages:

[2001/03/27 10:55:24, 5] lib/username.c:Get_Pwnam(193)
  Trying _Get_Pwnam(), username as lowercase is nobody
[2001/03/27 10:55:24, 5] lib/username.c:Get_Pwnam(221)
  Get_Pwnam did find a valid username!

What's the deal with this 'nobody' user? I tried to login as 'berland'

although the connection may be fine anyway:

[2001/03/27 10:55:24, 3] smbd/service.c:make_connection(606)
  gravemaskin (129.241.211.208) connect to service IPC$ as user nobody
(uid=65534, gid=65534) (pid 5336)

Later in the log, the name 'berland' appears:

[2001/03/27 10:55:24, 5] passdb/pdb_smbpasswd.c:getsmbfilepwent(441)
  getsmbfilepwent: returning passwd entry for user berland, uid 1775
[2001/03/27 10:55:24, 5] passdb/pdb_smbpasswd.c:getsmbfilepwent(441)
  getsmbfilepwent: returning passwd entry for user gravemaskin$, uid 828

A couple of hundred lines later:

[2001/03/27 10:55:25, 5] libsmb/credentials.c:cred_assert(138)
  credentials check wrong

Could any of these be a source to my problem?

I can send the full log to anyone interested, but posting hundreds of K
to this list is a bit overkill.

My smb.conf is as follows:
[global]
        security = user
        status = yes
        workgroup = MATH-MONA
        wins server = 129.241.18.16
        encrypt passwords = yes
        domain logons =yes
        log level = 6
        logon script = scripts\%U.bat
        domain admin group = @wheel
        ;add user script = /usr/sbin/adduser -n -g machines -c Machine
-d /dev/n
ull -s /bin/false %m$
        os level=65
[homes]
        guest ok = no
        read only = no
        create mask = 0700
        directory mask = 0700
        oplocks = false
        locking = no
[netlogon]
        comment = Domain logon service
        path = /local/samba/netlogon
        writeable = no
        guest ok = no


--
Håvard Berland                           www.stud.math.ntnu.no/~berland
Systems Administrator and Student of Numerics at
Department of Mathematical Sciences,
Norwegian University of Science and Technology





More information about the samba-ntdom mailing list