Check_ntlm_password Failed With Error Nt_status_logon_failure
Contents |
Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] On Mon, Oct 3, 2011 at 4:27 PM, francis picabia
Check_ntlm_password: Authentication For User Failed With Error Nt_status_no_such_user
> Also failed on Debian 3.5.6 and Solaris with a 3.5 version. > Logging details here are from domain_client_validate: domain password server not available. Redhat case. > > We have a similar problem on all Unix/Linux systems using > ADS as the backend authentication for samba shares on Unix/Linux. > > It was working before samba today and we didn't change anything. > Today, any time we try smbclient or a Windows drive map > to connect, and the user is not in /etc/passwd, > it fails. Yet if they are in /etc/passwd, it succeeds. > > "net ads testjoin" returns OK. > > If I take the user not in /etc/passwd and use either: > > wbinfo -a username%password > > or > > kinit username at AD.MYDOMAIN.CA > > it works. > > Winbind and samba services have been restarted. > SSH login using AD auth works fine. > > We have reduced to minimal /etc/pam.d/samba: > > auth required pam_env.so > auth sufficient pam_winbind.so use_first_pass debug > auth required pam_deny.so > account required pam_permit.so > > > > Login attempt: > > $ smbclient -U username //www/test > Enter username's password: > session setup failed: NT_STATUS_LOGON_FAILURE > > Log level 10: > > [2011/10/03 15:22:03.546880, 6] param/loadparm.c:7133(lp_file_list_changed) > lp_file_list_changed() > file /etc/samba/smb.conf -> /etc/samba/smb.conf last mod_time: Mon > Oct 3 15:21:45 2011 > [2011/10/03 15:22:03.546943, 5] auth/auth_util.c:211(make_user_info_map) > Mapping user [MYDOMAIN]\[username] from workstation [LABRADOR] > [2011/10/03 15:22:03.547328, 5] auth/auth_util.c:122(make_user_info) > attempting to make a user_info for username (username) > [2011/10/03 15:22:03.547351, 5] auth/auth_util.c:132(make_user_info) > making strings for username's user_info struct > [2011/10/03 15:22:03.547370, 5] auth/auth_util.c:164(make_user_info) > making blobs for username's user_info struct > [2011/10/03 15:22:03.547390, 10] auth/auth_util.c:182(make_user_inf
Search Tutorials/Articles Search HCL Search Reviews Search ISOs Go to Page... LinuxQuestions.org > Forums > Linux Forums > Linux - Software Simple Samba and PAM -> NT_STATUS_LOGON_FAILURE User Name Remember Me? Password Linux - Software This forum is for Software issues. Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. Notices Welcome to LinuxQuestions.org, a friendly and active Linux Community. You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many https://lists.samba.org/archive/samba/2011-October/164329.html other special features. Registration is quick, simple and absolutely free. Join our community today! Note that registered members see fewer ads, and ContentLink is completely disabled once you log in. Are you new to LinuxQuestions.org? Visit the following links: Site Howto | Site FAQ | Sitemap | Register Now If you have any problems with the registration process or your account login, please contact us. If you need to reset your http://www.linuxquestions.org/questions/linux-software-2/simple-samba-and-pam-nt_status_logon_failure-277049/ password, click here. Having a problem logging in? Please visit this page to clear all LQ-related cookies. Introduction to Linux - A Hands on Guide This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter. For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own. Click Here to receive this Complete Guide absolutely free. Search this Thread 01-12-2005, 04:49 PM #1 subspawn LQ Newbie Registered: Dec 2004 Location: Belgium, Antwerp Distribution: Slackware, Debian Posts: 5 Rep: Simple Samba and PAM -> NT_STATUS_LOGON_FAILURE I'm using Debian Woody and keep getting the following with all users: spawn@bambi ~ $ smbclient -L sin.khk.be Password: session setup failed: NT_STATUS_LOGON_FAILURE I figured this has something to do with pam and samba configuration: smb.conf: [global] panic action =
Start here for a quick overview of the site Help Center Detailed answers to any questions you might http://serverfault.com/questions/677822/auth-fail-on-samba-server-with-ldap-backend have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads https://bbs.archlinux.org/viewtopic.php?id=190592 with us Server Fault Questions Tags Users Badges Unanswered Ask Question _ Server Fault is a question and answer site for system and network administrators. Join them; it failed with only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Auth fail on Samba server with LDAP backend‏ up vote 1 down vote favorite I'm trying to configure a Samba server to simply use LDAP backend for authenticate failed with error users. Just that, I don't care of PDC/BDC, etc. The samba schema is present in the LDAP, and in the users profile. And this server is already used by an another Samba server which is probably a PDC. But, I don't have write access to the LDAP or the samba server. I can only read de LDAP entries. I can log via SSH on my samba server using LDAP account, so I think that NSS/PAM stuffs are good. The thing is that when I try this command: smbclient -d 2 //sandbox-samba.mydomain.com/MyShare -U user.ldap I get this: rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384) added interface eth0 ip=10.X.X.19 bcast=10.X.X.255 netmask=255.255.255.0 Enter user.ldap's password: session setup failed: NT_STATUS_LOGON_FAILURE And on the samba server side, I have this in the samba logs: [2015/03/24 14:55:19.913036, 2] lib/smbldap.c:1018(smbldap_open_connection) smbldap_open_connection: connection opened [2015/03/24 14:55:19.916244, 3] lib/smbldap.c:1240(smbldap_connect_system) ldap_connect_system: successful connection to the LDAP server [2015/03/24 14:55:19.918237, 3] auth/auth.c:219(check_ntlm_password) check_ntlm_password: Checking password for unmapped user [MYGROUP][user.ldap]@[CLIENT_WS] with the new password interface [2015/03/24 14:55:19.91838
#1 2014-12-02 23:57:08 amatriain Member Registered: 2011-06-02 Posts: 49 [SOLVED] cannot connect to samba server after upgrade After upgrading samba and smbclient packages, I can no longer connect to a samba server. I've dropped and recreated the samba user with pdbedit to make sure it's not a problem with the user or password. I've also made sure that ports 445 and 139 are open in the firewall. I've checked with an android cifs client to make sure that the issue is with the server, not the client.Trying to access a shared folder with Caja using gvfs opens a dialog asking for credentials. Entering the correct user/password/domain just makes the dialog appear again, instead of opening the folder."smbclient -L " correctly lists the shared folder, but when trying to mount it with "mount -t cifs" I get an error:mount error(13): Permission denied Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)which if I'm not mistaken means that the credentials I passed have been rejected.After downgrading both samba and smbclient packages back to 4.1.13-1 version, everything works again.For the moment I've added samba and smbclient to my IgnorePkg array, but I'd like to know if this affects other people or if it's some quirk of my server. Last edited by amatriain (2015-01-15 11:15:13) Offline #2 2014-12-05 02:13:56 hwkiller Member Registered: 2009-07-21 Posts: 55 Re: [SOLVED] cannot connect to samba server after upgrade I am having issues with the latest update too.Could not connect to machine 127.0.0.1: NT_STATUS_LOGON_FAILUREI get the NT_STATUS_LOGON_FAILURE no matter how I connect.I have removed all samba users, re-added them, changed passwords, etc.Even trying to change my own password via smbpasswd results in that error.It worked fine on 4.1.13. Offline #3 2014-12-05 09:14:47 am