wbinfo -u fails on DSFW server

  • 7004943
  • 30-Nov-2009
  • 08-Nov-2012

Environment

Novell Open Enterprise Server 2 SP2 (OES 2SP2) Linux
Domain Services for Windows
DSFW

Situation

Running the command wbinfo -u returns "Error looking up domain users".

Resolution

The defualt timeout for winbind is 30 seconds. 

Look at the /var/log/samba/log.winbindd.  If you see the following then it is a time out issue.

[2009/11/29 13:09:36, 1] libads/ldap_utils.c:ads_do_search_retry_internal(115)
  ads reopen failed after error Timed out
[2009/11/29 13:09:36, 1] nsswitch/winbindd_ads.c:query_user_list(191)
  query_user_list ads_search: Timed out
[2009/11/29 13:10:21, 1] libads/ldap_utils.c:ads_do_search_retry_internal(115)
  ads reopen failed after error Time limit exceeded
[2009/11/29 13:10:21, 1] nsswitch/winbindd_ads.c:query_user_list(191)
  query_user_list ads_search: Time limit exceeded

In the /etc/samab/smb.conf under the Global section add the following to set the timeout to 200 seconds.
ldap timeout =200