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
|