Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 8143  / 1 Year ago, sun, may 14, 2023, 12:59:36

I am lucky enough to be able to use an Ubuntu workstation at work, but I our company network is all Windows-based.



I can easily browse the network via the Nautilus file browser (by clicking 'Browse Network') in the sidebar. Of course, I have to authenticate myself using my Windows Domain password whenever I do so.



But every single time that I am challenged to provide authentication, I have to change the domain from WORKGROUP to my company's VERYLONGWINDOWSDOMAIN:



enter image description here



Where is WORKGROUP coming from, and how can I change it?


More From » nautilus

 Answers
7

Here is the answer I discovered with a bit of searching. Some answers on AskUbuntu mention the same steps, but in the context of more serious problems with samba connectivity.




  1. Back up the old Samba config file:



    $ sudo cp /etc/samba/smb.conf /etc/samba/smb.conf.orig


  2. Edit the config file:



    $ sudo vim /etc/samba/smb.conf



    (or $ sudo nano /etc/samba/smb.conf, if vim isn't your thing)




    • in the editor, look for a line which says workgroup = WORKGROUP (it was line 38 for me, with Ubuntu 12.04)

    • change WORKGROUP to your network's Windows Domain name


  3. Save the file and exit the editor

  4. Now, to make the change effective immediately, restart the NetBIOS name server:



    $ sudo service nmbd restart



[#29290] Sunday, May 14, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ameatoes

Total Points: 321
Total Questions: 106
Total Answers: 112

Location: Belarus
Member since Sat, Jul 18, 2020
4 Years ago
;