Can someone write a simple script to link to windows workgoup?

Asked by NS Murali

Please ..
The brightest programmers among you ..can you please write a simple script to allow kubuntu to communicate with windows workgroup in peer to peer setting? Why does it have to be so complex for end users? All we get is the link to ubuntu 10.1 with 4 pages of instructions!
You guys are amazing programmes and I know you can do this!

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu samba Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Sam_ (and-sam) said :
#1

> link to ubuntu 10.1

If that means 10.10 (Maverick), it's EOL and no longer supported.
https://wiki.ubuntu.com/Releases

Maybe try Kubuntu community.
http://www.kubuntu.org/

May work with Kubuntu too.
http://www.techrepublic.com/blog/opensource/how-to-join-ubuntu-to-a-windows-workgroup/1948
http://www.7tutorials.com/how-change-workgroup-ubuntu-linux-work-windows

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

Simple, just modify /etc/samba/smb.conf

You will change this line:

# Change this to the workgroup/NT-domain name your Samba server will part of
   workgroup = WORKGROUP

To the workgroup you want to be part of, you can use sed to change it like so:

sed -i 's/WORKGROUP/MSHOME/g' /etc/samba/smb.conf

This will switch you from the WORKGROUP workgroup to MSHOME workgroup. There is only one occurrence of the word WORKGROUP (in caps) so the sed command will fly. You may need to reboot to apply, not sure how the setting is used.

Can you help with this problem?

Provide an answer of your own, or ask NS Murali for more information if necessary.

To post a message you must log in.