Author Topic: Mapping users from Zentyal 6.1  (Read 1435 times)

NecTal

  • Zen Apprentice
  • *
  • Posts: 2
  • Karma: +2/-0
    • View Profile
Mapping users from Zentyal 6.1
« on: March 19, 2020, 01:37:19 pm »
Hello.

I set up Zentyal server with domain and so on. In server everything works as it should.

But now i joined Ubuntu 18.04 desktop to Zentyal domain.

I also was able to map users from zentyal but uid and gid are wrong on all users.

In Zentyal user test_user has id 65593 and gid 2513

In ubuntu desktop user test_user has id 50029 and gid 50004

How can i get id's and gid's to match?

Client smb.conf

Code: [Select]
[global]
        workgroup = MSBALTI2
        realm = TPEE.GROUP
        security = ADS
       
        idmap config * : backend = tdb
        idmap config *:range = 1000-9999
       
        idmap config MSBALTI2:backend = rid
        idmap config MSBALTI2:schema_mode = rfc2307
        idmap config MSBALTI2:range = 10000-99999
         
        template homedir = /home/%U
        template shell = /bin/bash
        winbind use default domain = true
        winbind offline logon = false
        winbind nss info = rfc2307
        winbind enum users = yes
        winbind enum groups = yes
        winbind refresh tickets = yes
       
        vfs objects = acl_xattr
        map acl inherit = Yes
        store dos attributes = Yes

NecTal

  • Zen Apprentice
  • *
  • Posts: 2
  • Karma: +2/-0
    • View Profile
Re: Mapping users from Zentyal 6.1
« Reply #1 on: March 20, 2020, 11:44:04 am »
Since no help from here i searched and tested some more and found answer that works for me.
Just use sssd for user mapping.

Add these lines among else to sssd.conf
Code: [Select]
id_provider = ad
access_provider = ad
ldap_id_mapping = false

Topic closed for me.