Re: [Samba] Adding printer drivers from WinXP

2003-03-07 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 6 Mar 2003, Jean-Rene Cormier wrote:

> Well I'm trying to setup the Samba server to act as a print server too.
> I had uploaded the drivers for the 4 printers we have and I installed
> all 4 printers on my test computer and it worked well. But when I got
> back from my vacations one of the tech told me that he couldn't install
> the printer drivers from the server and when I check the driver didn't
> seem to be in the driver list anymore. Now when I try to re-upload the
> drivers it give me an error about not being able to save the parameters
> because there's not enough memory. And in my log I get a bunch of these:
> 
> tdb(/var/cache/samba/ntprinters.tdb): rec_read bad magic 0xd9fee666 at
> offset=9260

Looks like your tdb got corrupted.  What version of Samba are you running?
In newer 2.2 releases this holds the printer_info_2 data for printer 
objects (such as what driver is associated with it).

You'll have to delete the tdb and start over (shouldn't have to reupload 
drivers though).  Or restore it from a backup.



cheers, jerry
 --
 Hewlett-Packard- http://www.hp.com
 SAMBA Team -- http://www.samba.org
 GnuPG Key   http://www.plainjoe.org/gpg_public.asc
 "You can never go home again, Oatman, but I guess you can shop there."  
--John Cusack - "Grosse Point Blank" (1997)

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.0 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/

iD8DBQE+aKfAIR7qMdg1EfYRAqNOAJ9dLLt2eBNQRwYLtW4v6GGZVn9E1gCgvdx+
8Upumh6ouDXPDK8TqwsMbtE=
=mb6U
-END PGP SIGNATURE-

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


[Samba] Adding printer drivers from WinXP

2003-03-06 Thread Jean-Rene Cormier
Well I'm trying to setup the Samba server to act as a print server too.
I had uploaded the drivers for the 4 printers we have and I installed
all 4 printers on my test computer and it worked well. But when I got
back from my vacations one of the tech told me that he couldn't install
the printer drivers from the server and when I check the driver didn't
seem to be in the driver list anymore. Now when I try to re-upload the
drivers it give me an error about not being able to save the parameters
because there's not enough memory. And in my log I get a bunch of these:

tdb(/var/cache/samba/ntprinters.tdb): rec_read bad magic 0xd9fee666 at
offset=9260

What can I do about that?

Here's my print$ share:

[print$]
path = /var/lib/samba/printers
guest ok = No
browseable = No
read only = Yes
valid users = @users
write list = root, jrc

Jean-Rene Cormier

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