Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cupsaddsmb goes to infinite loop #2901

Closed
michaelrsweet opened this issue Aug 10, 2008 · 1 comment
Closed

cupsaddsmb goes to infinite loop #2901

michaelrsweet opened this issue Aug 10, 2008 · 1 comment

Comments

@michaelrsweet
Copy link
Collaborator

@michaelrsweet michaelrsweet commented Aug 10, 2008

Version: 1.3.8
CUPS.org User: jaalto

Running command:

cupsaddsmb -v -H localhost -U root -a

Goes to infinite loop. The messages printed are similar to:

Running command: smbclient //localhost/print$ -N -A /tmp/489f07c546c76 -c 'mkdir W32X86;put /tmp/489f07bba7b7f W32X86/printer.ppd;put /usr/share/cups/drivers/ps5ui.dll W32X86/ps5ui.dll;put /usr/share/cups/drivers/pscript.hlp W32X86/pscript.hlp;put /usr/share/cups/drivers/pscript.ntf W32X86/pscript.ntf;put /usr/share/cups/drivers/pscript5.dll W32X86/pscript5.dll'
Domain=[HOST] OS=[Unix] Server=[Samba 3.2.0]
NT_STATUS_OBJECT_NAME_COLLISION making remote directory \W32X86
putting file /tmp/489f07bba7b7f as \W32X86/printer.ppd (3439.1 kb/s) (average 3439.1 kb/s)
putting file /usr/share/cups/drivers/ps5ui.dll as \W32X86/ps5ui.dll (6500.0 kb/s) (average 5793.6 kb/s)
/usr/share/cups/drivers/pscript.hlp does not exist
putting file /usr/share/cups/drivers/pscript.ntf as \W32X86/pscript.ntf (7302.5 kb/s) (average 7005.3 kb/s)
putting file /usr/share/cups/drivers/pscript5.dll as \W32X86/pscript5.dll (7085.9 kb/s) (average 7031.6 kb/s)

Running command: smbclient //localhost/print$ -N -A /tmp/489f07c546c76 -c 'put /usr/share/cups/drivers/cups6.ini W32X86/cups6.ini;put /usr/share/cups/drivers/cupsps6.dll W32X86/cupsps6.dll;put /usr/share/cups/drivers/cupsui6.dll W32X86/cupsui6.dll'
Domain=[HOST] OS=[Unix] Server=[Samba 3.2.0]
putting file /usr/share/cups/drivers/cups6.ini as \W32X86/cups6.ini (17.6 kb/s) (average 17.6 kb/s)
putting file /usr/share/cups/drivers/cupsps6.dll as \W32X86/cupsps6.dll (1753.3 kb/s) (average 1122.2 kb/s)
putting file /usr/share/cups/drivers/cupsui6.dll as \W32X86/cupsui6.dll (1907.3 kb/s) (average 1427.5 kb/s)

Running command: rpcclient localhost -N -A /tmp/489f07c546c76 -c 'adddriver "Windows NT x86" "printer:pscript5.dll:printer.ppd:ps5ui.dll:pscript.hlp:NULL:RAW:pscript5.dll,printer.ppd,ps5ui.dll,pscript.hlp,pscript.ntf,cups6.ini,cupsps6.dll,cupsui6.dll"'
result was WERR_UNKNOWN_PRINTER_DRIVER

Unable to install Windows 2000 printer driver files (1)!


UNAME: Linux host 2.6.25-2-686 #1 SMP Fri Jul 18 17:46:56 UTC 2008 i686 GNU/Linux
OS : Debian/testing
CUPS : 1.3.8-1

[Content of current directory where command was run] The files
were copied from Windows XP and per cupsaddsmb(8) manual page's
instructions.

$ ls -la
total 1412
drwxr-xr-x 2 root root 4096 2008-08-10 18:11 .
drwxr-xr-x 3 root root 4096 2008-08-10 18:08 ..
-rwxr-xr-x 1 root root 133120 2008-08-10 18:08 ps5ui.dll
-rwxr-xr-x 1 root root 464384 2008-08-10 18:08 pscript5.dll
-rwxr-xr-x 1 root root 26038 2008-08-10 18:08 pscript.hlp
-rwxr-xr-x 1 root root 792644 2008-08-10 18:08 pscript.ntf

cups* files are from the http://www.cups.org/windows
and manually installed with

install -m 644 i386/* /usr/share/cups/drivers/

$ ls -la /usr/share/cups/drivers/
drwxr-xr-x 2 root root 4096 2008-08-10 18:11 .
drwxr-xr-x 12 root root 4096 2008-08-10 16:49 ..
-rw-r--r-- 1 root root 803 2008-08-10 17:27 cups6.inf
-rw-r--r-- 1 root root 72 2008-08-10 17:27 cups6.ini
-rw-r--r-- 1 root root 9529 2008-08-10 17:27 cups6.ppd
-rw-r--r-- 1 root root 12568 2008-08-10 17:27 cupsps6.dll
-rw-r--r-- 1 root root 13672 2008-08-10 17:27 cupsui6.dll
-rw-r--r-- 1 root root 133120 2008-08-10 18:11 ps5ui.dll
-rw-r--r-- 1 root root 464384 2008-08-10 18:11 pscript5.dll
-rw-r--r-- 1 root root 26038 2008-08-10 18:11 pscript.hlp
-rw-r--r-- 1 root root 792644 2008-08-10 18:11 pscript.ntf

@michaelrsweet
Copy link
Collaborator Author

@michaelrsweet michaelrsweet commented Aug 26, 2008

CUPS.org User: mike

Samba, for some reason, isn't seeing your pscript.hlp file. Please file a bug with the Samba folks, including the information you supplied to us so they know how to reproduce it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant