LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-30-2018, 10:35 AM   #1
Nirayah
LQ Newbie
 
Registered: Apr 2018
Posts: 1

Rep: Reputation: Disabled
Troubles with uIDs on samba AD in mixed OS environment


HI all.

I've got working samba AD server. It is playing nicely with Windows 10 and also successfully authenticating Linux machines with SSSD.
On the Windows machines I have our EMC storage smb mounted via group policy. Managing permissions for users and groups there, as you know, happens with right click, security etc..

As you may have already guessed the troubles come when my Linux machines, that access the storage via nfs mount, need to work with folders and files created from the Windows PCs.
The CentOS computers see created files and folders with the Windows uIDs (from 10000 on) while doing id user provides uID in sort the of 1115001181. Obviously this is a problem when I need to access windows created stuff in Linux, and the other way around.

I'm quite sure that this is common and known issue, but I don't know what is the right way to deal with it, so any wisdom will be helpful.


Here's my AD server smb.conf file

Quote:
[global]
netbios name = AD
realm = XXXXXX
server role = active directory domain controller
server services = s3fs, rpc, nbt, wrepl, ldap, cldap, kdc, drepl, winbindd, ntp_signd, kcc, dnsupdate
workgroup = XXXX
idmap config XXXX:unix_nss_info = yes
log file = /var/log/samba/samba.log
log level = 3
[netlogon]
path = /usr/local/samba/var/locks/sysvol/XXXXXX/scripts
read only = No
[sysvol]
path = /usr/local/samba/var/locks/sysvol
read only = No
Also, sssd.conf

Quote:
[sssd]
domains = xxxx
config_file_version = 2
services = nss, pam
[domain/xxxx]
ad_domain = xxxx
krb5_realm = XXXX
realmd_tags = manages-system joined-with-samba
cache_credentials = True
id_provider = ad
krb5_store_password_if_offline = True
default_shell = /bin/bash
ldap_id_mapping = True
use_fully_qualified_names = False
fallback_homedir = /home/%u
access_provider = ad
Here, switching ldap_id_mapping = True to False breaks the connection and I can no longer authenticate.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
GCC in Mixed Environment popowich Solaris / OpenSolaris 2 03-02-2009 03:35 PM
Samba as a PDC in a mixed environment jason.rohde Linux - Server 1 07-23-2008 12:12 PM
Kerberos in a mixed environment cygnus-x1 Linux - Security 1 09-22-2006 10:59 AM
SIDs and UIDs and RIDs! Oh My! (SAMBA) calabash Linux - Networking 0 08-10-2005 07:18 PM
Backup Software for mixed environment jedimastermopar Linux - General 2 09-24-2004 03:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration