> Maybe there isn't a glibc version (although
> it shouldn't be hard to port the Solaris version to
>glibc).
I will try to port nss_wins to glibc.
I made some changes to smb.conf and follow the tests
described in Samba diagnosis
(www.samba.org/samba/docs/diagnosis.html)
smb.conf
[global]
workgroup = NETMANAGER
server string = Deltacom Samba Server
printcap name = /etc/printcap
load printers = yes
printing = lprng
log file = /var/log/samba/%m.log
max log size = 0
security = share
socket options = TCP_NODELAY SO_RCVBUF=8192
SO_SNDBUF=8192
remote browse sync = 172.30.1.255
remote announce = 172.30.1.255
local master = no
netbios name = deltacom
name resolve order = wins bcast
wins server = 172.30.1.100
dns proxy = no
debug level = 3
veto files = /root/etc/dev/usr/
[tmp]
comment = Temporary files
path = /tmp
public = yes
read only = yes
[tatia]
comment = Tatiana home directory
path = /home/tatia/
public = yes
printable = no
browseable = yes
writable = no
With this configuration I can see my host deltacom
from winnt machine in Network Neightborhood window and
I can access /tmp but I cannot access by share
/home/tatia. The directory appear but when I click on
it nothing happens.
Now the tests:
Test 1: No errors from ">testparam smb.conf"
Test 2: ping delatcom ok from an winnt machine (let it
be doinae)
ping doinae failed from deltacom host (unknown
host)
All Winnt machine use dchp to obtain an IP address
and of course my delatcom host too.
Test 3: >smbclient -L deltacom
doing parameter veto files = /root/etc/dev/usr/
pm_process() returned Yes
SSL: Error error setting CA cert locations:
error:00000000::lib(0) :func(0) :reason(0)
trying default locations.
added interface ip=172.20.64.7 bcast=172.20.64.255
nmask=255.255.255.0
Client started (version 2.0.7).
resolve_wins: Attempting wins lookup for name
deltacom<0x20>
bind succeeded on port 0
Got a positive name query response from 172.30.1.100 (
172.20.64.7 )
Connecting to 172.20.64.7 at port 139
Password:
After I type the password everthing is OK.
Domain=[NETMANAGER] OS=[Unix] Server=[Samba 2.0.7]
Sharename Type Comment
--------- ---- -------
tatia Disk Tatiana home directory
IPC$ IPC IPC Service (Deltacom Samba
Server)
Server Comment
--------- -------
DELTACOM Deltacom Samba Server
IT1
NETSECURITY
Workgroup Master
--------- -------
NETMANAGER IT1
Test4: [root@deltacom /root]# nmblookup -B delatcom
__SAMBA__
doing parameter veto files = /root/etc/dev/usr/
pm_process() returned Yes
added interface ip=172.20.64.7 bcast=172.20.64.255
nmask=255.255.255.0
bind succeeded on port 0
Socket opened.
querying __SAMBA__ on 0.0.0.0
Got a positive name query response from 127.0.0.1 (
172.20.64.7 )
172.20.64.7 __SAMBA__<00>
Test 5: [root@deltacom /root]# nmblookup -B doinae
'*'
doing parameter veto files = /root/etc/dev/usr/
pm_process() returned Yes
added interface ip=172.20.64.7 bcast=172.20.64.255
nmask=255.255.255.0
bind succeeded on port 0
Socket opened.
querying * on 0.0.0.0
Got a positive name query response from 127.0.0.1 (
172.20.64.7 )
172.20.64.7 *<00>
Test 6: [root@deltacom /root]# nmblookup -d 2 '*'
doing parameter veto files = /root/etc/dev/usr/
pm_process() returned Yes
added interface ip=172.20.64.7 bcast=172.20.64.255
nmask=255.255.255.0
querying * on 172.20.64.255
Got a positive name query response from 172.20.64.28 (
172.20.64.28 )
Got a positive name query response from 172.20.64.68 (
172.20.64.68 ) ...........
Test 7: nmblookup //deltacom/home/tatia -Utatia
doing parameter veto files = /root/etc/dev/usr/
pm_process() returned Yes
added interface ip=172.20.64.7 bcast=172.20.64.255
nmask=255.255.255.0
bind succeeded on port 0
Socket opened.
querying //deltacom/home/tatia on 172.20.64.255
name_query failed to find name //deltacom/home/tatia
Test 8: >net view \\deltacom
Shared resoureces at \\deltacom
Delatcom Samba Server
Share name Type Used as Comment
-------------------------------------------------------
tatia Disk Tatia home directory
tmp Disk Temporary files
The command completed successfully
Test 9:>net use x: \\deltacom\tmp
The command completed successfully
???? It did not print anything or ask for a password
Test 10:[root@deltacom samba]# nmblookup -M NETMANAGER
doing parameter veto files = /root/etc/dev/usr/
pm_process() returned Yes
added interface ip=172.20.64.7 bcast=172.20.64.255
nmask=255.255.255.0
bind succeeded on port 0
Socket opened.
querying NETMANAGER on 172.20.64.255
Got a positive name query response from 172.20.64.160
( 172.20.64.160 )172.20.64.160 NETMANAGER<1d>
This is the Master Browse for NETMANAGER.
I can ping from my deltacom all the hosts in DNS but
cannot ping hosts that belong to LANs served by WINS.
Here the DNS list:>nslookup
Default Server: mail.romtelecom.ro
Address: 172.30.1.3 > ls -d romtelecom.ro.
[mail.romtelecom.ro]
...
1H IN NS mail
1H IN NS mail_it1
1H IN MX 0 mail_it1
accounts1 1H IN A 172.20.66.3
b 1H IN MX 10 mail.b
mail.b 1H IN A 10.251.254.5
...
it 1H IN MX 10 linuxmail.it
linuxmail.it 1H IN A 172.20.64.76
it1 1H IN A 172.30.1.41
....
ns1 1H IN A 172.30.1.100
ns2 1H IN A 172.30.1.101
...
rtnet01 1H IN A 193.231.107.43
rtnet02 1H IN A 193.231.104.2
server2 1H IN A 172.20.64.92
...
@ 1H IN SOA mail
...
it1 Proxy server to Internet
ns1 and ns2 are WINS servers
[root@deltacom samba]# pump -i eth0 --status
Device eth0
IP: 172.20.64.7
Netmask: 255.255.255.0
Broadcast: 172.20.64.255
Network: 172.20.64.0
Boot server 172.20.64.73
Next server 0.0.0.0
Gateway: 172.20.64.71
Domain: romtelecom.ro
Nameservers: 172.30.1.3
Renewal time: Fri Jan 12 20:51:21 2001
Expiration time: Fri Jan 12 22:21:21 2001
I am not register to any DNS and probably I will not
be, due to security reasons establish by the Admin
guy.
TIA
What can I do to successfully ping hosts on WINS LANs.
====Eng. Bubulac Angela Tatiana
IT Department, Romtelecom
Phone: 4002804
__________________________________________________
Do You Yahoo!?
Yahoo! Photos - Share your holiday photos online!
http://photos.yahoo.com/