[Samba] Samba/winbind

Lassen Jørgen lassen at danfoss.com
Mon Aug 19 23:09:01 GMT 2002


Hi, 

I have a problem with getting winbind to work on my domain. I have installed
ver 2.2.5 with winbind as a depot file, and that went ok. I have set up
samba, and testparm finds no errors. I have joined the domain, again, no
problem ! 
Now here's the thing: 

I cant use wbinfo: 

# ./wbinfo -u 
Error looking up domain users 
# ./wbinfo -t 
Could not check secret 
# ./wbinfo -g 
Error looking up domain groups 
# ./wbinfo -m 
Could not list trusted domain 

If i do a ./winbindd -i -d 1 i get this: 

Added domain FP02 (S-1-5-21-12331394-1185628507-9522986) 
[2002/08/14 14:22:30, 1] nsswitch/winbindd_util.c:(164) 
Added domain IN01 (S-1-5-21-2108509408-25497423-532618811) 
[2002/08/14 14:22:31, 1] nsswitch/winbindd_util.c:(164) 
Added domain IN02 (S-1-5-21-2146598497-1751611310-645736813) 
[2002/08/14 14:22:31, 0] lib/util_sock.c:(772) 
open_socket_in(): socket() call failed: Too many open files 
[2002/08/14 14:22:31, 0] lib/util_sock.c:(772) 
open_socket_in(): socket() call failed: Too many open files 
[2002/08/14 14:22:31, 0] lib/util_sock.c:(772) 
open_socket_in(): socket() call failed: Too many open files 
[2002/08/14 14:22:31, 0] lib/util_sock.c:(772) 
open_socket_in(): socket() call failed: Too many open files 
[2002/08/14 14:22:31, 1] nsswitch/winbindd_util.c:(164) 
Added domain BRAPT98 (S-1-5-21-654460698-771908679-1844936127) 
[2002/08/14 14:22:31, 0] lib/util_sock.c:(772) 
open_socket_in(): socket() call failed: Too many open files 
[2002/08/14 14:22:32, 0] lib/util_sock.c:(772) 
open_socket_in(): socket() call failed: Too many open files 
[2002/08/14 14:22:32, 0] lib/util_sock.c:(772) 
open_socket_in(): socket() call failed: Too many open files 
[2002/08/14 14:22:32, 0] lib/util_sock.c:(772) 
open_socket_in(): socket() call failed: Too many open files 

and so on...... 

my smb.conf: 

# Global parameters 
[global] 
workgroup = XXXXXX 
security = DOMAIN 
encrypt passwords = Yes 
password server = * 
preferred master = False 
local master = No 
domain master = False 
wins server = x.x.x.x 
socket options = TCP_NODELAY 
winbind uid = 10000-20000 
winbind gid = 10000-20000 
winbind enum users = yes 
winbind enum groups = yes 
template shell = /bin/false 

[test] 
comment = Samba ver. 2.2.5 
path = /samba 
read only = No 

Does anyon have an idea what is wrong ? 

btw. my nsswicht.conf: 

passwd: files winbind 
group: files winbind 
hosts: dns [NOTFOUND=return] files 
services: files 
networks: files 
protocols: files 
rpc: files 
publickey: files 
netgroup: files 
automount: files 
aliases: files 


Hope someone can help please !! 
thanks... 


Best regards

Jørgen Lassen






More information about the samba mailing list