Question about Operating Systems

1 Answer

How to configure samba server - Operating Systems

Posted by on

1 Answer

  • Level 1:

    An expert who has achieved level 1.

    Corporal:

    An expert that hasĀ over 10 points.

    Problem Solver:

    An expert who has answered 5 questions.

  • Contributor
  • 9 Answers

Hi satveergaur

Follow these instruction to configure samba server

To configure Samba using a graphical interface, use the Samba Server Configuration Tool.

The Samba Server Configuration Tool is a graphical interface for managing Samba shares, users, and basic server settings. It modifies the configuration files in the /etc/samba/ directory. Any changes to these files not made using the application are preserved.

To use this application, you must be running the X Window System, have root privileges, and have the redhat-config-samba RPM package installed. To start the Samba Server Configuration Tool from the desktop, go to the Main Menu Button (on the Panel) => System Settings => Server Settings => Samba or type the command redhat-config-samba at a shell prompt (for example, in an XTerm or a GNOME terminal).



 Samba Server Configuration Tool



Note
The Samba Server Configuration Tool does not display shared printers or the default stanza that allows users to view their own home directories on the Samba server.

 Configuring Server Settings

The first step in configuring a Samba server is to configure the basic settings for the server and a few security options. After starting the application, select Preferences => Server Settings from the pulldown menu. The Basic tab is displayed as shown in Figure 24-2.



 Configuring Basic Server Settings

On the Basic tab, specify which workgroup the computer should be in as well as a brief description of the computer. They correspond to the workgroup and server string options in smb.conf.



 Configuring Security Server Settings

The Security tab contains the following options:


Authentication Mode — This corresponds to the security option. Select one of the following types of authentication.


ADS — The Samba server acts as a domain member in an Active Directory Domain (ADS) realm. For this option, Kerberos must be installed and configured on the server, and Samba must become a member of the ADS realm using the net utility, which is part of the samba-client package. Refer to the net man page for details. This option does not configure Samba to be an ADS Controller.

Domain — The Samba server relies on a Windows NT Primary or Backup Domain Controller to verify the user. The server passes the username and password to the Controller and waits for it to return. Specify the NetBIOS name of the Primary or Backup Domain Controller in the Authentication Server field.

The Encrypted Passwords option must be set to Yes if this is selected.

Server — The Samba server tries to verify the username and password combination by passing them to another Samba server. If it can not, the server tries to verify using the user authentication mode. Specify the NetBIOS name of the other Samba server in the Authentication Server field.

Share — Samba users do not have to enter a username and password combination on a per Samba server basis. They are not prompted for a username and password until they try to connect to a specific shared directory from a Samba server.

User — (Default) Samba users must provide a valid username and password on a per Samba server basis. Select this option if you want the Windows Username option to work. Refer to Section 24.2.1.2 Managing Samba Users for details.

Encrypt Passwords — This option must be enabled if the clients are connecting from a Windows 98, Windows NT 4.0 with Service Pack 3, or other more recent versions of Microsoft Windows. The passwords are transfered between the server and the client in an encrypted format instead of in as a plain-text word that can be intercepted. This corresponds to the encrypted passwords option. Refer to Section 24.2.3 Encrypted Passwords for more information about encrypted Samba passwords.

Guest Account — When users or guest users log into a Samba server, they must be mapped to a valid user on the server. Select one of the existing usernames on the system to be the guest Samba account. When guests logs in to the Samba server, they have the same privileges as this user. This corresponds to the guest account option.

After clicking OK, the changes are written to the configuration file and the daemon is restart; thus, the changes take effect immediately.

 Managing Samba Users

The Samba Server Configuration Tool requires that an existing user account be active on the system acting as the Samba server before a Samba user can be added. The Samba user is associated with the existing user account.


To add a Samba user, select Preferences => Samba Users from the pulldown menu, and click the Add User button. On the Create New Samba User window select a Unix Username from the list of existing users on the local system.

If the user has a different username on a Windows machine and will be logging into the Samba server from the Windows machine, specify that Windows username in the Windows Username field. The Authentication Mode on the Security tab of the Server Settings preferences must be set to User for this option to work.

Also configure a Samba Password for the Samba User and confirm the Samba Password by typing it again. Even if you select to use encrypted passwords for Samba, it is recommended that the Samba passwords for all users are different from their system passwords.

To edit an existing user, select the user from the list, and click Edit User. To delete an existing Samba user, select the user, and click the Delete User button. Deleting a Samba user does not delete the associated system user account.

The users are modified immediately after clicking the OK button.

Starting and Stopping the Server

On the server that is sharing directories via Samba, the smb service must be running.

View the status of the Samba daemon with the following command: /sbin/service smb status


Start the daemon with the following command: /sbin/service smb start


Stop the daemon with the following command: /sbin/service smb stop


To start the smb service at boot time, use the command: /sbin/chkconfig --level 345 smb on

Regards,
TheAssembler

Posted on Jun 06, 2008

Add Your Answer

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

1 Answer

How to establish a network connection using ubuntu as server and windows xp as clients?


Make sure that you have samba installed, that will allow you to share folders as shares that Windows can see.

