Samba 3:

Install Samba on your system either using yum or apt-get or another mechanism for installing packages.
Edit the /etc/samba/smb.conf file. A very basic smb.conf file will look like this:
[global] workgroup = MYGROUP
server string = Samba Server Version %v
log file = /var/log/samba/log.%m
max log size = 50
security = user
passdb = tdbsam
[homes] comment = Home Directories
browseable =no
writable = yes

>> change the “workgroup” value to whatever you have already defined for the network. The rest can remain as is.
>> create the local passwords. Because Samba does not use the authentication credentials of the system (i.e., via PAM),

The user needs to be added to the Samba user database:
Note that this user must also exist on the system, so if this is a new user use useradd to create the user and passwd

To set user’s password
# smbpasswd -a user

>> start the Samba server (or restart it):
# service smb start

Now, from another system, you can use smbclient to list available shares:

% smbclient -L \\
Domain=[CERBERUS] OS=[Unix] Server=[Samba 3.5.4-62.fc13] Sharename Type Comment
——— —- ——-
IPC$ IPC IPC Service (Samba Server Version 3.5.4-62.fc13)
user Disk Home Directories
Domain=[CERBERUS] OS=[Unix] Server=[Samba 3.5.4-62.fc13] Server Comment
——— ——-
Workgroup Master
——— ——-

To mount the share, connect to \\\user using the network browser.

About Us

NETech4u LLC has been in operation since 2005. We can help your business with all your IT needs. We serve a wide variety of industries and pride on customer support and satisfaction.



Lost your password?