davama

good_ppm_install_using_symas-openldap_under_centos7

Jul 2nd, 2020
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 35.60 KB | None | 0 0
  1. [root@old-nld-dsb-lab openldapsrc]# rpm2cpio ../symas-openldap-2.4.50-1.el7.src.rpm | cpio -idvm
  2. ITS8650.patch
  3. check-password-loglevels.patch
  4. check-password-makefile.patch
  5. check-password.patch
  6. ldap.conf
  7. libexec-check-config.sh
  8. libexec-convert-config.sh
  9. libexec-create-certdb.sh
  10. libexec-functions
  11. libexec-generate-server-cert.sh
  12. libexec-update-ppolicy-schema.sh
  13. libexec-upgrade-db.sh
  14. ltb-project-openldap-ppolicy-check-password-1.1.tar.gz
  15. openldap-2.4.50.tgz
  16. openldap-ai-addrconfig.patch
  17. openldap-allop-overlay.patch
  18. openldap-bdb_idl_fetch_key-correct-key-pointer.patch
  19. openldap-fedora-systemd.patch
  20. openldap-ldaprc-currentdir.patch
  21. openldap-man-ldap-conf.patch
  22. openldap-man-tls-reqcert.patch
  23. openldap-manpages.patch
  24. openldap-module-passwd-sha2.patch
  25. openldap-ppolicy-loglevels.patch
  26. openldap-reentrant-gethostby.patch
  27. openldap-smbk5pwd-overlay.patch
  28. openldap-sql-linking.patch
  29. openldap-switch-to-lt_dlopenadvise-to-get-RTLD_GLOBAL-set.patch
  30. openldap-tlsmc.patch
  31. openldap-userconfig-setgid.patch
  32. openldap.spec
  33. openldap.tmpfiles
  34. slapd.ldif
  35. slapd.service
  36. slapd.sysconfig
  37. slapd.tmpfiles
  38. 11563 blocks
  39. [root@old-nld-dsb-lab openldapsrc]# tar xf openldap-2.4.50.tgz
  40. [root@old-nld-dsb-lab openldapsrc]# cd openldap-2.4.50
  41. [root@old-nld-dsb-lab openldap-2.4.50]# ./configure
  42. Configuring OpenLDAP 2.4.50-Release ...
  43. checking build system type... x86_64-pc-linux-gnu
  44. checking host system type... x86_64-pc-linux-gnu
  45. checking target system type... x86_64-pc-linux-gnu
  46. checking for a BSD-compatible install... /usr/bin/install -c
  47. checking whether build environment is sane... yes
  48. checking for gawk... gawk
  49. checking whether make sets $(MAKE)... yes
  50. checking configure arguments... done
  51. checking for cc... cc
  52. checking for ar... ar
  53. checking for style of include used by make... GNU
  54. checking whether the C compiler works... yes
  55. checking for C compiler default output file name... a.out
  56. checking for suffix of executables...
  57. checking whether we are cross compiling... no
  58. checking for suffix of object files... o
  59. checking whether we are using the GNU C compiler... yes
  60. checking whether cc accepts -g... yes
  61. checking for cc option to accept ISO C89... none needed
  62. checking dependency style of cc... none
  63. checking for a sed that does not truncate output... /usr/bin/sed
  64. checking for grep that handles long lines and -e... /usr/bin/grep
  65. checking for egrep... /usr/bin/grep -E
  66. checking for ld used by cc... /usr/bin/ld
  67. checking if the linker (/usr/bin/ld) is GNU ld... yes
  68. checking for /usr/bin/ld option to reload object files... -r
  69. checking for BSD-compatible nm... /usr/bin/nm -B
  70. checking whether ln -s works... yes
  71. checking how to recognise dependent libraries... pass_all
  72. checking how to run the C preprocessor... cc -E
  73. checking for ANSI C header files... yes
  74. checking for sys/types.h... yes
  75. checking for sys/stat.h... yes
  76. checking for stdlib.h... yes
  77. checking for string.h... yes
  78. checking for memory.h... yes
  79. checking for strings.h... yes
  80. checking for inttypes.h... yes
  81. checking for stdint.h... yes
  82. checking for unistd.h... yes
  83. checking dlfcn.h usability... yes
  84. checking dlfcn.h presence... yes
  85. checking for dlfcn.h... yes
  86. checking the maximum length of command line arguments... 32768
  87. checking command to parse /usr/bin/nm -B output from cc object... ok
  88. checking for objdir... .libs
  89. checking for ranlib... ranlib
  90. checking for strip... strip
  91. checking if cc static flag works... yes
  92. checking if cc supports -fno-rtti -fno-exceptions... no
  93. checking for cc option to produce PIC... -fPIC
  94. checking if cc PIC flag -fPIC works... yes
  95. checking if cc supports -c -o file.o... yes
  96. checking whether the cc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
  97. checking whether -lc should be explicitly linked in... no
  98. checking dynamic linker characteristics... GNU/Linux ld.so
  99. checking how to hardcode library paths into programs... immediate
  100. checking whether stripping libraries is possible... yes
  101. checking for shl_load... no
  102. checking for shl_load in -ldld... no
  103. checking for dlopen... no
  104. checking for dlopen in -ldl... yes
  105. checking whether a program can dlopen itself... yes
  106. checking whether a statically linked program can dlopen itself... yes
  107. checking if libtool supports shared libraries... yes
  108. checking whether to build shared libraries... yes
  109. checking whether to build static libraries... yes
  110. configure: creating libtool
  111. checking how to run the C preprocessor... cc -E
  112. checking whether we are using MS Visual C++... no
  113. checking for be_app in -lbe... no
  114. checking whether we are using the GNU C compiler... (cached) yes
  115. checking whether cc accepts -g... (cached) yes
  116. checking for cc option to accept ISO C89... (cached) none needed
  117. checking dependency style of cc... (cached) none
  118. checking for cc depend flag... -M
  119. checking for afopen in -ls... no
  120. checking for EBCDIC... no
  121. checking for ANSI C header files... yes
  122. checking for dirent.h that defines DIR... yes
  123. checking for library containing opendir... none required
  124. checking for sys/wait.h that is POSIX.1 compatible... yes
  125. checking whether termios.h defines TIOCGWINSZ... no
  126. checking whether sys/ioctl.h defines TIOCGWINSZ... yes
  127. checking arpa/inet.h usability... yes
  128. checking arpa/inet.h presence... yes
  129. checking for arpa/inet.h... yes
  130. checking arpa/nameser.h usability... yes
  131. checking arpa/nameser.h presence... yes
  132. checking for arpa/nameser.h... yes
  133. checking assert.h usability... yes
  134. checking assert.h presence... yes
  135. checking for assert.h... yes
  136. checking bits/types.h usability... yes
  137. checking bits/types.h presence... yes
  138. checking for bits/types.h... yes
  139. checking conio.h usability... no
  140. checking conio.h presence... no
  141. checking for conio.h... no
  142. checking crypt.h usability... yes
  143. checking crypt.h presence... yes
  144. checking for crypt.h... yes
  145. checking direct.h usability... no
  146. checking direct.h presence... no
  147. checking for direct.h... no
  148. checking errno.h usability... yes
  149. checking errno.h presence... yes
  150. checking for errno.h... yes
  151. checking fcntl.h usability... yes
  152. checking fcntl.h presence... yes
  153. checking for fcntl.h... yes
  154. checking filio.h usability... no
  155. checking filio.h presence... no
  156. checking for filio.h... no
  157. checking getopt.h usability... yes
  158. checking getopt.h presence... yes
  159. checking for getopt.h... yes
  160. checking grp.h usability... yes
  161. checking grp.h presence... yes
  162. checking for grp.h... yes
  163. checking io.h usability... no
  164. checking io.h presence... no
  165. checking for io.h... no
  166. checking libutil.h usability... no
  167. checking libutil.h presence... no
  168. checking for libutil.h... no
  169. checking limits.h usability... yes
  170. checking limits.h presence... yes
  171. checking for limits.h... yes
  172. checking locale.h usability... yes
  173. checking locale.h presence... yes
  174. checking for locale.h... yes
  175. checking malloc.h usability... yes
  176. checking malloc.h presence... yes
  177. checking for malloc.h... yes
  178. checking for memory.h... (cached) yes
  179. checking psap.h usability... no
  180. checking psap.h presence... no
  181. checking for psap.h... no
  182. checking pwd.h usability... yes
  183. checking pwd.h presence... yes
  184. checking for pwd.h... yes
  185. checking process.h usability... no
  186. checking process.h presence... no
  187. checking for process.h... no
  188. checking sgtty.h usability... yes
  189. checking sgtty.h presence... yes
  190. checking for sgtty.h... yes
  191. checking shadow.h usability... yes
  192. checking shadow.h presence... yes
  193. checking for shadow.h... yes
  194. checking stddef.h usability... yes
  195. checking stddef.h presence... yes
  196. checking for stddef.h... yes
  197. checking for string.h... (cached) yes
  198. checking for strings.h... (cached) yes
  199. checking sysexits.h usability... yes
  200. checking sysexits.h presence... yes
  201. checking for sysexits.h... yes
  202. checking sys/file.h usability... yes
  203. checking sys/file.h presence... yes
  204. checking for sys/file.h... yes
  205. checking sys/filio.h usability... no
  206. checking sys/filio.h presence... no
  207. checking for sys/filio.h... no
  208. checking sys/fstyp.h usability... no
  209. checking sys/fstyp.h presence... no
  210. checking for sys/fstyp.h... no
  211. checking sys/errno.h usability... yes
  212. checking sys/errno.h presence... yes
  213. checking for sys/errno.h... yes
  214. checking sys/ioctl.h usability... yes
  215. checking sys/ioctl.h presence... yes
  216. checking for sys/ioctl.h... yes
  217. checking sys/param.h usability... yes
  218. checking sys/param.h presence... yes
  219. checking for sys/param.h... yes
  220. checking sys/privgrp.h usability... no
  221. checking sys/privgrp.h presence... no
  222. checking for sys/privgrp.h... no
  223. checking sys/resource.h usability... yes
  224. checking sys/resource.h presence... yes
  225. checking for sys/resource.h... yes
  226. checking sys/select.h usability... yes
  227. checking sys/select.h presence... yes
  228. checking for sys/select.h... yes
  229. checking sys/socket.h usability... yes
  230. checking sys/socket.h presence... yes
  231. checking for sys/socket.h... yes
  232. checking for sys/stat.h... (cached) yes
  233. checking sys/syslog.h usability... yes
  234. checking sys/syslog.h presence... yes
  235. checking for sys/syslog.h... yes
  236. checking sys/time.h usability... yes
  237. checking sys/time.h presence... yes
  238. checking for sys/time.h... yes
  239. checking for sys/types.h... (cached) yes
  240. checking sys/uio.h usability... yes
  241. checking sys/uio.h presence... yes
  242. checking for sys/uio.h... yes
  243. checking sys/vmount.h usability... no
  244. checking sys/vmount.h presence... no
  245. checking for sys/vmount.h... no
  246. checking syslog.h usability... yes
  247. checking syslog.h presence... yes
  248. checking for syslog.h... yes
  249. checking termios.h usability... yes
  250. checking termios.h presence... yes
  251. checking for termios.h... yes
  252. checking for unistd.h... (cached) yes
  253. checking utime.h usability... yes
  254. checking utime.h presence... yes
  255. checking for utime.h... yes
  256. checking for resolv.h... yes
  257. checking for netinet/tcp.h... yes
  258. checking for sys/ucred.h... no
  259. checking for sigaction... yes
  260. checking for sigset... yes
  261. checking for socket... yes
  262. checking for select... yes
  263. checking for sys/select.h... (cached) yes
  264. checking for sys/socket.h... (cached) yes
  265. checking types of arguments for select... int,fd_set *,struct timeval *
  266. checking for poll... yes
  267. checking poll.h usability... yes
  268. checking poll.h presence... yes
  269. checking for poll.h... yes
  270. checking sys/poll.h usability... yes
  271. checking sys/poll.h presence... yes
  272. checking for sys/poll.h... yes
  273. checking sys/epoll.h usability... yes
  274. checking sys/epoll.h presence... yes
  275. checking for sys/epoll.h... yes
  276. checking for epoll system call... yes
  277. checking sys/devpoll.h usability... no
  278. checking sys/devpoll.h presence... no
  279. checking for sys/devpoll.h... no
  280. checking declaration of sys_errlist... yes
  281. checking for strerror... yes
  282. checking for strerror_r... yes
  283. checking non-posix strerror_r... no
  284. checking for regex.h... yes
  285. checking for library containing regfree... none required
  286. checking for compatible POSIX regex... yes
  287. checking sys/uuid.h usability... no
  288. checking sys/uuid.h presence... no
  289. checking for sys/uuid.h... no
  290. checking uuid/uuid.h usability... no
  291. checking uuid/uuid.h presence... no
  292. checking for uuid/uuid.h... no
  293. checking to see if -lrpcrt4 is needed for win32 UUID support... no
  294. checking for resolver link (default)... no
  295. checking for resolver link (-lresolv)... yes
  296. checking for hstrerror... yes
  297. checking for getaddrinfo... yes
  298. checking for getnameinfo... yes
  299. checking for gai_strerror... yes
  300. checking for inet_ntop... yes
  301. checking INET6_ADDRSTRLEN... yes
  302. checking struct sockaddr_storage... yes
  303. checking sys/un.h usability... yes
  304. checking sys/un.h presence... yes
  305. checking for sys/un.h... yes
  306. checking openssl/ssl.h usability... yes
  307. checking openssl/ssl.h presence... yes
  308. checking for openssl/ssl.h... yes
  309. checking for SSL_CTX_set_msg_callback in -lssl... yes
  310. checking OpenSSL library version (CRL checking capability)... yes
  311. checking for _beginthread... no
  312. checking pthread.h usability... yes
  313. checking pthread.h presence... yes
  314. checking for pthread.h... yes
  315. checking POSIX thread version... 10
  316. checking for LinuxThreads pthread.h... no
  317. checking for GNU Pth pthread.h... no
  318. checking sched.h usability... yes
  319. checking sched.h presence... yes
  320. checking for sched.h... yes
  321. checking for pthread_create in default libraries... no
  322. checking for pthread link with -kthread... no
  323. checking for pthread link with -pthread... yes
  324. checking for sched_yield... yes
  325. checking for pthread_yield... yes
  326. checking for thr_yield... no
  327. checking for pthread_kill... yes
  328. checking for pthread_rwlock_destroy with <pthread.h>... yes
  329. checking for pthread_detach with <pthread.h>... yes
  330. checking for pthread_setconcurrency... yes
  331. checking for pthread_getconcurrency... yes
  332. checking for thr_setconcurrency... no
  333. checking for thr_getconcurrency... no
  334. checking for pthread_kill_other_threads_np... no
  335. checking for LinuxThreads implementation... no
  336. checking for LinuxThreads consistency... no
  337. checking if pthread_create() works... yes
  338. checking if select yields when using pthreads... yes
  339. checking for thread specific errno... yes
  340. checking for thread specific h_errno... yes
  341. checking for ctime_r... yes
  342. checking for gmtime_r... yes
  343. checking for localtime_r... yes
  344. checking for gethostbyname_r... yes
  345. checking for gethostbyaddr_r... yes
  346. checking number of arguments of ctime_r... 2
  347. checking number of arguments of gethostbyname_r... 6
  348. checking number of arguments of gethostbyaddr_r... 8
  349. checking db.h usability... yes
  350. checking db.h presence... yes
  351. checking for db.h... yes
  352. checking for Berkeley DB major version in db.h... 5
  353. checking for Berkeley DB minor version in db.h... 3
  354. checking if Berkeley DB version supported by BDB/HDB backends... yes
  355. checking for Berkeley DB link (-ldb-5.3)... yes
  356. checking for Berkeley DB library and header version match... yes
  357. checking for Berkeley DB thread support... yes
  358. checking for openlog... yes
  359. checking sasl/sasl.h usability... yes
  360. checking sasl/sasl.h presence... yes
  361. checking for sasl/sasl.h... yes
  362. checking sasl.h usability... no
  363. checking sasl.h presence... no
  364. checking for sasl.h... no
  365. checking for sasl_client_init in -lsasl2... yes
  366. checking Cyrus SASL library version... yes
  367. checking for sasl_version... yes
  368. checking fetch(3) library... no
  369. checking for setproctitle... no
  370. checking for setproctitle in -lutil... no
  371. checking for mode_t... yes
  372. checking for off_t... yes
  373. checking for pid_t... yes
  374. checking for ssize_t... yes
  375. checking for caddr_t... yes
  376. checking for size_t... yes
  377. checking for long long... yes
  378. checking for ptrdiff_t... yes
  379. checking for socklen_t... yes
  380. checking the type of arg 3 to accept()... socklen_t *
  381. checking return type of signal handlers... void
  382. checking for sig_atomic_t... yes
  383. checking for uid_t in sys/types.h... yes
  384. checking whether time.h and sys/time.h may both be included... yes
  385. checking whether struct tm is in sys/time.h or time.h... time.h
  386. checking for struct stat.st_blksize... yes
  387. checking for struct passwd.pw_gecos... yes
  388. checking for struct passwd.pw_passwd... yes
  389. checking if toupper() requires islower()... no
  390. checking for an ANSI C-conforming const... yes
  391. checking if compiler understands volatile... yes
  392. checking whether byte ordering is bigendian... no
  393. checking size of short... 2
  394. checking size of int... 4
  395. checking size of long... 8
  396. checking size of long long... 8
  397. checking size of wchar_t... 4
  398. checking for working memcmp... yes
  399. checking for strftime... yes
  400. checking for inet_aton()... yes
  401. checking for _spawnlp... no
  402. checking for _snprintf... no
  403. checking for vsnprintf... yes
  404. checking for _vsnprintf... no
  405. checking for vprintf... yes
  406. checking for _doprnt... no
  407. checking for snprintf... yes
  408. checking for vsnprintf... (cached) yes
  409. checking for bcopy... yes
  410. checking for closesocket... no
  411. checking for chroot... yes
  412. checking for endgrent... yes
  413. checking for endpwent... yes
  414. checking for fcntl... yes
  415. checking for flock... yes
  416. checking for fstat... yes
  417. checking for getdtablesize... yes
  418. checking for geteuid... yes
  419. checking for getgrgid... yes
  420. checking for gethostname... yes
  421. checking for getpassphrase... no
  422. checking for getpwuid... yes
  423. checking for getpwnam... yes
  424. checking for getspnam... yes
  425. checking for gettimeofday... yes
  426. checking for initgroups... yes
  427. checking for inet_ntoa_b... no
  428. checking for ioctl... yes
  429. checking for lockf... yes
  430. checking for memcpy... yes
  431. checking for memmove... yes
  432. checking for memrchr... yes
  433. checking for mkstemp... yes
  434. checking for mktemp... yes
  435. checking for pipe... yes
  436. checking for read... yes
  437. checking for recv... yes
  438. checking for recvfrom... yes
  439. checking for setpwfile... no
  440. checking for setgid... yes
  441. checking for setegid... yes
  442. checking for setsid... yes
  443. checking for setuid... yes
  444. checking for seteuid... yes
  445. checking for signal... yes
  446. checking for strdup... yes
  447. checking for strpbrk... yes
  448. checking for strrchr... yes
  449. checking for strsep... yes
  450. checking for strstr... yes
  451. checking for strtol... yes
  452. checking for strtoul... yes
  453. checking for strtoq... yes
  454. checking for strtouq... yes
  455. checking for strtoll... yes
  456. checking for strtoull... yes
  457. checking for strspn... yes
  458. checking for sysconf... yes
  459. checking for waitpid... yes
  460. checking for wait4... yes
  461. checking for write... yes
  462. checking for send... yes
  463. checking for sendmsg... yes
  464. checking for sendto... yes
  465. checking for getopt... yes
  466. checking for getpeereid... no
  467. checking for getpeerucred... no
  468. checking for struct msghdr.msg_accrightslen... no
  469. checking for struct msghdr.msg_control... yes
  470. checking for struct stat.st_fstype... no
  471. checking for struct stat.st_vfstype... no
  472. configure: creating ./config.status
  473. config.status: creating Makefile
  474. config.status: creating doc/Makefile
  475. config.status: creating doc/man/Makefile
  476. config.status: creating doc/man/man1/Makefile
  477. config.status: creating doc/man/man3/Makefile
  478. config.status: creating doc/man/man5/Makefile
  479. config.status: creating doc/man/man8/Makefile
  480. config.status: creating clients/Makefile
  481. config.status: creating clients/tools/Makefile
  482. config.status: creating include/Makefile
  483. config.status: creating libraries/Makefile
  484. config.status: creating libraries/liblber/Makefile
  485. config.status: creating libraries/libldap/Makefile
  486. config.status: creating libraries/libldap_r/Makefile
  487. config.status: creating libraries/liblunicode/Makefile
  488. config.status: creating libraries/liblutil/Makefile
  489. config.status: creating libraries/librewrite/Makefile
  490. config.status: creating servers/Makefile
  491. config.status: creating servers/slapd/Makefile
  492. config.status: creating servers/slapd/back-bdb/Makefile
  493. config.status: creating servers/slapd/back-dnssrv/Makefile
  494. config.status: creating servers/slapd/back-hdb/Makefile
  495. config.status: creating servers/slapd/back-ldap/Makefile
  496. config.status: creating servers/slapd/back-ldif/Makefile
  497. config.status: creating servers/slapd/back-mdb/Makefile
  498. config.status: creating servers/slapd/back-meta/Makefile
  499. config.status: creating servers/slapd/back-monitor/Makefile
  500. config.status: creating servers/slapd/back-ndb/Makefile
  501. config.status: creating servers/slapd/back-null/Makefile
  502. config.status: creating servers/slapd/back-passwd/Makefile
  503. config.status: creating servers/slapd/back-perl/Makefile
  504. config.status: creating servers/slapd/back-relay/Makefile
  505. config.status: creating servers/slapd/back-shell/Makefile
  506. config.status: creating servers/slapd/back-sock/Makefile
  507. config.status: creating servers/slapd/back-sql/Makefile
  508. config.status: creating servers/slapd/shell-backends/Makefile
  509. config.status: creating servers/slapd/slapi/Makefile
  510. config.status: creating servers/slapd/overlays/Makefile
  511. config.status: creating tests/Makefile
  512. config.status: creating tests/run
  513. config.status: creating tests/progs/Makefile
  514. config.status: creating include/portable.h
  515. config.status: creating include/ldap_features.h
  516. config.status: creating include/lber_types.h
  517. config.status: executing depfiles commands
  518. config.status: executing default commands
  519. Making servers/slapd/backends.c
  520. Add config ...
  521. Add ldif ...
  522. Add monitor ...
  523. Add bdb ...
  524. Add hdb ...
  525. Add mdb ...
  526. Add relay ...
  527. Making servers/slapd/overlays/statover.c
  528. Add syncprov ...
  529. Please run "make depend" to build dependencies
  530. [root@old-nld-dsb-lab openldap-2.4.50]# make depend
  531. Making depend in /root/openldapsrc/openldap-2.4.50
  532. Entering subdirectory include
  533. make[1]: Entering directory `/root/openldapsrc/openldap-2.4.50/include'
  534. Making ldap_config.h
  535. make[1]: Leaving directory `/root/openldapsrc/openldap-2.4.50/include'
  536.  
  537. Entering subdirectory libraries
  538. make[1]: Entering directory `/root/openldapsrc/openldap-2.4.50/libraries'
  539. Making depend in /root/openldapsrc/openldap-2.4.50/libraries
  540. Entering subdirectory liblutil
  541. make[2]: Entering directory `/root/openldapsrc/openldap-2.4.50/libraries/liblutil'
  542. ../../build/mkdep -d "." -c "cc" -m "-M" -I../../include -I../../include base64.c entropy.c sasl.c signal.c hash.c passfile.c md5.c passwd.c sha1.c getpass.c lockf.c utils.c uuid.c sockpair.c avl.c tavl.c testavl.c meter.c setproctitle.c getpeereid.c detach.c
  543. make[2]: Leaving directory `/root/openldapsrc/openldap-2.4.50/libraries/liblutil'
  544.  
  545. Entering subdirectory liblber
  546. make[2]: Entering directory `/root/openldapsrc/openldap-2.4.50/libraries/liblber'
  547. ../../build/mkdep -l -d "." -c "cc" -m "-M" -I../../include -I../../include assert.c decode.c encode.c io.c bprint.c debug.c memory.c options.c sockbuf.c stdio.c
  548. make[2]: Leaving directory `/root/openldapsrc/openldap-2.4.50/libraries/liblber'
  549.  
  550. Entering subdirectory liblunicode
  551. make[2]: Entering directory `/root/openldapsrc/openldap-2.4.50/libraries/liblunicode'
  552. touch .links
  553. ../../build/mkdep -d "." -c "cc" -m "-M" -I../../include -I../../include ucstr.c ucdata.c ucgendat.c ure.c urestubs.c
  554. make[2]: Leaving directory `/root/openldapsrc/openldap-2.4.50/libraries/liblunicode'
  555.  
  556. Entering subdirectory libldap
  557. make[2]: Entering directory `/root/openldapsrc/openldap-2.4.50/libraries/libldap'
  558. ../../build/mkdep -l -d "." -c "cc" -m "-M" -I../../include -I../../include bind.c open.c result.c error.c compare.c search.c controls.c messages.c references.c extended.c cyrus.c modify.c add.c modrdn.c delete.c abandon.c sasl.c gssapi.c sbind.c unbind.c cancel.c filter.c free.c sort.c passwd.c whoami.c getdn.c getentry.c getattr.c getvalues.c addentry.c request.c os-ip.c url.c pagectrl.c sortctrl.c vlvctrl.c init.c options.c print.c string.c util-int.c schema.c charray.c os-local.c dnssrv.c utf-8.c utf-8-conv.c tls2.c tls_o.c tls_g.c tls_m.c turn.c ppolicy.c dds.c txn.c ldap_sync.c stctrl.c assertion.c deref.c ldif.c fetch.c
  559. make[2]: Leaving directory `/root/openldapsrc/openldap-2.4.50/libraries/libldap'
  560.  
  561. Entering subdirectory libldap_r
  562. make[2]: Entering directory `/root/openldapsrc/openldap-2.4.50/libraries/libldap_r'
  563. touch .links
  564. ../../build/mkdep -l -d "." -c "cc" -m "-M" -I../../include -I../../include -DLDAP_R_COMPILE -I./../libldap threads.c rdwr.c rmutex.c tpool.c rq.c thr_posix.c thr_cthreads.c thr_thr.c thr_nt.c thr_pth.c thr_stub.c thr_debug.c apitest.c test.c bind.c open.c result.c error.c compare.c search.c controls.c messages.c references.c extended.c cyrus.c modify.c add.c modrdn.c delete.c abandon.c sasl.c gssapi.c sbind.c unbind.c cancel.c filter.c free.c sort.c passwd.c whoami.c getdn.c getentry.c getattr.c getvalues.c addentry.c request.c os-ip.c url.c pagectrl.c sortctrl.c vlvctrl.c init.c options.c print.c string.c util-int.c schema.c charray.c os-local.c dnssrv.c utf-8.c utf-8-conv.c tls2.c tls_o.c tls_g.c tls_m.c turn.c ppolicy.c dds.c txn.c ldap_sync.c stctrl.c assertion.c deref.c ldif.c fetch.c
  565. make[2]: Leaving directory `/root/openldapsrc/openldap-2.4.50/libraries/libldap_r'
  566.  
  567. Entering subdirectory librewrite
  568. make[2]: Entering directory `/root/openldapsrc/openldap-2.4.50/libraries/librewrite'
  569. ../../build/mkdep -d "." -c "cc" -m "-M" -I../../include -I../../include config.c context.c info.c ldapmap.c map.c params.c rule.c session.c subst.c var.c xmap.c parse.c rewrite.c
  570. make[2]: Leaving directory `/root/openldapsrc/openldap-2.4.50/libraries/librewrite'
  571.  
  572. make[1]: Leaving directory `/root/openldapsrc/openldap-2.4.50/libraries'
  573.  
  574. Entering subdirectory clients
  575. make[1]: Entering directory `/root/openldapsrc/openldap-2.4.50/clients'
  576. Making depend in /root/openldapsrc/openldap-2.4.50/clients
  577. Entering subdirectory tools
  578. make[2]: Entering directory `/root/openldapsrc/openldap-2.4.50/clients/tools'
  579. ../../build/mkdep -d "." -c "cc" -m "-M" -I../../include -I../../include ldapsearch.c ldapmodify.c ldapdelete.c ldapmodrdn.c ldappasswd.c ldapwhoami.c ldapcompare.c ldapexop.c ldapurl.c common.c
  580. make[2]: Leaving directory `/root/openldapsrc/openldap-2.4.50/clients/tools'
  581.  
  582. make[1]: Leaving directory `/root/openldapsrc/openldap-2.4.50/clients'
  583.  
  584. Entering subdirectory servers
  585. make[1]: Entering directory `/root/openldapsrc/openldap-2.4.50/servers'
  586. Making depend in /root/openldapsrc/openldap-2.4.50/servers
  587. Entering subdirectory slapd
  588. make[2]: Entering directory `/root/openldapsrc/openldap-2.4.50/servers/slapd'
  589.  
  590. cd back-bdb; make -w depend
  591. make[3]: Entering directory `/root/openldapsrc/openldap-2.4.50/servers/slapd/back-bdb'
  592. ../../../build/mkdep -l -d "." -c "cc" -m "-M" -I../../../include -I../../../include -I.. -I./.. init.c tools.c config.c add.c bind.c compare.c delete.c modify.c modrdn.c search.c extended.c referral.c operational.c attr.c index.c key.c dbcache.c filterindex.c dn2entry.c dn2id.c error.c id2entry.c idl.c nextid.c cache.c trans.c monitor.c
  593. make[3]: Leaving directory `/root/openldapsrc/openldap-2.4.50/servers/slapd/back-bdb'
  594.  
  595. cd back-dnssrv; make -w depend
  596. make[3]: Entering directory `/root/openldapsrc/openldap-2.4.50/servers/slapd/back-dnssrv'
  597. run configure with --enable-dnssrv to make back_dnssrv
  598. make[3]: Leaving directory `/root/openldapsrc/openldap-2.4.50/servers/slapd/back-dnssrv'
  599.  
  600. cd back-hdb; make -w depend
  601. make[3]: Entering directory `/root/openldapsrc/openldap-2.4.50/servers/slapd/back-hdb'
  602. touch .links
  603. ../../../build/mkdep -l -d "." -c "cc" -m "-M" -I../../../include -I../../../include -I.. -I./.. -I. -I./../back-bdb init.c tools.c config.c add.c bind.c compare.c delete.c modify.c modrdn.c search.c extended.c referral.c operational.c attr.c index.c key.c dbcache.c filterindex.c trans.c dn2entry.c dn2id.c error.c id2entry.c idl.c nextid.c cache.c monitor.c
  604. make[3]: Leaving directory `/root/openldapsrc/openldap-2.4.50/servers/slapd/back-hdb'
  605.  
  606. cd back-ldap; make -w depend
  607. make[3]: Entering directory `/root/openldapsrc/openldap-2.4.50/servers/slapd/back-ldap'
  608. run configure with --enable-ldap to make back_ldap
  609. make[3]: Leaving directory `/root/openldapsrc/openldap-2.4.50/servers/slapd/back-ldap'
  610.  
  611. cd back-ldif; make -w depend
  612. make[3]: Entering directory `/root/openldapsrc/openldap-2.4.50/servers/slapd/back-ldif'
  613. ../../../build/mkdep -l -d "." -c "cc" -m "-M" -I../../../include -I../../../include -I.. -I./.. ldif.c
  614. make[3]: Leaving directory `/root/openldapsrc/openldap-2.4.50/servers/slapd/back-ldif'
  615.  
  616. cd back-mdb; make -w depend
  617. make[3]: Entering directory `/root/openldapsrc/openldap-2.4.50/servers/slapd/back-mdb'
  618. ../../../build/mkdep -l -d "." -c "cc" -m "-M" -I../../../include -I../../../include -I.. -I./.. -I./../../../libraries/liblmdb init.c tools.c config.c add.c bind.c compare.c delete.c modify.c modrdn.c search.c extended.c operational.c attr.c index.c key.c filterindex.c dn2entry.c dn2id.c id2entry.c idl.c nextid.c monitor.c
  619. make[3]: Leaving directory `/root/openldapsrc/openldap-2.4.50/servers/slapd/back-mdb'
  620.  
  621. cd back-meta; make -w depend
  622. make[3]: Entering directory `/root/openldapsrc/openldap-2.4.50/servers/slapd/back-meta'
  623. run configure with --enable-meta to make back_meta
  624. make[3]: Leaving directory `/root/openldapsrc/openldap-2.4.50/servers/slapd/back-meta'
  625.  
  626. cd back-monitor; make -w depend
  627. make[3]: Entering directory `/root/openldapsrc/openldap-2.4.50/servers/slapd/back-monitor'
  628. ../../../build/mkdep -l -d "." -c "cc" -m "-M" -I../../../include -I../../../include -I.. -I./.. -I./../slapi init.c search.c compare.c modify.c bind.c operational.c cache.c entry.c backend.c database.c thread.c conn.c rww.c log.c operation.c sent.c listener.c time.c overlay.c
  629. make[3]: Leaving directory `/root/openldapsrc/openldap-2.4.50/servers/slapd/back-monitor'
  630.  
  631. cd back-ndb; make -w depend
  632. make[3]: Entering directory `/root/openldapsrc/openldap-2.4.50/servers/slapd/back-ndb'
  633. run configure with --enable-ndb to make back_ndb
  634. make[3]: Leaving directory `/root/openldapsrc/openldap-2.4.50/servers/slapd/back-ndb'
  635.  
  636. cd back-null; make -w depend
  637. make[3]: Entering directory `/root/openldapsrc/openldap-2.4.50/servers/slapd/back-null'
  638. run configure with --enable-null to make back_null
  639. make[3]: Leaving directory `/root/openldapsrc/openldap-2.4.50/servers/slapd/back-null'
  640.  
  641. cd back-passwd; make -w depend
  642. make[3]: Entering directory `/root/openldapsrc/openldap-2.4.50/servers/slapd/back-passwd'
  643. run configure with --enable-passwd to make back_passwd
  644. make[3]: Leaving directory `/root/openldapsrc/openldap-2.4.50/servers/slapd/back-passwd'
  645.  
  646. cd back-perl; make -w depend
  647. make[3]: Entering directory `/root/openldapsrc/openldap-2.4.50/servers/slapd/back-perl'
  648. run configure with --enable-perl to make back_perl
  649. make[3]: Leaving directory `/root/openldapsrc/openldap-2.4.50/servers/slapd/back-perl'
  650.  
  651. cd back-relay; make -w depend
  652. make[3]: Entering directory `/root/openldapsrc/openldap-2.4.50/servers/slapd/back-relay'
  653. ../../../build/mkdep -l -d "." -c "cc" -m "-M" -I../../../include -I../../../include -I.. -I./.. init.c op.c
  654. make[3]: Leaving directory `/root/openldapsrc/openldap-2.4.50/servers/slapd/back-relay'
  655.  
  656. cd back-shell; make -w depend
  657. make[3]: Entering directory `/root/openldapsrc/openldap-2.4.50/servers/slapd/back-shell'
  658. run configure with --enable-shell to make back_shell
  659. make[3]: Leaving directory `/root/openldapsrc/openldap-2.4.50/servers/slapd/back-shell'
  660.  
  661. cd back-sock; make -w depend
  662. make[3]: Entering directory `/root/openldapsrc/openldap-2.4.50/servers/slapd/back-sock'
  663. run configure with --enable-sock to make back_sock
  664. make[3]: Leaving directory `/root/openldapsrc/openldap-2.4.50/servers/slapd/back-sock'
  665.  
  666. cd back-sql; make -w depend
  667. make[3]: Entering directory `/root/openldapsrc/openldap-2.4.50/servers/slapd/back-sql'
  668. run configure with --enable-sql to make back_sql
  669. make[3]: Leaving directory `/root/openldapsrc/openldap-2.4.50/servers/slapd/back-sql'
  670.  
  671. cd shell-backends; make -w depend
  672. make[3]: Entering directory `/root/openldapsrc/openldap-2.4.50/servers/slapd/shell-backends'
  673. run configure with --enable-shell to make passwd-shell
  674. make[3]: Leaving directory `/root/openldapsrc/openldap-2.4.50/servers/slapd/shell-backends'
  675.  
  676. cd slapi; make -w depend
  677. make[3]: Entering directory `/root/openldapsrc/openldap-2.4.50/servers/slapd/slapi'
  678. ../../../build/mkdep -l -d "." -c "cc" -m "-M" -I../../../include -I.. -I. -I../../../include -I./.. -I. plugin.c slapi_pblock.c slapi_utils.c printmsg.c slapi_ops.c slapi_dn.c slapi_ext.c slapi_overlay.c
  679. plugin.c:33:18: fatal error: ltdl.h: No such file or directory
  680. #include <ltdl.h>
  681. ^
  682. compilation terminated.
  683. make[3]: Leaving directory `/root/openldapsrc/openldap-2.4.50/servers/slapd/slapi'
  684.  
  685. cd overlays; make -w depend
  686. make[3]: Entering directory `/root/openldapsrc/openldap-2.4.50/servers/slapd/overlays'
  687. ../../../build/mkdep -l -d "." -c "cc" -m "-M" -I../../../include -I../../../include -I.. -I./.. overlays.c accesslog.c auditlog.c constraint.c dds.c deref.c dyngroup.c dynlist.c memberof.c pcache.c collect.c ppolicy.c refint.c retcode.c rwm.c rwmconf.c rwmdn.c rwmmap.c seqmod.c sssvlv.c syncprov.c translucent.c unique.c valsort.c
  688. make[3]: Leaving directory `/root/openldapsrc/openldap-2.4.50/servers/slapd/overlays'
  689.  
  690. ../../build/mkdep -d "." -c "cc" -m "-M" -I../../include -I. -I./slapi -I. -I../../include main.c globals.c bconfig.c config.c daemon.c connection.c search.c filter.c add.c cr.c attr.c entry.c backend.c result.c operation.c dn.c compare.c modify.c delete.c modrdn.c ch_malloc.c value.c ava.c bind.c unbind.c abandon.c filterentry.c phonetic.c acl.c str2filter.c aclparse.c init.c user.c lock.c controls.c extended.c passwd.c schema.c schema_check.c schema_init.c schema_prep.c schemaparse.c ad.c at.c mr.c syntax.c oc.c saslauthz.c oidm.c starttls.c index.c sets.c referral.c root_dse.c sasl.c module.c mra.c mods.c sl_malloc.c zn_malloc.c limits.c operational.c matchedValues.c cancel.c syncrepl.c backglue.c backover.c ctxcsn.c ldapsync.c frontend.c slapadd.c slapcat.c slapcommon.c slapdn.c slapindex.c slappasswd.c slaptest.c slapauth.c slapacl.c component.c aci.c alock.c txn.c slapschema.c
  691. make[2]: Leaving directory `/root/openldapsrc/openldap-2.4.50/servers/slapd'
  692.  
  693. make[1]: Leaving directory `/root/openldapsrc/openldap-2.4.50/servers'
  694.  
  695. Entering subdirectory tests
  696. make[1]: Entering directory `/root/openldapsrc/openldap-2.4.50/tests'
  697. Making depend in /root/openldapsrc/openldap-2.4.50/tests
  698. Entering subdirectory progs
  699. make[2]: Entering directory `/root/openldapsrc/openldap-2.4.50/tests/progs'
  700. ../../build/mkdep -d "." -c "cc" -m "-M" -I../../include -I../../include slapd-common.c slapd-tester.c slapd-search.c slapd-read.c slapd-addel.c slapd-modrdn.c slapd-modify.c slapd-bind.c slapd-mtread.c ldif-filter.c
  701. make[2]: Leaving directory `/root/openldapsrc/openldap-2.4.50/tests/progs'
  702.  
  703. make[1]: Leaving directory `/root/openldapsrc/openldap-2.4.50/tests'
  704.  
  705. Entering subdirectory doc
  706. make[1]: Entering directory `/root/openldapsrc/openldap-2.4.50/doc'
  707. Making depend in /root/openldapsrc/openldap-2.4.50/doc
  708. Entering subdirectory man
  709. make[2]: Entering directory `/root/openldapsrc/openldap-2.4.50/doc/man'
  710. Making depend in /root/openldapsrc/openldap-2.4.50/doc/man
  711. Entering subdirectory man1
  712. make[3]: Entering directory `/root/openldapsrc/openldap-2.4.50/doc/man/man1'
  713. make[3]: Nothing to be done for `depend'.
  714. make[3]: Leaving directory `/root/openldapsrc/openldap-2.4.50/doc/man/man1'
  715.  
  716. Entering subdirectory man3
  717. make[3]: Entering directory `/root/openldapsrc/openldap-2.4.50/doc/man/man3'
  718. make[3]: Nothing to be done for `depend'.
  719. make[3]: Leaving directory `/root/openldapsrc/openldap-2.4.50/doc/man/man3'
  720.  
  721. Entering subdirectory man5
  722. make[3]: Entering directory `/root/openldapsrc/openldap-2.4.50/doc/man/man5'
  723. make[3]: Nothing to be done for `depend'.
  724. make[3]: Leaving directory `/root/openldapsrc/openldap-2.4.50/doc/man/man5'
  725.  
  726. Entering subdirectory man8
  727. make[3]: Entering directory `/root/openldapsrc/openldap-2.4.50/doc/man/man8'
  728. make[3]: Nothing to be done for `depend'.
  729. make[3]: Leaving directory `/root/openldapsrc/openldap-2.4.50/doc/man/man8'
  730.  
  731. make[2]: Leaving directory `/root/openldapsrc/openldap-2.4.50/doc/man'
  732.  
  733. make[1]: Leaving directory `/root/openldapsrc/openldap-2.4.50/doc'
  734.  
  735. [root@old-nld-dsb-lab openldap-2.4.50]# cd contrib/slapd-modules/
  736. [root@old-nld-dsb-lab slapd-modules]# git clone https://github.com/ltb-project/ppm.git
  737. Cloning into 'ppm'...
  738. remote: Enumerating objects: 27, done.
  739. remote: Counting objects: 100% (27/27), done.
  740. remote: Compressing objects: 100% (20/20), done.
  741. remote: Total 154 (delta 12), reused 21 (delta 7), pack-reused 127
  742. Receiving objects: 100% (154/154), 58.83 KiB | 0 bytes/s, done.
  743. Resolving deltas: 100% (83/83), done.
  744. [root@old-nld-dsb-lab slapd-modules]# cd ppm/
  745. [root@old-nld-dsb-lab ppm]# make CONFIG=/etc/openldap/ppm.conf OLDAP_SOURCES=../../..
  746. gcc -g -O2 -Wall -fpic -DCONFIG_FILE="\"/etc/openldap/ppm.conf\"" -DDEBUG -c -I../../../include -I../../../servers/slapd -DCRACKLIB ppm.c
  747. gcc -I../../../include -I../../../servers/slapd -shared -o ppm.so ppm.o -lcrack
  748. gcc -g -I../../../include -I../../../servers/slapd -L../../../libraries/liblber/.libs -L../../../libraries/libldap_r/.libs -Wl,-rpath=. -o ppm_test ppm_test.c ppm.so -lldap_r -llber -lcrack
  749. [root@old-nld-dsb-lab ppm]# make install CONFIG=/etc/openldap/ppm.conf LIBDIR=/usr/lib64/openldap
  750. gcc -I../../../include -I../../../servers/slapd -shared -o ppm.so ppm.o -lcrack
  751. cp -f ppm.so /usr/lib64/openldap
  752. cp -f ppm_test /usr/lib64/openldap
  753. cp -f ppm.conf /etc/openldap/ppm.conf
Add Comment
Please, Sign In to add comment