Do you have ldap logins enabled on your server?
Hello,
I need to make my a DHCP server on Fedora 11 and when I configure the dhcpd.conf and try to start the server it says this error. "Not searching LDAP since ldap-server, ldap-port and ldap-base-dn were not specified in the config file". Please help me out.
All I have to do is make my computer into a DHCP server so that when other people connect to my router, it will assign them an ip address.
This is my dhcpd.conf file.;
# dhcpd.conf
#
# Sample /etc/dhcpd.conf
# (add your comments here)
default-lease-time 600;
max-lease-time 7200;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.1.255;
option routers 192.168.1.254;
option domain-name-servers 192.168.1.1, 192.168.1.2;
option domain-name "mydomain.org";
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.10 192.168.1.100;
range 192.168.1.150 192.168.1.200;
}
Do you have ldap logins enabled on your server?
No I don't have ldap enabled on the server.
You may have it set in your PAM configuration. Try running authconfig or authconfig-tui. These programs set it up with a GUI and will make it easy to see.
1 hey soccer05 , do 1 thng open dhcpd.conf
i.e. vi .etc/dhcpd.conf
2 make the chnges: subenet = giv ur ip
option router= chk if the ip are in same series ,if not kae thm in same series
option nis domain =disable it by putting # at beggining
option domain name = put the zone name like "abc.com"
leasetime= this time is in seconds. u must specify time ...it means for this time only ip will exists.
3 range dynamic-bootp = giv the ip addresses tht u want in network .....
i hope it will work ....report me what happened..
I also see a message in /var/log/messages (CentOS 6.2) as follows
but I simply took this to be a warning/info message rather than an error and disregarded it.dhcp: Not searching LDAP since ldap-server, ldap-port and ldap-base-dn were not specified in the config file
Just for completeness I did run authconfig-tui to see if that shed any further light, but I don't think it does. It simply show the following selections (for Authentication)
- Use Shadow Passwords
- Local authorization is sufficient
I'm actually having different problems with setting up DHCP - on which I suspect I will post later - but I came across this whilst searching for possible solutions and thought that this additional info might help the next person that comes across it.
Bookmarks