[Samba] Share password in security = share mode

Diego Lima lists at diegolima.org
Sat Nov 20 12:46:31 MST 2010


Hello all,

I'm trying to set up my Samba server to use share mode security and
tried to protect a share with a password. I've done the following on
smb.conf

[global]
        workgroup = WORKGROUP
        netbios name = %h
        server string = Servidor Samba %h
        security = share
        client lanman auth = yes
        log level = 0 auth:10

[publico]
        path = /tmp
        browseable = yes
        username = diego

When I try to log in with my user on that share it says the password
is wrong (I have created the user using smbpasswd beforehand and it
also exists on the system - in fact, it works fine with "security =
user" set):

root at Ubunbox:/etc/samba# smbclient -U diego '\\localhost\publico'
Enter diego's password:
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.5.4]
Server not using user level security and no password supplied.
tree connect failed: NT_STATUS_WRONG_PASSWORD

In fact, just switching to "security = user" make things work:

root at Ubunbox:/etc/samba# smbclient -U diego '\\localhost\publico'
Enter diego's password:
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.5.4]
smb: \>


AFAIK, share-mode security doesn't send the username but should try
the supplied password against the users on the "username" list, and
the username sent when establishing the smb session, right? What is
wrong on that setup?

The output from smbd.log is the following:

[2010/11/20 17:43:55.536233,  5] auth/auth.c:500(make_auth_context_subsystem)
  Making default auth method list for security=share, encrypt passwords = yes
[2010/11/20 17:43:55.536905,  5] auth/auth.c:46(smb_register_auth)
  Attempting to register auth backend sam
[2010/11/20 17:43:55.537251,  5] auth/auth.c:58(smb_register_auth)
  Successfully added auth method 'sam'
[2010/11/20 17:43:55.537338,  5] auth/auth.c:46(smb_register_auth)
  Attempting to register auth backend sam_ignoredomain
[2010/11/20 17:43:55.537377,  5] auth/auth.c:58(smb_register_auth)
  Successfully added auth method 'sam_ignoredomain'
[2010/11/20 17:43:55.537475,  5] auth/auth.c:46(smb_register_auth)
  Attempting to register auth backend unix
[2010/11/20 17:43:55.537587,  5] auth/auth.c:58(smb_register_auth)
  Successfully added auth method 'unix'
[2010/11/20 17:43:55.537651,  5] auth/auth.c:46(smb_register_auth)
  Attempting to register auth backend winbind
[2010/11/20 17:43:55.537687,  5] auth/auth.c:58(smb_register_auth)
  Successfully added auth method 'winbind'
[2010/11/20 17:43:55.537763,  5] auth/auth.c:46(smb_register_auth)
  Attempting to register auth backend wbc
[2010/11/20 17:43:55.537800,  5] auth/auth.c:58(smb_register_auth)
  Successfully added auth method 'wbc'
[2010/11/20 17:43:55.537836,  5] auth/auth.c:46(smb_register_auth)
  Attempting to register auth backend smbserver
[2010/11/20 17:43:55.537918,  5] auth/auth.c:58(smb_register_auth)
  Successfully added auth method 'smbserver'
[2010/11/20 17:43:55.537993,  5] auth/auth.c:46(smb_register_auth)
  Attempting to register auth backend trustdomain
[2010/11/20 17:43:55.538031,  5] auth/auth.c:58(smb_register_auth)
  Successfully added auth method 'trustdomain'
[2010/11/20 17:43:55.538067,  5] auth/auth.c:46(smb_register_auth)
  Attempting to register auth backend ntdomain
[2010/11/20 17:43:55.538103,  5] auth/auth.c:58(smb_register_auth)
  Successfully added auth method 'ntdomain'
[2010/11/20 17:43:55.538181,  5] auth/auth.c:46(smb_register_auth)
  Attempting to register auth backend guest
[2010/11/20 17:43:55.538218,  5] auth/auth.c:58(smb_register_auth)
  Successfully added auth method 'guest'
[2010/11/20 17:43:55.538373,  5] auth/auth.c:46(smb_register_auth)
  Attempting to register auth backend netlogond
