Rob Munsch wrote:
> Hello list,
>  
>     I've inherited a messy WinXX environment in a place with a few
> linux servers, and am trying to get backuppc going as a solution. 
> They are currently without any kind of backup plan at all (ouch!).  We
> hope backuppc can prevent a lot of nightmares.
>  
>     I'm reading about the hosts file, adding hosts, and nmblookup and
> getting a sinking feeling... I have over 100 PCs here with various
> manufacturer-default names (HP1337ROFL etc) and no naming scheme
> whatsoever.  Can i get away with a
>  
> host    DHCP
> *            1
>  
> in my hosts file :D or am i doomed to getting a list of every windows
> client's hostname and punching all 10^2 of 'em in manually??
>  
> Thanks,
>
> Rob Munsch
> S. Walter Packaging
> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> ------------------------------------------------------------------------
>
> _______________________________________________
> BackupPC-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/backuppc-users
> http://backuppc.sourceforge.net/
>   
Hi Rob;

You didn't provide any info on network topology or Windows environment.
If you didn't like the static DHCP idea suggested by Carl and need to
match host names here are some ideas:

Get the workstation list:
1a - Use the DOS command "NET VIEW [/DOMAIN:Domain or WorkGroup Name]  
>> workstationlist.txt" . Repeat for other domain & workThis should work
against all Windows versions as long as NetBIOS ports are available on
the local nets for NT, AD domains (in compatibility mode) and dumb
workgroups. By far the easiest way if your a *nix person.
1b - If there is a semblance of AD or NT domains, you can query them
easily enough.
1c - You can check to see if you have a WINS server  (client DHCP
settings or smbclient -M option to browse) Let me know if you need some
quick Windows scripts to query AD, LDAP, NT or WFW workgrpoups for
machine accounts. I have some code snips that you may find handy.

2a -  Once you have the individual workstation list, you can update DNS
quickly (or temporarily updating the local host file on the BackupPC
server) to get name resolution working.
3 - Client Authentication... You be on your own here if they have no
domain membership or common workstation Admin account/password pairs.
When you get that sorted, ensure that your BackupPC user is a member of
'Backup Operators' and has 'Logon Locally' privilege enabled (or set a
standard now that you have a chance and create a standard Local User &
Domain Backup Account).

You can check almost any privileged authentication against the IPC$ or
ADMIN$ shares from Windows or Samba against the client:
"NET USE \\NETBIOSName\ipc$ * /USER:NetBIOSName\AdminAccount"  or
'smbclient -L //NETBIOSName * -U username'
4 - Use your workstation list output to create a script which can copy
templated '/etc/BackupPC/pc/<<clienthost>>.pl' file for each client name
should work. More advanced BackuPC admins can step in here.

Good luck...

    Allen...


-- 
/////////////////////////////////////////
Break away from the Gates of Windows...
        Support OpenSource communities.
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
BackupPC-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Reply via email to