Save the samba SID to the database