If you want to learn how to configure Samba in order to create shares on Linux.
You should consider taking a look at
Using Samba, 2nd Edition from O'Reilly & Associates. This book is available for free.
http://www.oreilly.com/openbook/
To connect to a windows share from Linux, you can use the
smbclient command.
Syntax:
Code:
smbclient //computer_name/share -U username
The UID is a unique number associated to a user. You can get a list for all UID and GID (group) on your Linux system from the
/etc/passwd file.
The third column is the UID and the fourth column is the GID.
For example, if you want to mount a windows share, you would use the following syntax.
Code:
mount -t smbfs -o uid=500,gid=100,username=natalinasmpf //computer/test /mnt/test