Stablising the winbind interface for squid's NTLM code

2002-05-24 Thread Andrew Bartlett
It has been discussed for a litle bit that the winbind interface used by squid needs some stabiliy. In particular, the squid team doesn't want to have to chase every release (let along alpha) version just to make their product work. The initial suggestion was that we create a shared library and

Re: Thanks for fixing oplock.c for Linux 2.0 in 2_2 CVS

2002-05-24 Thread Jeremy Allison
On Fri, May 24, 2002 at 10:26:00PM -0400, Richard Bollinger wrote: > Right... or if it times out because of the dead time setting... so it's shouldn't be >that rare > in the wild. I have a feeling that a lot of folks just disable oplocks to avoid the >"troubles". > My test at work showed that t

Re: Thanks for fixing oplock.c for Linux 2.0 in 2_2 CVS

2002-05-24 Thread Richard Bollinger
Right... or if it times out because of the dead time setting... so it's shouldn't be that rare in the wild. I have a feeling that a lot of folks just disable oplocks to avoid the "troubles". My test at work showed that the problem did not occur with a W2K server when I forced the disconnect fr

Re: Thanks for fixing oplock.c for Linux 2.0 in 2_2 CVS

2002-05-24 Thread Jeremy Allison
On Fri, May 24, 2002 at 02:05:12PM -0400, Richard Bollinger wrote: > OK... time for a brain flush and refill... > > I went back and verified my test conditions and determined that the same failure can >be demonstrated > with every server platform we own running Samba 2.X with oplocks enabled and

Re: samba-patches heads up

2002-05-24 Thread Andrew Bartlett
"Green, Paul" wrote: > > A brief note that I am building Samba 2.2.4 with a fussy POSIX environment > and catching a number of small bugs and minor glitches in the source code. I > am posting the patches to [EMAIL PROTECTED] I am pleased to say that > the source code of Samba 2.2.4 is significant

Re: Thanks for fixing oplock.c for Linux 2.0 in 2_2 CVS

2002-05-24 Thread Jeremy Allison
On Fri, May 24, 2002 at 07:16:07PM -0400, Richard Bollinger wrote: > Same exact failure with > Linux 2.0.38 > Linux 2.2.20 > Linux 2.4.18 > SunOS 5.6 > > I'll have to let you know Tuesday if it fails with just any old executable... but >I'd expect it > would. Well can you send m

Re: Thanks for fixing oplock.c for Linux 2.0 in 2_2 CVS

2002-05-24 Thread Richard Bollinger
Same exact failure with Linux 2.0.38 Linux 2.2.20 Linux 2.4.18 SunOS 5.6 I'll have to let you know Tuesday if it fails with just any old executable... but I'd expect it would. Rich B - Original Message - From: "Jeremy Allison" <[EMAIL PROTECTED]> To: "Richard Bollinger"

Re: Thanks for fixing oplock.c for Linux 2.0 in 2_2 CVS

2002-05-24 Thread Jeremy Allison
On Fri, May 24, 2002 at 02:05:12PM -0400, Richard Bollinger wrote: > OK... time for a brain flush and refill... > > I went back and verified my test conditions and determined that the same failure can >be demonstrated > with every server platform we own running Samba 2.X with oplocks enabled and

Re: VFS: create/append log file (UPDATE) - I got it ...

2002-05-24 Thread troutb
I had the a+ transposed. woops should of cut and pasted, but thats so windows > FILE *log; > log = fopen( "/tmp/x.log", "a+" ); > fprintf( log, "Logging actions for ..." ); > > fopen returns errno(22) "Invalid argument" > > this code works great in a test program .. > > is there something a

Re: VFS: create/append log file (UPDATE) - I got it ...

2002-05-24 Thread troutb
I had the a+ transposed. woops should of cut and pasted, but thats so windows > FILE *log; > log = fopen( "/tmp/x.log", "a+" ); > fprintf( log, "Logging actions for ..." ); > > fopen returns errno(22) "Invalid argument" > > this code works great in a test program .. > > is there something a

Re: VFS: create/append log file (UPDATE) - help

2002-05-24 Thread troutb
FILE *log; log = fopen( "/tmp/x.log", "a+" ); fprintf( log, "Logging actions for ..." ); fopen returns errno(22) "Invalid argument" this code works great in a test program .. is there something about VFS that would prevent fopen ?? > > I've trying to create a log file in a VFS mod

Re: Pages in a printjob

2002-05-24 Thread Wichert Akkerman
Previously Travis Freeland wrote: > For page counting we simply ask the printer how many pages it printed > after the job is complete. Unfortunately I need to know the number of pages in advance in order to decide of a user has enough credit available. Wichert. -- __

Re: Pages in a printjob

2002-05-24 Thread Travis Freeland
Off topic because it's not samba.. but we had a samba based one going first.. And ended up deciding it was not necessary to place another middleman between the client and the printer. Macs/Windows/Unix all have pretty good implementations of lpr. We put in a solution based around lprng and an

