LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   smbclient to join workgroup and a domain (https://www.linuxquestions.org/questions/linux-newbie-8/smbclient-to-join-workgroup-and-a-domain-397765/)

JimBass 12-29-2005 10:44 PM

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

otchie1 12-31-2005 11:19 AM

wait until the backup is finished as you will have to restart samba anyway.


All times are GMT -5. The time now is 07:52 PM.