Hello,

I found an little bit annoying bug on 3.1.1:

When the colums in the file "amandapass" are separated with more than one space and/or tab, then username/password is not reccognized and the connect is tried as "guest" (what fails if authentication is required).


My "amandapass" contains:
//amplicon/backup$      username%password        MUC


"amcheck" returns:
ERROR: nucleus.mr.lfmg.de: smbclient: Anonymous login successful
ERROR: nucleus.mr.lfmg.de: smbclient: tree connect failed: 
NT_STATUS_ACCESS_DENIED


Attached find the logs.


Removing all additional spaces/tabs fixes the problem, but makes the file looking confusing.

Regards,
Marc


--
Marc Muehlfeld (IT-Leiter)
Zentrum fuer Humangenetik und Laboratoriumsmedizin Dr. Klein und Dr. Rost
Lochhamer Str. 29 - D-82152 Martinsried
Telefon: +49(0)89/895578-0 - Fax: +49(0)89/895578-78
http://www.medizinische-genetik.de
Thu Aug  5 15:00:47 2010: Amsamba: pid 22009 ruid 33 euid 33 version 3.1.1: 
start at Thu Aug  5 15:00:47 2010
Thu Aug  5 15:00:47 2010: Amsamba: pid 22009 ruid 33 euid 33 version 3.1.1: 
rename at Thu Aug  5 15:00:47 2010
Thu Aug  5 15:00:47 2010: Amsamba: application: Amsamba

Thu Aug  5 15:00:47 2010: Amsamba: command: support
Thu Aug  5 15:00:47 2010: Amsamba: pid 22010 ruid 33 euid 33 version 3.1.1: 
start at Thu Aug  5 15:00:47 2010
Thu Aug  5 15:00:47 2010: Amsamba: pid 22010 ruid 33 euid 33 version 3.1.1: 
rename at Thu Aug  5 15:00:47 2010
Thu Aug  5 15:00:47 2010: Amsamba: application: Amsamba

Thu Aug  5 15:00:47 2010: Amsamba: command: selfcheck
Thu Aug  5 15:00:47 2010: Amsamba: amandapass: /etc/amanda/amandapass
Thu Aug  5 15:00:47 2010: Amsamba: Trailling characters ignored in amandapass 
line
Thu Aug  5 15:00:47 2010: Amsamba: execute: /usr/bin/smbclient 
/usr/bin/smbclient //amplicon/backup$  -U guest -E -c quit
Thu Aug  5 15:00:47 2010: Amsamba: No password
Thu Aug  5 15:00:47 2010: Amsamba: stderr: Anonymous login successful
Thu Aug  5 15:00:47 2010: Amsamba: stderr: Domain=[MUC] OS=[Windows Server 2003 
R2 3790 Service Pack 2] Server=[Windows Server 2003 R2 5.2]
Thu Aug  5 15:00:47 2010: Amsamba: stderr: tree connect failed: 
NT_STATUS_ACCESS_DENIED

Reply via email to