• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 840
  • Last Modified:

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


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
fcek
Asked:
fcek
  • 6
  • 4
1 Solution
 
thebrunoCommented:
sudo apt-get install gedit

sudo gedit smb.conf
0
 
thebrunoCommented:
sorry,

...
sudo gedit /etc/smb/smb.conf
0
 
fcekAuthor Commented:

[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
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
fcekAuthor Commented:


Will I just run that command from # ?
0
 
thebrunoCommented:
yes you can run it from the #(root) prompt.

0
 
thebrunoCommented:
without 'sudo'
0
 
fcekAuthor Commented:

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
 
fcekAuthor Commented:


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
 
fcekAuthor Commented:
0
 
fcekAuthor Commented:


If you concur ........ post back the same link -
0
 
tsmgeekCommented:
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 6
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now