Well, the message says it all - you need to install autoconf to proceed.
But why don't you install pre-built packages from Sunfreeware? They have samba 3.4.2 ready to install. Go to Sunfreeware - Free and Open Source Software (FOSS) for Sun Microsystem's Solaris , pick Solaris SPARC or x86 and download samba and the other packages samba depends on. It's much easier if you are not so experienced and do not need a specially customized configuration.
I assume your server is at least connected to a local network... Unless you are sitting right in front of the machine with the network cables unplugged.
You can download the packages from a different computer (like your PC for example) and copy them through ftp/scp/etc.
The default version(3.0.2) which comes with Solaris 10 doesn't supports Windows 2008 R2-Unix integration.
We dont have download rights in our network.
So,I got the download for samba 3.4.1 from our computer division team.
I have to proceed only with that download.
So plz help in installing samba 3.4.1