[juneau-lug] Samba 3.0.14a and BUFFER_OVERFLOW

  • From: "James Zuelow" <James_Zuelow@xxxxxxxxxxxxxxx>
  • To: <juneau-lug@xxxxxxxxxxxxx>
  • Date: Tue, 28 Mar 2006 13:39:53 -0900

Today I've been alternating between real work and installing Samba
3.0.14a Debian packages.  I thought it would be a simple 10 minute job,
but after installing everything I could NOT get the machine to join a
Windows 2003 domain. =20

Running:
 net join -w DOMAIN -U administrator
Seemed to work fine, but then wbinfo -t would fail.

Running:
 net rpc join -S DOMAIN.AD.CONTROLLER -U administrator
returned a STATUS_BUFFER_OVERFLOW errow that I could not for the life of
me troubleshoot.  ALL of the rpc calls were failing with a buffer
overflow.

Smb.conf was fine, samba and winbind daemons were fine, nsswitch.conf
was fine, everything was fine.  I finally started going through all of
the 'buffers' I could think of that might be corrupted.  Since this was
a new OS install, there weren't a lot of possibilities.  Then I took a
second look at the smb.conf file and started counting - one, two,
three... When I got to sixteen I just put my head in my hands and
thought of dumb rookie mistakes to waste time on.  NETBIOS names should
be 15 characters long at most.

Change the NETBIOS name to something shorter, and no more problems.  In
this instance, Google was of no help whatsoever - there are lots of one
and three post threads about the problem on Google, but I didn't see a
single reference to a too long NETBIOS name.

Hopefully this gets indexed and saves someone down the road from some
grief.

James Zuelow
Network Specialist
CBJ MIS (907)586-0236
Registered Linux User No. 186591
------------------------------------
The Juneau Linux Users Group -- http://www.juneau-lug.org
This is the Juneau-LUG mailing list.
To unsubscribe, send an e-mail to juneau-lug-request@xxxxxxxxxxxxx with the 
word unsubscribe in the subject header.

Other related posts:

  • » [juneau-lug] Samba 3.0.14a and BUFFER_OVERFLOW