smbspool version 3.6.5 message "ERROR: Session setup failed: NT_STATUS_LOGON_FAILURE"

Klein, Gerhard G.Klein at edelmann.de
Fri Jun 8 04:38:24 MDT 2012


Hi,

we use smbspool to send spoolfiles to Windows printserver. For
authentification we set the environment variable DEVICE_URI like
smb://username:password@workgroup/server[:port]/printer. This works fine
with version 3.4.17 or older. Since we updated Samba to 3.6.5 we get the

  ERROR: Session setup failed: NT_STATUS_LOGON_FAILURE
  DEBUG: get_exit_code(cli=0x5555559a88b0, nt_status=c000006d)
  ATTR: auth-info-required=username,password
  kerberos_get_default_realm_from_ccache: failed to get default
principal
  ERROR: Session setup failed: NT_STATUS_UNSUCCESSFUL
  DEBUG: get_exit_code(cli=0x5555559c9300, nt_status=c0000001)
  ERROR: Session setup failed: NT_STATUS_LOGON_FAILURE
  DEBUG: get_exit_code(cli=0x5555559c8fa0, nt_status=c000006d)
  ATTR: auth-info-required=username,password
  ERROR: Tree connect failed (NT_STATUS_ACCESS_DENIED)
  DEBUG: get_exit_code(cli=0x5555559c8fa0, nt_status=c0000022)
  ATTR: auth-info-required=username,password

We didn't changes in smb.conf. Is it a bug or do we need a parameter in
smb.conf.

Best regards
Gerhard



Carl Edelmann GmbH
Steinheimer Strasse 45, 89518 Heidenheim/Brenz, Tel. +49 7321 340-0, Fax. +49 7321 340-244
Internet: www.edelmann.de <http://www.edelmann.de>
Registergericht: Amtsgericht Ulm, HRB 722542
Geschaftsfuhrer: Dierk Schroeder, Klaus Dirk Breitbach
UST-IdNr.: DE261128993

Der Inhalt dieser E-Mail ist vertraulich. Falls Sie nicht der angegebene Empfanger sind
oder falls diese E-Mail irrtumlich an Sie adressiert wurde, verstandigen Sie sofort den
Absender und loschen Sie diese E-Mail. Unerlaubtes Kopieren sowie unbefugte Ubermittlung
sind nicht gestattet. Die Sicherheit von Ubermittlungen per E-Mail kann nicht garantiert
werden.

The contents of this e-mail are confidential. If you are not the named addressee or if you
have received this e-mail in error, please notify the sender immediately and then delete
this e-mail. Unauthorized copying and transmission is forbidden. E-mail transmissions
cannot be guaranteed to be secure.


More information about the samba-technical mailing list