I've heard the word used only in the context of a person attaching himself/herself to someone else (or a group of people) but that person is not really wanted. The person who is glomming is considered undesirable in some way.

The conversation usually goes like this..."yeah, we just said hi to her while passing in the hall, and she glommed onto us and wouldn't leave us alone"