problem authenticating user with current CVS
louis.botha at cs.up.ac.za
louis.botha at cs.up.ac.za
Wed Aug 19 12:25:26 GMT 1998
Hi Pierre,
The same "feature" had me confused for a few hours too... :-)
setresuid() and setresgid() are only introduced in Linux kernels 2.1.44
and up. The autoconf script isn't clever enough to figure out which
kernel you're running.
Regards,
Louis
-----------------------------------------------------------------------
Louis Botha Computer Science Department
louis.botha at cs.up.ac.za University of Pretoria
Tel: +27-12-420-3617 Pretoria
Cell: +27-82-924-4616 South Africa
http://www.cs.up.ac.za/~lbotha
-----------------------------------------------------------------------
On 19 Aug, Pierre-Jules Tremblay wrote:
>
> I was able to solve my problem by removing the line
>
> #define HAVE_SETRESUID 1
>
> from include/config.h. I don't know why setresgid() fails in uid.c.
> I am currently using glibc-2.0.6 with a Linux 2.0.35 kernel.
>
> Is this a known bug? Maybe change the autoconf stuff to unset that
> #define for this particular configuration?
>
> Pierre
>
>>
>>
>> I just updated my samba binaries to the latest (as of a half-hour ago)
>> CVS tree. Unfortunately, users are no longer authenticated properly,
>> i.e. I get a "bad password" message. Using samba binaries from three
>> weeks ago, everything is fine.
>>
>> Below is a level-10 log of the transaction. I think the section of
>> interest is where it says "Cannot become connected user". I also
>> include my smb.conf at the end.
>>
>> Thanks for your help,
>>
>> Pierre Tremblay
>>
>> - snip -
>>
<big snip>
>> [1998/08/18 10:33:35, 0] smbd/uid.c:become_gid(136)
>> Couldn't set gid 500 currently set to (0,0)
>> [1998/08/18 10:33:35, 0] smbd/service.c:make_connection(419)
>> Can't become connected user!
>> [1998/08/18 10:33:35, 3] smbd/connection.c:yield_connection(40)
>> Yielding connection to public
More information about the samba-ntdom
mailing list