CVS update: samba/source/rpcclient

Tim Potter tpot at samba.org
Thu Apr 18 08:14:36 EST 2002


On Wed, Apr 17, 2002 at 08:25:39AM -0500, Gerald Carter wrote:

> > Update of /data/cvs/samba/source/rpcclient
> > In directory va:/tmp/cvs-serv16462
> > 
> > Modified Files:
> > 	rpcclient.c 
> > Log Message:
> > Fixed command line argument parsing.
> 
> What was broken?  Everything worked in my tests....
> btw... have you noticed that rpcclient -c "enumprinters"
> is broken in HEAD?

rpcclient npsd-pdc2 -U% was trying to resolve -U% as a netbios name.
It looked like there was lots of leftover getopt() stuff still hanging
around which was interfering with the popt stuff.

> $ bin/rpcclient -Uroot%bleaK.er  queso
> rpcclient $> enumprinters
>         flags:[0x800000]
>         name:[]
>         description:[]
>         comment:[]
> 
>         flags:[0x800000]
>         name:[]
>         description:[]
>         comment:[]
> 
>         flags:[0x800000]
>         name:[]
>         description:[]
>         comment:[]
> 
> I tried this against SAMBA_2_2 and an NT 4.0 server.  Any ideas?

Bummer - I'll take a look if someone hasn't fixed it already.


Tim.




More information about the samba-cvs mailing list