[Pkg-samba-maint] Bug#746229: cifs-utils: first attempt at mount.cifs after reboot fails

PELLER Zoltan zpeller at zzsoft.hu
Mon Apr 27 18:31:15 UTC 2015


I can confirm the bug on a fresh Jessie install (amd64). And the problem is
even worse, than the bug report states, as it happens from time to time,
unrelated to the boot time. I use autofs automounter, and the first access
of any of the automount directories always fails. Next attempt successful. 

Changing samba debug level to 10, these were the first different log lines:

  Create local NT token for sambauser
[2015/04/26 22:16:05.532690, 10, pid=3036, effective(0, 0), real(0, 0), class=tdb] ../source3/lib/gencache.c:296(gencache_set_data_blob)
  Adding cache entry with key=[IDMAP/SID2XID/S-1-5-21-1926378044-615406353-1386413454-1000] and timeout=[Thu Jan  1 01:00:00 AM 1970 CET] (-1430079365 seconds in the past)

  Create local NT token for sambauser
[2015/04/26 22:17:13.532059, 10, pid=3071, effective(0, 0), real(0, 0)] ../source3/lib/idmap_cache.c:56(idmap_cache_find_sid2unixid)
  Parsing value for key [IDMAP/SID2XID/S-1-5-21-1926378044-615406353-1386413454-1000]: value=[-1:U]

The first (Adding cache) was a failure, the second (Parsing value) was a
success.

After some more debugging, it turned out that the problem lies somewhere
around winbindd. After stopping winbindd, all worked fine. As I don't need
it, I even uninstalled the whole package, but others might not be so lucky
to be able to live without it.

I can attach the full logs, if needed.

Samba version 4.1.17-Debian (2:4.1.17+dfsg-2)

Regards,
Zoltan



More information about the Pkg-samba-maint mailing list