[Samba] Memory Leak in 2.2.6rc2??
gsmith at ahbl.ca
gsmith at ahbl.ca
Sun Oct 13 15:48:00 GMT 2002
Hi Jerry,
i just pulled an all-nighter doing a re-org of all our servers which gave me
an opportunity to clean things up.
Thi ngs went well with once expection; A clean install of RedHat 7.3 +
Samba 2.2.6 was an absolute fscking nightmare.
I could join the domain, wbinfo showed groups and users properly,
pam.d/samba, nsswitch.conf and smb.conf were configured identically with
another samba server that runs great.
What I ran into was:
- getent would show only local groups
- Win2k workstations connecting would only come in as nobody
- shares would show up but double-clicking on a share would result in a
login dialog.
I started with pre2 and worked up to rc3. At some point things went really
haywire and I got the looping getent you describe.
In answer to your other questions:
The domain is mixed mode.
Winbind enum users and groups are explicitly specified
Server in question is dual PIII
No build options - straight from rpm.
the one thing I do notice is a noticeable pause when loggin in or for any
process requiring authentication (e.g. scp)
SMB.CONF:
# Global parameters
[global]
workgroup = AHBLNT1
netbios name = MILTON
server string = MILTON File/Print/Web Server
security = DOMAIN
encrypt passwords = Yes
password server = iman
log file = /var/log/samba/%m.log
max log size = 0
announce version = 4.0
socket options = TCP_NODELAY IPTOS_THROUGHPUT SO_RCVBUF=8192
SO_SNDBUF=8192
domain admin group = @DomainAdmins
os level = 1
preferred master = False
local master = No
domain master = False
dns proxy = No
wins server = 10.0.10.8
winbind uid = 10000-20000
winbind gid = 10000-20000
winbind enum users = yes
winbind enum groups = yes
template shell = /bin/false
winbind cache time = 10
winbind use default domain = Yes
admin users = @DomainAdmins
hosts allow = 10. 127. 142.173.
max connections = 5000
printer admin = @DomainAdmins,root
load printers = yes
printing = cups
print command = lpr.cups -r -P%p -o raw %s
lpq command = lpstat -o %p
lprm command = cancel.cups %p-%j
large readwrite = yes
name resolve order = wins bcast host
utmp = yes
[ers]
comment = ERS Data
path = /shares/ers
admin users = @DomainUsers
write list = @DomainUsers
create mask = 0775
directory mask = 0775
force group =DomainUsers
[printers]
comment = All Printers
path = /var/spool/samba
printer admin = @DomainAdmins, root, repro
printable = Yes
browseable = No
guest ok = yes
[print$]
comment = Win2K/NT Printer Drivers
path = /etc/samba/drivers
write list = @DomainAdmins, root, repro
admin users = @DomainAdmins
browseable = no
read only = no
[apps]
comment = Standard AHB&L Applications
path = /shares/apps
force group = DomainUsers
read only = No
create mask = 0777
directory mask = 0777
admin users = @DomainUsers
write list = @DomainUsers
nt acl support = yes
[data]
comment = AHB&L Data
path = /shares/data
write list = @DomainUsers
create mask = 0777
force group = DomainUsers
directory mask = 0777
oplocks = false
level2 oplocks = false
[dexco]
comment = Dexco
force group = DomainUsers
read only = No
create mask = 0777
directory mask = 0777
admin users = @DomainUsers
write list = @DomainUsers
oplocks = false
level2 oplocks = false
path = /shares/dexco
[imanage]
comment = production documents
browseable=no
path = /shares/imanage
write list = @DomainAdmins imanage
-----Original Message-----
From: Gerald (Jerry) Carter [mailto:jerry at samba.org]
Sent: Saturday, October 12, 2002 8:25 AM
To: gsmith at ahbl.ca
Cc: jra at dp.samba.org; samba at lists.samba.org
Subject: RE: [Samba] Memory Leak in 2.2.6rc2??
On Sat, 12 Oct 2002, Gerald (Jerry) Carter wrote:
> Hmmm... can you run "getent group" and see if it keeps looping
> over the same domain groups? Make sure that "winbind enum [user|group]"
> are both enable (are by default).
>
> Also, are you in a Windows 2000 native mode domain?
Also still need
* smb.conf
* build options
* server platform & kernel (seem to have forgotten if you
mentioned it before)
* debug level 10
I think i might have recreated it here so any information you can
provide to confirm will be a big help.
cheers, jerry
---------------------------------------------------------------------
Hewlett-Packard http://www.hp.com
SAMBA Team http://www.samba.org
-- http://www.plainjoe.org
"SAMS Teach Yourself Samba in 24 Hours" 2ed. ISBN 0-672-32269-2
--"I never saved anything for the swim back." Ethan Hawk in Gattaca--
More information about the samba
mailing list