PAM is an API, most of the time you would never have to use it.
To mount a smb share, use...
mount -t smbfs -o username=xxx,password=yyy //server/folder /mountpoint
To mount it on boot up, you have a create a new script to run after the network has started and put it into that script which would probably go into /etc/rc.? or /etc/network/if-up.d/
|