Use the mount command in order to mount
#mount -t cifs -o username=canio //10.1.1.1/cantus /mnt
Edit the fstab or vfstab for the Operating System
//IP_SERVER/Resource_to_share /mountpoint cifs noauto,users,username=XXXXXX,
Example with Linux
panel:/panel# more /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/sda5 / ext3 defaults,errors=remount-ro 0 1
/dev/sda1 /boot ext3 defaults 0 2
/dev/sda7 /tmp ext3 defaults 0 2
/dev/sda8 /usr ext3 defaults 0 2
/dev/sda6 /var ext3 defaults 0 2
/dev/sda2 none swap sw 0 0
/dev/hda /media/cdrom0 udf,iso9660 user,noauto 0 0
//10.1.1.1/cantus /mnt cifs defaults,noatime,noauto,user,
Comments