Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

[SOLVED] Changing WORKGROUP
Thank you for your donation

Thread Closed 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
[SOLVED] Changing WORKGROUP
17th Mar, 2014, 02:48 AM
Post: #1
Skywatch Offline
Registered
Posts: 1,018
Joined: Mar 2013
Reputation: 28
[SOLVED] Changing WORKGROUP
Hi,

I changed the workgroup name to match my network in XBMC under Xbian but no luck.

I tried going into samba.conf (via ssh) and it won't allow me to change the setting.

I tried sudo xbian-config to see if there's an answer there, nothing.

I even tried sudo net -w workgroupname and still no go.

What am i doing wrong please?

Skywatch
Find all posts by this user
17th Mar, 2014, 07:45 AM
Post: #2
CurlyMo Offline
Registered
Posts: 3,501
Joined: Dec 2012
Reputation: 202
RE: Changing WORKGROUP
Edit:
/etc/hosts
/etc/samba/smb.conf

pilight - modular domotica solution
Visit this user's website Find all posts by this user
17th Mar, 2014, 09:00 PM
Post: #3
Skywatch Offline
Registered
Posts: 1,018
Joined: Mar 2013
Reputation: 28
RE: Changing WORKGROUP
Thanks CurlyMo!

The first one didn't show anything but the second option did.

Now I have a question though. How come changing the smb.conf works via SSH and not via SCP? With SCP I just got a message that I wasn't allowed to change the file even though it was exactly the same machine logging in with the same user, same public key and same password.

Also, it states clearly that this file (smb.conf) should not be edited and to use 'net' to change parameters, so how come that didn't work (or did i misunderstand something?).

S.
Find all posts by this user
17th Mar, 2014, 09:16 PM
Post: #4
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
RE: Changing WORKGROUP
@Skywatch

yes, smb.conf is base template and is obliged to changes with xbian-package-samba package changes. it's nice to see users read # comments too Smile

for runtime parameters not configurable via "net" you are free to use /etc/samba/user.conf. this file will not be touched and can re-define global parameters already found in smb.conf.
(I will update the comment to reflect the user.conf availability)

so just put
Code:
[global]
workgroup = NOTWORKGROUP

in that file.

you can check the actual seen and used smb configuration with
Code:
testparm -v

it will show you the workgroup is no more WORKGROUP but the name you define.

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
17th Mar, 2014, 10:56 PM
Post: #5
Skywatch Offline
Registered
Posts: 1,018
Joined: Mar 2013
Reputation: 28
RE: Changing WORKGROUP
Thanks mk01, I learn something new all the time!


Skywatch Smile
Find all posts by this user
« Next Oldest | Next Newest »
Thread Closed 


Possibly Related Threads...
Thread: Author Replies Views: Last Post
  [SOLVED] Can't see device in windows workgroup after upgrade kruuth 3 10,909 3rd Aug, 2013 02:19 PM
Last Post: kruuth

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 10th May, 2025, 06:11 PM Powered By MyBB, © 2002-2025 MyBB Group.