Re: [BackupPC-users] Found a Bug

2007-01-30 Thread Les Mikesell
Craig Barratt wrote:

>>> I have inserted the username and password required to make backups and 
>>> it works, full and inrcremental. When turning "Use simple File Sharing" 
>>> of - incremental backups fail with the message: "backup failed (session 
>>> setup failed: NT_STATUS_LOGON_FAILURE)". My printer monitoring server 
>>> require that "Use simple File Sharing" is turned off.
>>>
>>>   
>> Are you sure that full backups are working?  The only way a 
>> NT_STATUS_LOGON_FAILURE can occur is if the authentication for your 
>> user/pass is denied by SMB on the Windows XP box.  If it's wrong for 
>> incremental, it's wrong for full backups as well, since it's the same 
>> setting.
> 
> Could this be related to an smbclient problem reported earlier
> where incrementals fail authentication?  I'm attaching the
> concluding email from that thread.

I ran into this setting up a server on fedora FC6 (and it reminded me 
why I usually stick to Centos...).   I thought I saw something more 
definitive about the issue than the email here, like it was something 
that changed in smbclient argument parsing but I can't find it now.

In my setup, debugging was complicated a bit by the fact that I have a 
domain and password server set up in my /etc/samba/smb.conf file that I 
want to be used by samba as a server on the same machine.  However, 
smbclient also picks these up and will fail authentication against local 
accounts on the target machines unless pointed to a different config 
file with the -s option.

-- 
   Les Mikesell
[EMAIL PROTECTED]

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Found a Bug

2007-01-29 Thread Craig Barratt
Jason writes:

> Willem Viljoen wrote:
> > I have inserted the username and password required to make backups and 
> > it works, full and inrcremental. When turning "Use simple File Sharing" 
> > of - incremental backups fail with the message: "backup failed (session 
> > setup failed: NT_STATUS_LOGON_FAILURE)". My printer monitoring server 
> > require that "Use simple File Sharing" is turned off.
> >
> >   
> Are you sure that full backups are working?  The only way a 
> NT_STATUS_LOGON_FAILURE can occur is if the authentication for your 
> user/pass is denied by SMB on the Windows XP box.  If it's wrong for 
> incremental, it's wrong for full backups as well, since it's the same 
> setting.

Could this be related to an smbclient problem reported earlier
where incrementals fail authentication?  I'm attaching the
concluding email from that thread.

Craig

-- Forwarded message --
To:   backuppc-users@lists.sourceforge.net
From: Bill Hudacek <[EMAIL PROTECTED]>
Date: Sat, 22 Jul 2006 00:07:58 -0400
Subj: Re: [BackupPC-users] NT_STATUS_LOGON_FAILURE after samba update

Les Mikesell wrote:
> On Tue, 2006-07-18 at 21:57, Bill Hudacek wrote:
> 
> Is  there some subtle difference in your $Conf{SmbClientFullCmd} and
> $Conf{SmbClientIncrCmd} entries?  Can you execute something
> resembling the expanded incremental command manually with
> smbclient?
> 

Thanks, Les, for the reply.  I've been busy, and that's one of the 
things I've checked.

What it comes down to, isSamba 3.0.23-1 broke my system.  I'd setuid 
the smbclient and mount.cifs commands on disk; it complained until I 
removed that permission bit from those files.  That didn't fix the 
backuppc problems (though I held my breath as I tested again).

[It turns out smbmnt is /not/ based on "libsmb" - which is why samba was 
complaining and bailing - nothing based on this library can be suid 
anymore, fyi...so I simply setuid that executable.  Bob's your uncle.]

Prepare for this upgrade, folks! They're trying to improve the world 
over at Samba-land, and we're gonna be hurtin' until we figure all this out.

I still have no idea why logins only fail on incrementals.

I've upgraded to BackupPC v3.0.0beta0, but the smbclient command lines 
for SMB-based incremental, full, and restore are the same as in past 
versions :-/  No satisfaction there.  I tested anyway, but you already 
know how that story turns out.

I've been through the entire release notes for this version of Samba - 
my prev version was 3.0.14a-2 (fedora core-4) - and there are literally 
thousands of changes.  My eyes are bleeding.  Nothing jumped out at me, 
no eureka moment...

We need a Linux kernel approach for samba, it would seem, where 
even numbers and odd numbers are used for stable versions and for 
massive changes, respectively - and those unstable versions are not 
pushed out to every computer in the world!  

Is anyone else running this version of samba? If so, is it working for 
you?  I'll work this problem from both endsif anyone has any info, I 
would be grateful.

I'd go back, but the idea is that sofwtware changes are *for the 
better*, and the Samba guys have as good a rep as anyone.  I'm going to 
try to fix this before I punt and downgrade.

I'm simply running a full backup on each machine that has not been 
backed up for the last week or so!  I would have punted days ago if 
I didn't have this escape hatch.

Complicating things is the fact that I have this half-a-terabyte volume, 
and it's 95% full, because I have it retaining nearly every backup I've 
ever doneso I really reduced the retention figures, and now 
BackupPC_trashClean is going nuts - it's already returned nearly 4 
GB...and I have this feeling it'll be running all night - or all weekend :-)

More as it happens

Thought for the day: Fedora makes "trailblazers" of us all, I think, 
when you have an untested combination of software - like BackupPC and Samba!

/bill

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] Found a Bug

2007-01-29 Thread Jason Hughes
Willem Viljoen wrote:
> I have inserted the username and password required to make backups and 
> it works, full and inrcremental. When turning "Use simple File Sharing" 
> of - incremental backups fail with the message: "backup failed (session 
> setup failed: NT_STATUS_LOGON_FAILURE)". My printer monitoring server 
> require that "Use simple File Sharing" is turned off.
>
>   
Are you sure that full backups are working?  The only way a 
NT_STATUS_LOGON_FAILURE can occur is if the authentication for your 
user/pass is denied by SMB on the Windows XP box.  If it's wrong for 
incremental, it's wrong for full backups as well, since it's the same 
setting.

You might want to re-create the root$ share now that Use Simple File 
Sharing is turned off, as sometimes SMB likes to have its configuration 
recreated after certain settings change.  Also, I would mention that if 
your username has an empty password associated with it, you may 
experience strange behavior using Samba as a transfer method, because 
users without passwords may be considered 'guests' through that protocol 
and arbitrarily be denied access to some directories.

Good luck,
JH

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


[BackupPC-users] Found a Bug

2007-01-26 Thread Willem Viljoen
Hi

I have BackupPC 3.0.0.0 Beta3. I have a windows 2000 server with a few 
shares. I have set up backuppc to backup a share called root$. BackupPC 
will do a full dump of windows 2000 but refuses to do incremental 
backups. I have installed  printer monitoring  software on some of our 
servers that require me to turn of "Use simple file sharing" in windows 
Xp, when I do this full backups work on the Xp machines but suddenly 
incremental backups are refused. The reason:

I have inserted the username and password required to make backups and 
it works, full and inrcremental. When turning "Use simple File Sharing" 
of - incremental backups fail with the message: "backup failed (session 
setup failed: NT_STATUS_LOGON_FAILURE)". My printer monitoring server 
require that "Use simple File Sharing" is turned off.

Thanks

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/