[Bug 216358] Re: Samba crashes repeatedly to assert_uid

Paul Dufresne dufresnep at gmail.com
Thu Mar 26 22:55:14 GMT 2009


Thanks Anders, I should have seen this "Read more..." link.

For me, this helps to know if samba logs have the following line:
setresuid failed with EAGAIN.

But the latest ppa1 version probably won't do that, you'd have to revert
to plain samba first.

And the Samba log are many files by default because of the:
   log file = /var/log/samba/log.%m
inside /etc/samba/smb.conf file.

Removing .%m at the end should allow to put all messages in one file,
which could make it easier to grep EAGAIN on it.

The idea is that this give a clue as if it have failed for permissions
errors (no EAGAIN), or because of EAGAIN error, which is much more
harder to understand why.

But as current code, only show this #if USE_SETRESUID
then not seeing EAGAIN message is not that much a clear information.

Slightly rewriting that part could help a lot I guess.
I am not too used to that kind of programming, but I guess I could try to write a little patch that would help to pinpoint the problem. (without really fixint it... although it could fix it).

-- 
Samba crashes repeatedly to assert_uid
https://bugs.launchpad.net/bugs/216358
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.



More information about the Ubuntu-server-bugs mailing list