addign samba code