Is this a bug ?

Jack J get_info101 at
Tue Jul 27 01:32:38 GMT 2004


Looking at file net.c:


BOOL net_find_server(unsigned flags, struct in_addr
*server_ip, char **server_name)

    if (opt_host) {
        *server_name = strdup(opt_host);

    if (opt_have_ip) {
        *server_ip = opt_dest_ip;
        if (!*server_name) {
            *server_name =

why does the code covert IP address to ascii ?

For example if I use:

net join -I

The code above does: *server_name = ""
Should it not do: gethostbyaddr() ??

Is this a bug ?



Do you Yahoo!?
Take Yahoo! Mail with you! Get it on your mobile phone. 

More information about the samba-technical mailing list