[Pkg-samba-maint] Bug#423780: #423780 /usr/sbin/smbd: does not log warning when login is tried with non-existent users

Marc Haber mh+debian-bugs at zugschlus.de
Wed Jun 20 08:22:17 UTC 2007


On Wed, Jun 20, 2007 at 01:22:13AM +0200, No?l K?the wrote:
> I checked the logging and tested it the following way (Debian lenny with samba 3.0.25a-1):
> 
> $ smbclient -U nouser //localhost/tmp
> Password:
> session setup failed: NT_STATUS_LOGON_FAILURE
> 
> The user "nouser" does not exists. Like you I set the log level to 5.
> 
> In /var/log/samba/log.CLIENTMACHINENAME (in my case ibook)
> ...
> [2007/06/20 01:14:01, 3] auth/auth.c:check_ntlm_password(221)
>   check_ntlm_password:  Checking password for unmapped user [WORKGROUP]\[nouser]@[IBOOK] with the new password interface
> [2007/06/20 01:14:01, 3] auth/auth.c:check_ntlm_password(224)
>   check_ntlm_password:  mapped user is: [IBOOK]\[nouser]@[IBOOK]
> ...
> [2007/06/20 01:14:01, 3] auth/auth_sam.c:check_sam_security(281)
>   check_sam_security: Couldn't find user 'nouser' in passdb.
> [2007/06/20 01:14:01, 5] auth/auth.c:check_ntlm_password(273)
>   check_ntlm_password: sam authentication for user [nouser] FAILED with error NT_STATUS_NO_SUCH_USER
> [2007/06/20 01:14:01, 2] auth/auth.c:check_ntlm_password(319)
>   check_ntlm_password:  Authentication for user [nouser] -> [nouser] FAILED with error NT_STATUS_NO_SUCH_USER
> ...
> 
> So you see the error "Couldn't find user 'nouser' in passdb." is what
> you are looking for, right?

That looks fine to me then.

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 72739835




More information about the Pkg-samba-maint mailing list