unbecome_user bug reproduced in Beta-5

thwartedefforts at wonky.org thwartedefforts at wonky.org
Sat Jan 9 23:22:32 GMT 1999


On Sat, 09 January 1999, Dejan Ilic wrote:

> [1999/01/08 17:36:53, 0] smbd/uid.c:unbecome_user(292)
>   chdir(/export/users/wheel/src/samba/samba-2.0.0beta5/source) failed
> in unbecome_user

I beleive the 292 is the line number from which that debug output is being displayed from  -- it's not the parameter to unbecome_user.

> Notice that the daemon complains that it can't chdir TO THE SOURCE
> directory. I have reported this earlier and tonight I succeded in
> reproducing it.

This could be related to starting up samba while in the source directory.  After installation, change to / or /tmp, and start it from there.

I always use the following steps when upgrading:
 - configure as root (to make sure all tests are done)
 - chown root created files to myself
 - compile as myself
 - su to root
 - stop samba
 - install new binaries
 - cd /
 - start samba

Andy.

> Also notice that I have no users with user-ID 292 and that it affect
> all requests for mounting shares and probaby more things also as my
> logs have several such error a second (20 or more) until it gives up.
> A couple minutes later the same procedure.




More information about the samba-ntdom mailing list