[Samba] Error in netlogon service samba 2.2.4?

werner maes werner.maes at cc.kuleuven.ac.be
Tue May 14 08:16:13 GMT 2002


At 09:18 14/05/2002, you wrote:
>On Wed, 8 May 2002, werner maes wrote:
>
> > Hello,
> >
> > If I try to mount the netlogon service using smbclient, I get this error
> > message:
> >
> > [root at testserver /root]# smbclient //localhost/netlogon -U u0023628
> > INFO: Debug class all level = 2   (pid 7257 from pid 7257)
> > added interface ip=10.33.6.132 bcast=10.33.6.255 nmask=255.255.255.0
> > Got a positive name query response from 127.0.0.1 ( 127.0.0.1 )
> > Password:
> > Domain=[PCLAB] OS=[Unix] Server=[Samba 2.2.4]
> > smb: \> ls
> >    .                                   D        0  Wed Nov  7 15:36:29 2001
> >    ..                                  D        0  Mon May  6 15:07:59 2002
> >    SAMPROF                             D        0  Fri Feb  8 16:36:44 2002
> >    scripts                             D        0  Wed May  8 15:56:27 2002
> >    test.bat                            A       63  Mon Jul  9 15:36:01 2001
> >    nts.bat                             A       37  Wed Nov  7 15:36:29 2001
> > Error in dskattr: SUCCESS - 0
> > smb: \> Segmentation fault (core dumped)
> >
> > As a result, the domain logon process fails (the logon scripts are not
> > executed).
> > On a Win98 PC I get the message: This device does not exist on the 
> network,
> > reading drive Z.
> >
> > In the logs, I get:
> >
> > [2002/05/08 16:07:35, 0] lib/util_sec.c:assert_gid(111)
> >    Failed to set gid privileges to (-1,50000954) now set to (0,0) uid=(0,0)
> > [2002/05/08 16:07:35, 0] lib/util.c:smb_panic(1092)
> >    PANIC: failed to set gid
> >
> > This only happens with the netlogon share ! If I mount any other share, it
> > works fine.
> > Also this problem only occurs with certain user accounts.
> >
> > No problems with: uid=500(werner) gid=500(werner) groups=500(werner)
> > Problem with: uid=16778(u0023628) gid=50000954(LUDIT) 
> groups=50000954(LUDIT)
>
>What OS is this?  Does you system fully support 32-bits uids/gids?

Well, I've done some extra tests and I think that I've found the cause. I 
compiled the 2.2.4 source code on a RH 7.1 machine with XFS 1.1.
Then I installed these created rpm's on a RH 7.1 machine with XFS 1.0.1 and 
it gave the problems which I described.
Now I compiled the source code on the RH7.1 machine with XFS 1.0.1 and 
installed it and the problem did no longer occur.

Of course, now I still have to find out whether samba-2.2.4 works on an 
machine with XFS 1.1.

Werner





More information about the samba mailing list