Daniel Horth
2002-Jul-13 05:57 UTC
[Samba] samba printing 2.2.5 - RPC server is unavailable
Hiya - oh so close to getting our samba 2.2.5 server running at last - but being palgued by printer setup problems... I've never quite been able to get printing working 100% under samba and am beginning to wonder if it's a problem with the way the printing subsystem is set up under Redhat. Anyway - I've got samba installed and acting as PDC for a variety of WinNT and Win98 clients, the win 98 clients can install and print to the four printers fine and I can print from linux... so printers are set up ok as far as I know... The problem is when I try to set up or install the printers under WinNT - at the moment all I get is a message stating "Could not connect to the printer: The RPC server is unavailable" A strange thing is that the printers are all listed along with the samba shares - not in the printers forlder, also the "add printer wizard" icon is not showing - even though I have "show add printer wizard = yes" set in my global section. This is starting to drive me crazy - I'm sure printer setup should not be this hard, otherwise there would be loads more documetation detailing this? I've been using the SAMBA HOW-TO, and "Special Edition Using SAMBA" from QUE as well as mailing list archives, etc to try to get this set up right... but now I'm just totally confused. It would be great if someone could post a vanilla setup example as to how printing should be set up for 2.2.5 / redhat linux 7.2 - including the spool directory structures and permissions, as well as relevant entries in global and printers sections... either that or I can send someone my smb.conf and details of my spool directories to check over... Any help would be much appreciated in straightening this out... it's the last thing that stands between me and being able to have weekends / evenings off from work... note - I'm typing this at 10:55pm on satruday night! :( - dan.
Daniel Horth
2002-Jul-13 08:16 UTC
[Samba] samba printing 2.2.5 - RPC server is unavailable
Hi - tidied up my smb.conf and been trying to sort this out more... turns out that after cleaning my config file up I can now print from one of the other winNT clients - it seems like the RPC server unavailable message is linked directly to the particular workstation I was testing the setup on... anyway - seems like some local problems I need to sort out here... will follow this up tomorrow and report on final outcome / conclusions... thanks and sorry for the noise! - dan. ps. if anyone hass any ideas about the RPC problem on this one client I'd love to hear them!
Bradley W. Langhorst
2002-Jul-15 10:05 UTC
[Samba] samba printing 2.2.5 - RPC server is unavailable
> It would be great if someone could post a vanilla setup example as to > how printing should be set up for 2.2.5 / redhat linux 7.2 - including > the spool directory structures and permissions, as well as relevant > entries in global and printers sections... either that or I can send > someone my smb.conf and details of my spool directories to check over...here is my setup (working for both win95 and nt but with 2.2.5 patched (not release) printer admin = root, bwlang printing = cups [printers] comment = All Printers path = /var/spool/samba printable = Yes browseable = No [print$] path = /etc/samba/printers write list = root ls -ld /var/spool/samba drwxrwxrwt 2 root root 141 Jul 12 08:49 /var/spool/samba/ note that I'm using cups - not lprng that redhat comes with but it should not matter you seem to have a problem before the job get sent off to the printing system. What is in your log files? brad