search for: smbscardd

Displaying 3 results from an estimated 3 matches for "smbscardd".

2023 Oct 14
3
Compiling within Samba Source-Tree
...rtain users. Calling system("smbpasswd") from within that daemon would be too slow so the daemon calls local_password_change(). I therefor compile that daemon within the Samba source-tree. Since its function is simular to smbpasswd I duplicated source3/utils/smbpasswd.c into source3/utils/smbscardd.c, replaced main() and removed all unneccessary routines. I then duplicated the smbpasswd-rules in Makefile as well so calling make would create the daemon. Samba4 uses a new build system, so I added source3/utils/smbscardd.c and replaced bld.SAMBA3_BINARY('smbpasswd', ????????????????...
2023 Oct 15
1
Compiling within Samba Source-Tree
Hi Ralph, Thanks very much - I will try your suggestions and let you know wether that helped or not Peter Am 15.10.2023 um 14:33 schrieb Ralph Boehme: > On 10/14/23 23:43, Peter Koch via samba wrote: >> It must be possible to tell the build-system that smbscardd needs >> -lcrypto >> Please let me know how. > > ./source3/wscript:??? conf.CHECK_FUNCS_IN('DES_pcbc_encrypt', 'crypto') > > As we already seem to check for libcrypto and store the dependency, > you should be able to just add crypto to your list of deps....
2023 Oct 15
1
Compiling within Samba Source-Tree
On 10/14/23 23:43, Peter Koch via samba wrote: > It must be possible to tell the build-system that smbscardd needs -lcrypto > Please let me know how. ./source3/wscript: conf.CHECK_FUNCS_IN('DES_pcbc_encrypt', 'crypto') As we already seem to check for libcrypto and store the dependency, you should be able to just add crypto to your list of deps. > no talloc stackframe at >...