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 > ../../source3/passdb/machine_account_secrets.c:60, leaking memory > > So here's my second question: How do I avoid this warning?I guess you're missing a TALLOC_CTX *frame = talloc_stackframe(); in your initialisation. -slow -- Ralph Boehme, Samba Team https://samba.org/ SerNet Samba Team Lead https://sernet.de/en/ Worldwide Samba Support, Consulting and Development SAMBA+ Samba packages https://samba.plus/ -------------- next part -------------- A non-text attachment was scrubbed... Name: OpenPGP_signature.asc Type: application/pgp-signature Size: 840 bytes Desc: OpenPGP digital signature URL: <http://lists.samba.org/pipermail/samba/attachments/20231015/d1b18965/OpenPGP_signature.sig>
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. > >> no talloc stackframe at >> ../../source3/passdb/machine_account_secrets.c:60, leaking memory >> >> So here's my second question: How do I avoid this warning? > > I guess you're missing a > > TALLOC_CTX *frame = talloc_stackframe(); > > in your initialisation. > > -slow > > -- > Ralph Boehme, Samba Team???????? https://samba.org/ > SerNet Samba Team Lead??????? https://sernet.de/en/ > Worldwide Samba Support, Consulting and Development > SAMBA+ Samba packages?????????? https://samba.plus/ >
Apparently Analagous Threads
- Compiling within Samba Source-Tree
- Compiling within Samba Source-Tree
- Issue with acl_xattr:ignore system acls in 4.5rc2
- Issue with acl_xattr:ignore system acls in 4.5rc2
- Joining a Windows Server 2008 / 2008 R2 DC to a Samba AD - ISSUE - The RPC server is unavailable