I am trying to configure Samba on Solaris. Currently I am having a problem getting the shares listed by IP or NETBIOSNAME
Here is the current smb.conf file
# more ../lib/smb.conf
[global]
workgroup = SGROUP
netbios name = SNETBIOS
hosts allow = all
remote announce = 210.82.38.248/SGROUP
name resolve order = hosts lmhosts wins bcast
log level = 3
[home]
path = /home/neitzen
browseable = yes
guest ok = yes
read only = yes
The LOCALHOST smbclient works
# smbclient -L localhost
added interface ip=210.82.38.132 bcast=210.82.38.135 nmask=255.255.255.248
Password:
Domain=[SGROUP] OS=[Unix] Server=[Samba 2.2.7a]
Sharename Type Comment
--------- ---- -------
home Disk
IPC$ IPC IPC Service (Samba 2.2.7a)
ADMIN$ Disk IPC Service (Samba 2.2.7a)
Server Comment
--------- -------
SNETBIOS Samba 2.2.7a
Workgroup Master
--------- -------
SGROUP
But listing by IP does not:
# ./smbclient -L 210.82.38.132
added interface ip=210.82.38.132 bcast=209.82.38.135 nmask=255.255.255.248
session request to 210.82.38.132 failed (Called name not present)
session request to 210 failed (Called name not present)
session request to *SMBSERVER failed (Called name not present)
./smbclient -L \\SGROUP\home -I 210.82.38.132
added interface ip=210.82.38.132 bcast=210.82.38.135 nmask=255.255.255.248
session request to SGROUPHOME failed (Called name not present)
session request to *SMBSERVER failed (Called name not present)
# ./smbclient -L SGROUP -I 210.82.38.132
added interface ip=210.82.38.132 bcast=210.82.38.135 nmask=255.255.255.248
session request to SGROUP failed (Called name not present)
session request to *SMBSERVER failed (Called name not present)
# ./smbclient -L SNETBIOS -I 210.82.38.132
added interface ip=210.82.38.132 bcast=210.82.38.135 nmask=255.255.255.248
session request to SNETBIOS failed (Called name not present)
session request to *SMBSERVER failed (Called name not present)
# ./smbclient -L 210.82.38.132 -I 210.82.38.132
added interface ip=209.82.38.132 bcast=209.82.38.135 nmask=255.255.255.248
session request to 209.82.38.132 failed (Called name not present)
session request to 209 failed (Called name not present)
session request to *SMBSERVER failed (Called name not present)
Nothing seems to work here..
Here is some TCPDUMP info
# tcpdump -ln -vv host 210.82.38.132 | tee tcpdump.samba
tcpdump: Command not found.
# /usr/local/sbin/tcpdump -ln -vv host 210.82.38.132 | tee tcpdump.samba
tcpdump: listening on hme0, capture size 68 bytes
17:02:17.636091 IP (tos 0x10, ttl 255, length: 148) 210.82.38.132.22 > 210.82.38.130.45808: P 1652950865:1652950961(96) ack 2674673014 win 10136 <nop,nop,timestamp 112681402 148055631> (DF)
17:02:17.636621 IP (tos 0x10, ttl 63, length: 52) 210.82.38.130.45808 > 210.82.38.132.22: . [tcp sum ok] 1:1(0) ack 96 win 63616 <nop,nop,timestamp 148055633 112681402> (DF)
17:02:17.675127 IP (tos 0x8, ttl 255, length: 104) 210.82.38.132.35856 > 195.141.201.130.2468: P 52574001:52574065(64) ack 2842441371 win 8760 (DF)
# /usr/local/samba/bin/nmblo
okup -B 210.82.38.132 __SAMBA__
querying __SAMBA__ on 210.82.38.132
210.82.38.132 __SAMBA__<00>
Any help would be greatly appreciated...
- N.
Start Free Trial