NT join to domain fails - attempting to allocate 272MB memory!

Jeremy Allison jeremy at valinux.com
Thu Mar 1 16:16:53 GMT 2001


Andrew Bartlett wrote:
> 
> I have been attempting to add an NT workstation to my Samba 2.2 CVS (27
> Mar CVS + My PAM patch) server.  Using the 'add computer account to
> domain' doesn't work (this is NT4 without service packs - yet), and when
> I just join the domain with the account already created on the server
> (as a machine account in smbpasswd) I get the following errors:
> 
> Feb 28 11:53:22 jessie smbd[16045]: Memory allocation error: failed to
> expand to 272179544 bytes
> Feb 28 11:53:22 jessie smbd[16045]: prs_grow: Realloc failure for size
> 272179544.
> Feb 28 11:53:22 jessie smbd[16045]: api_rpcTNP: api_wkssvc_rpc:
> WKS_Q_QUERY_INFO failed.
> 
> next try...
> 
> Feb 28 12:13:22 jessie smbd[16097]: Memory allocation error: failed to
> expand to 272132632 bytes
> Feb 28 12:13:22 jessie smbd[16097]: prs_grow: Realloc failure for size
> 272132632.
> Feb 28 12:13:22 jessie smbd[16097]: api_rpcTNP: api_wkssvc_rpc:
> WKS_Q_QUERY_INFO failed.
> 
> I presume that 272MB isn't required just to change a password - so I
> think there is a bug in there somewhere...

It was a stack structure going out of scope - Jim at IBM
pointed this out & sent a fix. I've fixed this (and several
other similar problems) in the last couple of days, please
CVS update 2.2.

Jeremy.

-- 
--------------------------------------------------------
Buying an operating system without source is like buying
a self-assembly Space Shuttle with no instructions.
--------------------------------------------------------




More information about the samba-technical mailing list