[PATCH v2] samba-tool dns: Give a better error message when people get the server parameter wrong
kai at samba.org
Wed Nov 14 05:28:01 MST 2012
On 2012-11-14 13:01, Rowland Penny 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?
> 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? :)
Worldforge developer http://www.worldforge.org/
Wine developer http://wiki.winehq.org/KaiBlin
Samba team member http://www.samba.org/samba/team/
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 259 bytes
Desc: OpenPGP digital signature
More information about the samba-technical