Showing posts with label smaba. Show all posts
Showing posts with label smaba. Show all posts

Tuesday, February 21, 2012

SAMBA client in Linux with GUI

We can connect samba server with GUI mode as like windows machine in Linux.

Run Application will be used to access samba server in Linux with GUI.

Alt+F2 used to open Run Application window.

It looks as follows.

run application

Just type smb://{samba server address} and hit Enter.

Ex.

smb://10.1.1.1

This will open your samba share window. Give password if it asks.

Tuesday, December 13, 2011

Clear Samba Passwords from Windows

Following command will use to clear samba user name and passwords in windows.

net use /delete \\10.1.1.1

* Replace 10.1.1.1 with your samba server address.

* Can use this command with command prompt or with "Run" Directly.

* You can create this command with .bat file for single click delete.

Wednesday, September 22, 2010

Samba configuration for Linux to windows file sharing

It's simple samba configuration for file sharing throw linux to windows,

You shound be the root user for install and configure samba in linux machine.

Here i used RedHat Enterprise Linux 5

Step 1 : Open terminal window, use command yum install samba* for install samba,

Step 2 : After install successfully open /etc/samba/smb.conf, in terminal

"#vim /etc/samba/smb.conf" and hit enter,

Step 3 : Find line "workgroup = MYGROUP", Change MYGROUP as your wish.
             * It's importent in printer sharing.

Step 4 : After that move to end of the file line,

Step 5 : Add following things,


[myshare]                                       # share name
comment = share's stuff               # just comment for share
path = /mnt/share                          # location of directory for share
valid users = user                         # user for share (Should be user in system)
public = no                                     # Public access, Local access without pass
writable = no                                 # For file
browsable = yes                            # For browse file
printable = no                                # For printer
hosts allow = 192.168.0.                # Which network should access share


Step 6 : Samba user creation / We can set different password for local system user and samba user.


#smbpasswd -a user                   [Type and hit enter, and give password for user]


Step 7 : That's all. You made it. Now want to start samba service.

#service smb start

#chkconfig smb on


Step 8 : Open you windows machine, open run window, Hit //[ip of linux machine]


Step 9 : It'll ask user name and password, use your samba user name and password for login. That's all.