People who code: we want your input. Take the Survey

Questions tagged [winbind]

Winbind is part of the Samba suite and provides an NSS and PAM layer for Unix/Linux systems to integrate authentication with a Windows domain

Filter by
Sorted by
Tagged with
0
votes
0answers
18 views

Winbind use default domain option not working

After using Samba with OpenLDAP, I am migrating to Active Directory. Everything works perfectly, but if I try to connect with an username such as "john.doe", the authentication fails (the ...
1
vote
0answers
39 views

Ubuntu 18.04/20.04 SSSD Configuration Issues

I would like to first mention that I have more experience with the CentOS/RHEL world than I do with configuration of Ubuntu. Most of the Ubuntu systems that I have had to build use default ...
0
votes
0answers
18 views

Using winbind as a domain member to authenticate users from trusted domains that aren't directly contactable doesn't work

I have a Linux server in network A which is joined successfully to, and authenticates happily against, an AD domain also in network A ("domain A"). Domain A has a trust relationship in place ...
0
votes
1answer
43 views

Samba extended ACLs restricting user even though they are in an authorized AD group for the share?

Have Samba extended ACLs (https://wiki.samba.org/index.php/Setting_up_a_Share_Using_Windows_ACLs#Samba_Extended_ACL_Support) via SMB+WinBind set for a CentOS 7 file server to mount shares on a Windows ...
1
vote
1answer
60 views

Restarting winbind service on rhel6, service restarts but ansible fails the run

Seeing this consistently with the playbook below. - hosts: all gather_facts: no become: yes tasks: - name: restart winbind service: name: winbind state: restarted - name: ...
0
votes
0answers
18 views

/etc/skel not used for home dir at first login of Samba4 AD login using pam_winbind

I've set up a Debian linux client machine. It uses pam_winbind to allow Samba4 AD domain users to login locally. This works so far. When a user logs in for the first time, a fresh new home directory ...
0
votes
0answers
10 views

Squid doesn't save AD changes

My Squid-Proxy does not safe group changes in my active directory. So if a user becomes member of another group(meaning the Administrator changes his group settings) winbind will recognize it, but ...
1
vote
0answers
25 views

winbind works but Squid acts wrong

I am trying to get a Squid Proxy running with Kerberos+Samba+Winbind, which is connected to my AD. Everything works great so far! krb auth working wbinfo -u, -a, -g working I made some new testing-...
1
vote
0answers
44 views

AD group membership isn't always reflected

I have a problem regarding AD group membership not being always reflected on a Linux machine. I have joined several CentOS 7.8 machines in my AD, based on Samba and Winbind. After the join, those ...
0
votes
0answers
205 views

Samba SSSD authentication via userPrincipalName does not work because samba claims that the username does not exist. Is that even possible?

i'm investigating the issue that I can't authenticate against a Samba (as Active-Directory Member) using the userPrincipalName (UPN). (Using Samba and sAMAccountName works fine.) After some research I'...
0
votes
0answers
880 views

Pam_unix sshd authentication failure even though the login works?

I have a server that is configured with winbind and samba to provide active directory authentication. The active directory integration works fine however whenever I authenticate I see the following ...
3
votes
0answers
502 views

SSSD procedure for staying joined when renaming AD computer object

Shooting for the moon with this question here. In Windows if you join a client to an AD domain and later if you want to rename the computer object you can do so "seamlessly" without it breaking the AD ...
1
vote
1answer
244 views

Why does realmd list multiples of the same realm?

I'm setting up an Ubuntu server so that users can authenticate against a Windows AD server. Not knowing about realmd, I used Samba Winbind's net join command to join the machine to the domain. ...
1
vote
2answers
2k views

I have to manually restart winbind.service after every reboot. Ubuntu 18.04

S.O. Ubuntu 18.04.4, Samba version 4.7.6-Ubuntu I have this problem with this machine. Whenever the system restarts, winbind.service fail to start properly, and error "clock skew too great" is ...
1
vote
1answer
255 views

Should domain_realm point to a domain controller or KDC, or is it just the default_realm name?

In /etc/krb5.conf, given the folowing default_realm, should [realms].default_domain point at the default_realm or a Domain Controller (DC) or Key Distribution Denter (KDC)? ada and adb are Windows ...
0
votes
1answer
859 views

Active Directory Group Membership not reflecting correctly in linux

Background: On an isolated network. Multiple RHEL6 Linux systems connected to a Windows 2012R2 DC. Systems joined to domain and authenticating with DC. Using IDMAP_RID. No known changes to ...
0
votes
1answer
2k views

Convert Samba Active Directory to sssd instead of winbind

I've inherited a Samba 4 Active Directory (AD) server. It works fine with winbind, however for security reasons we'd like to change to sssd. The domain has two domain controllers (primary and ...
1
vote
0answers
840 views

Samba: authenticate against Active Directory using winbind but authorize against separate OpenLDAP server

Short Version How can I configure a CentOS 7 machine with Samba 4.8.0 serving users on Windows 7 clients to authenticate using their domain login credentials (winbindd and Active Directory) but be ...
1
vote
1answer
206 views

FreeRADIUS can not login with Active Directory user

I install freeradius 3 in debian 9. I can login with user from text file in radius but I want to login with user from Active Directory. First, I install this library. apt install samba winbind krb5-...
1
vote
0answers
25 views

Make winbind rfc2307 optional

Back in the samba-winbind 4.4 days, you could set a default template shell and template directory for AD users, but override these defaults by using rfc2307. This was useful because we could allow ...
0
votes
1answer
548 views

Winbind rfc2307 shell not honored after Samba 4 upgrade

I have CentOS 7 servers with samba-winbind talking to an AD. We use rfc2307 to override the default shell for certain (power) users. One such server is still running an older version of samba-winbind, ...
1
vote
1answer
428 views

Samba File Server shows already deleted users as directory owner / winbind name resolution

I have on a Samba File Server (openSUSE Leap 15), a directory with subdirectorys in which some should have no more owner. User Name Resolution is going by winbind. I want to delete every dir with no ...
0
votes
0answers
537 views

Samba for Debian Stretch keeps asking for password

so I've got the dreaded 'samba keeps asking for password' issue in Debian Stretch. My environment: 2x AD DCs running WS2012R2 A few physical computers and several VMs running on ESXi 6.7 All ...
2
votes
1answer
390 views

pam_winbind: unknown option require_membership_of

I'm trying to configure the VSFTPD with Winbind to restrict users authenticated by Active Directory, only to those that belong to specific group. I'm using a generic conf file for the vsftpd, with ...
1
vote
0answers
921 views

Samba4 in AD Domain: getent shows only local accounts

I had my samba domain member working a few days ago, but now it stopped serving domain users. Some of the steps I already tried: clear caches, rejoin domain, reboot, pam-auth-update, with and without "...
1
vote
1answer
1k views

Moving from LDAP to LDAPS - Ubuntu 14.04 Winbind, Samba

I have an Ubuntu 14.04 AD DS member server which appears to be binding to AD no problem with the following command: wbinfo -g I want to move to using LDAPS now. I configured LDAPS on my 2012 R2 DC ...
2
votes
2answers
619 views

winbind authentication through apache slow

I have a linux machine setup to authenticate users using Active Directory with samba/winbind. Apache is then setup to use that to authenticate the users. This is done using: <IfModule ...
0
votes
0answers
2k views

Need help in joining Centos to AD with Winbind

I am trying to join Centos 7.3 Linux to Microsoft AD through winbind and while learning, I am failing to do so. I can not use sssd because authentication needs to talk cross forest, which sssd doesn't ...
8
votes
4answers
13k views

Joining Ubuntu Server 17.04 to Windows AD: Likewise vs Centrify vs Winbind vs SSSD

I have quite a few Ubuntu Server 17.04 hosts that must be joined to an existing Windows AD domain (Windows Server 2016). I've never done it before, but I'm aware about several ways to achieve this, ...
1
vote
4answers
28k views

Samba 4: domain joined, but all users are mapped to nobody, and shares are inaccessible from Windows clients

I've got a Debian/Jessie Samba 4.2.14 running as an AD member. ADC is a Windows2008R2 server. Join worked without problem. # net ads testjoin Join is OK wbinfo -u and wbinfo -g work perfectly and ...
1
vote
0answers
1k views

Samba Winbind fail to lookup “domain users” group

Debian samba server authenticated with active directory "# id username" is able to lookup all group id but just "domain users" is missing intermittently, result in (servername\none) # id test.user ...
2
votes
0answers
9k views

Unable to authenticate to AD using Kinit - cache file not found

I'm trying to set up Winbind with PAM and Kerberos to authenticate CentOS 7 against active directory. So far this is what I've done: yum -y install authconfig krb5-workstation pam_krb5 samba-common ...
0
votes
0answers
1k views

Unable to log in as root or domain user

Solved - See Update 2 below. We have a Debian Jessie DNS / SSH server. I have joined it to our AD domain by following this guide and created a cron job to sync the time with a domain controller ...
1
vote
0answers
2k views

Set up Samba with Active Directory and local user authentication

My main goal is to set up a Samba-Server, to where users can connect to by using their Active-Directory credentials. Additionally, local linux users on the Samba-Server should be able to authenticate. ...
1
vote
2answers
8k views

winbindd gss_init_sec_context failed with [Unspecified GSS failure]

Running CentOS7. Every hour I get the same error message. I have no problems authentication. I believe there is a Redhat solution but I don't have subscription. https://access.redhat.com/solutions/...
1
vote
1answer
117 views

Easier method of setting up Winbind auth in LMDE?

Some GNU/Linux distros (CentOS comes to mind) have a neat Authentication Config tool, in which you may specify which auth methods (files, NIS, Winbind etc) to use. You specify the needed parameters (e....
0
votes
0answers
577 views

CentOS 7 group permissions not allowing access to folder

I have a CentOS7 box, "box1", domain joined using Winbind + RID method. I have a folder (NFS mount) @ /shares/share. The permissions are: root@box1:/shares# ls -n /shares/ total 8 drwxrws--- 2 0 ...
4
votes
1answer
2k views

Inconsistent winbind info on Samba 4 AD domain controller

I've setup a Samba 4 AD domain controller on Debian Jessie (samba 4.2.10). Everything's working fine, except that winbind gives wrong user/group information. I have a sample user "testuser" and a ...
0
votes
1answer
152 views

Resolve NetBIOS names without full qualification

I am connected to my office VPN and I can successfully RDP into my computer using the fully qualified name for it PC00001.myofficevpn.plc. When I try to connect using only the hostname PC00001, I do ...
3
votes
1answer
2k views

wbinfo -u does not show AD users (is empty)

We have a problem on a Ubuntu Server 14.04 (fileserver) connected to AD on a Windows Server 2008 R2 using Samba (version 4.3.8)/WinBind and Kerberos. The problem is that users do not have writing ...
1
vote
2answers
2k views

Initialise Kerberos ticket on ssh login using PAM

Right, so I am struggling a bit with PAM in Centos7. I have no idea how to configure it manually and make the changes permanent so that I get a kerberos ticket after a successful ssh login. The ...
-1
votes
1answer
749 views

Samba file server as domain member: error when joining domain

I would like to set up samba 4 to share a local directory, so that domain users are allowed to mount the directory. I don't want domain users to be able to log in the linux machine, they should only ...
4
votes
2answers
9k views

Groupmapping does not work for AD groups

We have an ActiveDirectory where we get our users from. So authentication on the linux machine works over pam. We managed this part to work so far, but we need all users to be part of the local group ...
1
vote
0answers
1k views

Random SSH connection timeout on first try to CentOS servers

Have got a curious issue with SSH on CentOS 6 and haven't found a solution yet. We have our CentOS 6 servers all joined to an Active Directory 2012 R2 domain using Winbind. It is not used for ...
2
votes
3answers
1k views

linux - windows ad authentication - why join domain?

When using Windows AD to authenticate users on Linux servers is there an advantage to using Winbind and "Joining the Domain" over just authenticating via Kerberos and looking up UID,GID, home dir, etc ...
1
vote
0answers
250 views

Winbind forgets who I am

On one of our Ubuntu 14.04 servers, running Winbind 4.1.6+dfsg-1ubuntu2.14.04.9, Winbind periodically forgets who I am, resulting in strange errors like ssh aborting with an "unknown uid" error ...
0
votes
0answers
8k views

Output from “wbinfo --user-groups USER” and “wbinfo --group-info GROUP” do not match

I am using Red Hat Enterprise Linux Server release 6.7 with winbindd/smbd version 3.6.23-20.0.1.el6. I created some new AD groups and added existing users. I used this command: wbinfo --group-info &...
2
votes
0answers
951 views

Samba doesn't seem to stay joined to Active Directory domain [closed]

I can initially join a linux box to the domain with these commands: sudo kinit administrator@WINDOWS.CORP.SPRINGVENTUREGROUP.COM sudo net ads join -k After a few hours or the next day, this happens: ...
0
votes
0answers
594 views

How can I use winbind to return a filter-id based on group membership?

I have a couple of FreeRadius 3.0.9 servers which were just put into production on our Meraki network. We want to use user group membership in Active Directory to determine policy to be carried out by ...
1
vote
1answer
971 views

Apache NTLM not authenicating domain username/password.

I have a centos box and I am trying to setup NTLM authenication for apache. I have the linux box on the AD domain already and able to get user and group info using the wbinfo command. I have the ...