[Samba] APW: Print Driver not Storing for some printer types

2004-02-16 Thread Paul Cochrane
Hi there.
I'm using samba 3.0.2 as a printserver. It's been working for ages and I 
upgraded it the other day to see if it fixed this problem I've been 
having trying to get printer drivers stored onto the server.

The mechanism for uploading drivers seems to be working fine but I've 
recently got two new printers: an HP laserjet4200tn  and OKI c5100. No 
matter what I seem to try, trying to get the APW to install these 
drivers to the print$ share on the sambe printserver fails.  The error 
messages is:
Unable to install HP LaserJet 4200 PS, Windows 2000 or XP, Intel Driver. 
Operation could not be completed.

On pressing the New Driver button, it runs through the wizard OK then 
gives this error on Finish.

What bugs me most is that It's working fine for my old printer drivers 
(mostly a variety of HP laserjets).  I've reinstalled the drivers to 
check but these two refuse to work.

I'm trying to install the latest PS drivers from the internet if that 
helps anyone.

Two other things I have noticed which may be related to the problem:
1. On an XP machine, in the print$/w32x86 dir, there seems to be other 
folders created (hewletpackard. and oki_data_...). Could the drivers 
be trying to install not to the 3 folder as I think they should?

2. On the servers print$ share int the w32x86 folder it seems to try to 
have creates a temporary folder __SKIP_ when the error message is 
popped up.  This folder is empty by the way.

I'm thinking it's the drivers at fault. Or perhaps there's a new driver 
format that Samba doesn't support yet?

Any help on my problem would be appreciated.
Thanks
--
 Paul Cochrane   (paul.m.cochrane (***at***) tuht.scot.nhs.uk)
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Borland Paradox Databases on a samba share

2003-01-21 Thread Paul Cochrane
On 20 Jan 2003 at 15:49, Nose Bear wrote:
 i tryed to use samba to share a paradox database which comes with a
 special trade programs. 
 
 On a novell server it works fine. But on the samba share I get a
 corrupted database after some minutes of multi user access. I've
 tryed some entries in the smb.conf and I think a have a very
 conservative setting now.

Oplocks for the share need to be turned off. It will work OK for a while with oplocks 
on then corrupt eventually. 

 I heared of somebody who uses samba successfully with the same
 application but with a newer linux. I work with suse 6.4 and samba
 2.0.6 . May I hope to solve the problem with a linux update? I read
 in he samba release notes about several bugfixes in locking ... but
 does it solve my problem?

I'd update samba to the latest version. It's really easy to compile from source if you 
cannot get a packaged version for the older distribution.


95 clients also have a bugged vredir and vnetsup. These need updated to work 
properly. These should be available from microsoft. I also disable the network read  
write caching on 95 clients.

I have a method which is called on starting up the database to ensure these settings 
are set.



   -
Paul Cochrane |   Tayside Orthopaedic  |
  | Rehabilitation Technology Centre|
= |-|
  | Ninewells Hospital  Med. School| 
  | Dundee, Scotland, UK.   |
  | DD1 9SY.|
  | Phone:  +44 1382 496284 |
  | Fax:+44 1382 496322 |
  | E-Mail: [EMAIL PROTECTED] |
   -

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



[Samba] Custom smbprint script for testing

2003-01-14 Thread Paul Cochrane
Hello there,

I've produced a modified version of the smbprint script that comes 
with the samba source.

The script is aimed to retry sending the print job if the windows 
machine is switched off at the time of printing (samba seems to just 
drop the print job after a period of time if the machine is off). This 
script will mail you to tell you the machine isn't turned on yet and if 
you go along and turn the machine on, when it boots up, the job 
should print.

The script also figures out if it's printing to an XP machine which 
needs a user/password to print (on my network) and supplies the 
appropriate data.

See the script code in the attachment for further info.

This script has been running for the last 3 months or so on my 
printserver without any problems and I thought I'd pass it on for 
anyone to test and/or use.


   -
Paul Cochrane |   Tayside Orthopaedic  |
  | Rehabilitation Technology Centre|
= |-|
  | Ninewells Hospital  Med. School| 
  | Dundee, Scotland, UK.   |
  | DD1 9SY.|
  | Phone:  +44 1382 496284 |
  | Fax:+44 1382 496322 |
  | E-Mail: [EMAIL PROTECTED] |
   -




smbprint.wait
Description: Binary data


[Samba] Ext3, Lots of Files, Slow performance

2003-01-13 Thread Paul Cochrane
A recent thread has hinted on slow performances on large 
directories (thousands of entries) on the ext2/3 filesystem. I 
appreciate that the answer is to store these directories on a different 
file system or to reorganise the way you store the files into 
subdirectories.

I'd just like to ask has anyone done any tests to determine 
approximately what the limit is before slowdown occurs. I'd guess it's 
maybe dependent on the speed of the CPU, memory and disk 
subsystem but was wondering if anyone has any hard facts.




   -
Paul Cochrane |   Tayside Orthopaedic  |
  | Rehabilitation Technology Centre|
= |-|
  | Ninewells Hospital  Med. School| 
  | Dundee, Scotland, UK.   |
  | DD1 9SY.|
  | Phone:  +44 1382 496284 |
  | Fax:+44 1382 496322 |
  | E-Mail: [EMAIL PROTECTED] |
   -

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



Re: [Samba] XP clients inexplicable pauses

2002-10-23 Thread Paul Cochrane
On 22 Oct 2002 at 21:26, Jeremy Wohl wrote:
 I recently upgraded two client/server pairs to WinXP and Samba 2.2.6
 (on Linux).
 
 Browsing mounted shares causes hangs when right-clicking or double-clicking/
 launching files -- about 15 seconds.  During this, precious little network
 activity is occuring.  Something is hanging, locking, sleeping.

Do you have the netware client installed on these machines? This 
causes timeout problems when right clicking in explorer. There are 
workarounds to relieve this problem which I can explain if this is the 
case.

Paul
   -
Paul Cochrane |   Tayside Orthopaedic  |
  | Rehabilitation Technology Centre|
= |-|
  | Ninewells Hospital  Med. School| 
  | Dundee, Scotland, UK.   |
  | DD1 9SY.|
  | Phone:  +44 1382 496284 |
  | Fax:+44 1382 496322 |
  | E-Mail: [EMAIL PROTECTED] |
   -

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



[Samba] Oplocks, Oplock_break and request Oplock_break

2002-05-10 Thread Paul Cochrane
;--
Doris: win98
[2002/05/10 11:09:24, 0] smbd/dir.c:dptr_close(277)
  Invalid key 283 given to dptr_close
[2002/05/10 11:09:24, 0] smbd/dir.c:dptr_close(277)
  Invalid key 265 given to dptr_close
[2002/05/10 11:09:24, 0] smbd/dir.c:dptr_close(277)
  Invalid key 281 given to dptr_close
[2002/05/10 11:09:24, 0] smbd/dir.c:dptr_close(277)
  Invalid key 271 given to dptr_close


followed by lots of similar lines..




   -
Paul Cochrane |   Tayside Orthopaedic  |
  | Rehabilitation Technology Centre|
= |-|
  | Ninewells Hospital  Med. School| 
  | Dundee, Scotland, UK.   |
  | DD1 9SY.|
  | Phone:  +44 1382 496284 |
  | Fax:+44 1382 496322 |
  | E-Mail: [EMAIL PROTECTED] |
   -


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