1833758 Members
2308 Online
110063 Solutions
New Discussion

Samba/Winbind

 
Jorgen Lassen
Occasional Advisor

Samba/Winbind

Hi,
Sorry to bother you all again, but my problem has not been solved. Thanks to Chris, but it did not help me...

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 can't 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...
Failure is not an option, it comes standard with all Microsoft products.
2 REPLIES 2
Donald Fisher
Advisor

Re: Samba/Winbind



Before you start winbindd be sure to issue the following command

#smbpasswd -j DOMAIN -r PDC -U

Join to the domain

start winbindd

wbinfo -t (should now show the connection)
Steven E. Protter
Exalted Contributor

Re: Samba/Winbind

Check the nfile parameter on the kernel

Increase it if its too low.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com