[Samba] mssql, problem authenticating from stored procedure...

Kristoffer Egefelt dr.fersken at gmail.com
Sat Sep 30 18:33:28 GMT 2006


Hello,

running plain samba 3.023c on debian,  I'm trying to connect to a samba
share from within a stored procedure.

This works as long as samba is in "share" mode:

[2006/09/29 14:53:01, 5] auth/auth.c:check_ntlm_password(309)
  check_ntlm_password:  guest authentication for user [] -> [] -> [nobody]
succeeded


When I try to attach samba share manually when logged in as the user running
the sqlserver agent, it also works:

[2006/09/30 17:58:43, 2] auth/auth.c:check_ntlm_password(309)
  check_ntlm_password:  authentication for user [sqlserver] -> [sqlserver]
-> [sqlserver] succeeded


But when running the stored procedure, which causes the sqlserver user to
login to the samba server I get this:

[2006/09/30 17:59:28, 2] auth/auth.c:check_ntlm_password(319)
  check_ntlm_password:  Authentication for user [sqlserver] -> [sqlserver]
FAILED with error NT_STATUS_WRONG_PASSWORD

This is extremely strange to me... :(
Any ideas is greatly appreciated... :)

/Kristoffer










but when user authentication is needed


More information about the samba mailing list