From: Martin Thomas on
Running samba3.4.3, I notice the net command has address resolution problems but
not for all sub-commands.

Bad:
bin/net -s /home/martin/smb.conf -I172.21.0.156 -Ulab/dev%dev rpc share list
Connection to localhost failed (Error NT_STATUS_CONNECTION_REFUSED)

Good:
bin/net -s /home/martin/smb.conf -I172.21.0.156 -Ulab/dev%dev rpc group
None
boinc_admins
boinc_projects
boinc_users
Debugger Users
....


If I repeat the first command after changing -I (explicit IP address) to -S
(servername) then I get success:

bin/net -s /home/martin/smb.conf -S172.21.0.156 -Ulab/dev%dev rpc share list
IPC$
D$
ADMIN$
H$
C$


Should I go ahead and submit a bug?

Thanks // Martin



--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba