Hi ! I hate to do this but I'm close to get crazy about printing with samba. I have a samba server ver 2.2.5 running as a domain controler. The domain logon works fine, I've created the computer account by hand for testing and it is great. The problem is with printing. I've created the [print$] share all the directories in this share like W32ALPHA, W32MIPS, W32PPS, W32X86, WIN40. When I try to install a driver from a WIN NT4.0 machine the driver files are coppied succesfull and after this i get a message like: "Unable to change to the specified driver, original settings will be restored." I hope it is nothing releated to the fact that first I have tried to install the driver from a win2000 machine .... all the time I was trying to add the driver as user "root" so the accest to ntdrivers.tdb should not be a problem. smb.conf file : ------------------------------------------------------ [global] ; Basic server settings netbios name = GANJA workgroup = CCT ; we should act as the domain and local master browser os level = 64 preferred master = yes domain master = yes local master = yes ; security settings (must user security = user) security = user printer admin = @ntadmin ; encrypted passwords are a requirement for a PDC encrypt passwords = yes ; support domain logons domain logons = yes ; where to store user profiles? logon path = \\%N\profiles\%u ; where is a user's home directory and where should it ; be mounted at? logon drive = H: logon home = \\homeserver\%u ; specify a generic logon script for all users ; this is a relative **DOS** path to the [netlogon] share logon script = logon.cmd ; necessary share for domain controller [netlogon] path = /export/smb/netlogon read only = yes write list = @ntadmin,root ; share for storing user profiles [profiles] path = /export/smb/ntprofile read only = no create mask = 0600 directory mask = 0700 [print$] path = /export/smb/print guest ok = yes browseable = yes read only = yes write list = @ntadmin,root [HP5000N] comment = HP 5000N Floor 1 create mask = 0700 path = /export/smp/spool print command = /usr/bin/lpr -Plp -r -h -s %s lpq command = /usr/bin/lpq -Plp lprm command = /usr/bin/lprm -Plp %j lppause command = /usr/bin/lpc stop %p lpresume command = /usr/bin/lpc start %p browseable = yes writable = no printable = yes ----------------------------------------------------------------------------- Thank you in advance, Adrian Ciocildau
On Thu, 18 Jul 2002, Adrian Ciocildau wrote:> I've created the [print$] share all the directories in this share like > W32ALPHA, W32MIPS, W32PPS, W32X86, WIN40. > When I try to install a driver from a WIN NT4.0 machine the driver files are > coppied succesfull and after this i get a message like: > > "Unable to change to the specified driver, original settings will be > restored."What driver? If you are using 2.2.5 have you applied the patch from http://download.samba.org/samba/ftp/patches/jerry/post-2.2.5/ cheers, jerry --------------------------------------------------------------------- Hewlett-Packard http://www.hp.com SAMBA Team http://www.samba.org -- http://www.plainjoe.org "Sam's Teach Yourself Samba in 24 Hours" 2ed. ISBN 0-672-32269-2 --"I never saved anything for the swim back." Ethan Hawk in Gattaca--
I don't know if this is the accepted practice, but the way I "fixed" the problem with the PCL 5e drivers was 1) sit down and test 2) cry 3) install the PCL version of the drivers (notice the lack of the '5e') PCL 6 also worked, albeit much slower, but PCL 5e dies every time. -Larry Engleman The Burgiss Group 201-795-5144 -----Original Message----- From: Tim Allen [mailto:timallen@ls83.fsnet.co.uk] Sent: Wednesday, July 31, 2002 2:38 PM To: Gerald Carter Cc: samba@lists.samba.org Subject: Re: [Samba] Please Help. Samba as PDC and printing Gerald Carter wrote:> On Thu, 18 Jul 2002, Adrian Ciocildau wrote: > > > I've created the [print$] share all the directories in this share like > > W32ALPHA, W32MIPS, W32PPS, W32X86, WIN40. > > When I try to install a driver from a WIN NT4.0 machine the driver filesare> > coppied succesfull and after this i get a message like: > > > > "Unable to change to the specified driver, original settings will be > > restored." > > What driver? If you are using 2.2.5 have you applied the patch from > http://download.samba.org/samba/ftp/patches/jerry/post-2.2.5/ >Same for me. 2.2.5 with patches above. Driver is HP 6P PCL 5e for NT4: lj373en.exe from the HP web site http://h20000.www2.hp.com/bizsupport/TechSupport/DriverDownload.jsp?prodNumC3980A&prodName=hp+LaserJet+6p+printer&locale=en_US&taskId=8418&taskName=dow nload+drivers+%26+software&prodTypeId=18972&prodSeriesId=25477&prodSeriesNam e=hp+LaserJet+6p%2Fmp+printer+series#Microsoft