Bluehost.com Web Hosting $6.95

[Samba] Cannot log in to domain

This is a discussion on [Samba] Cannot log in to domain within the Samba forums, part of the Networking and Network Related category; Hi folks, Just yesterday, my Samba installation on OpenSlug suddenly stopped working, out of the blue. Now, users on my ...


Go Back   Usenet Forums > Networking and Network Related > Samba

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-05-2006
Edward Luck
 
Posts: n/a
Default [Samba] Cannot log in to domain

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.<computer name> 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
'NT_STATUS_NO_SUCH_USER'

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=09free_server_info(server_info);
=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
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 08:30 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0