{
   if (defined $smb{OpLocks} && $smb{OpLocks} eq ('enabled' || 'yes')){;

       "oplocks = yes";
   }
   
   else {"oplocks = no"}
}
