RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1253217 - Unable to get users from trusted realm via wbinfo -u
Summary: Unable to get users from trusted realm via wbinfo -u
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: samba
Version: 7.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Andreas Schneider
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-08-13 09:04 UTC by Robin Hack
Modified: 2015-08-19 06:47 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-08-19 06:47:56 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Robin Hack 2015-08-13 09:04:57 UTC
Description of problem:
Hi. I have windows 2003 (ZELGROUP) bidirect trust to windows 2012 (ZELTRUST).

I join samba to ZELGROUP.

then i call wbinfo -u and i see:
# wbinfo -u
ZELGROUP\guest
ZELGROUP\administrator
ZELGROUP\krbtgt
ZELGROUP\example.com$
...
just no ZELTRUST users...

but then I call id:

# id ZELTRUST\\Administrator
uid=10001(ZELTRUST\administrator) gid=10005(ZELTRUST\domain users) groups=10005(ZELTRUST\domain users),10006(ZELTRUST\denied rodc password replication group),10007(ZELTRUST\schema admins),10008(ZELTRUST\enterprise admins),10009(ZELTRUST\group policy creator owners),10010(ZELTRUST\domain admins)


Version-Release number of selected component (if applicable):
samba-4.2.3-4.el7.x86_64

How reproducible:
always

Steps to Reproduce:
1. You need bidirectional trust
2. Join samba to one of trust
3. wbinfo -u
(try to get list of users from both domains)

Actual results:
Only users from joined trust are visible.

Expected results:
Users visible from both trusts.

Additional info:

Comment 6 Robin Hack 2015-08-13 09:19:25 UTC
My smb.conf:
[global]
#--authconfig--start-line--

# Generated by authconfig on 2015/08/13 10:55:58
# DO NOT EDIT THIS SECTION (delimited by --start-line--/--end-line--)
# Any modification may be deleted or altered by authconfig in future

   workgroup = ZELGROUP
   password server = *
   realm = ZELGROUP.ZEL
   security = ADS
   idmap config * : range = 10000-20000
   template shell = /bin/bash
   kerberos method = secrets only
   winbind use default domain = false
   winbind offline logon = true

#--authconfig--end-line--
log level = 5
idmap config * : range = 10000-20000
;realm = ZELGROUP.ZEL
netbios name = muflon-4
;workgroup = ZELGROUP
;security = ADS
;password server = *
wins server = 10.34.36.16, 
encrypt passwords = yes

Comment 7 Andreas Schneider 2015-08-18 22:26:47 UTC
wbinfo --domain='*' -u

will enumerate over all domains. This is a change in Samba 4.2 See 

https://bugzilla.samba.org/show_bug.cgi?id=10034

Comment 8 Robin Hack 2015-08-19 06:47:56 UTC
Hi Andreas!

Thanks. I fixed test. Not a bug at all.


Note You need to log in before you can comment on or make changes to this bug.