Date: Fri, 8 Apr 2005 16:39:14 +0200 From: Dimitri Bosiers <dimitri.bosiers@pandora.be> To: freebsd-questions@freebsd.org Subject: Strange Printing Problems Message-ID: <6ed480a645c343cafe2f8eafac1c44c1@pandora.be>
next in thread | raw e-mail | index | archive | help
Hi Leonard did you find a solution for this ---------------------------------------------------------- > Hi, > > I've got a small network with a few Windows XP machines. I'm running > into a > problem where I can can print but others cannot. For me, everything > works > great and as expected. However, for the others, they seem to have > intermittent problems where Samba complains with multiple lines such > as the > following: > > Jul 17 22:02:37 chung smbd[472]: [2003/07/17 22:02:37, 0] > rpc_client/cli_spoolss_notify.c:spoolss_connect_to_client(91) > Jul 17 22:02:37 chung smbd[472]: connect_to_client: unable to > connect to > SMB server on machine ZEUS. Error was : SUCCESS - 0. > > Does anybody have any idea what is going on? The client machines are > all > Windows XP Pro. The printer is being driven by CUPS and the test pages > print > fine from both the CUPS administrative interface and my Windows test > pages > go through fine. The only difference between myself and the other > users on > this unix box is that my account is part of the wheel group. > > Here's my smb.conf file: > > # Samba config file created using SWAT > # from 10.0.1.239 (10.0.1.239) > # Date: 2003/07/16 18:41:23 > > # Global parameters > [global] > netbios name = CAMELLIA > server string = Samba Server > encrypt passwords = Yes > lanman auth = No > printing = cups > printcap name = cups > load printers = yes > > [printers] > comment = All Printers > path = /var/spool/samba > printable = yes > printer admin = root, @printadmins > > Here's my cups printers.conf file: > > # Printer configuration file for CUPS v1.1.18 > # Written by cupsd on Thu Jul 17 01:40:14 2003 > <DefaultPrinter e210> > Info Lexmark E210 on USB > Location SF Home > DeviceURI usb:/dev/ulpt0 > State Idle > Accepting Yes > JobSheets none none > QuotaPeriod 0 > PageLimit 0 > KLimit 0 > </Printer> > > This is a freebsd 4.8 machine. > > Thanks, > > Leonard ---------------------------------------------------------- I'm trying to set up XP <--> OSX SMB printing and i have the same problem (athough filesharing and domain-control works fine) my log : timeout connecting to 192.168.123.102:139 [2005/04/08 16:09:38, 1] /SourceCache/samba/samba-60.1/samba/source/libsmb/cliconnect.c: cli_connect(1306) Error connecting to 192.168.123.102 (Operation already in progress) [2005/04/08 16:09:38, 0] /SourceCache/samba/samba-60.1/samba/source/rpc_server/srv_spoolss_nt.c: spoolss_connect_to_client(2583) spoolss_connect_to_client: unable to connect to SMB server on machine ALIEN01. Error was : SUCCESS - 0. wich looks quite similar switching the windows firewall on or of does not help. Since OSX is some sort of BSD I thought that what helps you could help me. my config : [global] log level = 1 display charset = UTF-8-MAC print command = /usr/sbin/PrintServiceAccess printps %p %s lprm command = /usr/sbin/PrintServiceAccess remove %p %j security = user guest account = unknown encrypt passwords = yes printing = BSD allow trusted domains = no preferred master = yes lppause command = /usr/sbin/PrintServiceAccess hold %p %j netbios name = phoenix wins support = yes add machine script = /usr/bin/opendirectorypdbconfig -c create_computer_account -r %u -n "/LDAPv3/127.0.0.1" printcap = /private/etc/printcap max smbd processes = 20 server string = Mac OS X lpresume command = /usr/sbin/PrintServiceAccess release %p %j logon drive = H: client ntlmv2 auth = no domain logons = yes lpq command = /usr/sbin/PrintServiceAccess jobs %p admin users = @admin passdb backend = opendirectorysam guest dos charset = CP850 unix charset = UTF-8-MAC auth methods = guest opendirectory local master = yes use spnego = no domain master = yes logon path = \\%N\profiles\%u printer admin = @admin, @staff map to guest = Never defer sharing violations = no workgroup = INTRANET [SP870] public = yes comment = macosx path = /var/spool/samba print ok = yes [Public] comment = macosx inherit permissions = no path = /Shared Items/Public directory mask = 0755 map archive = no guest ok = 1 read only = no create mask = 0644 [homes] browseable = no root preexec = /usr/sbin/inituser %U create mode = 0750 read only = no comment = User Home Directories [profiles] path = /Users/Profiles oplocks = yes strict locking = no read only = no browseable = no [printers] public = no path = /private/tmp browsable = no writable = no use client driver = yes create mode = 0700 printable = yes comment = All Printers [netlogon] path = /etc/netlogon oplocks = yes strict locking = no write list = @admin browseable = no [Groups] comment = macosx inherit permissions = no path = /Groups directory mask = 0755 map archive = no guest ok = 1 read only = no create mask = 0644 [Users] comment = macosx inherit permissions = no path = /Users directory mask = 0755 map archive = no guest ok = 1 read only = no create mask = 0644 > Best Regards, Dimitri
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6ed480a645c343cafe2f8eafac1c44c1>