[Samba] initialise_groups/initgroups input/output error

2003-10-30 Thread Jason Barker
Hello everyone,

I did a little searching and didn't come up with much on this.
I just upgraded our Samba server from 2.2.3a to 2.2.8a to get it running on
the latest 2.2.x release.
After doing this, "Unable to initgroups, Error was Input/output error"
messages are showing up in all the smbd log files (except log.smbd)
regularly. We've never had this problem before with 2.2.3a.

Example:
[2003/10/30 07:54:16, 0] smbd/sec_ctx.c:initialise_groups(244)
  Unable to initgroups. Error was Input/output error
[2003/10/30 08:06:05, 0] smbd/sec_ctx.c:initialise_groups(244)
  Unable to initgroups. Error was Input/output error
[2003/10/30 08:20:19, 0] smbd/sec_ctx.c:initialise_groups(244)
  Unable to initgroups. Error was Input/output error

Any ideas?

Thanks,
Jason
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


RE: [samba] files locked

2002-05-16 Thread Jason Barker
Title: RE: [samba] files locked





Well, I am afraid I may not be able to provide much help, but have you tried setting oplocks=no in the share's service definition in smb.conf?

-Original Message-
From: Daniel Tan [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 16, 2002 1:05 AM
To: samba
Subject: Re: [samba] files locked



i guess that my question is not being answered by anyone...:(


- Original Message - 
From: "Daniel Tan" <[EMAIL PROTECTED]>
To: "samba" <[EMAIL PROTECTED]>
Sent: Wednesday, May 15, 2002 9:50 AM
Subject: [samba] files locked



> Hi,
> i not sure whether this is a samba question. but here goes, i sometimes have problems deleting files from the server that has a samba share.it says the files can't be deleted...it seems that the file is being locked...if i have oplocks inserted in the smb.conf file, will it help? is there any way to remove the restriction manually so there's no need to restart the server in order to delete the file? the server is running on suse 6.1

> 
>  
> Regards, 
> 
> Daniel Tan 
> 7469188 Ext.665 
> MIS Department 
> Shop N Save Pte Ltd 
> 





RE: [Samba] samba 2.2.3a loses WINS registration

2002-04-26 Thread Jason Barker
Title: RE: [Samba] samba 2.2.3a loses WINS registration





Just a quick note about this:
I was having this problem for a month or two, and a few weeks ago, I got in touch with Jeremy through this mailing list and he was able to track down the problem.

He made a change to nmbd_mynames.c, I replaced the one in 2.2.3a with it, and it fixed the problem.


So, if you would rather use 2.2.3a with this fix, rather than use the latest CVS, you can replace the nmb_mynames.c in the 2.2.3a source with the one attached to this message, and recompile. In the Samba source, nmbd_mynames.c is in /source/nmbd.

I suppose the Samba CVS would be OK though, since, from what I've read on the list, the 2.2.4 release is VERY close.



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 26, 2002 12:34 PM
To: Andrew Morgan
Cc: Gerald Carter; [EMAIL PROTECTED]
Subject: Re: [Samba] samba 2.2.3a loses WINS registration



On Fri, Apr 26, 2002 at 11:07:49AM -0700, Andrew Morgan wrote:
> 
> 
> On Thu, 25 Apr 2002, Gerald Carter wrote:
> 
> > On Thu, 25 Apr 2002, Andrew Morgan wrote:
> >
> > >
> > > Since upgrading to Samba 2.2.3a on several of our servers, we are having
> > > trouble with nmbd not maintaining the WINS registration.  After the WINS
> > > server expires the record, our users in other subnets cannot find the
> > > server.  Restarting nmbd registers the server again in WINS, but nmbd
> > > doesn't reregister at 20 minute intervals as before.
> >
> > I think I remember jeremy fixing something like post 2.2.3a.  Please
> > test the SAMBA_2_2 cvs tree and see if you still experience the
> > problem.
> >
> > For some reason I thought we had fixed this before
> 
> Okay, I checked out SAMBA_2_2 just now, but I'm getting an error when I
> compile it.  I'm using:
> 
> ./configure --prefix=/private/samba --without-winbind --with-syslog
> 
> and the make goes for a while, then gives me:
> 
> ...
> Compiling tdb/tdbbackup.c
> Linking bin/tdbbackup
> Compiling utils/make_printerdef.c
> Linking bin/make_printerdef
> Compiling utils/smbpasswd.c
> utils/smbpasswd.c: In function `join_domain_byuser':
> utils/smbpasswd.c:354: invalid operands to binary !=
> make: *** [utils/smbpasswd.o] Error 1


Just fixed it - Herb's IRIX compiler didn't catch it
when he added the error message.


Jeremy


 




nmbd_mynames.c
Description: Binary data