Score:1

Samba & LDAP: did not correctly init (error was NT_STATUS_NO_MEMORY)

bh flag

I am trying to configure Samba to authenticate with a new ldap domain. In the logs I am seeing the following error:

pdb backend ldapsam:ldaps: did not correctly init (error was NT_STATUS_NO_MEMORY).

I have enabled verbose logging to try to get more information.

What does (error was NT_STATUS_NO_MEMORY) mean? Is it an issue on the Samba server or the Ldap server?

Thank you.

Score:0
us flag

I had the same error message while upgrading an old samba server (stretch to buster, to bullseye). I could solve it by recreating the secrets.tdb (see How to recreate samba secrets.tdb file) and by changing the line in /etc/samba/smb.conf where the ldap admin dn is specified. The value for this was contained in quotes. By removing the quotes I could start the samba server.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.