Bug 12908 - Winbind can't receive any user/group information
Summary: Winbind can't receive any user/group information
Status: NEW
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Winbind (show other bugs)
Version: 4.3.11
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Samba QA Contact
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-14 13:46 UTC by Piviul
Modified: 2017-07-14 13:46 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Piviul 2017-07-14 13:46:13 UTC
Hi, after upgrading ubuntu to 16.04 LTS (samba 4.3.11) I found that winbind  doesn't resolve user/group informations. I have to restart winbind a few times to have it begun to works again. Seems a regression of the bug 8371 (https://bugzilla.samba.org/show_bug.cgi?id=8371). I found a workaround. I have created the script /usr/local/sbin/winbind_restart.sh:

# cat /usr/local/sbin/winbind_restart.sh
#!/bin/bash

wbinfo -u 2>&1 > /dev/null;
if [ $? -eq 1 ]; then
    service winbind restart 2>&1 > /dev/null; 
    #  ci riprovo fra 1 minuto
    TIME=$(date -d '+1 min' +%H:%M);
    echo $0 | /usr/bin/at $TIME > /dev/null 2>&1;
fi

and I put /usr/local/sbin/winbind_restart.sh in /etc/rc.local. In a few minutes with this workaround the user can logon again.

I know, is a very rough workaround but I found no other way... :(

Piviul