[Bug 685093] New: Printing over Samba does not work
https://bugzilla.novell.com/show_bug.cgi?id=685093 https://bugzilla.novell.com/show_bug.cgi?id=685093#c0 Summary: Printing over Samba does not work Classification: openSUSE Product: openSUSE 11.4 Version: Final Platform: x86-64 OS/Version: Linux Status: NEW Severity: Major Priority: P5 - None Component: Samba AssignedTo: samba-maintainers@SuSE.de ReportedBy: uli.2001@gmx.de QAContact: samba-maintainers@SuSE.de Found By: --- Blocker: --- I am trying to print from Opensuse on a shared printer attached to a Windows machine, using Samba. This does not work. The document is not printed and shows up in the Cups webinterface with "status" begin "stopped". It has been working reliably with several Opensuse versions before 11.4. In the webinterface of Cups, I see the following: http://localhost:631/admin/log/error_log E [04/Apr/2011:21:39:20 +0200] Unable to execute /usr/lib/cups/backend/smb: insecure file permissions (0104750) E [04/Apr/2011:21:39:20 +0200] [Job 17] Stopping job because the sheduler could not execute the backend. E [04/Apr/2011:21:39:39 +0200] Unable to execute /usr/lib/cups/backend/smb: insecure file permissions (0104750) E [04/Apr/2011:21:39:39 +0200] [Job 16] Stopping job because the sheduler could not execute the backend. E [04/Apr/2011:21:40:38 +0200] Unable to execute /usr/lib/cups/backend/smb: insecure file permissions (0104750) E [04/Apr/2011:21:40:38 +0200] [Job 18] Stopping job because the sheduler could not execute the backend. E [04/Apr/2011:21:42:37 +0200] Unable to execute /usr/lib/cups/backend/smb: insecure file permissions (0104750) E [04/Apr/2011:21:42:37 +0200] [Job 18] Stopping job because the sheduler could not execute the backend. E [04/Apr/2011:21:45:39 +0200] [Job 18] Stopping unresponsive job! E [04/Apr/2011:21:50:59 +0200] Unable to execute /usr/lib/cups/backend/smb: insecure file permissions (0104750) E [04/Apr/2011:21:50:59 +0200] [Job 18] Stopping job because the sheduler could not execute the backend. This looks similar to the following, but I can't get a workaround out of that: http://forums.opensuse.org/english/get-technical-help-here/network-internet/... -- 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=685093 https://bugzilla.novell.com/show_bug.cgi?id=685093#c1 Lars Müller <lmuelle@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |samba-maintainers@SuSE.de AssignedTo|samba-maintainers@SuSE.de |lmuelle@novell.com --- Comment #1 from Lars Müller <lmuelle@novell.com> 2011-04-05 18:31:01 CEST --- Please show us the output ofsamba-krb-printing ls -l /usr/lib/cups/backend/smb If the sym link points to /usr/bin/get_printing_ticket please remove the samba-krb-printing package. Afterwards check if /usr/lib/cups/backend/smb points to /usr/bin/smbspool -- 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=685093 https://bugzilla.novell.com/show_bug.cgi?id=685093#c Lars Müller <lmuelle@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO InfoProvider| |uli.2001@gmx.de -- 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=685093 https://bugzilla.novell.com/show_bug.cgi?id=685093#c2 Ulrich Derenthal <uli.2001@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED InfoProvider|uli.2001@gmx.de | --- Comment #2 from Ulrich Derenthal <uli.2001@gmx.de> 2011-04-05 18:40:21 UTC --- # rpm -q samba-krb-printing samba-krb-printing-3.5.7-1.17.1.x86_64 # ls -l /usr/lib/cups/backend/smb lrwxrwxrwx 1 root root 28 10. Mär 14:24 /usr/lib/cups/backend/smb -> /usr/bin/get_printing_ticket # rpm -e samba-krb-printing # ls -l /usr/lib/cups/backend/smb lrwxrwxrwx 1 root root 17 5. Apr 20:38 /usr/lib/cups/backend/smb -> /usr/bin/smbspool This seems to be as expected. I cannot test right now whether printing works again, but I will do so as soon as possible and try to remember to report back. -- 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=685093 https://bugzilla.novell.com/show_bug.cgi?id=685093#c3 Lars Müller <lmuelle@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO InfoProvider| |uli.2001@gmx.de --- Comment #3 from Lars Müller <lmuelle@novell.com> 2011-04-05 22:23:01 CEST --- Passing back to needinfo from reporter state as the requested information was not provided with comment #2. -- 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=685093 https://bugzilla.novell.com/show_bug.cgi?id=685093#c4 Johannes Meixner <jsmeix@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jsmeix@novell.com --- Comment #4 from Johannes Meixner <jsmeix@novell.com> 2011-04-06 08:22:52 UTC --- FYI: In the CUPS 1.4.6 sources there is in scheduler/process.c ----------------------------------------------------------------------------- cupsdStartProcess( .. struct stat commandinfo; /* Command file information */ .. if (RunUser) user = RunUser; else if (root) user = 0; else user = User; if (stat(command, &commandinfo)) { ... } else if ((commandinfo.st_mode & (S_ISUID | S_IWOTH)) || (!RunUser && commandinfo.st_uid)) { ... cupsdLogMessage(CUPSD_LOG_ERROR, "Unable to execute %s: insecure file permissions (0%o)", command, commandinfo.st_mode); } ----------------------------------------------------------------------------- Additionally see "man 7 backend": --------------------------------------------------------------------------- Backends without world execute permissions are run as the root user. Otherwise, the backend is run using the unprivileged user account, typically "lp". --------------------------------------------------------------------------- If I understand this correctly the permissions -rwsr-x--- 1 root lp ... /usr/bin/get_printing_ticket let CUPS refuse to execute it. -- 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=685093 https://bugzilla.novell.com/show_bug.cgi?id=685093#c5 --- Comment #5 from Johannes Meixner <jsmeix@novell.com> 2011-04-06 08:52:00 UTC --- It seems in "man 7 backend" the term "world execute permissions" is a bit vague because for me with CUPS 1.4.6 a test backend with "-rwxr-x--- root lp" permissions was not run as root but as lp. But a backend with "-rwx------ root lp" was run as root. A backend with "-rws------ root lp" was refused to be executed and in /var/log/cups/error_log there was -------------------------------------------------------------------- Unable to execute /usr/lib/cups/backend/testy: insecure file permissions (0104700) -------------------------------------------------------------------- /usr/lib/cups/backend/testy is --------------------------------------------------------------------- #! /bin/bash if test "$#" -eq "0" then echo 'direct testy "Unknown" "no device info"' exit 0 fi id >/tmp/testy.out exit 0 --------------------------------------------------------------------- To set up a test queue use # lpadmin -p testy -v testy:/ -E Depending on the permissions of /usr/lib/cups/backend/testy /tmp/testy.out contains either --------------------------------------------------------------------- uid=4(lp) gid=7(lp) groups=7(lp) --------------------------------------------------------------------- or --------------------------------------------------------------------- uid=0(root) gid=7(lp) groups=0(root),7(lp) --------------------------------------------------------------------- -- 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=685093 https://bugzilla.novell.com/show_bug.cgi?id=685093#c6 Johannes Meixner <jsmeix@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Printing over Samba does |samba-krb-printing: |not work |get_printing_ticket not | |executed because of setuid | |bit --- Comment #6 from Johannes Meixner <jsmeix@novell.com> 2011-04-06 11:30:52 UTC --- Summary: With -rwx------ 1 root lp ... /usr/bin/get_printing_ticket it should work for CUPS 1.4. Ulrich Derenthal, when you install samba-krb-printing and afterwards you do chmod 0700 /usr/bin/get_printing_ticket does it then work for you? -- 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=685093 https://bugzilla.novell.com/show_bug.cgi?id=685093#c7 Alexander R <aleromex@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aleromex@gmail.com --- Comment #7 from Alexander R <aleromex@gmail.com> 2011-04-12 12:06:45 UTC --- (In reply to comment #2)
# rpm -q samba-krb-printing samba-krb-printing-3.5.7-1.17.1.x86_64
# ls -l /usr/lib/cups/backend/smb lrwxrwxrwx 1 root root 28 10. Mär 14:24 /usr/lib/cups/backend/smb -> /usr/bin/get_printing_ticket
# rpm -e samba-krb-printing
# ls -l /usr/lib/cups/backend/smb lrwxrwxrwx 1 root root 17 5. Apr 20:38 /usr/lib/cups/backend/smb -> /usr/bin/smbspool
This seems to be as expected. I cannot test right now whether printing works again, but I will do so as soon as possible and try to remember to report back.
This solution is resolved my exactly printing issue. 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=685093 https://bugzilla.novell.com/show_bug.cgi?id=685093#c8 --- Comment #8 from Johannes Meixner <jsmeix@novell.com> 2011-04-12 12:26:36 UTC --- Alexander R, when you re-install samba-krb-printing and afterwards you do chmod 0700 /usr/bin/get_printing_ticket does it then still work for you? -- 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=685093 https://bugzilla.novell.com/show_bug.cgi?id=685093#c9 Ulrich Derenthal <uli.2001@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED InfoProvider|uli.2001@gmx.de | --- Comment #9 from Ulrich Derenthal <uli.2001@gmx.de> 2011-04-12 13:19:56 UTC --- (In reply to comment #6) Both solutions (1. uninstalling samba-krb-printing / 2. installing samba-krb-printing plus chmod 0700 /usr/bin/get_printing_ticket) work for me. 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=685093 https://bugzilla.novell.com/show_bug.cgi?id=685093#c Johannes Meixner <jsmeix@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Platform|x86-64 |All OS/Version|Linux |openSUSE 11.4 -- 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=685093 https://bugzilla.novell.com/show_bug.cgi?id=685093#c10 --- Comment #10 from Alexander R <aleromex@gmail.com> 2011-04-13 08:21:39 UTC --- (In reply to comment #8)
Alexander R,
when you re-install samba-krb-printing and afterwards you do chmod 0700 /usr/bin/get_printing_ticket does it then still work for you?
Not worked, pls see below. I follow your recomendation and did: # zypper in samba-krb-printing Получение метаданных репозитория 'openSUSE-11.4 Updates' [готово] Сбор кэша репозитория 'openSUSE-11.4 Updates' [готово] Загрузка данных о репозиториях... Чтение установленных пакетов... Разрешение зависимостей пакетов... Будет установлен следующий НОВЫЙ пакет: samba-krb-printing 1 новый пакет для установки. Полный размер загрузки: 70,0 KiB. После этой операции будет использовано дополнительно 10,0 KiB. Продолжить? [y/n/?] (y): Получение пакет samba-krb-printing-3.5.7-1.17.1.i586 (1/1), 70,0 KiB (10,0 KiB после распаковки) Получение: samba-krb-printing-3.5.7-1.17.1.i586.rpm [готово] Установка: samba-krb-printing-3.5.7-1.17.1 [готово] Дополнительный вывод rpm: Starting SuSEconfig, the SuSE Configuration Tool... Running module permissions only Reading /etc/sysconfig and updating the system... Executing /sbin/conf.d/SuSEconfig.permissions... Checking permissions and ownerships - using the permissions files /etc/permissions /etc/permissions.easy /etc/permissions.d/mail-server /etc/permissions.d/postfix /etc/permissions.d/texlive /etc/permissions.local fscaps support disabled (file_caps missing in /proc/cmdline). setting /var/log/messages to root:alerom 0644. (wrong permissions 0640) Finished. I check permissions: # ls -al /usr/bin/get_printing_ticket -rwsr-x--- 1 root lp 9816 Мар 1 15:21 /usr/bin/get_printing_ticket* After that, I try to print (from libreoffice) and see to log file: E [13/Apr/2011:12:05:27 +0400] Unable to execute /usr/lib/cups/backend/smb: insecure file permissions (0104750) E [13/Apr/2011:12:05:27 +0400] [Job 287] Stopping job because the sheduler could not execute the backend. I [13/Apr/2011:12:05:45 +0400] [Job 287] Canceled by "username". Printing is fail (stopped) and I manualy cancel this job. After that i do: # chmod 0700 /usr/bin/get_printing_ticket and see to log file: E [13/Apr/2011:12:07:19 +0400] [Job 288] Session setup failed: NT_STATUS_LOGON_FAILURE E [13/Apr/2011:12:07:25 +0400] [Job 288] Session setup failed: NT_STATUS_LOGON_FAILURE E [13/Apr/2011:12:07:32 +0400] [Job 288] Tree connect failed (NT_STATUS_ACCESS_DENIED) I [13/Apr/2011:12:07:32 +0400] Hint: Try setting the LogLevel to "debug" to find out more. D [13/Apr/2011:12:07:32 +0400] [Job 288] The following messages were recorded from 12:07:12 to 12:07:32 D [13/Apr/2011:12:07:32 +0400] [Job 288] Adding start banner page "none". D [13/Apr/2011:12:07:32 +0400] [Job 288] Queued on "PRN4_1" by "username". D [13/Apr/2011:12:07:32 +0400] [Job 288] Auto-typing file... D [13/Apr/2011:12:07:32 +0400] [Job 288] Request file type is application/postscript. D [13/Apr/2011:12:07:32 +0400] [Job 288] File of type application/postscript queued by "username". D [13/Apr/2011:12:07:32 +0400] [Job 288] Adding end banner page "none". D [13/Apr/2011:12:07:32 +0400] [Job 288] job-sheets=none,none D [13/Apr/2011:12:07:32 +0400] [Job 288] argv[0]="PRN4_1" D [13/Apr/2011:12:07:32 +0400] [Job 288] argv[1]="288" D [13/Apr/2011:12:07:32 +0400] [Job 288] argv[2]="username" D [13/Apr/2011:12:07:32 +0400] [Job 288] argv[3]="Безымянный1" D [13/Apr/2011:12:07:32 +0400] [Job 288] argv[4]="1" D [13/Apr/2011:12:07:32 +0400] [Job 288] argv[5]="PageSize=A4 job-uuid=urn:uuid:b2f2adcc-0bb6-3dca-46ca-781886ca1915 job-originating-host-name=localhost time-at-creation=1302682032 time-at-processing=1302682032 AP_D_InputSlot=" D [13/Apr/2011:12:07:32 +0400] [Job 288] argv[6]="/var/spool/cups/d00288-001" D [13/Apr/2011:12:07:32 +0400] [Job 288] envp[0]="CUPS_CACHEDIR=/var/cache/cups" D [13/Apr/2011:12:07:32 +0400] [Job 288] envp[1]="CUPS_DATADIR=/usr/share/cups" D [13/Apr/2011:12:07:32 +0400] [Job 288] envp[2]="CUPS_DOCROOT=/usr/share/cups/webcontent" D [13/Apr/2011:12:07:32 +0400] [Job 288] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts" D [13/Apr/2011:12:07:32 +0400] [Job 288] envp[4]="CUPS_REQUESTROOT=/var/spool/cups" D [13/Apr/2011:12:07:32 +0400] [Job 288] envp[5]="CUPS_SERVERBIN=/usr/lib/cups" D [13/Apr/2011:12:07:32 +0400] [Job 288] envp[6]="CUPS_SERVERROOT=/etc/cups" D [13/Apr/2011:12:07:32 +0400] [Job 288] envp[7]="CUPS_STATEDIR=/var/run/cups" D [13/Apr/2011:12:07:32 +0400] [Job 288] envp[8]="HOME=/var/spool/cups/tmp" D [13/Apr/2011:12:07:32 +0400] [Job 288] envp[9]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin" D [13/Apr/2011:12:07:32 +0400] [Job 288] envp[10]="SERVER_ADMIN=root@hostname" D [13/Apr/2011:12:07:32 +0400] [Job 288] envp[11]="SOFTWARE=CUPS/1.4.6" D [13/Apr/2011:12:07:32 +0400] [Job 288] envp[12]="TMPDIR=/var/spool/cups/tmp" D [13/Apr/2011:12:07:32 +0400] [Job 288] envp[13]="USER=root" D [13/Apr/2011:12:07:32 +0400] [Job 288] envp[14]="CUPS_SERVER=/var/run/cups/cups.sock" D [13/Apr/2011:12:07:32 +0400] [Job 288] envp[15]="CUPS_ENCRYPTION=IfRequested" D [13/Apr/2011:12:07:32 +0400] [Job 288] envp[16]="IPP_PORT=631" D [13/Apr/2011:12:07:32 +0400] [Job 288] envp[17]="CHARSET=utf-8" D [13/Apr/2011:12:07:32 +0400] [Job 288] envp[18]="LANG=ru_RU.UTF-8" D [13/Apr/2011:12:07:32 +0400] [Job 288] envp[19]="PPD=/etc/cups/ppd/PRN4_1.ppd" D [13/Apr/2011:12:07:32 +0400] [Job 288] envp[20]="RIP_MAX_CACHE=8m" D [13/Apr/2011:12:07:32 +0400] [Job 288] envp[21]="CONTENT_TYPE=application/postscript" D [13/Apr/2011:12:07:32 +0400] [Job 288] envp[22]="DEVICE_URI=smb://corpserver/server/prn4-1" D [13/Apr/2011:12:07:32 +0400] [Job 288] envp[23]="PRINTER_INFO=HP LaserJet 5100 Series Postscript (recommended)" D [13/Apr/2011:12:07:32 +0400] [Job 288] envp[24]="PRINTER_LOCATION=Рядом с буфетом" D [13/Apr/2011:12:07:32 +0400] [Job 288] envp[25]="PRINTER=PRN4_1" D [13/Apr/2011:12:07:32 +0400] [Job 288] envp[26]="CUPS_FILETYPE=document" D [13/Apr/2011:12:07:32 +0400] [Job 288] envp[27]="FINAL_CONTENT_TYPE=application/vnd.cups-postscript" D [13/Apr/2011:12:07:32 +0400] [Job 288] Started filter /usr/lib/cups/filter/pstops (PID 11948) D [13/Apr/2011:12:07:32 +0400] [Job 288] Started backend /usr/lib/cups/backend/smb (PID 11949) D [13/Apr/2011:12:07:32 +0400] [Job 288] Page = 595x842; 13,12 to 582,830 D [13/Apr/2011:12:07:32 +0400] [Job 288] slow_collate=0, slow_duplex=0, slow_order=0 D [13/Apr/2011:12:07:32 +0400] [Job 288] Before copy_comments - %!PS-Adobe-3.0 D [13/Apr/2011:12:07:32 +0400] [Job 288] %!PS-Adobe-3.0 D [13/Apr/2011:12:07:32 +0400] [Job 288] %%BoundingBox: (atend) D [13/Apr/2011:12:07:32 +0400] [Job 288] %%Creator: (LibreOffice 3.3) D [13/Apr/2011:12:07:32 +0400] [Job 288] %%For: (username) D [13/Apr/2011:12:07:32 +0400] [Job 288] %%CreationDate: (Wed Apr 13 12:07:12 2011) D [13/Apr/2011:12:07:32 +0400] [Job 288] %%LanguageLevel: 3 D [13/Apr/2011:12:07:32 +0400] [Job 288] %%DocumentData: Clean7Bit D [13/Apr/2011:12:07:32 +0400] [Job 288] %%Pages: (atend) D [13/Apr/2011:12:07:32 +0400] [Job 288] %%Orientation: (atend) D [13/Apr/2011:12:07:32 +0400] [Job 288] %%PageOrder: Ascend D [13/Apr/2011:12:07:32 +0400] [Job 288] %%EndComments D [13/Apr/2011:12:07:32 +0400] [Job 288] Before copy_prolog - %%BeginProlog D [13/Apr/2011:12:07:32 +0400] [Job 288] Before copy_setup - %%BeginSetup D [13/Apr/2011:12:07:32 +0400] [Job 288] Before page loop - %%Page: 1 1 D [13/Apr/2011:12:07:32 +0400] [Job 288] Copying page 1... D [13/Apr/2011:12:07:32 +0400] [Job 288] PAGE: 1 1 D [13/Apr/2011:12:07:32 +0400] [Job 288] pagew = 568.3, pagel = 817.7 D [13/Apr/2011:12:07:32 +0400] [Job 288] bboxx = 0, bboxy = 0, bboxw = 595, bboxl = 842 D [13/Apr/2011:12:07:32 +0400] [Job 288] PageLeft = 13.4, PageRight = 581.8 D [13/Apr/2011:12:07:32 +0400] [Job 288] PageTop = 829.7, PageBottom = 12.1 D [13/Apr/2011:12:07:32 +0400] [Job 288] PageWidth = 595.0, PageLength = 842.0 D [13/Apr/2011:12:07:32 +0400] [Job 288] Wrote 1 pages... D [13/Apr/2011:12:07:32 +0400] [Job 288] Set job-printer-state-message to "Session setup failed: NT_STATUS_LOGON_FAILURE", current level=ERROR D [13/Apr/2011:12:07:32 +0400] [Job 288] get_exit_code(cli=0xb78bed98, nt_status=c000006d) D [13/Apr/2011:12:07:32 +0400] [Job 288] ATTR: auth-info-required=username,password D [13/Apr/2011:12:07:32 +0400] [Job 288] get_exit_code(cli=0xb78e14e0, nt_status=c000006d) D [13/Apr/2011:12:07:32 +0400] [Job 288] ATTR: auth-info-required=username,password D [13/Apr/2011:12:07:32 +0400] [Job 288] get_exit_code(cli=0xb78e14e0, nt_status=c0000022) D [13/Apr/2011:12:07:32 +0400] [Job 288] ATTR: auth-info-required=username,password D [13/Apr/2011:12:07:32 +0400] [Job 288] Backend returned status 2 (authentication required) D [13/Apr/2011:12:07:32 +0400] [Job 288] Job held for authentication. D [13/Apr/2011:12:07:32 +0400] [Job 288] End of messages D [13/Apr/2011:12:07:32 +0400] [Job 288] printer-state=3(idle) D [13/Apr/2011:12:07:32 +0400] [Job 288] printer-state-message="Tree connect failed (NT_STATUS_ACCESS_DENIED)" D [13/Apr/2011:12:07:32 +0400] [Job 288] printer-state-reasons=none I [13/Apr/2011:12:07:42 +0400] Saving printers.conf... I [13/Apr/2011:12:07:42 +0400] Saving job cache file "/var/cache/cups/job.cache"... I [13/Apr/2011:12:07:42 +0400] Saving subscriptions.conf... E [13/Apr/2011:12:12:35 +0400] [Job 288] Stopping unresponsive job! Printing is fail(stopped). -- 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=685093 https://bugzilla.novell.com/show_bug.cgi?id=685093#c11 --- Comment #11 from Johannes Meixner <jsmeix@novell.com> 2011-04-14 07:56:27 UTC --- After chmod 0700 /usr/bin/get_printing_ticket the cupsd "Started backend /usr/lib/cups/backend/smb (PID 11949)" so that the issue of this bug report "get_printing_ticket not executed because of setuid bit" is solved. The subsequent errors "Session setup failed: NT_STATUS_LOGON_FAILURE" and "Tree connect failed (NT_STATUS_ACCESS_DENIED)" are something else (related to Samba and/or your AD environment). -- 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=685093 https://bugzilla.novell.com/show_bug.cgi?id=685093#c12 --- Comment #12 from Alexander R <aleromex@gmail.com> 2011-04-18 11:07:57 UTC --- (In reply to comment #11)
After chmod 0700 /usr/bin/get_printing_ticket the cupsd "Started backend /usr/lib/cups/backend/smb (PID 11949)" so that the issue of this bug report "get_printing_ticket not executed because of setuid bit" is solved.
The subsequent errors "Session setup failed: NT_STATUS_LOGON_FAILURE" and "Tree connect failed (NT_STATUS_ACCESS_DENIED)" are something else (related to Samba and/or your AD environment).
My next step after installing samba-krb-printing-3.5.7-1.17.1 (and getting printing failure) in my reply https://bugzilla.novell.com/show_bug.cgi?id=685093#c10, is uninstalling samba-krb-printing-3.5.7-1.17.1. After this I can to print 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=685093 https://bugzilla.novell.com/show_bug.cgi?id=685093#c13 Johannes Meixner <jsmeix@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dieter.jurzitza@t-online.de --- Comment #13 from Johannes Meixner <jsmeix@novell.com> 2011-05-17 08:43:08 UTC --- *** Bug 693634 has been marked as a duplicate of this bug. *** http://bugzilla.novell.com/show_bug.cgi?id=693634 -- 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=685093 https://bugzilla.novell.com/show_bug.cgi?id=685093#c14 Johannes Meixner <jsmeix@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |vkrevs@yahoo.com --- Comment #14 from Johannes Meixner <jsmeix@suse.com> 2011-12-20 12:23:44 UTC --- *** Bug 737813 has been marked as a duplicate of this bug. *** http://bugzilla.novell.com/show_bug.cgi?id=737813 -- 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=685093 https://bugzilla.novell.com/show_bug.cgi?id=685093#c15 --- Comment #15 from Robert Munteanu <robert.munteanu@gmail.com> 2012-05-03 13:03:05 UTC --- Still happens in 12.1 -- 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=685093 https://bugzilla.novell.com/show_bug.cgi?id=685093#c16 Alexander R <alerom-666@yandex.ru> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |alerom-666@yandex.ru --- Comment #16 from Alexander R <alerom-666@yandex.ru> 2012-07-02 09:17:11 UTC --- (In reply to comment #15)
Still happens in 12.1
I've too Working solution is here https://bugzilla.novell.com/show_bug.cgi?id=685093#c2 -- 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=685093 https://bugzilla.novell.com/show_bug.cgi?id=685093#c17 Kimmo E <maillists@nic.fi> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |maillists@nic.fi --- Comment #17 from Kimmo E <maillists@nic.fi> 2012-11-01 11:50:21 UTC --- (In reply to comment #15)
Still happens in 12.1
Still happens in openSuSE 12.2, too :( The solution of c#2 also works here. My problem is the same than in c#11: First the 'cups-inscure-filter' problem and subsequently - after having resolved the first problem - the 'NT_STATUS_LOGON_FAILURE'. Uninstalling samba-krb-printing package makes printing possible (without authentication). -- 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=685093 https://bugzilla.novell.com/show_bug.cgi?id=685093#c18 Johannes Meixner <jsmeix@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |juan.sanchez@hefame.es --- Comment #18 from Johannes Meixner <jsmeix@suse.com> 2013-10-23 14:09:26 CEST --- *** Bug 847212 has been marked as a duplicate of this bug. *** http://bugzilla.novell.com/show_bug.cgi?id=847212 -- 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=685093 https://bugzilla.novell.com/show_bug.cgi?id=685093#c19 --- Comment #19 from Dieter Jurzitza <dieter.jurzitza@t-online.de> 2014-01-22 05:59:23 UTC --- Opensuse 12.2: With one of the latest updates on January 16th, 2014 the link /usr/lib/cups/backend/smb was reassigned again from /usr/bin/smb to /usr/bin/get_printing_ticket what caused the printing system to fail again on windows using smb-printers. I had had set it manually to /usr/bin/smb before. Please fix, it takes always a decent amount of time to find out why things suddenly stop working after they did for more than a year or so. Thank you for looking into this, take care Dieter Jurzitza -- 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=685093 https://bugzilla.novell.com/show_bug.cgi?id=685093#c20 Lars Müller <lmuelle@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Component|Samba |Samba InfoProvider| |robert.munteanu@gmail.com AssignedTo|lmuelle@suse.com |samba-maintainers@SuSE.de Product|openSUSE 11.4 |openSUSE 12.3 Target Milestone|--- |Final --- Comment #20 from Lars Müller <lmuelle@suse.com> 2014-04-11 20:35:21 CEST --- Please test with the packages available from the home:lmuelle:branches:OBS_Maintained:samba/samba.openSUSE_12.3_Update OBS repository. By default these type of builds aren't published. It's possible to get the binaries with the help of the osc command. For example: osc getbinaries home:lmuelle:branches:OBS_Maintained:samba \ samba.openSUSE_12.3_Update openSUSE_12.3_Update x86_64 Please replace the architecture at the end of the command line if your system is i586. -- 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=685093 https://bugzilla.novell.com/show_bug.cgi?id=685093#c Lars Müller <lmuelle@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|samba-maintainers@SuSE.de |lmuelle@suse.com -- 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=685093 https://bugzilla.novell.com/show_bug.cgi?id=685093#c Lars Müller <lmuelle@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- OS/Version|openSUSE 11.4 |openSUSE 12.3 -- 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=685093 https://bugzilla.novell.com/show_bug.cgi?id=685093#c21 Dieter Jurzitza <dieter.jurzitza@t-online.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED InfoProvider|robert.munteanu@gmail.com | --- Comment #21 from Dieter Jurzitza <dieter.jurzitza@t-online.de> 2014-04-14 13:02:07 UTC --- Today I tested latest sources as supplied by Lars Müller. The link in /usr/lib/cups/backend from smb -> /usr/bin/smbspool remained unchanged though I updated all files that were created by the samba - source package (samba-3.6.12-0.src.rpm on openSUSE 12.2). So, from my point of view this bug is fixed. Thank you for your efforts, take care Dieter Jurzitza -- 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=685093 https://bugzilla.novell.com/show_bug.cgi?id=685093#c22 Lars Müller <lmuelle@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO InfoProvider| |dieter.jurzitza@t-online.de --- Comment #22 from Lars Müller <lmuelle@suse.com> 2014-04-14 15:18:37 CEST --- Thanks a lot Dieter for testing! To ensure this is really working I like to know if the samba-krb-rinting package was installed too? Can you please consult you zypper history? Please attach the output of grep "|samba" /var/log/zypp/history -- 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=685093 https://bugzilla.novell.com/show_bug.cgi?id=685093#c23 Dieter Jurzitza <dieter.jurzitza@t-online.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED InfoProvider|dieter.jurzitza@t-online.de | --- Comment #23 from Dieter Jurzitza <dieter.jurzitza@t-online.de> 2014-04-14 14:30:09 UTC --- Hi folks, the logfile of "zypper" is not helpful as I installed via rpm -Uhv .... But take a look: rpm -qa | grep samba yast2-samba-client-2.22.2-2.1.2.noarch samba-3.6.12-0.x86_64 samba-krb-printing-3.6.12-0.x86_64 samba-doc-3.6.12-0.noarch samba-winbind-3.6.12-0.x86_64 samba-devel-3.6.12-0.x86_64 yast2-samba-server-2.22.3-2.1.1.noarch samba-client-3.6.12-0.x86_64 And the contents of my /home/src/samba - directory (filled today ...) insgesamt 139648 -rw-r--r-- 1 fred users 5992719 14. Apr 13:04 libnetapi0-3.6.12-0.x86_64.rpm -rw-r--r-- 1 fred users 145302 14. Apr 13:04 libnetapi-devel-3.6.12-0.x86_64.rpm -rw-r--r-- 1 fred users 5414928 14. Apr 13:03 libsmbclient0-3.6.12-0.x86_64.rpm -rw-r--r-- 1 fred users 153127 14. Apr 13:03 libsmbclient-devel-3.6.12-0.x86_64.rpm -rw-r--r-- 1 fred users 148724 14. Apr 13:04 libsmbsharemodes0-3.6.12-0.x86_64.rpm -rw-r--r-- 1 fred users 136948 14. Apr 13:04 libsmbsharemodes-devel-3.6.12-0.x86_64.rpm -rw-r--r-- 1 fred users 212342 14. Apr 13:04 libwbclient0-3.6.12-0.x86_64rpm -rw-r--r-- 1 fred users 143376 14. Apr 13:04 libwbclient-devel-3.6.12-0.x86_64.rpm -rw-r--r-- 1 fred users 34481562 14. Apr 13:00 samba-3.6.12-0.src.rpm -rw-r--r-- 1 fred users 14753755 14. Apr 13:00 samba-3.6.12-0.x86_64.rpm -rw-r--r-- 1 fred users 58472277 14. Apr 13:03 samba-client-3.6.12-0.x86_64rpm -rw-r--r-- 1 fred users 144925 14. Apr 13:03 samba-devel-3.6.12-0.x86_64.rpm -rw-r--r-- 1 fred users 12332572 14. Apr 13:03 samba-doc-3.6.12-0.noarch.rpm -rw-r--r-- 1 fred users 142014 14. Apr 13:03 samba-krb-printing-3.6.12-0.x86_64.rpm -rw-r--r-- 1 fred users 10291715 14. Apr 13:03 samba-winbind-3.6.12-0.x86_64.rpm so, the release of samba-krb-printing is 3.6.12 as is the one that has been provided by Lars Müller. The release of "Stock" openSUSE 12.2 differs from that. -- 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=685093 https://bugzilla.novell.com/show_bug.cgi?id=685093#c24 --- Comment #24 from Lars Müller <lmuelle@suse.com> 2014-04-14 16:48:41 CEST --- Created an attachment (id=586240) --> (http://bugzilla.novell.com/attachment.cgi?id=586240) Seperate patch for spec and package change log -- 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=685093 https://bugzilla.novell.com/show_bug.cgi?id=685093#c25 Lars Müller <lmuelle@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #25 from Lars Müller <lmuelle@suse.com> 2014-04-14 16:49:47 CEST --- Please reopen if no update gets published in the next four weeks. -- 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=685093 https://bugzilla.novell.com/show_bug.cgi?id=685093#c26 --- Comment #26 from Bernhard Wiedemann <bwiedemann@suse.com> 2014-06-23 17:00:33 CEST --- This is an autogenerated message for OBS integration: This bug (685093) was mentioned in https://build.opensuse.org/request/show/238390 12.3 / samba -- 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=685093 https://bugzilla.novell.com/show_bug.cgi?id=685093#c Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard| |obs:running:2888:moderate -- 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=685093 https://bugzilla.novell.com/show_bug.cgi?id=685093#c27 --- Comment #27 from Swamp Workflow Management <swamp@suse.de> 2014-07-01 10:06:21 UTC --- openSUSE-SU-2014:0857-1: An update that solves three vulnerabilities and has two fixes is now available. Category: security (moderate) Bug References: 685093,872396,879390,880962,883758 CVE References: CVE-2014-0178,CVE-2014-0244,CVE-2014-3493 Sources used: openSUSE 12.3 (src): samba-3.6.12-59.23.1, samba-doc-3.6.12-59.23.1 -- 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.
http://bugzilla.novell.com/show_bug.cgi?id=685093 --- Comment #30 from Bernhard Wiedemann <bwiedemann@suse.com> --- This is an autogenerated message for OBS integration: This bug (685093) was mentioned in https://build.opensuse.org/request/show/259903 Factory / permissions -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=685093 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Whiteboard|obs:running:2888:moderate | -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=685093 SMASH SMASH <smash_bz@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Whiteboard| | maint:planned:update -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=685093 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Whiteboard| maint:planned:update |maint:planned:update | |ibs:running:1207:moderate -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=685093 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Whiteboard|maint:planned:update |maint:planned:update |ibs:running:1207:moderate | -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=685093 http://bugzilla.novell.com/show_bug.cgi?id=685093#c34 --- Comment #34 from Swamp Workflow Management <swamp@suse.de> --- SUSE-RU-2015:1848-1: An update that has 6 recommended fixes can now be installed. Category: recommended (moderate) Bug References: 685093,891268,895647,904060,906336,943471 CVE References: Sources used: SUSE Linux Enterprise Server 12 (src): permissions-2015.09.28.1626-3.1 SUSE Linux Enterprise Desktop 12 (src): permissions-2015.09.28.1626-3.1 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=685093 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Whiteboard|maint:planned:update |maint:planned:update | |obs:running:4169:moderate -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=685093 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Whiteboard|maint:planned:update |maint:planned:update |obs:running:4169:moderate | -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=685093 http://bugzilla.novell.com/show_bug.cgi?id=685093#c35 --- Comment #35 from Swamp Workflow Management <swamp@suse.de> --- openSUSE-RU-2015:1973-1: An update that has 6 recommended fixes can now be installed. Category: recommended (moderate) Bug References: 685093,891268,895647,904060,906336,943471 CVE References: Sources used: openSUSE Leap 42.1 (src): permissions-2015.09.28.1626-5.1 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=685093 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Whiteboard|maint:planned:update | -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com