[PATCH v2] samba-tool dns: Give a better error message when people get the server parameter wrong
kseeger at samba.org
Thu Nov 15 01:26:15 MST 2012
On Wed, Nov 14, 2012 at 01:28:01PM +0100, Kai Blin wrote:
> thanks for your input.
> > Hi, Now I will be the first to acknowledge that I know nothing about
> > writing software, but instead of writing a better error message,
> > wouldn't it be better to fix the problem?
> Sure. :)
> > On my samba4 server (ipaddress 192.168.0.10, FQDN adserver.home.lan) all
> > the following commands work & give the same information
> > samba-tool dns serverinfo 127.0.0.1
> > samba-tool dns serverinfo 192.168.0.10
> > samba-tool dns serverinfo adserver
> > samba-tool dns serverinfo adserver.home.lan
> > The only command that fails is:
> > samba-tool dns serverinfo localhost
> I wasn't aware that the dcerpc bind string can be a hostname as well.
> All I ever tried was localhost, and that never worked. :)
> Thanks for the heads up.
> > Wouldn't it be better to get localhost to work and print an error
> > message along the lines of 'information not available for <what ever was
> > given>, please check and retry' if the wrong server was given.
> Sure. Someone with more clue about this DCE/RPC stuff, why doesn't
> localhost work? :)
Bug https://bugzilla.samba.org/show_bug.cgi?id=9399 has been added to
track this issue. Kai, please feel free to re-assigning it to someone
More information about the samba-technical