DHCPd with Samba
2face
lau-lau at unforgettable.com
Sun May 2 15:44:56 GMT 1999
Hi
I have a redhat 5.2 Kernel pre-2.2.7-4 with Samba 2.1.0-prealpha (CVS
1999-05-01),
with ISC dhcpd V2-beta-1-patchlevel-6.
I followed the DHCP-Server-Configuration.txt, but what I want to know is
how do I tell Samba (ie lmhosts) the NetBIOS name of the computers?
I THINK I've looked in all docs that followed Samba, and haven't found
anything.
The net I'm trying to configure dhcpd for is one DX2 Linuxbox, one Win95
166MMX, one win98 300C. As you can see it's to say the least overkill
with dhcpd, but I use this as a 'school' for learning to administrate
Unix.
I suspect the following is off topic, but I also have problem with the
following lines being added every 12th minute
[1999/05/02 17:27:46, 2] nmbd/nmbd_browsesync.c:sync_with_dmb(160)
sync_with_dmb:
Initiating sync with domain master browser PROXY<20> at IP 127.0.0.1
for workgroup RADARHOME
[1999/05/02 17:30:41, 0] nmbd/nmbd_packets.c:process_browse_packet(999)
process_browse_packet: Discarding datagram from IP 127.0.0.1. Source
name PROXY<00> is one of our names !
[1999/05/02 17:30:41, 0] nmbd/nmbd_packets.c:process_browse_packet(999)
process_browse_packet: Discarding datagram from IP 127.0.0.1. Source
name PROXY<00> is one of our names !
[1999/05/02 17:42:45, 0] nmbd/nmbd_packets.c:process_browse_packet(999)
process_browse_packet: Discarding datagram from IP 127.0.0.1. Source
name PROXY<00> is one of our names !
[1999/05/02 17:42:45, 0] nmbd/nmbd_packets.c:process_browse_packet(999)
process_browse_packet: Discarding datagram from IP 127.0.0.1. Source
name PROXY<00> is one of our names !
Thanks in advance!
Btw, thank you all of the Samba development team for bringing me (& lots
of others) this GREAT program. NT = Old Technology...
/Tobias Olsson
-------------- next part --------------
server-identifier proxy.radarhome;
subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.1 192.168.0.254;
default-lease-time 72000;
max-lease-time 144000;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.0.255;
option routers 192.168.0.1;
option domain-name-servers 192.168.0.1;
option domain-name "radarhome";
option time-offset 39600;
option ip-forwarding off;
option netbios-name-servers 192.168.0.1;
option netbios-dd-server 192.168.0.1;
option netbios-node-type 8;
}
group {
next-server 192.168.0.10;
option subnet-mask 255.255.255.0;
option domain-name "radarhome";
option domain-name-servers 192.168.0.1;
option netbios-name-servers 192.168.0.1
option netbios-dd-server 192.168.0.1;
option netbios-node-type 8;
option routers 192.168.0.254;
option time-offset 39600;
}
-------------- next part --------------
# Samba config file created using SWAT
# from toface.radarhome (192.168.0.2)
# Date: 1999/05/02 15:00:52
# Global parameters
workgroup = RADARHOME
netbios name = PROXY
server string = Linux burken
interfaces = 127.0.0.1/255.255.255.255 192.168.0.1/24
bind interfaces only = Yes
encrypt passwords = Yes
passwd chat debug = Yes
unix password sync = Yes
log level = 2
log file = /var/log/samba/log.%m
max log size = 50
name resolve order = lmhosts
time server = Yes
socket options = TCP_NODELAY
logon script = scripts\%U.bat
logon path = \\%L\Profiles\%U
logon home = \\%L\%U
domain logons = Yes
os level = 65
preferred master = True
domain master = True
dns proxy = No
wins support = Yes
message command = csh -c '/etc/command.sh %f %m %I %s' &
valid chars = 0345:0305 0366:0326 0344:0304
guest account = ftp
printer driver location = \\%L\printer$
follow symlinks = No
[homes]
comment = Home Directories
valid users = %S
read only = No
browseable = No
[netlogon]
comment = Network Logon Service
path = /home/netlogon
guest ok = Yes
share modes = No
[Profiles]
path = /home/profiles
read only = No
create mask = 0600
directory mask = 0700
only user = Yes
browseable = No
[printers]
comment = All Printers
path = /var/spool/samba
print ok = Yes
browseable = No
[upload]
comment = Upload directory
path = /home/ftp/upload
read only = No
create mask = 0777
directory mask = 0777
guest ok = Yes
[programs]
path = /home/shared_programs
read only = No
create mask = 0660
directory mask = 0770
guest only = Yes
[root]
comment = Root filesystem access
path = /
valid users = toface
read only = No
More information about the samba-ntdom
mailing list