I was wondering if anyone has heard of someone trying to improve on rpcclient, specifically regarding the printer-related commands. Also, it seems that rpcclient has trouble returning a large list of printers (enumprinters), like in the range of 200. Has anyone heard about this? Thanks in advance for replies :-) Thomas Klopf MMS - Gulf Region (ACS-GS contractor) -------------- next part -------------- HTML attachment scrubbed and removed
On Wed, May 29, 2002 at 12:56:04PM -0500, Klopf, Tom wrote:> I was wondering if anyone has heard of someone trying to improve on > rpcclient, specifically regarding the printer-related commands. Also, it > seems that rpcclient has trouble returning a large list of printers > (enumprinters), like in the range of 200. Has anyone heard about this? > > Thanks in advance for replies :-)rpcclient is admittedly pretty crappy. It's only meant as a developer tool which is not really an excuse. The HEAD version has a lot of the printing commands repaired if you would like to try it out instead of the 2.2 version. Tim.
Thanks very much - that clarifies things a lot. Thomas Klopf MMS - Gulf Region (ACS-GS contractor) -----Original Message----- From: Tim Potter [mailto:tpot@samba.org] Sent: Thursday, May 30, 2002 6:44 PM To: Tom.Klopf@mms.gov Subject: Re: [Samba] Will rpcclient ever get better? On Thu, May 30, 2002 at 08:28:43AM -0600, Tom.Klopf@mms.gov wrote:> Thanks very much for the response. I was a little confused by thedifferent> development trees for samba, though. As far as I could tell, there's the > "standard" samba (is this "head"?) and then there's TNG. Could you tellme> where to get the HEAD version of rpcclient exactly?So the standard samba is really the latest released version of 2.2. Most new development takes place in the HEAD branch and is eventually ported into 2.2 or will become Samba 3.0. TNG is different again. They are more focussed on being a DCE/RPC server rather than a file and print server. If you want to try out some of the development code, download the nightly tarball from ftp://ftp.samba.org/pub/unpacked/tarballs/samba-head-snapshot.tar.gz Having unpacked it, do: cd source ./configure make bin/rpcclient Then if you like copy bin/rpcclient somewhere like /usr/local/bin/rpcclient-head if you find it useful. If you are using a packaged binary version of Samba you may need to muck around with some options to configure to tell rpcclient where to find your smb.conf file. Regards, Tim.