[2010/11/20 17:43:55.538926,  5] auth/auth.c:58(smb_register_auth)
  Successfully added auth method 'netlogond'
[2010/11/20 17:43:55.538964,  5] auth/auth.c:383(load_auth_module)
  load_auth_module: Attempting to find an auth method to match guest
[2010/11/20 17:43:55.539120,  5] auth/auth.c:408(load_auth_module)
  load_auth_module: auth method guest has a valid init
[2010/11/20 17:43:55.539155,  5] auth/auth.c:383(load_auth_module)
  load_auth_module: Attempting to find an auth method to match sam
[2010/11/20 17:43:55.539241,  5] auth/auth.c:408(load_auth_module)
  load_auth_module: auth method sam has a valid init
[2010/11/20 17:43:55.539337,  5] auth/auth.c:97(get_ntlm_challenge)
  auth_get_challenge: module guest did not want to specify a challenge
[2010/11/20 17:43:55.539380,  5] auth/auth.c:97(get_ntlm_challenge)
  auth_get_challenge: module sam did not want to specify a challenge
[2010/11/20 17:43:55.539430,  5] auth/auth.c:132(get_ntlm_challenge)
  auth_context challenge created by random
[2010/11/20 17:43:55.539570,  5] auth/auth.c:133(get_ntlm_challenge)
  challenge is:
[2010/11/20 17:43:55.546101,  5] auth/auth.c:500(make_auth_context_subsystem)
  Making default auth method list for security=share, encrypt passwords = yes
[2010/11/20 17:43:55.546314,  5] auth/auth.c:383(load_auth_module)
  load_auth_module: Attempting to find an auth method to match guest
[2010/11/20 17:43:55.546638,  5] auth/auth.c:408(load_auth_module)
  load_auth_module: auth method guest has a valid init
[2010/11/20 17:43:55.546808,  5] auth/auth.c:383(load_auth_module)
  load_auth_module: Attempting to find an auth method to match sam
[2010/11/20 17:43:55.546916,  5] auth/auth.c:408(load_auth_module)
  load_auth_module: auth method sam has a valid init
[2010/11/20 17:43:55.547260,  5] auth/auth_util.c:122(make_user_info)
  attempting to make a user_info for  ()
[2010/11/20 17:43:55.547459,  5] auth/auth_util.c:132(make_user_info)
  making strings for 's user_info struct
[2010/11/20 17:43:55.547574,  5] auth/auth_util.c:164(make_user_info)
  making blobs for 's user_info struct
[2010/11/20 17:43:55.547892, 10] auth/auth_util.c:182(make_user_info)
  made an encrypted user_info for  ()
[2010/11/20 17:43:55.548038,  3] auth/auth.c:216(check_ntlm_password)
  check_ntlm_password:  Checking password for unmapped user []\[]@[]
with the new password interface
[2010/11/20 17:43:55.548303,  3] auth/auth.c:219(check_ntlm_password)
  check_ntlm_password:  mapped user is: []\[]@[]
[2010/11/20 17:43:55.548454, 10] auth/auth.c:228(check_ntlm_password)
  check_ntlm_password: auth_context challenge created by fixed
[2010/11/20 17:43:55.548568, 10] auth/auth.c:230(check_ntlm_password)
  challenge is:
[2010/11/20 17:43:55.553044,  3] auth/auth.c:265(check_ntlm_password)
  check_ntlm_password: guest authentication for user [] succeeded
[2010/11/20 17:43:55.553219,  5] auth/auth.c:304(check_ntlm_password)
  check_ntlm_password:  guest authentication for user [] -> [] ->
[nobody] succeeded
[2010/11/20 17:43:55.553394,  5] auth/auth_util.c:2119(free_user_info)
  attempting to free (and zero) a user_info structure
[2010/11/20 17:43:55.553506, 10] auth/auth_util.c:2123(free_user_info)
  structure was created for
[2010/11/20 17:43:55.553624,  5] auth/auth_util.c:2119(free_user_info)
  attempting to free (and zero) a user_info structure
[2010/11/20 17:43:55.556152,  5] auth/auth_util.c:211(make_user_info_map)
  Mapping user [WORKGROUP]\[diego] from workstation [127.0.0.1]
[2010/11/20 17:43:55.556383,  5] auth/auth_util.c:232(make_user_info_map)
  Mapped domain from [WORKGROUP] to [UBUNBOX] for user [diego] from
workstation [127.0.0.1]
[2010/11/20 17:43:55.556541,  5] auth/auth_util.c:122(make_user_info)
  attempting to make a user_info for diego (diego)
[2010/11/20 17:43:55.556634,  5] auth/auth_util.c:132(make_user_info)
  making strings for diego's user_info struct
[2010/11/20 17:43:55.556821,  5] auth/auth_util.c:164(make_user_info)
  making blobs for diego's user_info struct
[2010/11/20 17:43:55.556858, 10] auth/auth_util.c:182(make_user_info)
  made an encrypted user_info for diego (diego)
[2010/11/20 17:43:55.556921,  3] auth/auth.c:216(check_ntlm_password)
  check_ntlm_password:  Checking password for unmapped user
[WORKGROUP]\[diego]@[127.0.0.1] with the new password interface
[2010/11/20 17:43:55.556949,  3] auth/auth.c:219(check_ntlm_password)
  check_ntlm_password:  mapped user is: [UBUNBOX]\[diego]@[127.0.0.1]
[2010/11/20 17:43:55.557009, 10] auth/auth.c:228(check_ntlm_password)
  check_ntlm_password: auth_context challenge created by random
[2010/11/20 17:43:55.557033, 10] auth/auth.c:230(check_ntlm_password)
  challenge is:
[2010/11/20 17:43:55.557082, 10] auth/auth.c:256(check_ntlm_password)
  check_ntlm_password: guest had nothing to say
[2010/11/20 17:43:55.557796,  5] auth/auth.c:268(check_ntlm_password)
  check_ntlm_password: sam authentication for user [diego] FAILED with
error NT_STATUS_WRONG_PASSWORD
[2010/11/20 17:43:55.558012,  2] auth/auth.c:314(check_ntlm_password)
  check_ntlm_password:  Authentication for user [diego] -> [diego]
FAILED with error NT_STATUS_WRONG_PASSWORD
[2010/11/20 17:43:55.558039,  5] auth/auth_util.c:2119(free_user_info)
  attempting to free (and zero) a user_info structure
[2010/11/20 17:43:55.558090, 10] auth/auth_util.c:2123(free_user_info)
  structure was created for diego
[2010/11/20 17:43:55.558115,  5] auth/auth_util.c:211(make_user_info_map)
  Mapping user [WORKGROUP]\[diego] from workstation [127.0.0.1]
[2010/11/20 17:43:55.558165,  5] auth/auth_util.c:232(make_user_info_map)
  Mapped domain from [WORKGROUP] to [UBUNBOX] for user [diego] from
workstation [127.0.0.1]
[2010/11/20 17:43:55.558190,  5] auth/auth_util.c:122(make_user_info)
  attempting to make a user_info for diego (diego)
[2010/11/20 17:43:55.558238,  5] auth/auth_util.c:132(make_user_info)
  making strings for diego's user_info struct
[2010/11/20 17:43:55.558262,  5] auth/auth_util.c:164(make_user_info)
  making blobs for diego's user_info struct
[2010/11/20 17:43:55.558311, 10] auth/auth_util.c:182(make_user_info)
  made an encrypted user_info for diego (diego)
[2010/11/20 17:43:55.558335,  3] auth/auth.c:216(check_ntlm_password)
  check_ntlm_password:  Checking password for unmapped user
[WORKGROUP]\[diego]@[127.0.0.1] with the new password interface
[2010/11/20 17:43:55.558385,  3] auth/auth.c:219(check_ntlm_password)
  check_ntlm_password:  mapped user is: [UBUNBOX]\[diego]@[127.0.0.1]
[2010/11/20 17:43:55.558409, 10] auth/auth.c:228(check_ntlm_password)
  check_ntlm_password: auth_context challenge created by random
[2010/11/20 17:43:55.558457, 10] auth/auth.c:230(check_ntlm_password)
  challenge is:
[2010/11/20 17:43:55.558482, 10] auth/auth.c:256(check_ntlm_password)
  check_ntlm_password: guest had nothing to say
[2010/11/20 17:43:55.558911,  5] auth/auth.c:268(check_ntlm_password)
  check_ntlm_password: sam authentication for user [diego] FAILED with
error NT_STATUS_WRONG_PASSWORD
[2010/11/20 17:43:55.558970,  2] auth/auth.c:314(check_ntlm_password)
  check_ntlm_password:  Authentication for user [diego] -> [diego]
FAILED with error NT_STATUS_WRONG_PASSWORD
[2010/11/20 17:43:55.558995,  5] auth/auth_util.c:2119(free_user_info)
  attempting to free (and zero) a user_info structure
[2010/11/20 17:43:55.559044, 10] auth/auth_util.c:2123(free_user_info)
  structure was created for diego
[2010/11/20 17:43:55.559069,  5] auth/auth_util.c:211(make_user_info_map)
  Mapping user [WORKGROUP]\[diego] from workstation [127.0.0.1]
[2010/11/20 17:43:55.559119,  5] auth/auth_util.c:232(make_user_info_map)
  Mapped domain from [WORKGROUP] to [UBUNBOX] for user [diego] from
workstation [127.0.0.1]
[2010/11/20 17:43:55.559143,  5] auth/auth_util.c:122(make_user_info)
  attempting to make a user_info for diego (diego)
[2010/11/20 17:43:55.559192,  5] auth/auth_util.c:132(make_user_info)
  making strings for diego's user_info struct
[2010/11/20 17:43:55.559216,  5] auth/auth_util.c:164(make_user_info)
  making blobs for diego's user_info struct
[2010/11/20 17:43:55.559316, 10] auth/auth_util.c:182(make_user_info)
  made an encrypted user_info for diego (diego)
[2010/11/20 17:43:55.559340,  3] auth/auth.c:216(check_ntlm_password)
  check_ntlm_password:  Checking password for unmapped user
[WORKGROUP]\[diego]@[127.0.0.1] with the new password interface
[2010/11/20 17:43:55.559367,  3] auth/auth.c:219(check_ntlm_password)
  check_ntlm_password:  mapped user is: [UBUNBOX]\[diego]@[127.0.0.1]
[2010/11/20 17:43:55.559392, 10] auth/auth.c:228(check_ntlm_password)
  check_ntlm_password: auth_context challenge created by random
[2010/11/20 17:43:55.559417, 10] auth/auth.c:230(check_ntlm_password)
  challenge is:
[2010/11/20 17:43:55.559443, 10] auth/auth.c:256(check_ntlm_password)
  check_ntlm_password: guest had nothing to say
[2010/11/20 17:43:55.559793,  5] auth/auth.c:268(check_ntlm_password)
  check_ntlm_password: sam authentication for user [diego] FAILED with
error NT_STATUS_WRONG_PASSWORD
[2010/11/20 17:43:55.559848,  2] auth/auth.c:314(check_ntlm_password)
  check_ntlm_password:  Authentication for user [diego] -> [diego]
FAILED with error NT_STATUS_WRONG_PASSWORD
[2010/11/20 17:43:55.559895,  5] auth/auth_util.c:2119(free_user_info)
  attempting to free (and zero) a user_info structure
[2010/11/20 17:43:55.559920, 10] auth/auth_util.c:2123(free_user_info)
  structure was created for diego
[2010/11/20 17:43:55.559946,  5] auth/auth_util.c:211(make_user_info_map)
  Mapping user [WORKGROUP]\[diego] from workstation [127.0.0.1]
[2010/11/20 17:43:55.559996,  5] auth/auth_util.c:232(make_user_info_map)
  Mapped domain from [WORKGROUP] to [UBUNBOX] for user [diego] from
workstation [127.0.0.1]
[2010/11/20 17:43:55.560020,  5] auth/auth_util.c:122(make_user_info)
  attempting to make a user_info for diego (diego)
