Operating System - HP-UX
1833210 Members
2840 Online
110051 Solutions
New Discussion

Samba error : "open_sockets_smbd: accept: No buffer space available"

 
RNC
Frequent Advisor

Samba error : "open_sockets_smbd: accept: No buffer space available"

Hello all,

I have SAMBA version: smbd version 3.0.7 based HP CIFS Server A.02.01.02 started, on hp-ux 11.11, and when i probe to connect i recive the next error in /var/opt/samba/log.smbd:

[2007/09/24 16:35:47, 0] smbd/server.c:open_sockets_smbd(382)
open_sockets_smbd: accept: No buffer space available


Someone can help me?

Thanks in advanced
6 REPLIES 6
Sameer_Nirmal
Honored Contributor

Re: Samba error : "open_sockets_smbd: accept: No buffer space available"

The resource requirements of the CIFS A.02.xx.xx are different from its earlier versions. I would check the syslog.log file for any system related messages while trying to connect. There are few kernel parameters requirements like nfile, nproc etc. Refer the CIFS Admin guide.
RNC
Frequent Advisor

Re: Samba error : "open_sockets_smbd: accept: No buffer space available"

Now i modified the parameters like say in the document and i can't connect since the windows pc, and i obtain the next error in the log.winbindd :

[2007/09/25 10:00:07, 1] nsswitch/winbindd.c:main(853)
winbindd version 3.0.7 based HP CIFS Server A.02.01.02 started.
Copyright The Samba Team 2000-2004
[2007/09/25 10:00:07, 0] nsswitch/winbindd_util.c:winbindd_param_init(560)
winbindd: idmap uid range missing or invalid
[2007/09/25 10:00:07, 0] nsswitch/winbindd_util.c:winbindd_param_init(561)
winbindd: cannot continue, exiting.
[2007/09/25 10:00:07, 1] nsswitch/winbindd.c:main(886)
Could not init idmap -- netlogon proxy only
[2007/09/25 10:00:07, 1] nsswitch/winbindd_util.c:init_domain_list(326)
Could not fetch sid for our domain NEOSKY

RNC
Frequent Advisor

Re: Samba error : "open_sockets_smbd: accept: No buffer space available"

In any case, now the problem is, i have all configured correct, and i connect in my pc to access to the folder in the unix, but:

1.- I recive the window for insert user and passwd
2.- I insert the correct user and passwd
3.- I continue receiving the window for insert the user and passwd and i no recive the folder

J. Bravo
Respected Contributor

Re: Samba error : "open_sockets_smbd: accept: No buffer space available"

I don't know it you have checked this, but look into the smb.conf for configuration options for winbind:


# specify the uid range which can be used by winbindd to allocate uids for Windows users as necessary
winbind uid = 10000-65000

# specify the uid range which can be used by winbindd to allocate uids for Windows users as necessary
winbind gid = 10000-65000

# Define a home directory to be given to passwd(5) style entries generated by libnss_winbind.so. You can use variables here
winbind template homedir = /home/%D/%U

#Specify a shell for all winbind user entries return by the libnss_winbind.so library.
winbind template shell = /bin/sh
eric roseme
Respected Contributor

Re: Samba error : "open_sockets_smbd: accept: No buffer space available"

Hi RNC,

You are failing user/password authentication. First, upgrade your CIFS Server version to avoid the "buffer space" problem - that was fixed in an earlier release. Get A.02.03 at software.hp.com. Next, with the default log setting in smb.conf you will get a file /var/opt/samba/log.clientname. Set the "log level = 3" and try your logon, then look in the log file to see where it is failing. If you cannot see where it is failing, post for smb.conf here and a few lines from the log file that include the username and the error text (search on "failed" or "error").
RNC
Frequent Advisor

Re: Samba error : "open_sockets_smbd: accept: No buffer space available"

Hi all,

I resolved the problem in this way, i write if is possible to use for other that had the same problem:


1) In the [global] insert
encrypt password=yes
2) Execute with the user that you need (the same in the server that you use to connect)
smbpasswd −a

Bye.