samba-patches heads up

2002-05-24 Thread Green, Paul
A brief note that I am building Samba 2.2.4 with a fussy POSIX environment and catching a number of small bugs and minor glitches in the source code. I am posting the patches to [EMAIL PROTECTED] I am pleased to say that the source code of Samba 2.2.4 is significantly cleaner with respect to the P

Re: Samba as a gateway to OpenAFS

2002-05-24 Thread Steve Langasek
On Fri, May 24, 2002 at 10:44:54AM -0600, Steve Holstead wrote: > Unfotunately, we have the need to offer AFS space to our users via SAMBA. > In doing so, we have had to introduce a number of patches to accomplish > this task. The methodology was discussed at the LISA 2000 conference re: > http:/

Re: bug with samba bugs ....

2002-05-24 Thread Gerald Carter
On 24 May 2002, Simo Sorce wrote: > Ask tridge he created it? > I asked for a simple drop of the spam :) I clean it out. cheers, jerry

Re: bug with samba bugs ....

2002-05-24 Thread Simo Sorce
Ask tridge he created it? I asked for a simple drop of the spam :) On Fri, 2002-05-24 at 19:58, Gerald Carter wrote: > On Fri, 24 May 2002, Hunt, Bryan wrote: > > > > > http://bugs.samba.org/cgi-bin/samba-bugs keeps timing out, I notice > > there are 1998 messages in the spam folder, could this

Re: Thanks for fixing oplock.c for Linux 2.0 in 2_2 CVS

2002-05-24 Thread Richard Bollinger
OK... time for a brain flush and refill... I went back and verified my test conditions and determined that the same failure can be demonstrated with every server platform we own running Samba 2.X with oplocks enabled and with a Win98 client. Here's the setup: On Win98 client: net use i: \\

Re: DCERPC dissecting and srvsvc_srv_get_get_info ...

2002-05-24 Thread Gerald Carter
On Fri, 24 May 2002, Richard Sharpe wrote: > Hi, > > I am trying to dissect some SRVSVC RPCs, and am running into a small > problem with the info 101 etc structs. > > The structure goes like this ... > > LONG level > Ptr to structure > Structure { > LONG Platform ID > Ptr to nam

Re: bug with samba bugs ....

2002-05-24 Thread Gerald Carter
On Fri, 24 May 2002, Hunt, Bryan wrote: > > http://bugs.samba.org/cgi-bin/samba-bugs keeps timing out, I notice > there are 1998 messages in the spam folder, could this be impacting on > it's response time ? Comes up fine for me. But thaty does seem kind of opintless doesn't it. Simo, any rea

Re: Printer administration problem in Samba 2.2.4

2002-05-24 Thread Gerald Carter
On Fri, 24 May 2002, Samuli A Valo wrote: > > I am currently having similar problem. Our enviroment consist of native > NT4 pdc+bdc and several samba (2.2.4) servers (running under Linux) doing > actual work as member servers of the domain :) > > There are problems with viewing and setting p

Re: Pages in a printjob

2002-05-24 Thread Simo Sorce
On Fri, 2002-05-24 at 17:55, John E. Malmberg wrote: > If you could charge by the killobyte sent to the printer, that could > probably done accurately. with raw data kilobytes are NOT a good choice. printers today accept many data formats. the same image in postscript and jpeg use a really diff

Re: Printer administration problem in Samba 2.2.4

2002-05-24 Thread Samuli A Valo
I am currently having similar problem. Our enviroment consist of native NT4 pdc+bdc and several samba (2.2.4) servers (running under Linux) doing actual work as member servers of the domain :) There are problems with viewing and setting printer properties on the server. These problems seems

Re: Thanks for fixing oplock.c for Linux 2.0 in 2_2 CVS

2002-05-24 Thread Jeremy Allison
On Fri, May 24, 2002 at 10:00:43AM -0400, Richard Bollinger wrote: > How embarassing... still apparently broken / inconsistent :-( > > Client is win98 4.10.1998. > > [2002/05/24 08:36:40, 0] smbd/server.c:main(707) > smbd version 2.2.5-pre started. > Copyright Andrew Tridgell and the Samba T

Re: Pages in a printjob

2002-05-24 Thread Jeremy Allison
On Fri, May 24, 2002 at 02:55:58PM +0200, Wichert Akkerman wrote: > I'm working on a system where customers have to pay for pages they > print, and as such it is essential that I have the pagecount of > a printjob before I send it to the printer. > > Looking at the samba sources the number of pag

Re: Samba as a gateway to OpenAFS

2002-05-24 Thread Steve Holstead
Unfotunately, we have the need to offer AFS space to our users via SAMBA. In doing so, we have had to introduce a number of patches to accomplish this task. The methodology was discussed at the LISA 2000 conference re: http://www.usenix.org/events/lisa2000/full_papers/beck/beck_html/index.html T

Re: tabs and formating - was Re: [PATCH] winbind id assignment module

2002-05-24 Thread Jim McDonough
>> There does not seem to be a style book for coding on the SAMBA project. > >Thank goodness... There are some guidelines, more about technical content than format, in the HEAD cvs tree, in samba/source/CodingSuggestions Jim McDonough IBM Linux Technology Center Samb

Urgent Please Help

2002-05-24 Thread Anil Dubey
Dear Samba Technical Team Members,>> I didnot know how and to whom send my problem so I am writing to you in> hope of getting some solution from your side. Well my problem is that We> are having a HP-UX 11i Server on that we have CIFS/9000 Server installed.> Now first of let me explain you what we

Re: tabs and formating - was Re: [PATCH] winbind id assignment module

2002-05-24 Thread Christopher R . Hertel
On Fri, May 24, 2002 at 11:53:53AM -0500, John E. Malmberg wrote: : > There does not seem to be a style book for coding on the SAMBA project. Thank goodness... Samba style rule-of-thumb: When editing a file, always keep the existing format. If there are multiple formats in the file, do only *m

tabs and formating - was Re: [PATCH] winbind id assignment module

2002-05-24 Thread John E. Malmberg
Mike Gerdts wrote: > On Sat, 2002-05-18 at 20:54, Andrew Bartlett wrote: > >>This looks *much* better. >> >>I'm not sure on the 'reload' functionality, but I suppose its a good >>idea. Other than minor things like indenting, (Try 8-space tabs) I >>think this is well on its way to inclusion. >

Filenames management error

2002-05-24 Thread Raúl Martínez
Hi. There may be a (very funny, instead) problem with filenames management Problem Description: - Long filenames with accents (specially if uc) cannot be retrieved from the server DEPENDING ON THE EXISTENCE OF OTHER FILES WITH SIMILAR NAME OR THE STORING ORDER. System Description: Ser

Re: Pages in a printjob

2002-05-24 Thread John E. Malmberg
> On Fri, May 24, 2002 at 02:55:58PM +0200, Wichert Akkerman wrote: >I'm working on a system where customers have to pay for pages they >print, and as such it is essential that I have the pagecount of >a printjob before I send it to the printer. This is a difficult thing to do accurately. For p

Re: VFS: create/append log file

2002-05-24 Thread Jelmer Vernooij
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > FILE *log; > log = open( path, "a+" ); > fprintf( log, "Logging actions for ...' ); > it hangs ... on the fprintf and I get an empty file. > I am not a good C program ... > is this the right calls and procedure for making a log file in a VF

bug with samba bugs ....

2002-05-24 Thread Hunt, Bryan
http://bugs.samba.org/cgi-bin/samba-bugs keeps timing out, I notice there are 1998 messages in the spam folder, could this be impacting on it's response time ? --B -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, May 24, 2002 2:54 PM To: [EMAIL PROTEC

Re: Thanks for fixing oplock.c for Linux 2.0 in 2_2 CVS

2002-05-24 Thread Richard Bollinger
How embarassing... still apparently broken / inconsistent :-( Client is win98 4.10.1998. [2002/05/24 08:36:40, 0] smbd/server.c:main(707) smbd version 2.2.5-pre started. Copyright Andrew Tridgell and the Samba Team 1992-2002 (rab@LS01) (gcc version 2.7.2.3) #1 Fri May 24 07:21:54 EDT 2002

VFS: create/append log file

2002-05-24 Thread troutb
I've trying to create a log file in a VFS module without using syslog. I want to pass in a logfile name via options. But, when I put the following in the vfs_init section. FILE *log; log = open( path, "a+" ); fprintf( log, "Logging actions for ...' ); it hangs ... on the fprintf and I

Re: Pages in a printjob

2002-05-24 Thread Alexander Bokovoy
On Fri, May 24, 2002 at 02:55:58PM +0200, Wichert Akkerman wrote: > I'm working on a system where customers have to pay for pages they > print, and as such it is essential that I have the pagecount of > a printjob before I send it to the printer. > > Looking at the samba sources the number of pag

Pages in a printjob

2002-05-24 Thread Wichert Akkerman
I'm working on a system where customers have to pay for pages they print, and as such it is essential that I have the pagecount of a printjob before I send it to the printer. Looking at the samba sources the number of pages in a printjob is sent as part of the job_info_2 structure and extracted b

Re: [PATCH] Various

2002-05-24 Thread Andrew Bartlett
Jelmer Vernooij wrote: > > Hi, > > Here's the patch that includes this afternoon's fix for current CVS, > together with some other things: > > - fix passdb, don't loop when loading all backends fails > - passdb fails when loading of at least one backend fails > - convert net to popt > - convert