Hello 🙂
This may not be possible (netsearching results are contradictory) but it would be nice for the WXP client users to be able to browse Samba shares on the same server as OpenVPN via My Network Places -> Entire Network -> Microsoft Windows Network -> <workgroup name>.
What is working:
What is not working: My Network Places -> Entire Network -> Microsoft Windows Network -> <workgroup name>. No error but nothing listed (the WXP client has no non-administrative shares).
Analysis:
C:\Documents and Settings\Administrator>browstat status
Status for domain ACUR on transport \Device\NetBT_Tcpip_{3B8F088D-0CE7-4994-ABB9-D6E3DBE70D5B}
Browsing is active on domain.
Master browser name is: CW8VWXPV
Master browser is running build 2600
1 backup servers retrieved from master CW8VWXPV
\\CW8VWXPV
There are 1 servers in domain ACUR on transport \Device\NetBT_Tcpip_{3B8F088D-0CE7-4994-ABB9-D6E3DBE70D5B}
There are 1 domains in domain ACUR on transport \Device\NetBT_Tcpip_{3B8F088D-0CE7-4994-ABB9-D6E3DBE70D5B}
Status for domain ACUR on transport \Device\NetBT_Tcpip_{412D62EA-B6B7-4BEA-876C-B0C199471BB5}
Browsing is active on domain.
Master browser name is: CW8VWXPV
Master browser is running build 2600
1 backup servers retrieved from master CW8VWXPV
\\CW8VWXPV
There are 1 servers in domain ACUR on transport \Device\NetBT_Tcpip_{412D62EA-B6B7-4BEA-876C-B0C199471BB5}
There are 1 domains in domain ACUR on transport \Device\NetBT_Tcpip_{412D62EA-B6B7-4BEA-876C-B0C199471BB5}
So it looks like the WXP client's browser service has not found the browser running on the server ... ?
Attempts to get it working:
For testing purposes the WXP firewall is off and there are no IPTABLES. Both the WXP client and the Samba server use the same workgroup.
The client configuration file:
client
dev tun
proto udp
remote <IP address hidden> 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca <server name hidden>.ca.crt
cert <client name hidden>.crt
key <client name hidden>.key
ns-cert-type server
comp-lzo
verb 3
The server configuration file:
port 1194
proto udp
mssfix 1400
dev tun
ca easy-rsa/keys/ca.crt
cert easy-rsa/keys/server.crt
key easy-rsa/keys/server.key
dh easy-rsa/keys/dh1024.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "dhcp-option WINS 10.8.0.1"
push "dhcp-option NBT 2"
keepalive 10 120
comp-lzo
persist-key
persist-tun
status /var/log/openvpn-status.log
verb 3
management localhost 7505
The Samba configuration (canonicalised by testparm; presumably
local master = yes is a default so removed by testparm):
[global]
workgroup = ACUR
security = SHARE
wins support = Yes
guest only = Yes
[Anbu-system]
path = /srv/rsync/Anbu-system
guest ok = Yes
[snip similar shares]
Client versions: WXP Pro SP2 in VirtualBox VM running OpenVPN 2.2.0
Server versions: Debian 6 Squeeze 64-bit running OpenVPN 2.1.3 and Samba 2:3.5.6
Best
Charles