class based views for samba