SUSE Support

Here When You Need Us

winbind - one way trust does not work

This document (000020245) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise Server 15 SP2

Situation

This is a particular scenario where DOMAIN1 has a one way trust with DOMAIN2.
Using 2 way trust between DOMAIN1 and DOMAIN2 at AD windows it is working in the same winbind setup.
For example, when try to login as "DOMAIN1\user" using ssh, it is working. In case "DOMAIN2\user", cannot login and appears the following messages in /var/log/messages:
pam_winbind(sshd:auth): request wbcLogonUser failed: WBC_ERR_AUTH_ERROR, PAM error: PAM_AUTHINFO_UNAVAIL (9), NTSTATUS: NT_STATUS_NO_LOGON_SERVERS, Error message was: No logon servers are currently available to service the logon request.

Resolution

Try to set "krb5_auth = no" in /etc/security/pam_winbind.conf.

Cause

If krb5_auth is set to yes winbind tries to open a NETLOGON pipe to a domain controller in DOMAIN2 and fails because its computer account is in DOMAIN1 and the trust direction is the opposite. This is one of the pam_winbind.conf issues mentioned in the samba 4.8 release notes.

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:000020245
  • Creation Date: 13-May-2021
  • Modified Date:17-May-2021
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

tick icon

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

tick icon

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

tick icon

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.