It looks like you do have a faulty switch and other faults; as always, you should start with a VCDS scan and post the codes.
Check the wires and connectors between the doors and pillars, and see these links.
NOTE: The car in this DIY is UK RHD. (the CCM is always on LHS)
VW Passat CCM harness repair | HeadFUZZ
This thread attempts to bring together all the problems regarding water ingress and their solutions.
http://www.passatworld.com/forums/61-b5-information-base/230249-water-ingress-solutions.html
Door Lock Mechanism Repair (With Pics)
https://www.dropbox.com/s/7q6e8n9681nfcex/Door Lock Mechanism Repair.docx?dl=0
All Doors: (Puddle light does not come on)
Stupid door Switch!! $3 Fix!!! - TDIClub Forums
Check the wires and connectors between the doors and pillars, and see these links.
NOTE: The car in this DIY is UK RHD. (the CCM is always on LHS)
VW Passat CCM harness repair | HeadFUZZ
This thread attempts to bring together all the problems regarding water ingress and their solutions.
http://www.passatworld.com/forums/61-b5-information-base/230249-water-ingress-solutions.html
Door Lock Mechanism Repair (With Pics)
https://www.dropbox.com/s/7q6e8n9681nfcex/Door Lock Mechanism Repair.docx?dl=0
All Doors: (Puddle light does not come on)
Stupid door Switch!! $3 Fix!!! - TDIClub Forums