Set Uid Failures (SAMBA digest 2427)

Ludek Babor Babor at Glavunion.cz
Tue Feb 29 07:04:05 GMT 2000


> Date:   Wed, 23 Feb 2000 17:34:22 -0600
> From:   Graham Allan <allan at physics.umn.edu>
> To:     samba at samba.org
> Subject: Re: Set Uid Failures
> Message-ID: <20000223173422.J6056 at lanark.spa.umn.edu>
> Mime-Version: 1.0
> Content-Type: text/plain; charset=us-ascii
> 
> We have a similar problem with 2.0.6 on Compaq Tru64 (previously
> Digital) Unix 4.0F. This share is for NT roaming profiles and works
> fine with 2.0.5a.
> 
> [2000/02/23 00:59:51, 1] smbd/service.c:(535)
>   peevish (128.101.220.114) connect to service profiles as user allan
>   (uid=5000,
>  gid=5000) (pid 920)
> [2000/02/23 00:59:51, 0] lib/util_sec.c:(52)
>   Failed to set uid privileges to (0,5000) now set to (5000,5000)
> [2000/02/23 00:59:51, 0] lib/util.c:(2456)
>   PANIC: failed to set uid
> 
> util_sec.c does appear much changed from 2.0.5a but I don't know the
> cause of the problem. I have too many variables which have changed since
> building 2.0.5a to be sure of anything (new OS version, patches, C
> compiler...). I can only guess it is the call to unbecome_user() in
> smbd/service.c which is failing. It is almost behaving as if we have a
> trapdoor uid system (as I understand it), despite never being a problem
> in previous Samba versions.

After run "configure", change in file include/config.h line 
"define USE_SETREUID" to "define USE_SETEUID"
This was documented at 
http://us1.samba.org/listproc/samba-technical/old/5082.html
Question for Jeremy: Will it be fixed in 2.0.7 ???

Best regards
	Ludek Babor			E-Mail: Babor at Glavunion.cz
	operation manager		E-Mail: Ludek.Babor at cz.glaverbel.com
	Glaverbel Czech, a.s., Teplice	Tel: +420-417-503085 (+420-602-388003)
	Sklarska 450			Fax: +420-417-508085
	416 74 Teplice			FIDO: 2:423/74.13

	PGP key available from PGP key servers (http://www.pgp.net/pgpnet)

	I use MIME ISO-8859-2 friendly software.


More information about the samba mailing list