Thank you for your response, I was away for a while.
Let me be more specific about this very strange phenomenon
- in a linux box, where the backuppc-backupsystem is running :
- When I use smbmount (e.g. smbmount //DTP/C$ /tmp -o username=mark),
it mounts the C$-share.
*Remark that the linuxbox wanting to mount the WINNT-Box should be user
root, being user backuppc fails to mount, in any subdirectory (even ~/tmp).
- On the linuxbox, I cando an "ls", "cd" ... I can see all files. (in
/tmp/WINNT/ there are a lot)
*Remark : it asks interactively for a password. One should give the
domain-password, not the WIN2K-local password. So logging in as
"Administrator", one should give the Primary-Domain-Controler-Samba-ROot
password (PDC is another machine on the same intranet).
- Now with smbclient, I start a session interactively... I enter the
"domain" password (backuppc nevertheless uses the "local-machine-password"...
something which I do not get for the moment). And starting a session
interactively. The user I'm connecting is an domain-adminstrator and a local
administrator... should have all rights.
- ls works, but only shows me approx 30 files, in any
directory-subdirectory. Though, AND NOW IT COMES, I can access all
directories. It is just like a matter of settings which should be changed
somewhere... on the linxu-box (it is the same for all our 20 WIN2K boxes). Just
like in samba.conf :
show-number-of-lines-when-doing-an-ls-or-a-tar-in-smbclient-variable =
<some-default-value-of-30> which should be 0 (showw all). I know this is a
weird approach.
- TAR : (recursive on) creates an image of what is on the disk, limited
to approx 30 files/subdirs per directory.
- trying : "ls F*" or ls "f*" gives me all files starting with "f" &
"F" limited to approx 30 (26). So in order to find them all : ls a* ls ab* ls
b* ls c* ls d* etc... eventually shows me all files.
* Remark : it give an alphabetical list of files, that means : first
smbclient reads the whole content, sorts this content of the directory
alphabetically and than only shows 37 first entries.
* Remark : googling around for a few days, I did not see any similar
problems or terms... So this suggests that is is so basic that NOBODY ever had
this problem. Like , RTFM, page 1, alinea 1, line 1 : plug your
network-calbe.... something similar.... OR? am I using the wrong terms/words in
google. As I'm not native English-speaking, this could be the case.
Thank you in advance
-----Oorspronkelijk bericht-----
Van: Rob Owens [mailto:[EMAIL PROTECTED]
Verzonden: donderdag 26 juli 2007 13:52
CC: mark jonckheere; [email protected]
Onderwerp: Re: [BackupPC-users] BackupPC - smbclient is not picking up
files
Craig Barratt wrote:
> Mark writes:
>
>
>> Dear craig,
>> I'm at a dead end. I googled for more than 5 days: smbclient does not show
>> all the files, but only approx 31-36 files per directory.
>> I'm in a PDC-environment (SAMBA is Primary domain controler). About 10 W2K
>> pc with roaming profiles should be backed up each day.
>> Some have local data-directories with more than 100 files. But they are not
>> backed up, only approx 31-36 and ocasionally 37
>> files/directories/subdirectories.
>> Manually connecting with smbclient and doing a tar c ... or ls : same
>> result. With recurse (on) and making a tar (tar c ... ) : same result :
>> only approx 31-35 files per directory are backed up.
>> I connect to the 'C$' share as Domain-Administrator or as user with
>> domain-administrator-rights: manually.
>> I cannot connect to the machine with smbclient and login as a local
>> administrator whilst BackupPC is able to connect this way... very strange
>> I believe this is not a BackupPC problem though a Samba-problem (smbclient).
>> But I do not find anything back on this in any mailing list.
>> As English is not my native language, perhaps I do not use the right
>> keywords, abling me to google-up the right help.
>> My possible solutions, where to look :
>> 1. configure the samba on my backup-machine
>> 2. start smbclient with some options
>> 3. find the right keywords.. Perhaps can you help me with this !!
>>
>
> You are right: this is not a BackupPC problem. If you run
> samba manually and can't see the files it is most likely a
> permissions problem. Does the user login you are using with
> Samba really have permissions to see all the files?
>
> After carefully checking permissions, you could check the samba
> mail list.
>
> You could also try rsync as a transport mechanism.
>
> Craig
>
I believe Windows allows you to set permissions on files such that only
the administrator cannot read them (only the owner can). You should
confirm whether this has been done or not.
Can you connect to these shares using another Windows machine? This
would tell you for sure if smbclient is the trouble, or if its
permissions on the file shares.
-Rob
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
BackupPC-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/