[Samba] Net command address resolution

Martin Thomas martin_thomas at mcafee.com
Tue Jan 26 15:37:36 MST 2010


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





More information about the samba mailing list