Just created a new backup server using CentOS 5.0. I am using a auth file to access windows shares for backups. When connecting like this smbclient //server/share -A=/auth/file it works. When I try to tar with smbclient like this smbclinet //server/share -A=/auth/file -Tc /backup/tarfile.tar I get the following message..... session_setup_failed : NT_STATUS_LOGON_FAILURE Am I doing something wrong? This worked just find with the older versions of Fedora and CentOS. -- Bo Lynch Systems Administrator RedHat Academy Instructor Energy Manager Amelia County Public Schools
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Bo Lynch wrote:> Just created a new backup server using CentOS 5.0. I am using a auth file > to access windows shares for backups. When connecting like this > smbclient //server/share -A=/auth/file > it works. > > When I try to tar with smbclient like this > smbclinet //server/share -A=/auth/file -Tc /backup/tarfile.tar > I get the following message..... > session_setup_failed : NT_STATUS_LOGON_FAILURE > > Am I doing something wrong? This worked just find with the older versions > of Fedora and CentOS.Works fine with Version 3.0.25b-1.1.72-1411-SUSE-SL10.2 Try -d 3 and redirect error output to a file. Should be able to see what's failing then. Regards, Doug -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFGrk7sFqWysr/jOHMRAozMAJ9meN2kbdADkyAEbgzwnHRLzsCvGQCgxH65 tKvGaD+fMvn/tDeXLj5w0WE=HL9M -----END PGP SIGNATURE-----
This is what I get when using the -d 3 switch lp_load: refreshing parameters Initialising global parameters params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf" Processing section "[global]" added interface ip=192.168.1.19 bcast=192.168.255.255 nmask=255.255.0.0 Client started (version 3.0.23c-2.el5.2.0.2). resolve_lmhosts: Attempting lmhosts lookup for name servccc<0x20> resolve_wins: Attempting wins lookup for name servccc<0x20> resolve_wins: WINS server resolution selected and no WINS servers listed. resolve_hosts: Attempting host lookup for name servccc<0x20> Connecting to 192.168.1.30 at port 445 error connecting to 192.168.1.30:445 (Connection refused) Connecting to 192.168.1.30 at port 139 cli_session_setup: NT1 session setup failed! session setup failed: NT_STATUS_LOGON_FAILURE Any ideas? -- Bo Lynch Systems Administrator RedHat Academy Instructor Energy Manager Amelia County Public Schools On Mon, July 30, 2007 4:49 pm, Doug VanLeuven wrote:> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Bo Lynch wrote: >> Just created a new backup server using CentOS 5.0. I am using a auth file >> to access windows shares for backups. When connecting like thissmbclient //server/share -A=/auth/file>> it works. >> >> When I try to tar with smbclient like this >> smbclinet //server/share -A=/auth/file -Tc /backup/tarfile.tar >> I get the following message..... >> session_setup_failed : NT_STATUS_LOGON_FAILURE >> >> Am I doing something wrong? This worked just find with the older versions >> of Fedora and CentOS. > > Works fine with Version 3.0.25b-1.1.72-1411-SUSE-SL10.2 > > Try -d 3 and redirect error output to a file. Should be able to seewhat's failing then.> > Regards, Doug > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.5 (GNU/Linux) > Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org > > iD8DBQFGrk7sFqWysr/jOHMRAozMAJ9meN2kbdADkyAEbgzwnHRLzsCvGQCgxH65tKvGaD+fMvn/tDeXLj5w0WE> =HL9M> -----END PGP SIGNATURE----- >
On Tue, Jul 31, 2007 at 01:27:42PM -0400, Bo Lynch wrote:> This is what I get when using the -d 3 switch > lp_load: refreshing parameters > Initialising global parameters > params.c:pm_process() - Processing configuration file > "/etc/samba/smb.conf" Processing section "[global]" > added interface ip=192.168.1.19 bcast=192.168.255.255 nmask=255.255.0.0 > Client started (version 3.0.23c-2.el5.2.0.2). > resolve_lmhosts: Attempting lmhosts lookup for name servccc<0x20> > resolve_wins: Attempting wins lookup for name servccc<0x20> > resolve_wins: WINS server resolution selected and no WINS servers listed. > resolve_hosts: Attempting host lookup for name servccc<0x20> > Connecting to 192.168.1.30 at port 445 > error connecting to 192.168.1.30:445 (Connection refused) > Connecting to 192.168.1.30 at port 139 > cli_session_setup: NT1 session setup failed! > session setup failed: NT_STATUS_LOGON_FAILUREWrong password. Volker -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://lists.samba.org/archive/samba/attachments/20070731/379554b6/attachment.bin