[Samba] Username/Password not passed to Samba

Markus Feldmann feldmann_markus at gmx.de
Fri Jan 30 09:44:25 GMT 2004


Hallo
maybe you must do this.
look on picture.
Default is that WinXP sends not your username and your pasword but he sends
his Computer Authentification.

Your Properties must look like this in the picture. And you should more
watch in your smbd.log file.

mfg Markus F.

----- Original Message ----- 
From: "Peter Ulrich Kruppa" <kruppa at pukruppa.net>
To: "Daniel Auman" <dauman at woh.rr.com>
Cc: <samba at lists.samba.org>
Sent: Wednesday, January 28, 2004 12:58 PM
Subject: Re: [Samba] Username/Password not passed to Samba


> On Wed, 28 Jan 2004, Daniel Auman wrote:
>
> > Hi all,
> >
> > Using Samba 3.0.0beta3 on FreeBSD 4.9 and a WinXP SP1 client.  I was
able to
> > join the domain with the WinXP machine, but I cannot log-on.  The
Windows
> > error message is about the domain server not found,
>                              ^^^^^^^^^^^^^^^^^^^^^^^
> This sounds like a very fundamental problem: Are you sure you set
> your WINS server correctly on your XP box and can you ping it?
> (You shouldn't have been able to join the domain at all without
> that, but sometimes strange things happen).
>
> Uli.
> > no machine account, etc.
> > I set the log level to 3 and received the following output when I tried
to
> > log-on:
> >
> > "[2004/01/27 20:00:00, 3] smbd/sec_ctx.c:push_sec_ctx(256)
> >   push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
> > [2004/01/27 20:00:00, 3] smbd/uid.c:push_conn_ctx(287)
> >   push_conn_ctx(0) : conn_ctx_stack_ndx = 0
> > [2004/01/27 20:00:00, 3] smbd/sec_ctx.c:set_sec_ctx(288)
> >   setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
> > [2004/01/27 20:00:00, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
> >   pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
> > [2004/01/27 20:00:00, 3] auth/auth.c:check_ntlm_password(216)
> >   check_ntlm_password:  Checking password for unmapped user
> > []\[]@[GDCCDARRYL] with the new password interface
> > [2004/01/27 20:00:00, 3] auth/auth.c:check_ntlm_password(219)
> >   check_ntlm_password:  mapped user is: [GDCC]\[]@[GDCCDARRYL]
> > [2004/01/27 20:00:00, 3] smbd/sec_ctx.c:push_sec_ctx(256)
> >   push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
> > [2004/01/27 20:00:00, 3] smbd/uid.c:push_conn_ctx(287)
> >   push_conn_ctx(0) : conn_ctx_stack_ndx = 0
> > [2004/01/27 20:00:00, 3] smbd/sec_ctx.c:set_sec_ctx(288)
> >   setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
> > [2004/01/27 20:00:00, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
> >   pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
> > [2004/01/27 20:00:00, 3] smbd/uid.c:fetch_sid_from_gid_cache(651)
> >   fetch sid from gid cache 65534 ->
> > S-1-5-21-2504064135-877026010-4157169575-132069
> > [2004/01/27 20:00:00, 3] smbd/uid.c:fetch_sid_from_gid_cache(651)
> >   fetch sid from gid cache 65534 ->
> > S-1-5-21-2504064135-877026010-4157169575-132069
> > [2004/01/27 20:00:00, 3] auth/auth.c:check_ntlm_password(265)
> >   check_ntlm_password: guest authentication for user [] succeeded
> > [2004/01/27 20:00:00, 3] smbd/password.c:register_vuid(201)
> >   User name: nobody Real name: Unprivileged user
> > [2004/01/27 20:00:00, 3] smbd/password.c:register_vuid(219)
> >   UNIX uid 65534 is UNIX user nobody, and will be vuid 566
> > [2004/01/27 20:00:00, 3] smbd/process.c:process_smb(878)
> >   Transaction 30179 of length 90
> > [2004/01/27 20:00:00, 3] smbd/process.c:switch_message(673)
> >   switch message SMBtconX (pid 41343)
> > [2004/01/27 20:00:00, 3] smbd/sec_ctx.c:set_sec_ctx(288)
> >   setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
> > [2004/01/27 20:00:00, 3] lib/access.c:check_access(314)
> >   check_access: no hostnames in host allow/deny list.
> > [2004/01/27 20:00:00, 2] lib/access.c:check_access(325)
> >   Allowed connection from  (192.168.1.10)
> > [2004/01/27 20:00:00, 3] smbd/service.c:make_connection_snum(536)
> >   Connect path is '/tmp' for service [IPC$]
> > [2004/01/27 20:00:00, 3] lib/util_seaccess.c:se_access_check(267)
> > [2004/01/27 20:00:00, 3] lib/util_seaccess.c:se_access_check(268)
> >   se_access_check: user sid is
S-1-5-21-2504064135-877026010-4157169575-501
> >   se_access_check: also S-1-5-21-2504064135-877026010-4157169575-514
> >   se_access_check: also S-1-1-0
> >   se_access_check: also S-1-5-2
> >   se_access_check: also S-1-5-32-546
> >   se_access_check: also S-1-5-21-2504064135-877026010-4157169575-132069
> > [2004/01/27 20:00:00, 3] smbd/vfs.c:vfs_init_default(201)
> >   Initialising default vfs hooks
> > [2004/01/27 20:00:00, 3] lib/util_seaccess.c:se_access_check(267)
> > [2004/01/27 20:00:00, 3] lib/util_seaccess.c:se_access_check(268)
> >   se_access_check: user sid is
S-1-5-21-2504064135-877026010-4157169575-501
> >   se_access_check: also S-1-5-21-2504064135-877026010-4157169575-514
> >   se_access_check: also S-1-1-0
> >   se_access_check: also S-1-5-2
> >   se_access_check: also S-1-5-32-546
> >   se_access_check: also S-1-5-21-2504064135-877026010-4157169575-132069
> > [2004/01/27 20:00:00, 3] smbd/sec_ctx.c:set_sec_ctx(288)
> >   setting sec ctx (65534, 65534) - sec_ctx_stack_ndx = 0
> > [2004/01/27 20:00:00, 3] smbd/service.c:make_connection_snum(692)
> >   gdccdarryl (192.168.1.10) connect to service IPC$ initially as user
nobody
> > (uid=65534, gid=65534) (pid 41343)
> > [2004/01/27 20:00:00, 3] smbd/sec_ctx.c:set_sec_ctx(288)
> >   setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
> > [2004/01/27 20:00:00, 3] smbd/reply.c:reply_tcon_and_X(308)
> >   tconX service=IPC$ ".
> >
> > It would seem Samba is not getting the username and password I typed in
the
> > WinXP log-on dialog box.  Am I right and if so can anybody tell me
what's
> > wrong?  I've tried with and without the registry hack, I've tried the
two
> > regular users in my smbpasswd file and root. Also, there is a machine
> > account for this machine.  Lastly, don't know how it could make a
difference
> > but, another WinXP box was joined to the domain with the same netbios
name
> > during testing.
> >
> > Thanks in advance,
> > Daniel Auman
> >
> > --
> > To unsubscribe from this list go to the following URL and read the
> > instructions:  http://lists.samba.org/mailman/listinfo/samba
> >
>
> +-------------------------+
> |   Peter Ulrich Kruppa   |
> |      - Wuppertal -      |
> |         Germany         |
> +-------------------------+
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
>


More information about the samba mailing list