Maybe the .pid files were created by the original smb server. Stop the server, delte the files manually if they are not removed, start the server and check for the files.
** Update **
.pid files are now located in /opt/var/samba. So S90smbd_new needs modification to work properly.
** FIX ** (i think)
REPLACE every print $1 with print $2
REPLACE every /usr/var/locks with /opt/var/samba
also remove or comment realm = WORKGROUP in /opt/etc/samba/smb.conf cause it is not working in samba 3