[2010/11/20 17:43:55.560043,  5] auth/auth_util.c:132(make_user_info)
  making strings for diego's user_info struct
[2010/11/20 17:43:55.560065,  5] auth/auth_util.c:164(make_user_info)
  making blobs for diego's user_info struct
[2010/11/20 17:43:55.560088, 10] auth/auth_util.c:182(make_user_info)
  made an encrypted user_info for diego (diego)
[2010/11/20 17:43:55.560111,  3] auth/auth.c:216(check_ntlm_password)
  check_ntlm_password:  Checking password for unmapped user
[WORKGROUP]\[diego]@[127.0.0.1] with the new password interface
[2010/11/20 17:43:55.560135,  3] auth/auth.c:219(check_ntlm_password)
  check_ntlm_password:  mapped user is: [UBUNBOX]\[diego]@[127.0.0.1]
[2010/11/20 17:43:55.560159, 10] auth/auth.c:228(check_ntlm_password)
  check_ntlm_password: auth_context challenge created by random
[2010/11/20 17:43:55.560181, 10] auth/auth.c:230(check_ntlm_password)
  challenge is:
[2010/11/20 17:43:55.560205, 10] auth/auth.c:256(check_ntlm_password)
  check_ntlm_password: guest had nothing to say
[2010/11/20 17:43:55.561277,  5] auth/auth.c:268(check_ntlm_password)
  check_ntlm_password: sam authentication for user [diego] FAILED with
error NT_STATUS_WRONG_PASSWORD
[2010/11/20 17:43:55.561305,  2] auth/auth.c:314(check_ntlm_password)
  check_ntlm_password:  Authentication for user [diego] -> [diego]
FAILED with error NT_STATUS_WRONG_PASSWORD
[2010/11/20 17:43:55.561330,  5] auth/auth_util.c:2119(free_user_info)
  attempting to free (and zero) a user_info structure
[2010/11/20 17:43:55.561353, 10] auth/auth_util.c:2123(free_user_info)
  structure was created for diego
[2010/11/20 17:43:55.561380,  5] auth/auth_util.c:211(make_user_info_map)
  Mapping user [WORKGROUP]\[diego] from workstation [127.0.0.1]
[2010/11/20 17:43:55.561403,  5] auth/auth_util.c:232(make_user_info_map)
  Mapped domain from [WORKGROUP] to [UBUNBOX] for user [diego] from
workstation [127.0.0.1]
[2010/11/20 17:43:55.561426,  5] auth/auth_util.c:122(make_user_info)
  attempting to make a user_info for diego (diego)
[2010/11/20 17:43:55.561449,  5] auth/auth_util.c:132(make_user_info)
  making strings for diego's user_info struct
[2010/11/20 17:43:55.561472,  5] auth/auth_util.c:164(make_user_info)
  making blobs for diego's user_info struct
[2010/11/20 17:43:55.561501, 10] auth/auth_util.c:182(make_user_info)
  made an encrypted user_info for diego (diego)
[2010/11/20 17:43:55.561524,  3] auth/auth.c:216(check_ntlm_password)
  check_ntlm_password:  Checking password for unmapped user
[WORKGROUP]\[diego]@[127.0.0.1] with the new password interface
[2010/11/20 17:43:55.561548,  3] auth/auth.c:219(check_ntlm_password)
  check_ntlm_password:  mapped user is: [UBUNBOX]\[diego]@[127.0.0.1]
[2010/11/20 17:43:55.561592, 10] auth/auth.c:228(check_ntlm_password)
  check_ntlm_password: auth_context challenge created by random
[2010/11/20 17:43:55.561615, 10] auth/auth.c:230(check_ntlm_password)
  challenge is:
[2010/11/20 17:43:55.561639, 10] auth/auth.c:256(check_ntlm_password)
  check_ntlm_password: guest had nothing to say
[2010/11/20 17:43:55.561958,  5] auth/auth.c:268(check_ntlm_password)
  check_ntlm_password: sam authentication for user [diego] FAILED with
error NT_STATUS_WRONG_PASSWORD
[2010/11/20 17:43:55.562002,  2] auth/auth.c:314(check_ntlm_password)
  check_ntlm_password:  Authentication for user [diego] -> [diego]
