[Bug 449714] New: A defined connection can't be deleted
https://bugzilla.novell.com/show_bug.cgi?id=449714 Summary: A defined connection can't be deleted Product: openSUSE 11.1 Version: Beta 5 Platform: x86-64 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: mgyhardsoft@freestart.hu QAContact: jsrain@novell.com Found By: --- In YaST2 printer wizard if there is a connection defined it cannot be really deleted. When it is removed and adding a new connection is started the removed connection data appear again. The only way to loose them is to exit and re-enter the YaST printer module (just like if it were a Microsoft program). How to reproduce: 1. Start YaST2 printer module 2. Try to add a new print queue (I tried CUPS and Windows). 3. Fill in the necessary data and press OK. 4. YaST2 says that adding the print queue is unsuccessful - even if the connection string is perfectly perfect. Press OK. 5. Now you get back to Point 2. Try to add another print queue. The dialog popping up contains the previously entered connection string, and there is no way to remove or replace it - at least I couldn't discover the way. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=449714 User chrubis@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=449714#c1 Cyril Hrubis <chrubis@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |mgyhardsoft@freestart.hu --- Comment #1 from Cyril Hrubis <chrubis@novell.com> 2008-11-27 08:18:05 MST --- Please attach y2logs. If you are in doubt follow: http://en.opensuse.org/Bugs/YaST Thanks! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=449714 User mgyhardsoft@freestart.hu added comment https://bugzilla.novell.com/show_bug.cgi?id=449714#c2 --- Comment #2 from Mészáros Gyula <mgyhardsoft@freestart.hu> 2008-11-27 13:57:38 MST --- Created an attachment (id=256343) --> (https://bugzilla.novell.com/attachment.cgi?id=256343) The full content of /var/log/YaST2 (hopefully password-free). 2008.11.27. is particularly interesting -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=449714 User jsmeix@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=449714#c3 Johannes Meixner <jsmeix@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jsmeix@novell.com Status|NEEDINFO |RESOLVED Info Provider|mgyhardsoft@freestart.hu | Resolution| |INVALID --- Comment #3 from Johannes Meixner <jsmeix@novell.com> 2008-11-28 02:11:41 MST --- It is consistent behaviour. No connection can be deleted at all regardless whether it is an autodetected connection or a fixed connection which exists in any case like parallel:/dev/lp0 or a manually added connection via the Connection Wizard. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=449714 User mgyhardsoft@freestart.hu added comment https://bugzilla.novell.com/show_bug.cgi?id=449714#c4 Mészáros Gyula <mgyhardsoft@freestart.hu> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|INVALID | --- Comment #4 from Mészáros Gyula <mgyhardsoft@freestart.hu> 2008-11-28 03:51:29 MST --- It may be consistent when everything works, but in my case the connection creation was not successful, see Point 4. in Comment #1. If I quit the YaST2 printer module and restart it, the connection disappears anyway - as I expect it. Just a question: if a connection isn't valid anymore (e.g. I regularly sell my old printers to former friends (after buying the printer they are not friends anymore...)), how can it be removed? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=449714 User jsmeix@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=449714#c5 Johannes Meixner <jsmeix@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |INVALID --- Comment #5 from Johannes Meixner <jsmeix@novell.com> 2008-11-28 04:52:11 MST --- It is no bug. It works as intended. I will not delete a connection - same as I will also not delete e.g. a driver entry when one does not work. Please respect this. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=449714 User jsmeix@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=449714#c6 --- Comment #6 from Johannes Meixner <jsmeix@novell.com> 2008-11-28 05:08:47 MST --- But what I will do in the future (e.g. for openSUSE 11.2) is that when an existing connection is already selected and you go to the Connection Wizard, then a) the Connection Wizard will show up with the matching item for this kind of connection and b) when the connection was created by the Connection Wizard, one can modify it instead of how it is now where one can only add more and more connections via the Connection Wizard. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=449714 User mgyhardsoft@freestart.hu added comment https://bugzilla.novell.com/show_bug.cgi?id=449714#c7 --- Comment #7 from Mészáros Gyula <mgyhardsoft@freestart.hu> 2008-11-28 08:30:23 MST --- See, I cannot help you too much as I could not see how the Connection Wizard is intended to work because from 11.1 beta 5 I am not able to add any printer at all. I've downloaded the latest yast2-printer from your home but the "Test Connection" button still does not display anything, the connection string built correctly, but when I click on OK I get an error message that the print queue is not created and the detail says: "lpadmin: Bad device-uri "smb://<username>:<password>@<domainname>/Server/Magicolor 2300 FF"!" However, the URI is not bad enough not to be entered to the connections at least temporarily. So I quit YaST printer module, restart it and the URI is gone, I can start to experiment with a new one. So if your intention is to keep even the wrong URI then it does not work, because it disappears after the yast2-printer restart. BTW, is there a way to permanently delete my attachment as it contains not very public data and apparently has no use at all? Your help would be highly appreciated. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=449714 User jsmeix@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=449714#c8 --- Comment #8 from Johannes Meixner <jsmeix@novell.com> 2008-12-02 00:00:17 MST --- Which exact version is "the latest yast2-printer"? Why don't you just provide such very important information? How should I help you when I cannot know what you run on your system? In yast2-printer version 2.17.48 which is available via the openSUSE build service at http://download.opensuse.org/repositories/home:/jsmeix/ the connection tests in the Connection Wizard should again work as good as before in the old yast2-printer module, see https://bugzilla.novell.com/show_bug.cgi?id=445543#c6 Your DeviceURI is bad because the last part, the SMB share name "Magicolor 2300 FF" must not contain spaces (I guess <username>, <password>, and <domainname> is replaced by real values). For example this one would work: root@host# lpadmin -p testy \ -v 'smb://username:password@domainname/Server/Magicolor2300FF' For further help, see the help text in YaST: -------------------------------------------------------------------------- Microsoft Windows/SAMBA (SMB/CIFS) .. For more information have a look at 'man smbspool' and http://en.opensuse.org/SDB:Printing_via_SMB_(Samba)_Share_or_Windows_Share -------------------------------------------------------------------------- I maked your attachment as "non-public" so that it should be now no longer public accessible. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=449714 User mgyhardsoft@freestart.hu added comment https://bugzilla.novell.com/show_bug.cgi?id=449714#c9 --- Comment #9 from Mészáros Gyula <mgyhardsoft@freestart.hu> 2008-12-02 10:32:04 MST --- Thank you for the detailed help. I installed 2.17.48-1.2 and now I got meaningful error messages. - Zuerst when I pressed the Test Connection button it displayed that the sbmclient is not executable. - Then I installed samba-client from the 11.1 RC1 DVD. - When I pressed the Test Connection button again, it found the domain, the server, but it gave error "tree connect failed: NT_STATUS_BAD_NETWORK_NAME Share Magicolor 2300 FF on VS2000/EDEN does not accept print jobs". The reason is apparently that the printer share name contains spaces, because I could connect to a share with no spaces in its name. However, there ARE spaces in the share name and Windows clients can connect to it, and as far as I remember - also Ubuntu 8.04.1. Rename the printer is not really possible because then the whole company looses connection to it. The sysadmin promised me to find some solution of alias or something like this. However, Samba clinet should be able to connect to shares containing spaces in their name. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=449714 User jsmeix@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=449714#c10 --- Comment #10 from Johannes Meixner <jsmeix@novell.com> 2008-12-03 01:37:34 MST --- The CUPS backend smb which sends the data to the SMB share is a link to /usr/bin/smbspool which is not part of CUPS but a "third-party" backend which belongs to the samba-client RPM so that it depends on /usr/bin/smbspool whether or not it can deal with share names which contain spaces - unfortunately "man smbspool" doesn't explicitely tell about this issue - but fortunately it tells "smbspool was written by Michael Sweet" who is the main author of CUPS so that there is hope that /usr/bin/smbspool accepts the usual percent-encoded characters, see the help text in YaST: -------------------------------------------------------------------------- Printer Device URI A connection is specified as so called 'device URI'. Its first word (the so called URI scheme) specifies the kind of data-transfer, for example 'parallel', 'usb', 'socket', 'lpd', or 'ipp'. After the scheme there are more or less additional parts (separated by slash '/' characters) which specify the details for this kind of data-transfer. Finally there could be optional parameters (separated by a question mark '?') of the form option1=value1&option2=value2&option3=value3 so that a full device URI could be for example: ipp://server.domain:631/printers/queuename?waitjob=false&waitprinter=false Special characters must be percent-encoded (also known as URL encoding). For example a space character ' ' must be written as '%20' and a plus sign '+' must be written as '%2B'. Some examples: A USB printer model 'Fun Printer 1000+' made by 'ACME' with serial number 'A1B2C3' may have a device URI like: usb://ACME/Fun%20Printer%201000%2B?serial=A1B2C3 -------------------------------------------------------------------------- I.e. try out if something like smb://<username>:<password>@<domainname>/Server/Magicolor%202300%20FF works for you and report if it works because I am very interested to see if /usr/bin/smbspool works correctly with percent-encoded characters in the Device URI. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=449714 User jsmeix@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=449714#c11 --- Comment #11 from Johannes Meixner <jsmeix@novell.com> 2008-12-03 01:41:34 MST --- By the way: There is another enhancement issue for the Connection Wizard: It should check if the required RPM is actually installed for a particular kind of connection, e.g. samba-client for SMB ncpfs for IPX cups-backends for 'beh' and 'pipe' .. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=449714 User mgyhardsoft@freestart.hu added comment https://bugzilla.novell.com/show_bug.cgi?id=449714#c12 --- Comment #12 from Mészáros Gyula <mgyhardsoft@freestart.hu> 2008-12-03 02:08:19 MST --- Ad #11: Yes, I thought about that but I was not brave enough to write it to you... :-) Ad #10: I've tried that and now double-checked just for sure, but % doesn't work: "Testing Magicolor%202300%20FF on VS2000/EDEN: tree connect failed: NT_STATUS_BAD_NETWORK_NAME Share Magicolor%202300%20FF on VS2000/EDEN does not accept print jobs" This error message is the same as for a nonexistent share, however, the share exists. The wizard itself works, as I could connect to the share HPLJ5 on the same server. HTH -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=449714 User jsmeix@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=449714#c13 --- Comment #13 from Johannes Meixner <jsmeix@novell.com> 2008-12-03 02:15:15 MST --- Perhaps it is only my test script /usr/lib/YaST2/bin/test_remote_smb which fails wrongly in this special case because the test script uses /usr/bin/smbclient to do the test and perhaps smbclient may not work correctly with percent-encoded characters in the SMB share name? Please set up the queue without doing the test in the Connection Wizard and afterwards try to print a test page from the Overview dialog (where all your queues are shown). Does the test page print? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=449714 User mgyhardsoft@freestart.hu added comment https://bugzilla.novell.com/show_bug.cgi?id=449714#c14 --- Comment #14 from Mészáros Gyula <mgyhardsoft@freestart.hu> 2008-12-03 08:29:26 MST --- Unfortunately it does not print with the %20-s, too. I verified the print system itself with the HPLJ5 share and it still prints the test page. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=449714 User jsmeix@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=449714#c15 --- Comment #15 from Johannes Meixner <jsmeix@novell.com> 2008-12-03 08:35:40 MST --- Many thanks for the info! Therefore currently it seems printing to SMB shares with spaces in SMB share names simply does not work. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=449714 User jsmeix@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=449714#c16 --- Comment #16 from Johannes Meixner <jsmeix@novell.com> 2008-12-03 08:36:34 MST --- .. which is of course a valid bug report regarding samba-client ;-) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=449714 User mgyhardsoft@freestart.hu added comment https://bugzilla.novell.com/show_bug.cgi?id=449714#c17 --- Comment #17 from Mészáros Gyula <mgyhardsoft@freestart.hu> 2008-12-03 08:52:01 MST --- verstehe, sofort... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=449714 User mgyhardsoft@freestart.hu added comment https://bugzilla.novell.com/show_bug.cgi?id=449714#c18 --- Comment #18 from Mészáros Gyula <mgyhardsoft@freestart.hu> 2008-12-04 01:20:53 MST --- OOOPS! Please forgive me, I provided falsch information. This morning I booted an Ubuntu 8.10 live CD to try it, and its Samba browse function showed me that the printer share is not "Magicolor 2300 FF" as the sysadmin told me, but "Minolta Magicolor FF". So I tried this name with yast2-printer and it works. So smb-client handles spaces correctly. Excuse me again! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=449714 User jsmeix@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=449714#c19 --- Comment #19 from Johannes Meixner <jsmeix@novell.com> 2008-12-04 03:44:13 MST --- Which exact string for the SMB share name did you enter in the Connection Wizard: "Minolta Magicolor FF" or "Minolta%20Magicolor%20FF" Was the test via the [Test] button in the Connection Wizard also succesful (I ask because of comment #13). Regarding false info from the sysadmin: It is of course a known feature request to have some kind of autodetection for SMB shares in the Connection Wizard, something like "smbclient -L NetBIOS-hostname -N" does, compare http://en.opensuse.org/SDB:Printing_via_SMB_(Samba)_Share_or_Windows_Share -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=449714 User mgyhardsoft@freestart.hu added comment https://bugzilla.novell.com/show_bug.cgi?id=449714#c20 --- Comment #20 from Mészáros Gyula <mgyhardsoft@freestart.hu> 2008-12-04 06:02:55 MST --- The first one, no percent, bare spaces. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com