Bugzilla – Attachment 57747 Details for
Bug 106335
cupsd cannot talk to smb printer
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
IDP Log In
|
Forgot Password
[patch]
send own username to reach the ntlmssp session setup
samba3-smbspool.diff (text/plain), 951 bytes, created by
Guenther Deschner
on 2005-11-18 18:04:11 UTC
(
hide
)
Description:
send own username to reach the ntlmssp session setup
Filename:
MIME Type:
Creator:
Guenther Deschner
Created:
2005-11-18 18:04:11 UTC
Size:
951 bytes
patch
obsolete
>Index: source/client/smbspool.c >=================================================================== >--- source/client/smbspool.c (Revision 11790) >+++ source/client/smbspool.c (Arbeitskopie) >@@ -461,6 +470,7 @@ > { > struct cli_state *cli; /* New connection */ > pstring myname; /* Client name */ >+ struct passwd *pwd; > > /* > * Get the names and addresses of the client and server... >@@ -491,9 +501,21 @@ > /* > * last try. Use anonymous authentication > */ >+ > cli = smb_complete_connection(myname, server, port, "", "", > workgroup, share, 0); >+ if (cli) { return cli; } > >+ /* give a chance for a passwordless NTLMSSP session setup */ >+ >+ pwd = getpwuid(geteuid()); >+ if (pwd == NULL) { >+ return NULL; >+ } >+ >+ cli = smb_complete_connection(myname, server, port, pwd->pw_name, "", >+ workgroup, share, 0); >+ > /* > * Return the new connection... > */
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
|
Diff
Attachments on
bug 106335
:
47292
|
47824
|
47825
|
55194
|
55202
| 57747