CalDAV & DAV login

I’m wanting to get CalDAV working on one of my customers virtual server but I’m completely unfamiliar with DAV.
What does enabling DAV Login for a user do? Can this be used as a CalDAV server or is there a good script for this?
Any help pointing me in the right direction (or even a tutorial) would be a great help.