Anantha Raghava raghav at exzatechconsulting.com
Mon Apr 10 12:54:43 UTC 2023

Hello Rowland,

Find the _*smb.conf :*_

netbios name = DC4
server role = active directory domain controller
workgroup = KTKBANKLTD
path = /usr/local/samba/var/locks/sysvol
read only = No
path = /usr/local/samba/var/locks/sysvol/ktkbankltd.com/scripts
       read only = No


{"timestamp": "2023-04-10T09:52:23.323933+0530", "type": 
"Authentication", "Authentication": {"version": {"major": 1, "minor": 
2}, "eventId": 4625, "logonId": "beef0000dead", "logonType": 3, 
"status": "NT_STATUS_ACCOUNT_LOCKED_OUT", "localAddress": 
"ipv4:", "remoteAddress": 
"ipv4:", "serviceDescription": "SamLogon", 
"authDescription": "network", "clientDomain": "KTKBANKLTD", 
"clientAccount": "k6100", "workstation": "\\\\SHI732SAVADE04", 
"becameAccount": null, "becameDomain": null, "becameSid": null, 
"mappedAccount": "k6100", "mappedDomain": "KTKBANKLTD", 
"netlogonComputer": "KBLDCPROXY", "netlogonTrustAccount": " 
;KBLDCPROXY$", "netlogonNegotiateFlags": "0x610FFFFF", 
"netlogonSecureChannelType": 2, "netlogonTrustAccountSid": 
"S-1-5-21-2327230821-3654296898-2374465889-39068", "passwordType": 
"NTLMv2", "duration": 67124}}
ldb: unable to open modules directory '/usr/local/samba/lib/ldb' - Too 
many open files
ldb: unable to open modules directory '/usr/local/samba/lib/ldb' - Too 
many open files
[2023/04/10 09:52:23.3 35122,  0] 
    single_accept_connection: single_accept_connection: accept: 

{"timestamp": "2023-04-10T09:52:23.425118+0530", "type": "dsdbChange", 
"dsdbChange": {"version": {"major": 1, "minor": 0}, "statusCode": 0, 
"status": "Success", "operation": "Modify", "remoteAddress": null, 
"performedAsSystem": false, "userSid": "S-1-5-18", "dn": 
uot;, "transactionId": "b7480e24-cad6-4494-97e3-9c2195d5d46c", 
"sessionId": "511ad8c7-c85b-49f4-84b2-54c8d22be96d", "attributes": 
{"dnsRecord": {"actions": [{"action": "replace", "values": [{"base64": 
true, "value": "BAABAAXwAABuAAAAAAAEsAAAAADQejgArBw8DQ=="}]}]}}}}


393", "mappedAccount": "KOL032AMTHP01$", "mappedDomain": "KTKBANKLTD", 
"netlogonComputer": null, "netlogonTrustAccount": null, 
"netlogonNegotiateFlags": "0x00000000", "netlogonSecureChannelType": 0
, "netlogonTrustAccountSid": null, "passwordType": 
"aes256-cts-hmac-sha1-96", "duration": 100508}}
ldb: unable to open modules directory '/usr/local/samba/lib/ldb' - Too 
many open files
ldb: unable to open modules directory '/usr/local/samba/lib/ldb' - Too 
many open files
[2023/04/10 10:02:25.524087,  0] 
   ldb: module encrypted_secrets initialization failed : Operations error
[2023/04/10 10:02:25.524160,  0] 
   ldb: module group_audit_log initialization failed : Operations error
[2023/04/10 10:02:25.524203,  0] 
   ldb: module repl_meta_data initialization failed : Operations error
[2023/04/10 10:02:25.524220,  0] 
   ldb: module subtree_delete initialization failed : Operations error
[2023/04/10 10:02:25.524236,  0] 
   ldb: module aclread initialization failed : Operations error
[2023/04/10 10:02:25.524251,  0] 
   ldb: module acl initialization failed : Operations error
