[Samba] Problem when upgrading to samba 3.0.0
Hello, I am using samba 2.2.5 as file and print server. I want to upgrade to samba 3.0.0, but when I use samba 3.0.0 the name of some files is displayed using chinese-like characters. Furthermore, the uploading/downloading of windows printer drivers to/from the servers seems to be affected by the problem because the PCL code generated by the driver contains strange control characters. How can I solve this problem? Thanks in advance and congratulations for your great work. -- Manuel Arenaz [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] lprm command problem
I have SAMBA compiled without CUPS support. # ldd /usr/local/samba/sbin/smbd libdl.so.2 = /lib/libdl.so.2 (0x4001b000) libnsl.so.1 = /lib/libnsl.so.1 (0x4001e000) libcrypt.so.1 = /lib/libcrypt.so.1 (0x40033000) libc.so.6 = /lib/libc.so.6 (0x4006) /lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x4000) I will try to recompile it, and I hope it works. Thanks, Manuel On Thu, 2003-05-29 at 01:31, Ken Sarkies wrote: Hi Manuel Unless you have a particular reason for using your own print commands, once you have installed CUPS and are intending to use it, you shouldn't need to specify any print commands. You should simply put printing = cups printcap name = cups in the global section of smb.conf and samba/CUPS will handle everything from there. Make sure samba is compiled against CUPS. See http://www.linuxprinting.org/kpfeifle/SambaPrintHOWTO/Samba-HOWTO-Collection-3.0-PrintingChapter-9th-draft.html cheers, Ken as an aside, should there be a space between %p and %j, or is this a way of building a job-id for cancel? On Thu, 2003-05-29 at 00:15, Manuel Arenaz wrote: Hello, I have successfully installed samba 2.2.8 (with CUPS) as a windows printing server using the print$ share. The W2000 clients are able to send jobs to a printer and view the corresponding printer queue. However, when I try to delete a job from the windows client, I get the error bad command. My printers share in smb.conf is: [printers] comment = All Printers path = /tmp create mask = 0700 browseable = yes guest ok = yes writable = no printable = yes print command = /usr/bin/lp -d %p -o raw %s lpq command = /usr/bin/lpstat -o %p lprm command = /usr/bin/cancel %p-%j The command /usr/bin/cancel works fine in the linux server. May the error be due to bad replacement of the %p-%j string? Any help would be appreciated. Thanks in advance, Manuel Arenaz -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] compile samba-2.2.8 with libcups support?
First of all, thank you very much for your fast answers. Congratulations, samba is a great product. This is possibly a newbie question, but I am not able to compile samba-2.2.8 with libcups support. From the options that appear running ./configure --help, only --enable-cups seems to be related to the problem. However, after compilation the smbd executable is not linked with libcups. # ./configure --enable-cups # make # ldd /usr/local/samba-2.2.8-source/source/bin/smbd libdl.so.2 = /lib/libdl.so.2 (0x4001b000) libnsl.so.1 = /lib/libnsl.so.1 (0x4001e000) libcrypt.so.1 = /lib/libcrypt.so.1 (0x40033000) libc.so.6 = /lib/libc.so.6 (0x4006) /lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x4000) The library is installed in my system: # find /usr/lib -name libcups* -print /usr/lib/libcups.so.2 /usr/lib/libcupsimage.so.2 What configure options must I use? Any help or reference to a document that explains the process would be appreciated. Thanks in advance. Manuel Arenaz -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] compile samba-2.2.8 with libcups support?
On Fri, 2003-05-30 at 11:50, Chee Wai Yeung wrote: Hi, What linux? distribution are you using? If you are using rpm based distributions try to do a rpm -q -a | grep cups You should see cups, cups-libs and cups-devel If you don't have cups-devel, --enable-cups will fail silently and thus your smbd will not link with libcups. I am using debian testing. After installing the devel libraries, samba was successfully compiled with CUPS support. Thank you very much. (You can also check your config.log to see if there are failures when testing CUPS) Hope this helps. Chee Wai --- Manuel Arenaz [EMAIL PROTECTED] wrote: First of all, thank you very much for your fast answers. Congratulations, samba is a great product. This is possibly a newbie question, but I am not able to compile samba-2.2.8 with libcups support. From the options that appear running ./configure --help, only --enable-cups seems to be related to the problem. However, after compilation the smbd executable is not linked with libcups. # ./configure --enable-cups # make # ldd /usr/local/samba-2.2.8-source/source/bin/smbd libdl.so.2 = /lib/libdl.so.2 (0x4001b000) libnsl.so.1 = /lib/libnsl.so.1 (0x4001e000) libcrypt.so.1 = /lib/libcrypt.so.1 (0x40033000) libc.so.6 = /lib/libc.so.6 (0x4006) /lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x4000) The library is installed in my system: # find /usr/lib -name libcups* -print /usr/lib/libcups.so.2 /usr/lib/libcupsimage.so.2 What configure options must I use? Any help or reference to a document that explains the process would be appreciated. Thanks in advance. Manuel Arenaz -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba __ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] lprm command problem
Hello, I have successfully installed samba 2.2.8 (with CUPS) as a windows printing server using the print$ share. The W2000 clients are able to send jobs to a printer and view the corresponding printer queue. However, when I try to delete a job from the windows client, I get the error bad command. My printers share in smb.conf is: [printers] comment = All Printers path = /tmp create mask = 0700 browseable = yes guest ok = yes writable = no printable = yes print command = /usr/bin/lp -d %p -o raw %s lpq command = /usr/bin/lpstat -o %p lprm command = /usr/bin/cancel %p-%j The command /usr/bin/cancel works fine in the linux server. May the error be due to bad replacement of the %p-%j string? Any help would be appreciated. Thanks in advance, Manuel Arenaz -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba