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

English Edit question
Ubuntu samba Edit question
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Sam_ (and-sam) said :

> link to ubuntu 10.1

If that means 10.10 (Maverick), it's EOL and no longer supported.

Maybe try Kubuntu community.

May work with Kubuntu too.

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

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.