FAILED with error NT_STATUS_WRONG_PASSWORD
[2010/11/20 17:43:55.562027,  5] auth/auth_util.c:2119(free_user_info)
  attempting to free (and zero) a user_info structure
[2010/11/20 17:43:55.562050, 10] auth/auth_util.c:2123(free_user_info)
  structure was created for diego
[2010/11/20 17:43:55.562074,  5] auth/auth_util.c:211(make_user_info_map)
  Mapping user [WORKGROUP]\[diego] from workstation [127.0.0.1]
[2010/11/20 17:43:55.562097,  5] auth/auth_util.c:232(make_user_info_map)
  Mapped domain from [WORKGROUP] to [UBUNBOX] for user [diego] from
workstation [127.0.0.1]
[2010/11/20 17:43:55.562120,  5] auth/auth_util.c:122(make_user_info)
  attempting to make a user_info for diego (diego)
[2010/11/20 17:43:55.562143,  5] auth/auth_util.c:132(make_user_info)
  making strings for diego's user_info struct
[2010/11/20 17:43:55.562165,  5] auth/auth_util.c:164(make_user_info)
  making blobs for diego's user_info struct
[2010/11/20 17:43:55.562188, 10] auth/auth_util.c:182(make_user_info)
  made an encrypted user_info for diego (diego)
[2010/11/20 17:43:55.562211,  3] auth/auth.c:216(check_ntlm_password)
  check_ntlm_password:  Checking password for unmapped user
[WORKGROUP]\[diego]@[127.0.0.1] with the new password interface
[2010/11/20 17:43:55.562235,  3] auth/auth.c:219(check_ntlm_password)
  check_ntlm_password:  mapped user is: [UBUNBOX]\[diego]@[127.0.0.1]
[2010/11/20 17:43:55.562259, 10] auth/auth.c:228(check_ntlm_password)
  check_ntlm_password: auth_context challenge created by random
[2010/11/20 17:43:55.562281, 10] auth/auth.c:230(check_ntlm_password)
  challenge is:
[2010/11/20 17:43:55.562305, 10] auth/auth.c:256(check_ntlm_password)
  check_ntlm_password: guest had nothing to say
[2010/11/20 17:43:55.562668,  5] auth/auth.c:268(check_ntlm_password)
  check_ntlm_password: sam authentication for user [diego] FAILED with
error NT_STATUS_WRONG_PASSWORD
[2010/11/20 17:43:55.562696,  2] auth/auth.c:314(check_ntlm_password)
  check_ntlm_password:  Authentication for user [diego] -> [diego]
FAILED with error NT_STATUS_WRONG_PASSWORD
[2010/11/20 17:43:55.562776,  5] auth/auth_util.c:2119(free_user_info)
  attempting to free (and zero) a user_info structure
[2010/11/20 17:43:55.562859, 10] auth/auth_util.c:2123(free_user_info)
  structure was created for diego
[2010/11/20 17:43:55.562885,  5] auth/auth_util.c:211(make_user_info_map)
  Mapping user [WORKGROUP]\[diego] from workstation [127.0.0.1]
[2010/11/20 17:43:55.562908,  5] auth/auth_util.c:232(make_user_info_map)
  Mapped domain from [WORKGROUP] to [UBUNBOX] for user [diego] from
workstation [127.0.0.1]
[2010/11/20 17:43:55.562932,  5] auth/auth_util.c:122(make_user_info)
  attempting to make a user_info for diego (diego)
[2010/11/20 17:43:55.562954,  5] auth/auth_util.c:132(make_user_info)
  making strings for diego's user_info struct
[2010/11/20 17:43:55.562977,  5] auth/auth_util.c:164(make_user_info)
  making blobs for diego's user_info struct
[2010/11/20 17:43:55.563007, 10] auth/auth_util.c:182(make_user_info)
  made an encrypted user_info for diego (diego)
[2010/11/20 17:43:55.563031,  3] auth/auth.c:216(check_ntlm_password)
  check_ntlm_password:  Checking password for unmapped user
