logon home = {return ('\\\%N\%U') unless($smb{ServerRole} =~ m{^(DC|BDC)$});
              if ($smb{RoamingProfiles} eq "yes") 
              {
                  return($smb{'LogonHome'} || '\\\%L\%U\._winprofile');
              }
              else 
              { 
                  return ('\\\%N\%U');
              }
             }
