LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-29-2005, 10:44 PM   #1
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
smbclient to join workgroup and a domain


Hello everyone!

I have a linux box in a location where there are both a windows domain and a workgroup, with different names. I installed the wonderful http://backuppc.sourceforge.net utility to backup the important info on both the domain and the workgroup. When I configured samba, I told the linux box to join the domain, so the opening line of my samba.conf looks like
Code:
[global]

## Browsing/Identification ###

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

# server string is the equivalent of the NT Description field
   server string = %h server (Samba %v)
That works, as now when backuppc runs, it copies all the data off of the domain controller. I configured backuppc to also backup the data from the already existing share on a computer on the workgroup, but backuppc balks, and the error says
Code:
Got fatal error during xfer (tree connect failed: NT_STATUS_BAD_NETWORK_NAME)
Backup aborted (tree connect failed: NT_STATUS_BAD_NETWORK_NAME)
It would seem to me that I might be able to simply make the samba.conf look like
Code:
[global]

## Browsing/Identification ###

# Change this to the workgroup/NT-domain name your Samba server will part of
   workgroup = obscured_name_for_purposes_of_hiding
   workgroup = another_obscured_name
But I was unsure if that would behave, and since this box is in the process of the full backup of one of the computers, I didn't want to risk screwing that up. Does anyone know if you can specify multiple workgroups/domains in samba.conf? This isn't a samba server, it just uses sambaclient to connect to already existing windows shares.

Thanks for the help!

Peace,
JimBass
 
Old 12-31-2005, 11:19 AM   #2
otchie1
Registered User
 
Registered: Apr 2004
Posts: 560

Rep: Reputation: 30
wait until the backup is finished as you will have to restart samba anyway.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help using 'net join' to join a windows domain Wapo Linux - Networking 1 04-28-2006 02:30 AM
Samba working in Domain, not in workgroup allauthors Linux - Wireless Networking 6 03-03-2005 01:33 AM
how do you join an existing windoze workgroup mnm_mc Linux - Networking 6 09-29-2004 11:10 AM
smbclient to different domain? Wynd Linux - Networking 1 01-21-2004 03:32 PM
can a linux box join a windows workgroup? PlatinumRik Linux - Networking 2 06-04-2003 07:57 PM


All times are GMT -5. The time now is 10:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration