davama

bad_ppm_install_using_symas-openldap_under_centos8

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