rajibshovan,
The command for windows should be "net use H: \\office2pc\rajib". This should map the computers H: drive to your rajib share. You should also be able to enter "net view \\office2pc" and you sould get back a list of all the visible shares on \\office2pc.
Here is the relevant section of the guide in procedure 38.1 with minor edits for clarity.
From the command prompt in a shell type "smbclient //
"your servername"/
"your share name". You should then be prompted for a password. You should use the password of the account with which you are logged into the UNIX box.
Note: If you are running this from an su or root account
(not recommended), it will as you for the smb password you have set for the linux logon.
eg: Linux account "user1" has been created and the linux password was set to "MyLinuxPassw0rd" then the user has also been added with the command "smbpasswd -a user1" with the password was set to "MyWinPassw0rd"
At the password prompt that appears after you have entered the smb command, enter the MyWinPassw0rd"
If you want to test with another account, then add the -U accountname option to the end of the command line for example, smbclient //bigserver/tmp -Ujohndoe.
Note: It is possible to specify the password along with the username as follows: smbclient //bigserver/tmp -Ujohndoe%secret.
Once you enter the password, you should get the smb> prompt. If you do not, then look at the error message. If it says “invalid network name,” then the service tmp is not correctly set up in your smb.conf.
If it says “bad password,” then the likely causes are:
1.
You have shadow passwords (or some other password system) but didn't compile in support for them in smbd.
2.
Your valid users configuration is incorrect.
3.
You have a mixed-case password and you haven't enabled the password level option at a high enough level.
4.
The path line in smb.conf is incorrect. Check it with testparm.
5.
You enabled password encryption but didn't map UNIX to Samba users. Run smbpasswd -a username
Once connected, you should be able to use the commands dir, get, put, and so on. Type help command for instructions. You should especially check that the amount of free disk space shown is correct when you type dir.
Now this will check that your samba shares are available.
If this works on you samba server, you may have a network or fire wall problem. In earlier parts of the guide, it will talk you through how to test those.
Also, are you running selinux on the server?