I have a NAS which currently has some problems. It is connected to the network but mounting any samba shares is impossible. I experienced the problem that su-ing into my user (on Linux Mint) was no longer possible cause it got stuck immediately. Logging in through mdm was still possible but after a couple of restarts, also that was impossible. I think this was because of network manager being loaded a bit too late for pam_mount so over wlan pam_mount could not connect to the device and aborted the operation. But if connected through LAN, even in graphical login, after typing my password nothing happens anymore. Enabling debug in pam_mount configuration told me the last thing happening after an su from root console was the attempt to connect to my NAS.
So to conclude, i assume pam_mount has some problems if a network storage is reachable over network but does not respond to any filesharing requests, resulting in the login lasting an endless amount of time.
Possible solution is of cause to disable all network connections, but this is definitely not a pleasant thing..
Sorry for the incorrectly spelled title... Seems like sourceforge doesnt offer the opportunity to delete created tickets.. :/