Needed a nice easy way to manage mandatory profiles and came up with a simple perl script and modification to smb.conf;
(1) modify the smb.conf template to contain this in the [netlogon] section
"root postexec = /usr/local/sbin/logoff.pl %u"
(2) create logoff.pl containing
#!/usr/bin/perl
$user=@ARGV[0];
$usermand="$user" . "_mand";
if ($user=~"_profile" && $user!~"_mand")
{
if(not -e "/home/e-smith/files/samba/profiles/$usermand"){`mkdir /home/e-smith/files/samba/profiles/$usermand`;}
`rm -R -f /home/e-smith/files/samba/profiles/$usermand/*`;
`cp -R --reply=yes /home/e-smith/files/samba/profiles/$user/* /home/e-smith/files/samba/profiles/$usermand`;
`chmod 775 /home/e-smith/files/samba/profiles/$usermand -R`;
`chown root:$user /home/e-smith/files/samba/profiles/$usermand -R`;
if(-e "/home/e-smith/files/samba/profiles/$usermand/NTUSER.DAT"){
`mv /home/e-smith/files/samba/profiles/$usermand/NTUSER.DAT /home/e-smith/files/samba/profiles/$usermand/NTUSER.MAN`;
`chmod 744 /home/e-smith/files/samba/profiles/$usermand/NTUSER.MAN`;}
if(-e "/home/e-smith/files/samba/profiles/$usermand/ntuser.dat"){
`mv /home/e-smith/files/samba/profiles/$usermand/ntuser.dat /home/e-smith/files/samba/profiles/$usermand/ntuser.dat`;
`chmod 744 /home/e-smith/files/samba/profiles/$usermand/ntuser.man`;}
}
(3) create a new user named username_profile and log in as that user whenever you want to update or set the profile.
(4) symlink any users you want to be mandatory to the new username_profile_mand folder
This is working nicely for my purposes.