If you want to get tot he CLI on the ubuntu server from the XP machines, just download PuTTY (just google 'download putty'), and then you should be able to SSH to the ubuntu server.

Hope that helps!

Oct 09, 2010 | Canonical Ltd. Ubuntu

1 Answer

While installing samba server i am getting the error called RHN is disabled


Did it actually fail? (If so, post the actual error)
As a reminder to enroll for support, RH will display "RHN is disabled" during any YUM or RPM operation. Usually, the installation still completely normally.

Jun 09, 2010 | Red Hat Enterprise ES 4 for Linux

1 Answer

I GET MESSAGE"sid POOL EXHUST" when i try add any object TO AD


You have to seize the RID master for you domain, appears to be removed from network or can't be contacted, you can use the next commands in order to get the actual (MYSERVER should be replaced by the name of you server

C:\WINDOWS>ntdsutil
roles
connections
connect to server MYSERVER
q
Select operation target

then you get the next response:

Server "MYSERVER" knows about 5 roles
Schema - CN=NTDS Settings,CN=MYSERVER,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=MYDOMAIN,DC=net
Domain - CN=NTDS Settings,CN=MYSERVER,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=MYDOMAIN,DC=net
PDC - CN=NTDS Settings,CN=MYSERVER,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=MYDOMAIN,DC=net
RID - CN=NTDS Settings,CN=MYSERVER,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=MYDOMAIN,DC=net
Infrastructure - CN=NTDS Settings,CN=MYSERVER,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=MYDOMAIN,DC=net
select operation target:

the interested server is RID - this must be the name of a actual server, if this server is permanently down the you need seize the rol, use the next guide:

http://technet.microsoft.com/en-us/library/cc784077%28WS.10%29.aspx

if the server is an actual server you must review the event log in this server in order to get more clues of the error.

Apr 27, 2010 | Microsoft Windows Server Standard 2003 for...

2 Answers

I have win2003 i want it serover what can i do


Hello,

You can do a lot with this operating system.

Some of his features are: DOMAIN Controller, Active Directory, Ftp Server, DHCP, Web Server, Terminal Server, File server etc.
Here i have some very useful links.

About Windows 2003 Server Editions: http://en.wikipedia.org/wiki/Windows_Server_2003
Futures: http://www.microsoft.com/WindowsServer2003/evaluation/features/default.mspx

Configuring DNS Server: http://www.petri.co.il/install_and_configure_windows_2003_dns_server.htm

Configuring DHCP Server: http://www.windowsreference.com/windows-server-2003/install-and-configure-dhcp-server-in-win-server-2003-step-by-step-guide/

Configuring File Server: http://www.windowsnetworking.com/articles_tutorials/File_Server_Windows_2003.html

Configure Printing Server: http://www.brightrev.com/how-to/enterprise/55-best-practices-for-setting-up-a-windows-print-server.html

Configure FTP Server: http://support.microsoft.com/kb/323384

Configure Active Directory: http://helpdeskgeek.com/how-to/windows-2003-active-directory-setupdcpromo/

Configure Web Server: http://support.microsoft.com/kb/324742

All these are only some of his features.

I hope is useful to you and your friends

Mar 13, 2010 | Microsoft Windows Server 2003 Enterprise...

1 Answer

How to configure FTP server in vista home basic


I don't believe that Home Basic has an FTP server component built-in. Try a free alternative, such as NcFTP server.

Feb 11, 2010 | Microsoft Windows XP Professional x64...

2 Answers

Linux


can't do any thing here. you have to call Microsoft to buy a multi-user version of Access.
the Access program came with the Microsoft Suite is design for single user.

May 20, 2009 | Red Hat Enterprise ES 4 for Linux

1 Answer

DNS Name resolution Between private & Public network.


You do not need to configure ISP's PTR records. Instead define their DNS addresses as forwarders in the properties of DNS server under forwarders tab and flush DNS cache.

Mar 24, 2009 | Microsoft Operating Systems

1 Answer

Samba


try port 995.
Open tools, accounts,properties,advanced and change it on 995 server.
Good luck!

Apr 12, 2008 | Microsoft Windows XP Professional With...

1 Answer

Using Radius to authenticate Samba clients


Try to get the Linux OS called "Fedora 8". It has all the Samba features. And Fedora 8 is a Linux Kernel ( Red Hat ) server Operating System, You can do many things with it. But you will internet to download more stuffs in fedora 8.

Mar 05, 2008 | Operating Systems

2 Answers

Mail server setup issue


Create the New Account(User), and Configure all the new settings.

Dec 27, 2007 | Microsoft Windows Server Standard 2003 for...

Not finding what you are looking for?
Operating Systems Logo

Related Topics:

1,709 people viewed this question

Ask a Question

Usually answered in minutes!

Top Operating Systems Experts

Les Dickinson
Les Dickinson

Level 3 Expert

18298 Answers

Brian Sullivan
Brian Sullivan

Level 3 Expert

27725 Answers

Prashant  Sharma
Prashant Sharma

Level 3 Expert

1127 Answers

Are you an Operating System Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...