When I log-in under my id and in a Konsole type:-
[ian@turnbui ian]$ smbclient -N -L NICK -I 192.168.1.2 -W WORKGROUP
the command works fine.
However the same command is spawn'd by Xsmbrowser yet it fails with the fllowing from Win-XP:-
Error returning browse list: NT_STATUS ACCESS_DENIED
"spawn exports the current environment to the spawned process" so I'm told but If this is the problem surely its exporting my log-ins environment and should therefore work?!?
Can anyone help me with this please?
Following is the trace Xsmbrowser leaves in the Konsole:-
[ian@turnbui ian]$ xsmbrowser
Reading /etc/samba/smb.conf ...
Done reading (235 lines, Workgroup=WORKGROUP, Wins Server=none).
Checking if .xsmbrowser-* exist ...
Done.
Reading Global config ...
Done reading.
Reading User config ...
Done reading.
Reading /etc/mtab ...
Done.
spawn nmblookup -d 1 -S -M WORKGROUP
querying WORKGROUP on 192.168.1.255
192.168.1.3 WORKGROUP<1d>
Looking up status of 192.168.1.3
IAN_WINS <00> - H <ACTIVE>
IAN_WINS <03> - H <ACTIVE>
IAN_WINS <20> - H <ACTIVE>
..__MSBROWSE__. <01> - <GROUP> H <ACTIVE>
WORKGROUP <00> - <GROUP> H <ACTIVE>
WORKGROUP <1b> - H <ACTIVE>
WORKGROUP <1d> - H <ACTIVE>
WORKGROUP <1e> - <GROUP> H <ACTIVE>
MAC Address = 00-00-00-00-00-00
spawn smbclient -N -L IAN_WINS -I 192.168.1.3 -W WORKGROUP
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.7]
Sharename Type Comment
--------- ---- -------
print$ Disk
public Disk Public Stuff
IPC$ IPC IPC Service (Samba Server 3.0.7)
ADMIN$ IPC IPC Service (Samba Server 3.0.7)
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.7]
Server Comment
--------- -------
IAN-T-12 Iant-XP
IAN_WINS Samba Server 3.0.7
NICK Nick Main
Workgroup Master
--------- -------
WORKGROUP IAN_WINS
spawn nmblookup -d 1 NICK
querying NICK on 192.168.1.255
192.168.1.2 NICK<00>
spawn smbclient -N -L NICK -I 192.168.1.2 -W WORKGROUP
Domain=[WORKGROUP] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
Sharename Type Comment
--------- ---- -------
Error returning browse list: NT_STATUS_ACCESS_DENIED
Domain=[WORKGROUP] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
Server Comment
--------- -------
Workgroup Master
--------- -------
[ian@turnbui ian]$