[Samba] getent passwd works but all wbinfo commands fail

rusking rusking at live.cn
Thu Sep 25 11:32:01 MDT 2014


Hi,Allen Chen,thanks for your reply, I changed the file as you said, and
rejoin the domain,restart the winbind, but it did't work.
[root at netfolderserver ~]# net ads leave -U administrator
Enter administrator's password:
Deleted account for 'NETFOLDERSERVER' in realm 'IAMTEST.COM'
[root at netfolderserver ~]# net ads join
Enter root's password:
Failed to join domain: failed to lookup DC info for domain 'IAMTEST.COM'
over rpc: Logon failure
[root at netfolderserver ~]# net ads join -U administrator 
Enter administrator's password:
Using short domain name -- IAMTEST
Joined 'NETFOLDERSERVER' to realm 'iamtest.com'
[root at netfolderserver ~]# net ads status
Enter root's password:
[2014/09/26 00:43:16.027751,  0] libads/kerberos.c:333(ads_kinit_password)
  kerberos_kinit_password root at IAMTEST.COM failed: Client not found in
Kerberos database
[2014/09/26 00:43:16.041498,  0] libads/kerberos.c:333(ads_kinit_password)
  kerberos_kinit_password root at IAMTEST.COM failed: Client not found in
Kerberos database
[2014/09/26 00:43:16.054947,  0] libads/kerberos.c:333(ads_kinit_password)
  kerberos_kinit_password root at IAMTEST.COM failed: Client not found in
Kerberos database
-bash: idmap: command not found
[root at netfolderserver ~]# net ads info
LDAP server: 10.168.51.183
LDAP server name: citrix-test01.iamtest.com
Realm: IAMTEST.COM
Bind Path: dc=IAMTEST,dc=COM
LDAP port: 389
Server time: Fri, 26 Sep 2014 00:45:23 CST
KDC server: 10.168.51.183
Server time offset: 2
[root at netfolderserver samba]# wbinfo -t
could not obtain winbind interface details!
could not obtain winbind domain name!
checking the trust secret for domain (null) via RPC calls failed
Could not check secret
[root at netfolderserver samba]# wbinfo -t
could not obtain winbind interface details!
could not obtain winbind domain name!
checking the trust secret for domain (null) via RPC calls failed
Could not check secret
[root at netfolderserver samba]# wbinfo -g
Error looking up domain groups
=====================
realm = IAMTEST.COM
idmap config IAMTEST : schema_mode = rfc2307
idmap config IAMTEST : range = 30000-40000
;idmap config IAMTEST : default = yes
;idmap config IAMTEST : backend = rid
idmap config IAMTEST : backend = ad
idmap config * : backend = tdb
idmap config * : range = 10000-20000

winbind nss info = rfc2307
winbind trusted domains only = no
winbind enum groups = yes
winbind enum users = yes
winbind separator = /
winbind use default domain = yes
;winbind rpc only = yes
template homedir = /home/share/%U
template shell = /bin/bash
============================



--
View this message in context: http://samba.2283325.n4.nabble.com/getent-passwd-works-but-all-wbinfo-commands-fail-tp4673174p4673228.html
Sent from the Samba - General mailing list archive at Nabble.com.


More information about the samba mailing list