move ldap patched dhcp server in tree

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/mds@709 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one
2009-01-21 21:12:06 +00:00
parent 829af809c9
commit ae48229d64
42 changed files with 14999 additions and 3 deletions

View File

@@ -0,0 +1,15 @@
--- server/dhcpd.c 2003-11-05 14:08:09.000000000 -0800
+++ server/dhcpd.c 2003-11-05 14:15:32.000000000 -0800
@@ -602,6 +602,12 @@
if (lftest)
exit (0);
+#if defined (PARANOIA)
+ /* Set proper permissions... */
+ if (lchown (path_dhcpd_db, set_uid, set_gid))
+ log_fatal ("lchown(%s, %d, %d): %m", path_dhcpd_db, (int) set_uid, (int) set_gid);
+#endif /* PARANOIA */
+
/* Discover all the network interfaces and initialize them. */
discover_interfaces (DISCOVER_SERVER);