samba code