ctdbFirstDatabase() retrieves the name and path of the first database in a session. If the session has no databases, ctdbFirstDatabase() returns an INOT_ERR (101) code.