Can i use samba 5

I am pretty sure I answered that question already.

Did you see the version 5 welcome message? It explains everything you need to know to purchase it.

Hopefully that gives you the answers you seek.