?
Solved

Fedora / Samba - n00b  - How to edit the smb.conf  (samba config file)

Posted on 2011-03-22
11
Medium Priority
?
812 Views
Last Modified: 2012-05-11

Is there a way to edit it.

Is there a friendly editor I can install rather than the some  black unfriendly screen I used last week?
0
Comment
Question by:fcek
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 4
11 Comments
 
LVL 3

Expert Comment

by:thebruno
ID: 35193760
sudo apt-get install gedit

sudo gedit smb.conf
0
 
LVL 3

Expert Comment

by:thebruno
ID: 35193773
sorry,

...
sudo gedit /etc/smb/smb.conf
0
 

Author Comment

by:fcek
ID: 35193898

[ed@server1 ~]$ sudo gedit /etc/smb/smb.conf

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

    #1) Respect the privacy of others.
    #2) Think before you type.
    #3) With great power comes great responsibility.

[sudo] password for ed:
ed is not in the sudoers file.  This incident will be reported.
[ed@server1 ~]$


0
Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

 

Author Comment

by:fcek
ID: 35193927


Will I just run that command from # ?
0
 
LVL 3

Expert Comment

by:thebruno
ID: 35193958
yes you can run it from the #(root) prompt.

0
 
LVL 3

Expert Comment

by:thebruno
ID: 35193959
without 'sudo'
0
 

Author Comment

by:fcek
ID: 35194008

Hi, It think the directory its in is "samba" but my chage didnt work anyway


gedit /etc/samba/smb.conf


[root@server1 ed]# gedit /etc/smb/smb.conf

(gedit:2707): EggSMClient-WARNING **: Failed to connect to the session manager: None of the authentication protocols specified are supported

**
GLib-GIO:ERROR:gdbusconnection.c:2270:initable_init: assertion failed: (connection->initialization_error == NULL)
Aborted (core dumped)
[root@server1 ed]# gedit /etc/samba/smb.conf

(gedit:2718): EggSMClient-WARNING **: Failed to connect to the session manager: None of the authentication protocols specified are supported

**
GLib-GIO:ERROR:gdbusconnection.c:2270:initable_init: assertion failed: (connection->initialization_error == NULL)
Aborted (core dumped)
[root@server1 ed]#
0
 

Author Comment

by:fcek
ID: 35194027


A mate wrote up this by hand and I used a GUI.

Now that I want to change one letter he typed wrong ........ mast to mask
Samba warning - 351: create mast = 770

I cant do it.

Its so frustrating ........

Was hoping to get rolling with some CLI in there to make shares etc and as usual Im stumped.
0
 

Author Comment

by:fcek
ID: 35194292


If you concur ........ post back the same link -
0
 
LVL 5

Accepted Solution

by:
tsmgeek earned 2000 total points
ID: 35194429
i personaly use VIM to edit the config file directly as its easier then reload smb, but if you want a nice simple GUI then Webmin is a good tool for admin of many nix services
0

Featured Post

Get MongoDB database support online, now!

At Percona’s web store you can order your MongoDB database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card. Handle your MongoDB database support now!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses
Course of the Month13 days, 6 hours left to enroll

801 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question