[WORKGROUP]\[diego]@[127.0.0.1] with the new password interface
[2010/11/20 17:43:55.563055,  3] auth/auth.c:219(check_ntlm_password)
  check_ntlm_password:  mapped user is: [UBUNBOX]\[diego]@[127.0.0.1]
[2010/11/20 17:43:55.563078, 10] auth/auth.c:228(check_ntlm_password)
  check_ntlm_password: auth_context challenge created by random
[2010/11/20 17:43:55.563101, 10] auth/auth.c:230(check_ntlm_password)
  challenge is:
[2010/11/20 17:43:55.563125, 10] auth/auth.c:256(check_ntlm_password)
  check_ntlm_password: guest had nothing to say
[2010/11/20 17:43:55.563448,  5] auth/auth.c:268(check_ntlm_password)
  check_ntlm_password: sam authentication for user [diego] FAILED with
error NT_STATUS_WRONG_PASSWORD
[2010/11/20 17:43:55.563476,  2] auth/auth.c:314(check_ntlm_password)
  check_ntlm_password:  Authentication for user [diego] -> [diego]
FAILED with error NT_STATUS_WRONG_PASSWORD
[2010/11/20 17:43:55.563501,  5] auth/auth_util.c:2119(free_user_info)
  attempting to free (and zero) a user_info structure
[2010/11/20 17:43:55.563524, 10] auth/auth_util.c:2123(free_user_info)
  structure was created for diego
[2010/11/20 17:43:55.563570,  5] auth/auth_util.c:211(make_user_info_map)
  Mapping user [WORKGROUP]\[diego] from workstation [127.0.0.1]
[2010/11/20 17:43:55.563593,  5] auth/auth_util.c:232(make_user_info_map)
  Mapped domain from [WORKGROUP] to [UBUNBOX] for user [diego] from
workstation [127.0.0.1]
[2010/11/20 17:43:55.563616,  5] auth/auth_util.c:122(make_user_info)
  attempting to make a user_info for diego (diego)
[2010/11/20 17:43:55.563639,  5] auth/auth_util.c:132(make_user_info)
  making strings for diego's user_info struct
[2010/11/20 17:43:55.563662,  5] auth/auth_util.c:164(make_user_info)
  making blobs for diego's user_info struct
[2010/11/20 17:43:55.563684, 10] auth/auth_util.c:182(make_user_info)
  made an encrypted user_info for diego (diego)
[2010/11/20 17:43:55.563707,  3] auth/auth.c:216(check_ntlm_password)
  check_ntlm_password:  Checking password for unmapped user
[WORKGROUP]\[diego]@[127.0.0.1] with the new password interface
[2010/11/20 17:43:55.563732,  3] auth/auth.c:219(check_ntlm_password)
  check_ntlm_password:  mapped user is: [UBUNBOX]\[diego]@[127.0.0.1]
[2010/11/20 17:43:55.563755, 10] auth/auth.c:228(check_ntlm_password)
  check_ntlm_password: auth_context challenge created by random
[2010/11/20 17:43:55.563777, 10] auth/auth.c:230(check_ntlm_password)
  challenge is:
[2010/11/20 17:43:55.563801, 10] auth/auth.c:256(check_ntlm_password)
  check_ntlm_password: guest had nothing to say
[2010/11/20 17:43:55.564138,  5] auth/auth.c:268(check_ntlm_password)
  check_ntlm_password: sam authentication for user [diego] FAILED with
error NT_STATUS_WRONG_PASSWORD
[2010/11/20 17:43:55.564166,  2] auth/auth.c:314(check_ntlm_password)
  check_ntlm_password:  Authentication for user [diego] -> [diego]
FAILED with error NT_STATUS_WRONG_PASSWORD
[2010/11/20 17:43:55.564191,  5] auth/auth_util.c:2119(free_user_info)
  attempting to free (and zero) a user_info structure
[2010/11/20 17:43:55.564214, 10] auth/auth_util.c:2123(free_user_info)
  structure was created for diego


Thank you,

-- 
Diego Lima
http://www.diegolima.org


More information about the samba mailing list