steven henry
2002-Oct-25 09:38 UTC
[Samba] How to configure server smb.conf and client Windows NT under auto DHCP obtain IP address?
Samba server runs Redhat Linux7.3, smb rpm is samba-2.2.6-1.i386.rpm. Samba server and Client NT4 locate in the same LAN, both automatic obtain IP address from DHCP. Samba server host name: dhcp093. Client name: steven On the Server file: /etc/hosts: 127.0.0.1 dhcp093.in1.domain dhcp093(domain represents my company domain server name). But I use command /sbin/ifconfig eth0, I found inet addr: 129.202.0.93. Client: use ipconfig : 129.202.0.133. Shall I modify my /etc/hosts as 129.202.0.093 dhcp093.in1.domain dhcp093 ?? I configured both server smb.conf and client with the same group name, and with same user name and password, and share a directory for the defined user. But the problem is: 1. On client Neibourhood, I can see the Server computer, but I can not browse it. 2. I use command on samba server "nmblookup -B 129.202.0.255 dhcp093". (129.202.0.255 is the broadcast address). Event is" querying dhcp093 name failed". But I use command on samber server "nmblookup -b 129.202.0.255 steven" is successful. Can you explain these? How to configure server smb.conf and client Windows NT ? Thanks a lot!! __________________________________________________ Do you Yahoo!? Y! Web Hosting - Let the expert host your web site http://webhosting.yahoo.com/
steven henry
2002-Oct-25 09:50 UTC
[Samba] How to configure server smb.conf and client Windows NT under auto DHCP obtain IP address?
Samba server runs Redhat Linux7.3, smb rpm is samba-2.2.6-1.i386.rpm. Samba server and Client NT4 locate in the same LAN, both automatic obtain IP address from DHCP. Samba server host name: dhcp093. Client name: steven On the Server file: /etc/hosts: 127.0.0.1 dhcp093.in1.domain dhcp093(domain represents my company domain server name). But I use command /sbin/ifconfig eth0, I found inet addr: 129.202.0.93. Client: use ipconfig : 129.202.0.133. Shall I modify my /etc/hosts as 129.202.0.093 dhcp093.in1.domain dhcp093 ?? I configured both server smb.conf and client with the same group name, and with same user name and password, and share a directory for the defined user. But the problem is: 1. On client Neibourhood, I can see the Server computer, but I can not browse it. 2. I use command on samba server "nmblookup -B 129.202.0.255 dhcp093". (129.202.0.255 is the broadcast address). Event is" querying dhcp093 name failed". But I use command on samber server "nmblookup -b 129.202.0.255 steven" is successful. Can you explain these? How to configure server smb.conf and client Windows NT ? Thanks a lot!! __________________________________________________ Do you Yahoo!? Y! Web Hosting - Let the expert host your web site http://webhosting.yahoo.com/
Walter Mautner
2002-Oct-26 19:05 UTC
[Samba] How to configure server smb.conf and client Windows NT under auto DHCP obtain IP address?
> -----Original Message----- > From: samba-admin@lists.samba.org > [mailto:samba-admin@lists.samba.org] On Behalf Of steven henry > Sent: Friday, October 25, 2002 11:37 AM > To: samba@lists.samba.org > Subject: [Samba] How to configure server smb.conf and client > Windows NT under auto DHCP obtain IP address? > > > Samba server runs Redhat Linux7.3, smb rpm is > samba-2.2.6-1.i386.rpm. Samba server and Client NT4 locate in > the same LAN, both automatic > obtain IP address from DHCP. Samba server host name: dhcp093. > Client name: stevenInacceptable for a server. Make your sysadmin reserve a constant IP for your server. The "dhcp093" probably will change also with every new lease. You have to use "netbios names" instead, they should not be changed by dhcp.