pwdb_initialise() in the wrong place: must load smb.conf first. thanks phil.