have a nodding acquaintance with someone/be on nodding terms with someone - definition and synonyms

phrase
  1. to know someone well enough to sayhello’ to them, but not know them very well
See also main entry: nod