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,