Hi folks,

Just yesterday, my Samba installation on OpenSlug suddenly stopped
working, out of the blue. Now, users on my WinXP SP2 systems cannot
under any circumstances log in to the domain. Local Windows users
however can map shares with no problem.

When a domain user attempts to log on to a domain member PC (joining
the domain works fine, by the way), they are denied with the generic
Windows XP message of "The system could not log you on, make sure your
username and password are correct".

At the same time, the log. file reports the following:

[2006/01/05 13:59:34, 1] auth/auth_util.c:make_server_info_sam(840)
User blah in passdb, but getpwnam() fails!
[2006/01/05 13:59:34, 0] auth/auth_sam.c:check_sam_security(324)
check_sam_security: make_server_info_sam() failed with

This is basically telling me that Samba can't see the user in the
passwd file. But it works for Local windows users though, which is
just bizarre.

This is the C code in auth_util.c that is causing the problem:

if ( !(pwd =3D getpwnam_alloc(pdb_get_username(sampass))) ) {
=09=09DEBUG(1, ("User %s in passdb, but getpwnam() fails!\n",
=09=09=09 pdb_get_username(sampass)));
=09=09return NT_STATUS_NO_SUCH_USER;

I can only assume that for some reason, this particular C function is
trying to run getpwnam() and an error is being returned. But the same
process happens for Local windows users connecting to shares, so I'm
totally stumped.

What's also very odd is that this problem just
suddenly...well...happened. And I don't recall making any changes to
my Linux server. It's a Linksys NSLU2 running OpenSlug 2.7 beta, and
has been rock solid up until this point.

Keep flying, and stay shiny.
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba