From owner-freebsd-gnome@FreeBSD.ORG Thu Jan 17 18:50:04 2008 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B9C7316A468 for ; Thu, 17 Jan 2008 18:50:04 +0000 (UTC) (envelope-from mezz7@cox.net) Received: from eastrmmtao104.cox.net (eastrmmtao104.cox.net [68.230.240.46]) by mx1.freebsd.org (Postfix) with ESMTP id 96E3013C448 for ; Thu, 17 Jan 2008 18:50:04 +0000 (UTC) (envelope-from mezz7@cox.net) Received: from eastrmimpo01.cox.net ([68.1.16.119]) by eastrmmtao104.cox.net (InterMail vM.7.08.02.01 201-2186-121-102-20070209) with ESMTP id <20080117185003.JXGS23675.eastrmmtao104.cox.net@eastrmimpo01.cox.net>; Thu, 17 Jan 2008 13:50:03 -0500 Received: from mezz.mezzweb.com ([24.255.149.218]) by eastrmimpo01.cox.net with bizsmtp id eJox1Y0064iy4EG0000000; Thu, 17 Jan 2008 13:48:57 -0500 Date: Thu, 17 Jan 2008 12:50:46 -0600 To: "Yousif Hassan" From: "Jeremy Messenger" Content-Type: text/plain; format=flowed; delsp=yes; charset=us-ascii MIME-Version: 1.0 References: <1200586408.17763.29.camel@localhost> <1200592946.1355.14.camel@localhost> Content-Transfer-Encoding: 7bit Message-ID: In-Reply-To: <1200592946.1355.14.camel@localhost> User-Agent: Opera Mail/9.25 (Linux) Cc: freebsd-gnome@freebsd.org Subject: Re: gnome-cups-manager / gnome-cups-add problems X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jan 2008 18:50:04 -0000 On Thu, 17 Jan 2008 12:02:26 -0600, Yousif Hassan wrote: > Thanks Jeremy for trying to help: > >> It works for me with gnome-cups-(manager|add) by setup to connect via >> samba on other computer that has WindowsXP with printer. I can't get >> printer works on FreeBSD even via web-based CUPS interface, so only way >> to >> get work is by via samba+cups. So... I never knew how >> gnome-cups-(manager|add) are doing on FreeBSD with printer. > > Funny you should mention that. Samba is actually the source of my > problem, and I tracked it down in the CUPS log > in /var/log/cups/error_log: > > CUPS-Add-Modify-Printer client-error-not-possible: Bad device-uri > "smb://MYDOMAIN\yhassan:mypasswd@PKFILE1/ENG_HP4000"! > > The reason it fails is because of the invalid characters, it seems. > Still haven't figured out which but it's probably the '\'. Problem is, > I know of no other way to pass domain information in the SMB uri. When you get it works by via web-based CUPS, do you see in log for what exactly SMB uri for it? > *This* URI does work in terms of not crapping out in gnome-cups-manager: > > "smb://PKFILE1/ENG_HP4000" > > However, I have to pass the domain information to get authenticated at > work. I wonder if this URI-handling error is an upstream issue - it > wouldn't make sense if it were just FreeBSD. > > So I mean to ask: how did you get your SMB printers installed into CUPS > with GNOME's CUPS manager? With a simple URI as above, or do you know > to send domain info in a more friendly way? ;) Yeah, I just connect by simple URI found by gnome-cups-manager. As for the domain, 'DOMAIN\username' is a correct way to do it. I can check in Ubuntu's packages again and see if I have missed patches or something else. The gnome-cups-manager port is based on all of patches from Ubuntu's packages. Or I just can poke around in WindowsXP and test to see if it works for me or not for your problem. Cheers, Mezz >> > GnomeUI-WARNING **: While connecting to session manager: >> > Authentication Rejected, reason : None of the authentication protocols >> > specified are supported and host-based authentication failed. >> >> This error is harmless, you get that because your GTK app is running as >> in >> root. You will see a lot of that if you search in google. I get that too >> and I don't have problem with use gnome-cups-(manager|add). > > You're right, I finally figured this out. Thanks for confirming! > >> Sorry, my respone isn't really helpful since I am pretty clueless >> either. >> If I have printer that works with FreeBSD, then it would be a different >> story as I might be able to get it works. > > Actually, I'm curious about how you passed a Samba URI - see above. And > thanks 'gain. > > --Yousif -- mezz7@cox.net - mezz@FreeBSD.org FreeBSD GNOME Team - FreeBSD Multimedia Hat (ports, not src) http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org http://wiki.freebsd.org/multimedia - multimedia@FreeBSD.org