Age | Commit message (Collapse) | Author | Files | Lines |
|
There were a couple of places where we weren't checking for
authentication correctly. This chance fixes those places and properly
supports Kerberos where available.
(This used to be commit 8eff35bc4acc13807c895af43b52db79ee195cb5)
|
|
To summarize the changes, the patches remove the old (probably non-
working) Kerberos support code which is unnecessary with CUPS 1.3
and adds some checks on the NT status we get back to see whether
the connection error is related to authentication. If so, we send
the ATTR: message to tell CUPS we need a username and password and
return exit code 2 so cupsd will do the right thing.
AUTH_USERNAME, AUTH_PASSWORD, and KRB5CCNAME are set and supported
by CUPS 1.3. The new exit code is supported by CUPS 1.2.x and 1.3,
and it treated as a general failure in CUPS 1.1. The ATTR: message
is only supported by CUPS 1.3, while CUPS 1.2 will assume the
"username,password" value we are setting.
The current code only uses the AUTH_* env vars if they are set.
If not, we fall back to the previous behavior.
I really can't tell whether the Kerberos code that was in there
would work at all. It did not work for Mac OS X which is why
I dropped it.
(This used to be commit 8c12c5cea01d9b801fe80c2a87b8139c488a62a5)
|
|
Andrew Bartlett
(This used to be commit 87232351b5e66728f8d602259961909e8c1dfcb6)
|
|
Guenther
(This used to be commit 2d6a1c5da64195784b0b102edb268356a24d84b5)
|
|
Guenther
(This used to be commit f27a20f25c9b2038621a6394821bbedbf17daa73)
|
|
(This used to be commit 2c3ffc1c53550c8e6feeca8fc0270ef9ac1ec70a)
|
|
(This used to be commit 8246ffc66e6425809cfb8ca48bb31710dcddbd26)
|
|
Now all those redundant fd's have vanished from the VFS API.
Michael
(This used to be commit 14294535512a7f191c5008e622b6708e417854ae)
|
|
Wrap lines and remove trailing space.
Michael
(This used to be commit 74ed53a115b2063d4d5c8572af8f1302bc658882)
|
|
The errno is handed up through the VFS layer to the callers.
Michael
(This used to be commit d928e6648d61cf2d3c1b77db440efb835b729a84)
|
|
Now that it is inside the vfs layer, this function should
not alter the fsp (i.e. set fsp->fh->fd = -1) anymore.
That belongs above the vfs layer.
Michael
(This used to be commit df264bf3e00d7d77afcf55e54d2669b9ffa9af4a)
|
|
This hides the pending close fds from the outside. Call order
of SMB_VFS_CLOSE is reversed. Originally, it was:
fd_close -> fd_close_posix -> SMB_VFS_CLOSE -> close
And now it is:
fd_close -> SMB_VFS_CLOSE -> fd_close_posix -> close
This is in preparation of removing the fd parameter
from the SMB_VFS_CLOSE function. But it is also the right
place for the pending close calls anyways.
Michael
(This used to be commit 3cf56b124a2886c6260455bba4bf77d08e9a4f77)
|
|
Michael
(This used to be commit 3acc0d84dc8f29b67ddaa1124224a93cb43b07ad)
|
|
This is what that variable controls now...
Michael
(This used to be commit bba04a8fba6fd5cf62578733cfdabea590e8ff51)
|
|
This is only to be able to set everything properly for registry
before reading registry includes.
This fixes "make test" as non-root user in a directory, where
root-daemons have already created a messaging.tdb in the compiled
in lockdir...
Michael
(This used to be commit 1bb28bc1d8e83d174cd171e9d96f22ac524187c3)
|
|
Guenther
(This used to be commit a34801d67789340b515c5e575c3fd3175dddbecf)
|
|
Guenther
(This used to be commit ba1d2e87614a98b4f811c75a0d9cfa8491f5cb4d)
|
|
Guenther
(This used to be commit cc967e76a39808e8311cc96c17078a0fce26c11a)
|
|
char **
Fix a compile warning. This seems the right thing since the data is created
by talloc_strdup...
Michael
(This used to be commit f81da8e8ed8e2d75c77bd8b5e7fdd7c53bab7e49)
|
|
This fixes a compile warning and seems the correct thing to me as
the returned data is talloc_strdup't, so not const anyways.
Michael
(This used to be commit 13cfa7f48a541a934a129fab0544cbf66029c4c7)
|
|
Michael
(This used to be commit 0de001a5446545b928eb88e1916b4fe674017424)
|
|
Michael
(This used to be commit 04d671b8c9bd5bf811e6dbd6981f1874eb49740c)
|
|
(This used to be commit f8fb9b7e3759bec7fbcf93b27438ca6b03202ddb)
|
|
(This used to be commit a30a26d471a572167ee13bf10be1a275a6592851)
|
|
This abstracts away all references to rpc_pipe_client->cli, the only reference
is now in cli_pipe.c.
(This used to be commit c56e1c08cef107ff33a34346ceeca3475a102b19)
|
|
This assignment is done in cli_rpc_pipe_open called from
cli_rpc_pipe_open_noauth already.
(This used to be commit 7331c4c2781bf7904942c119f1a8de8eda00ae7e)
|
|
(This used to be commit 99fc3283c4ecc791f5a242bd1983b4352ce3e6cf)
|
|
(This used to be commit 45be749ed69f8c1ad3ebe8ea1f35c806db2ed5d0)
|
|
(This used to be commit 4840febcd481563c3d9b2fabc1fe1b2ae5a76cf6)
|
|
(This used to be commit d8a04b798c44c26a91a37fa7090dd071a1909166)
|
|
Also make sure that rpc_pipe_client->user_name is always talloced.
(This used to be commit 3f6c5b99664a75a6f490ee3b6980b89cacf7f579)
|
|
Reduce dependency on "cli" member of rpc_pipe_client struct
(This used to be commit 2e4c1ba38963cffe4c3f25ab24bc28975f2fc291)
|
|
(This used to be commit a9061e52e1ff8e31aa480f4a30cda64c9d93214e)
|
|
(This used to be commit 1d261e78b38e8080ca7122037d33c8ef913a4558)
|
|
This reduces the dependency on cli_state
(This used to be commit 783afab9c891dd7bcb78895b2a639b6f3a0edf5b)
|
|
(This used to be commit a6d74a5a562b54f0b36934965f545fdeb1e8b34a)
|
|
This probably does not matter in current code, but without this it's not
possible to do the bind as a different user than the underlying smb user.
Jeremy, please check!
Thanks,
Volker
(This used to be commit b90062e33cbde7de4961414fd35a3a588760d002)
|
|
(This used to be commit 06c5076f8ef23ac36d234ed417b80a58ab8dd7b4)
|
|
Thanks to Jason Mader!
Volker
(This used to be commit 87d8a63ce4e6dd91ea3193d0a2574520a5857be2)
|
|
Thanks to Jason Mader!
Volker
(This used to be commit 36740f4959194cfaa98b1e37eed08f22edbda1e4)
|
|
Thanks to Jason Mader for sending the compiler output :-)
Volker
(This used to be commit 7a57c2da1a6cc0fcea0b4d949c696219f1822694)
|
|
(This used to be commit 825f78d9f12b5b3e835bd91961e00402cab0bf60)
|
|
metze
(This used to be commit 6ae8544ace0dd9ac67d36abbaa26cf311db880ad)
|
|
metze
(This used to be commit 2e1b9130635235efdbf49d0b92a43b342114246c)
|
|
metze
(This used to be commit 8e9fdef792e612e414444e7714a2fd4513892248)
|
|
metze
(This used to be commit 056ff094ad2c59992cfdb8b29696c08dab4113d7)
|
|
metze
(This used to be commit f68829ff14c457bfa98cb2ef9e8ec2e1a0b1d64d)
|
|
metze
(This used to be commit 9adb675a86e81c90e2bddfe984b5ac8f201fec75)
|
|
metze
(This used to be commit 658d8475336c4397e0dad341f216baf9e1eb6aaf)
|
|
metze
(This used to be commit 425b3513a45cf98b53235470a3536be86d56d1c2)
|