Bug 11310 - Consistent UID and GID across Linux clients for multiple domain using autorid
Consistent UID and GID across Linux clients for multiple domain using autorid
Status: NEW
Product: Samba 4.0
Classification: Unclassified
Component: Winbind
4.0.0
x64 Linux
: P5 normal
: ---
Assigned To: Samba QA Contact
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-06-02 16:49 UTC by Mala
Modified: 2015-06-02 16:49 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mala 2015-06-02 16:49:36 UTC
This is my current setup: I have 2 Active Directory servers (AD1 = TEST1) (AD2 = TEST2).AD2 is a trusted domain. And the samba version is 3.6.9-168.el6_5 . I have successfully integrated my linux Clients (Red Hat Enterprise Linux Server release 6.5) to AD1 server with the below smb.conf file.I need consistent UID and GID for both the domain users TEST1 and TEST2. wibinfo -u and -g works fine for me with the below configuration for both the domains.I am able to get consistent UID and GID for the TEST1 domain. But for the TEST2 (trusted domain) , wbinfo -i shows the below error

# wbinfo -i TEST2\\user1
failed to call wbcGetpwnam: WBC_ERR_DOMAIN_NOT_FOUND
Could not get info for user user1

My current smb.conf file as below

[global]
        workgroup = TEST1
        realm = TEST1.LOCAL
        netbios name = LB001
        security = ads
        winbind offline logon = yes
        allow trusted domains = yes
        winbind enum users = yes
        winbind enum groups = yes
        winbind use default domain = yes
        winbind use default domain = yes
        template home dir = /home/%U

        idmap config * : backend = autorid
        idmap config * : range = 1000000-1999999

        template shell = /bin/bash
Need help to get the consistent UID and GID for both the domain with this autorid option.( Using 3.6.9-168.el6_5)

Thanks in advance,