I have being having a similar problem to the guys in this post:
http://forum.zentyal.org/index.php/topic,12418.msg51123.html#msg51123in that the realm name is automatically set to be the same of the as the fqdn but then the .com suffix (I think this is called the TLN) is omitted form the NetBIOS domain name. The problem with this is that the windows clients are not able to logon to the local samba domain. If you simply try to add the suffix back in using the File Sharing module admin page, you get the error that the NetBIOS domain name is too log. I have also found that changing the realm name in the krb5.conf file makes no difference so I have resorted to the following work around:
1. create an exhaustible file in /etc/zentyal/hooks called samba.postsetconf
2. use the following command to find the realm name in the smb.conf file and replace it with your fqdn:
#!/bin/sh
sed -i 's/YOUR_FQDN.COM/YOUR_FQDN/g' /etc/samba/smb.conf
Then restart the module, you will still find the NetBIOS domain name listed in the file sharing admin page without the suffix but you windows clients will now be able to logon to the samba domain
This is a very rough and read way of doing things which simply reflects my lack of programming knowledge and I am more than happy if someone can provide a more elegant method