LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 10-31-2004, 10:01 AM   #1
coolamit78
Member
 
Registered: Aug 2003
Location: New Delhi, India
Distribution: RHEL AS 3/4, Windows XP
Posts: 546

Rep: Reputation: 31
Problem with data backup using rsync and samba


Hi everyone...

I am working on data backup project using rsync as the primary way of synchronizing data between the main server and the backup server. However, I am facing some issues with mounting windows partitions using samba....

What I am doing is -
1. creating a local user on my windows clients named 'backup'. This user is a 'normal user' i.e belongs to the 'User' group.

2. I am Sharing a folder C:\backup on all my windows clients

3. Assign full control for the shared folder 'backup' to the users performing domain logon on my ldap server.

In addition, I am giving a 'read-only' permission to the user 'backup'.

One thing that I would want to tell you all is that I have also added in the Users and Groups in Control Panel in this manner

Username Domain Group

amit mydomain administrators

(Note that 'amit' is a windows user who logs on to my ldap+samba server)

Now the problem is, when I try to use

smbmount //192.168.0.10/backup /mnt/abc -o username=backup,password=backup

It does not mount the share under /mnt/abc and shows errors like ' NT_STATUS_LOGON_FAILURE' or 'tree_connect_failed'......

However, if I give the command

smbmount //192.168.0.10/backup /mnt/abc -o username=amit,password=amit

This mounts my resource successfully. (Note that I've added user 'amit' as an administrator group member on the windows client)


Now, I'd want someone to help me out in making clear...what all settings should I have on my windows clients (Mostly Win XP - some with service pack 1 and some with service pack 2) so that I am able to connect with the user 'backup' ?
Also, do I need to create a separate user called 'backup' on my linux server ?? In my view, its not needed..


Please help....If you need any other information, pls let me know...

Thanks and Regards

--amit
 
  


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
RAID 1 or RSYNC BACKUP otagojo Linux - General 7 08-01-2005 01:34 AM
rsync as backup? ziggie216 Linux - Software 3 03-13-2005 03:22 PM
Rsync Backup From Windows To Linux Problem sectrean Linux - Networking 0 10-18-2004 05:11 PM
Rsync to mirror data for backup - having difficulties tapanga Linux - Newbie 1 05-17-2004 06:45 PM
rsync backup... tarballed Linux - Networking 10 06-27-2003 11:43 AM


All times are GMT -5. The time now is 02:21 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration