[Samba] Migrating from NT4 print server to Samba print server
Kirk B. Dice
kirk at wadipetroleum.com
Thu Apr 6 21:09:04 GMT 2006
Thanks Marcos. I had to 'chmod 777 /etc/samba/drivers/W32X86' (for NT
drivers) instead of WIN40 and was able to add the drivers. Then I ran into
WERR_ACCESS_DENIED when I tried to setdriver. I found that changing 'use
client driver = yes' in my smb.conf to 'use client driver = no' solved it.
I am now up and running. I appreciate the help.
Kirk
----- Original Message -----
From: "marcos rocha" <mczueira at yahoo.com.br>
Hi Kirk,
try this:
- use smbclient to copy all files from
\\file_server\print$\WIN40\0 to
/var/lib/samba/printers/WIN40
- use chmod to change de default permission on the
/var/lib/samba/printers/WIN40 to 777
- use rpcclient to add the device drivers and register
this driver to the printer
- use chown to change the owner of the files on
/var/lib/samba/printers/WIN40/0 to root.root
- use chmod to change the permissions to the default.
[]s
Marcos
--- "Kirk B. Dice" <kirk at wadipetroleum.com> escreveu:
> Hello,
>
> I was hoping someone could help me with migrating
> printers from a WinNT4 print server to a Samba
> server. I have searched the web for days and haven't
> found a solution. I am running Slackware 10.1;
> kernel 2.4.29. I upgraded Samba to 3.0.21c recently
> and I am using LPR v3.8.28 as my print spooler.
>
> Here is the response from the 'rpc migrate printers'
> command:
>
> root at roadrunner:/etc>net rpc printer MIGRATE
> PRINTERS "HPDeskJet600" \
> -S Larry -U administrator
> Password: xxxxxxx
> migrating printer queue for: [\\LARRY\HP DeskJet
> 600] / [HPDeskJet600]
> cannot open printer \\127.0.0.1\HPDeskJet600 on
> server \\127.0.0.1: WERR_INVALIE
> cannot get printer-info: DOS code 0x0000001a
> could not get printer, creating printer.
> creating printer: \\LARRY\HP DeskJet 600
> could not create printer [\\LARRY\HP DeskJet 600]
> root at roadrunner:/etc>
> Thanks
>
> Kirk
> --
> To unsubscribe from this list go to the following
> URL and read the
> instructions:
> https://lists.samba.org/mailman/listinfo/samba
>
_______________________________________________________
Yahoo! doce lar. Faça do Yahoo! sua homepage.
http://br.yahoo.com/homepageset.html
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
More information about the samba
mailing list