lsa query failing (fwd)
Luke Kenneth Casson Leighton
lkcl at samba.org
Tue Sep 14 16:42:45 GMT 1999
<a href="mailto:lkcl at samba.org" > Luke Kenneth Casson Leighton </a>
<a href="http://www.cb1.com/~lkcl"> Samba and Network Development </a>
<a href="http://samba.org" > Samba Web site </a>
<a href="http://www.iss.net" > Internet Security Systems, Inc. </a>
---------- Forwarded message ----------
Date: Tue, 14 Sep 1999 09:14:17 +0100
From: Alan Hourihane <alanh at pinacl.co.uk>
To: 'Luke Kenneth Casson Leighton' <lkcl at samba.org>
Subject: RE: lsa query failing
Thanks Luke,
Does this look correct ?
*** srv_lsa.c.old Tue Sep 14 09:09:12 1999
--- srv_lsa.c Tue Sep 14 09:12:19 1999
***************
*** 586,603 ****
static BOOL api_lsa_close( uint16 vuid, prs_struct *data,
prs_struct *rdata)
{
! /* XXXX this is NOT good */
! size_t i;
! uint32 dummy = 0;
!
! for(i =0; i < 5; i++) {
! if(!prs_uint32("api_lsa_close", rdata, 1, &dummy)) {
! DEBUG(0,("api_lsa_close: prs_uint32 %d failed.\n",
! (int)i ));
! return False;
! }
}
!
return True;
}
--- 586,601 ----
static BOOL api_lsa_close( uint16 vuid, prs_struct *data,
prs_struct *rdata)
{
! LSA_R_CLOSE r_c;
!
! ZERO_STRUCT(r_c);
!
! /* store the response in the SMB stream */
! if (!lsa_io_r_close("", &r_c, rdata, 0)) {
! DEBUG(0,("api_lsa_close: lsa_io_r_close failed.\n"));
! return False;
}
!
return True;
}
Alan.
-----Original Message-----
From: Luke Kenneth Casson Leighton [SMTP:lkcl at samba.org]
Sent: 13 September 1999 21:47
To: Alan Hourihane
Subject: RE: lsa query failing
samba 2.0.5a.
ah.
i did the commit to cvs main repository, not 2.0.5a. i don't work on
2.0.X, only on cvs main.
oops.
ok, can you check out the main cvs source code and fix it cut/paste style?
see http://samba.org/cgi-bin/cvsweb/samba/source/rpc_server/srv_lsa.c,
obtain a diff and patch it to 2.0.5a.
On Mon, 13 Sep 1999, Alan Hourihane wrote:
> Same problem luke. here's this log though.
>
> Alan.
>
>
> -----Original Message-----
> From: Luke Kenneth Casson Leighton [SMTP:lkcl at samba.org]
> Sent: 09 September 1999 19:17
> To: alanh at pinacl.co.uk
> Cc: Multiple recipients of list
> Subject: lsa query failing
>
> ok fixed. do a cvs update on rpc_server/srv_lsa.c, please let me know if
> it works. reply direct: i am not on any public samba lists.
>
> > Subject: RE: FW: Update problems
> >
> > Luke,
> >
> > Thanks for taking a look.
> >
> > Here's the debug log at 100.
> >
> > Alan.
> >
> >
> > -----Original Message-----
> > From: Luke Kenneth Casson Leighton [SMTP:lkcl at samba.org]
> > Sent: 09 September 1999 17:38
> > To: Alan Hourihane
> > Subject: Re: FW: Update problems
> >
> > connection refused on 445 is irrelevant. smbpasswd trys on port 139,
> > which succeeds.
> >
> > your report contains insufficient info, please send debug log level 100.
> >
> > On Thu, 9 Sep 1999, Alan Hourihane wrote:
> >
> > > I get the same too.
> > >
> > > [1999/09/08 09:19:04, 0] smbd/dfs.c:init_dfs_table(128)
> > > No DFS map, Samba is running in NON DFS mode
> > > [1999/09/08 09:19:04, 1] lib/util_sock.c:open_socket_out(746)
> > > error connecting to 193.32.209.22:445 (Connection refused)
> > > [1999/09/08 09:19:05, 0] rpc_client/cli_lsarpc.c:lsa_close(627)
> > > LSA_CLOSE: NT code 0f0e0d0c
> > > [1999/09/08 09:19:05, 1] lib/sids.c:get_domain_sids(266)
> > > lsa query info failed
> > > [1999/09/08 09:19:05, 0] smbd/server.c:main(687)
> > > ERROR: Samba cannot obtain PDC SID from PDC(s) WALES.
> > >
> > > But I have three 2.0.5a servers talking to my PDC (WALES)
> > > with no problems.
> > >
> > > I used the smbpasswd from 2.0.5a to join the domain after
> > > suffering with smbpasswd.
> > >
> > > Alan.
> > >
> > > -----Original Message-----
> > > From: Bernard PRADIE [SMTP:bernard.pradie at sncf.fr]
> > > Sent: 08 September 1999 08:09
> > > To: Multiple recipients of list SAMBA-NTDOM
> > > Subject: Re: Update problems
> > >
> > > I have the same problem with smbpasswd.
> > > 445 seems to be a port. what service ?
> > > #grep 445 source/*
> > > #rgrep 445 docs
> > > no result !
> > >
> > > I use ./configure --with-syslog --with-quota
> > >
> > > May I miss a doc ?
> > > does I forget --with-profile ? (I use [Profile] in my smb.conf)
> > >
> > > Alexandre Lecuyer wrote (a ecrit) :
> > > >
> > > > Hi all,
> > > >
> > > > We've been using a cvs from mid-july until now without
> > > > problems, except sometimes when saving word documents.. I
> > > > have read in the list archive that a cvs update would help,
> > > > but I didn't get it to work.
> > > > (I have been off for holidays, probably missed a few things :)
> > > >
> > > > in "log.smb" I get:
> > > > No DFS map, Samba is running in NON DFS mode
> > > > Where can I find docs about that ?
> > > >
> > > > using "smbpasswd", I get:
> > > > error connecting to <server IP>:445 (Connection refused)
> > > > Then I get the usual prompts, and the passwd is changed.
> > > >
> > > > I can connect to shares using "smbclient", but from an NT client
> > > > it doesn't work.
> > > > - The domain's joined succesfully
> > > > - After a reboot login is denied:
> > > > [1999/09/06 17:51:43, 3] smbd/reply.c:reply_sesssetup_and_X(655)
> > > > Domain=[] NativeOS=[Windows NT 1381] NativeLanMan=[]
> > > > ^^^^^^^^^
> > > > [1999/09/06 17:51:43, 3] smbd/reply.c:reply_sesssetup_and_X(658)
> > > > sesssetupX:name=[]
> > > > ^^^^^^^
> > > > [1999/09/06 17:51:43, 3] lib/util.c:get_unixgroups(2379)
> > > > nobody is in 1 groups: 99
> > > > ^^^^^^
> > > >
> > > > If I revert to the old binaries everything works fine again.. so
> > > > I guess I have missed some changes since july.
> > > > Any pointer's welcome !
> > > > Thanx,
> > > >
> > > > --
> > > > Alexandre Lecuyer
> > > > CCRI IUT-IUP de Vannes
> > >
> > > --
> > > __________________________________________________________________________
> > > Bernard PRADIE
> > > S.N.C.F. Tel. 01.53.42.92.84
> > > Direction de la Recherche FAX. 01.53.42.92.17
> > > 45, rue de Londres e-mail bernard.pradie at sncf.fr
> > > 75379 PARIS Cedex 08
> > > __________________________________________________________________________
> > >
> > >
>
More information about the samba-ntdom
mailing list