I am running Windows XP

-----Original Message-----
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Mark Post
Sent: Tuesday, June 05, 2007 5:33 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: Printer help

>>> On Tue, Jun 5, 2007 at  4:58 PM, in message
<[EMAIL PROTECTED]>
,
"Jones, Russell" <[EMAIL PROTECTED]> wrote: 
> Now we're getting somewhere.

Unfortunately, no we're not.

> [2007/06/05 14:49:29, 1] smbd/service.c:close_cnum(836)
>   dt49169 (10.5.8.76) closed connection to service P054
> [2007/06/05 15:50:14, 2] auth/auth.c:check_ntlm_password(312)
>   check_ntlm_password:  Authentication for user [PA8367] -> [PA8367]
> FAILED with error NT_STATUS_NO_SUCH_USER
> [2007/06/05 15:50:14, 2] lib/access.c:check_access(324)
>   Allowed connection from  (10.5.8.76)
> 
> It looks like samba is trying to authenticate with my Windows
> logon(PA8367). Can I map that logon to a Linux ID, or do I need to
> create an ID with the same name on Linux?

That's what it's supposed to do, and it allows the access because you
have "map to guest = bad user".  It's supposed to be what allowing guest
access is all about, so you don't have to add userids and passwords
every time someone new connects to the network and wants to print.

I bumped log level up to 3 on my Slackware Intel print server, then
connected from my Slackware Intel file server with a bogus userid and
password.  (I used the command "smbclient //ipaddress/Okidata
nosuchpassword -U nosuchuserid")  In the /var/log/samba/samba.fileserver
log, I saw this:
[2007/06/05 18:23:17, 3] auth/auth.c:check_ntlm_password(221)
  check_ntlm_password:  Checking password for unmapped user
[EMAIL PROTECTED] with the new password interface
[2007/06/05 18:23:17, 3] auth/auth.c:check_ntlm_password(224)
  check_ntlm_password:  mapped user is:
[EMAIL PROTECTED]

[2007/06/05 18:23:17, 3] smbd/sec_ctx.c:push_sec_ctx(208)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2007/06/05 18:23:17, 3] smbd/uid.c:push_conn_ctx(345)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2007/06/05 18:23:17, 3] smbd/sec_ctx.c:set_sec_ctx(241)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2007/06/05 18:23:17, 3] smbd/sec_ctx.c:pop_sec_ctx(339)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2007/06/05 18:23:17, 3] auth/auth_sam.c:check_sam_security(281)
  check_sam_security: Couldn't find user 'nosuchuserid' in passdb.
[2007/06/05 18:23:17, 2] auth/auth.c:check_ntlm_password(319)
  check_ntlm_password:  Authentication for user [nosuchuserid] ->
[nosuchuserid] FAILED with error NT_STATUS_NO_SUCH_USER
[2007/06/05 18:23:17, 3] smbd/sesssetup.c:do_map_to_guest(39)
  No such user nosuchuserid [WORKGROUP] - using guest account


The last line containing "using guest account" is what you want to see.

Just out of curiosity, what version of Windows are you running?


Mark Post

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to