Actually I figured it out.
I was using ubuntu server 11.10
What I did was go into /etc/init and opened the service in this case smbd.conf in vi
In the service conf script one of the first lines is
I took out the ! (not) so it became:
Then I went the the .bashrc file in the user home folder and added encryption mount and start the smbd service
So now I have a Server that if it is unplugged (by a thief) and stolen, they will not be able to get my data unless they know the password for my account which is fairly robust.
When i log into the server the encrypted volume is mounted using a keyfile I created and added to the keyslot of the encrypted drive.
and then the smbd service is started to a directory where the mounted encrypted drive is.
it requires me to enter my user password 2 times ( once for log in and then for sudo mount) which is pretty good and i'm satisfied.