[2023/04/10 10:02:25.524266,  0] 
   ldb: module descriptor initialization failed : Operations error
[2023/04/10 10:02:25.524283,  0] 
   ldb: module objectclass initialization failed : Operations error
[2023/04/10 10:02:25.524298,  0] 
   ldb: module audit_log initialization failed : Operations error
[2023/04/10 10:02:25.524313,  0] 
   ldb: module asq initialization failed : Operations error
[2023/04/10 10:02:25.524330,  0] 
   ldb: module server_sort initialization failed : Operations error
[2023/04/10 10:02:25.524348,  0] 
   ldb: module vlv initialization failed : Operations error
[2023/04/10 10:02:25.524384,  0] 
   ldb: module dsdb_paged_results initialization failed : Operations error
[2023/04/10 10:02:25.524400,  0] 
   ldb: module dirsync initialization failed : Operations error
[2023/04/10 10:02:25.524415,  0] 
   ldb: module schema_load initialization failed : Operations error
[2023/04/10 10:02:25.524429,  0] 
   ldb: module dsdb_notification initialization failed : Operations error
[2023/04/10 10:02:25.524467,  0] 
   ldb: module rootdse initialization failed : Operations error
[2023/04/10 10:02:25.524517,  0] 
   ldb: module samba_dsdb initialization failed : Operations error
[2023/04/10 10:02:25.524536,  0] 
   ldb: Unable to load modules for /usr/local/samba/private/sam.ldb: 
Error (24) Too many open files - Opening encrypted_secrets key file
ldb: unable to open modules directory '/usr/local/samba/lib/ldb' - Too 
many open files
ldb: unable to open modules directory '/usr/local/samba/lib/ldb' - Too 
many open files
[2023/04/10 10:02:25.525008,  1] 

Thanks & Regards,

Anantha Raghava H A
Chief Executive Officer
Exzatech Consulting And Services Private Limited
Ph: +91-9538849179, Email: raghav at exzatechconsulting.com
URL: https://www.exzatechconsulting.com

Ndryve – A New Age Content Collaboration Workspace
*Your data intrinsically empowers its recipients, for good or bad.*

Register and use Ndryve at https://ndryve.com

Share your reviews, and ask your questions on Ndryve at our Forums 

*Ndryve - Connect & Collaborate*

This e-mail communication and any attachments may be privileged and 
confidential to Exzatech Consulting And Services Pvt. Ltd., Bangalore, 
and are intended only for the use of the recipients named above If you 
are not the addressee you may not copy, forward, disclose or use any 
part of it. If you have received this message in error, please delete it 
and all copies from your system and notify the sender immediately by 
return e-mail. Internet communications cannot be guaranteed to be 
timely, secure, error or virus-free. The sender does not accept 
liability for any errors or omissions.

Do not print this e-mail unless required. Save Paper & trees.

On 10/04/23 1:07 pm, Rowland Penny via samba wrote:
> On 10/04/2023 07:22, Anantha Raghava via samba wrote:
>> Hi,
>> We upgraded from Samba version 4.15.9 to 4.18.1 on last Saturday. We 
>> are running AD-DC Service. Our upgrade process was nothing but a 
>> fresh compile & installation and add the samba instance to AD-DC 
>> cluster as a Domain Controller and demote and remove the old one. Of 
>> 5 server, there are no issues. 2 of them experiencing slowness and in 
>> the logs we are seeing "single_accept_connection: 
> Are you sure that is the exact message ?
> Could it actually be:
> single_accept_connection: accept: NT_STATUS_TOO_MANY_OPENED_FILE
>> The smb.conf is a standard auto-generated one. No specific parameter 
>> is added. This is slowing down the response to Authentication 
>> requests, DNS queries and even replication.
> Please post the smb.conf in use (just to check something strange 
> hasn't gone wrong)
> Also, can you post the entire log lines, including some from above the 
> 'single_accept_connection' lines (sanitised if must)
> Rowland

More information about the samba mailing list