winbindd losing trust relationship once in a while (Samba 3.0)
Nir Soffer
nirs at exanet.com
Wed Feb 12 16:16:58 GMT 2003
> -----Original Message-----
> From: Ken Cross [mailto:kcross at nssolutions.com]
> Sent: Wednesday, February 12, 2003 3:41 PM
> To: Nir Soffer; 'Tim Potter'; samba-technical at lists.samba.org
> Subject: RE: winbindd losing trust relationship once in a
> while (Samba 3.0)
>
>
> The patch works on SAMBA_3_0 as of 5 minutes ago. How did
> you patch it
> manually?
Well, I looked at the patch saw that it moves the static variable last_scan outside of the function and inserted the last_scan = 0 wherever it should be.
> The messages you see below are normal and don't indicate any real
> problems.
Except the fact that wbinfo -u didn't work.
Downloading the CVS again, this is what I got when I ran wbinfo -u (without any patch)
2003/02/12 18:15:37, 6] rpc_parse/parse_prs.c:prs_debug(81)
000018 smb_io_pol_hnd domain_pol
[2003/02/12 18:15:37, 5] rpc_parse/parse_prs.c:prs_uint32(592)
0018 data1: 00000000
[2003/02/12 18:15:37, 5] rpc_parse/parse_prs.c:prs_uint32(592)
001c data2: 00000000
[2003/02/12 18:15:37, 5] rpc_parse/parse_prs.c:prs_uint16(563)
0020 data3: 0000
[2003/02/12 18:15:37, 5] rpc_parse/parse_prs.c:prs_uint16(563)
0022 data4: 0000
[2003/02/12 18:15:37, 5] rpc_parse/parse_prs.c:prs_uint8s(679)
0024 data5: 00 00 00 00 00 00 00 00
[2003/02/12 18:15:37, 5] rpc_parse/parse_prs.c:prs_ntstatus(621)
002c status: NT_STATUS_INVALID_PARAMETER
[2003/02/12 18:15:37, 10] nsswitch/winbindd.c:client_write(460)
client_write: wrote 1300 bytes.
[2003/02/12 18:15:37, 10] nsswitch/winbindd.c:winbind_client_read(414)
client_read: read 0 bytes. Need 1312 more for a full request.
[2003/02/12 18:15:37, 5] nsswitch/winbindd.c:winbind_client_read(419)
read failed on sock 12, pid 6200: EOF
> Ken
--
Nir Soffer -=- Software Engineer, Exanet Inc. -=-
"The poor little kittens; They lost their mittens;
And now you all must die. Mew, Mew, Mew, Mew,
And now you all must die." www.sluggy.com, 24/10/02
>
> -----Original Message-----
> From: samba-technical-bounces+kcross=nssolutions.com at lists.samba.org
> [mailto:samba-technical-bounces+kcross=nssolutions.com at lists.s
amba.org]
On Behalf Of Nir Soffer
Sent: Wednesday, February 12, 2003 8:15 AM
To: Tim Potter; samba-technical at lists.samba.org
Subject: RE: winbindd losing trust relationship once in a while (Samba
3.0)
[snip]
>
> I wonder whether the trusted domains patch that went by today
> fixes this
> as well? Would you mind trying it?
Since the patch doesn't apply to a20, and I couldn't be bothered to
check why properly - I downloaded the CVS version, for the hell of it.
The patch didn't apply to that either, so I did it manually.
Both before and after the patch, not only did the trusted domains not
work, but I couldn't do a wbinfo -u that worked.
This snippet probably explains why:
[2003/02/12 15:14:42, 10] nsswitch/winbindd.c:winbind_client_read(414)
client_read: read 1312 bytes. Need 0 more for a full request.
[2003/02/12 15:14:42, 10] nsswitch/winbindd.c:process_request(297)
process_request: request fn LIST_USERS
[2003/02/12 15:14:42, 3]
nsswitch/winbindd_user.c:winbindd_list_users(533)
[21233]: list users
[2003/02/12 15:14:42, 10] nsswitch/winbindd.c:client_write(460)
client_write: wrote 1300 bytes.
[2003/02/12 15:14:42, 10] nsswitch/winbindd.c:winbind_client_read(414)
client_read: read 0 bytes. Need 1312 more for a full request.
[2003/02/12 15:14:42, 5] nsswitch/winbindd.c:winbind_client_read(419)
read failed on sock 12, pid 21233: EOF
So, sorry, but that doesn't seem to work.
Alpha 20 was the last version that actually worked for me...
--
Nir Soffer -=- Software Engineer, Exanet Inc. -=-
"The poor little kittens; They lost their mittens;
And now you all must die. Mew, Mew, Mew, Mew,
And now you all must die." www.sluggy.com, 24/10/02>
More information about the samba-technical
mailing list