Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Large Domain Problems with Samba

Status
Not open for further replies.

mdreeling

Programmer
Joined
Sep 21, 2004
Messages
1
Location
US
Hi Guys,
First of all, just to say that we are having a great experience with Samba so far, we are using it as our Team Server and all is well, more or less ;-).
I have Samba 3.0.2a running on Mandrake 10.0 authenticating to a W2K domain and am experiencing the following problems.

1. "Error was Transport endpoint is not connected" appears
after about 10 hours uptime. Users shares are inaccessible and their home directories say "access is denied" even though they own them. See error:

[2004/09/21 09:03:15, 0] lib/util_sock.c:get_peer_addr(952)
getpeername failed. Error was Transport endpoint is not connected

Restarting winbind and then samba fixes the problem.

2. Small prob. It takes about 5 seconds to connect initally to any share.Then it is fine. This may happen several times.

Otherwise it is perfect, i can chown Windows Domain users on Linux directories etc....
When i do a "wbinfo --sequence" it shows 7 domains of which i am joined to one.
"getent passwd" shows over 20,000 users. (can i limit this to only my domain)

Any help on either of these problems would be greatly appreciated. See my confs and pam.d below if you see anything stupid that i have done :-/.

Thanks
Michael


SMB.CONF extract
-----------------------------------
[global]
log file = /var/log/samba/log.%m
load printers = yes
smb passwd file = /etc/samba/smbpasswd
obey pam restrictions = yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
wins server = MYWINSSERVER
map to guest = bad user
encrypt passwords = yes
winbind use default domain = yes
printer admin = @"Domain Admins"
winbind uid = 10000-60000
template shell = /bin/bash
dns proxy = no
netbios name = MYNETBIOSNAME
server string = Team Server
printing = cups
password server = MYPASSWORDSERVER
winbind enum users = yes
winbind gid = 10000-60000
template homedir = /home/%D/%U
workgroup = IE
os level = 20
winbind enum groups = yes
printcap name = cups
security = domain
preferred master = no
winbind separator = +
max log size = 50

pam.d\samba extract
-------------
#%PAM-1.0
auth required pam_env.so
auth sufficient pam_winbind.so
auth sufficient pam_unix.so likeauth nullok use_first_pass
auth required pam_deny.so

account sufficient pam_winbind.so
session required pam_winbind.so

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top