Bug 1233208 - wbinfo fails: Error looking up domain users
Summary: wbinfo fails: Error looking up domain users
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: samba
Version: 21
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Guenther Deschner
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-06-18 12:40 UTC by Marc Rechte
Modified: 2015-06-19 09:39 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-06-19 09:39:49 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Marc Rechte 2015-06-18 12:40:59 UTC
Description of problem:
I am trying to setup an AD member server. I followed the wiki (https://wiki.samba.org/index.php/Setup_a_Samba_AD_Member_Server).
The domain join succeeded

But wbinfo fails:

$ wbinfo -u
Error looking up domain users

I tried to increase windbind log verbosity to 10, but I can see no trace when issuing wbinfo:
/etc/smb.conf
       log level = winbind:10 

Version-Release number of selected component (if applicable):
samba-winbind-clients-4.1.17-1.fc21.x86_64
samba-4.1.17-1.fc21.x86_64

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:
# net ads testjoin
Join is OK

# wbinfo -u
Error looking up domain users

$ rpm -q samba-winbind
samba-winbind-4.1.17-1.fc21.x86_64

$ cat /etc/hosts
127.0.0.1        localhost.localdomain localhost
::1        localhost6.localdomain6 localhost6
192.168.0.84    linuxmr.studelec-sa.com linuxmr

/etc/samba/smb.conf is here:  http://pastebin.com/gAk6nX0x

$ cat /etc/resolv.conf
search studelec-sa.com
nameserver 192.168.0.250

$ cat /etc/krb5.conf (ALTHOUGH THE WIKI DOES STATE ANY CONFIGURATION IS REQUIRED IN THAT FILE)
[logging]
 default = FILE:/var/log/krb5libs.log
 kdc = FILE:/var/log/krb5kdc.log
 admin_server = FILE:/var/log/kadmind.log

[libdefaults]
 dns_lookup_realm = false
 ticket_lifetime = 24h
 renew_lifetime = 7d
 forwardable = true
 rdns = false
# default_realm = EXAMPLE.COM
 # Utile ou pas ?
 default_realm = STUDELEC-SA.COM
 dns_lookup_kdc = true
 default_ccache_name = KEYRING:persistent:%{uid}

[realms]
# EXAMPLE.COM = {
#  kdc = kerberos.example.com
#  admin_server = kerberos.example.com
# }

[domain_realm]
# .example.com = EXAMPLE.COM
# example.com = EXAMPLE.COM

Comment 1 Sumit Bose 2015-06-18 15:18:50 UTC
Please check is accidentally the  sssd-libwbclient package is installed. If yes, please remove it an try again.

Comment 2 Marc Rechte 2015-06-19 05:52:24 UTC
Yes it works !

Many thanks


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