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
136
questions
0
votes
0
answers
16
views
Debian: Set persistent winbind group for tape device
A ProLiant server with Ultrium 6-SCSI tape driven by smartpqi, running Debian 10.13. Server is member of a Windows domain using winbind and nsswitch.conf:
group: files winbind. Group membership of /...
0
votes
1
answer
60
views
Winbind and AD: Local users with identical AD usernames
we successfully got Samba up and running with Winbind on our openLeap 15.4.
The Linux server is a member of the Windows domain.
Due to a user with identical name in AD as well as locally on the Linux ...
0
votes
1
answer
341
views
Failed to join a computer to samba domain (Zentyal) - Couldn't join realm: Insufficient permissions to join the domain
I'm relatively new Zentyal user (few months), and I love it! But I've ran into a problem I hope someone can help me with.
In my deployment I have two Zentyal servers (zentyal-1.mydomain.com and ...
0
votes
0
answers
568
views
UID of windows Active Directory user seems to have been overwritten on storage host passwd
I have an issue which has me scratching my head, and I dont know where I need to enable deeper logging to find the source of the issue.
We have a third party appliance, where we do have root ssh ...
0
votes
0
answers
235
views
Samba doesn't run root preexec
I have Windows Server 2019 AD and Samba Winbind joined to the AD. The Samba is technically used for home directories and a shared folder between all domain users.
How to force Samba to create ...
0
votes
1
answer
484
views
Samba Winbind - Windows Server AD - Users are able to see each other's home directories
I'm running AlmaLinux and Samba Winbind joined into Windows Server 2019 AD. The domain users have home directories and a pccommon directory (shared folder).
When I create a new domain user in the ...
1
vote
0
answers
3k
views
Samba/Winbind domain member authentication issue
In setting up a new Linux Samba fileserver as a AD member I keep running into an issue with authentication.
It appears to be triggered by running with selinux in Enforcing mode after joining AD, but ...
1
vote
1
answer
904
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 ...
1
vote
1
answer
1k
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
1
answer
209
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: ...
1
vote
0
answers
167
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
0
answers
64
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
0
answers
2k
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
0
answers
2k
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
1
answer
1k
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. ...
3
votes
2
answers
6k
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
1
answer
673
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
1
answer
2k
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
1
answer
7k
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
0
answers
1k
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
1
answer
585
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
0
answers
42
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
1
answer
944
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
1
answer
727
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
0
answers
799
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
1
answer
831
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
0
answers
1k
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
1
answer
2k
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
2
answers
916
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 ...
8
votes
4
answers
14k
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
4
answers
36k
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
0
answers
2k
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
0
answers
13k
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
0
answers
2k
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 ...
2
votes
1
answer
4k
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
2
answers
10k
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
1
answer
137
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
0
answers
992
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 ...
6
votes
1
answer
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
1
answer
208
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
1
answer
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
2
answers
3k
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
1
answer
906
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 ...
5
votes
2
answers
11k
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
0
answers
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
3
answers
2k
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
0
answers
259
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
0
answers
10k
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
0
answers
1k
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 [email protected]
sudo net ads join -k
After a few hours or the next day, this happens:
...
0
votes
0
answers
887
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 ...