[SOLVED] Changing WORKGROUP
|
17th Mar, 2014, 02:48 AM
Post: #1
|
|||
|
|||
[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 |
|||
17th Mar, 2014, 07:45 AM
Post: #2
|
|||
|
|||
RE: Changing WORKGROUP
Edit:
/etc/hosts /etc/samba/smb.conf pilight - modular domotica solution
|
|||
17th Mar, 2014, 09:00 PM
Post: #3
|
|||
|
|||
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. |
|||
17th Mar, 2014, 09:16 PM
Post: #4
|
|||
|
|||
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 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] 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 |
|||
17th Mar, 2014, 10:56 PM
Post: #5
|
|||
|
|||
RE: Changing WORKGROUP
Thanks mk01, I learn something new all the time!
Skywatch |
|||
« Next Oldest | Next Newest »
|
Possibly Related Threads... | |||||
Thread: | Author | Replies | Views: | Last Post | |
[SOLVED] Can't see device in windows workgroup after upgrade | kruuth | 3 | 10,354 |
3rd Aug, 2013 02:19 PM Last Post: kruuth |