summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-04-21smbspool: minor formatting cleanups.James Peach1-88/+133
(This used to be commit 831a09ae25e98eacc0b0be5390d3ac3aa671a8a5)
2008-04-21smbspool: Run indent to approximate conding standards.James Peach1-533/+485
(This used to be commit 4244be792eeb69e883a1ece013b62fe6941086f2)
2008-04-21smbspool: add my copyright.James Peach1-0/+1
(This used to be commit b294b2055a422e1af59e3b6843b84750b6786d99)
2008-04-21smbspool: Fix CUPS authentication protocol support.Mike Sweet1-34/+75
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)
2008-04-21smbspool: fix Kerberos support for CUPS 1.3.Mike Sweet1-144/+87
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)
2008-04-21Add in a nice big comment explaining why SamLogonEx matters.Andrew Bartlett1-0/+21
Andrew Bartlett (This used to be commit 87232351b5e66728f8d602259961909e8c1dfcb6)
2008-04-21winbind: Use libnbt for NTLOGON SAMLOGON mailslot request and reply.Günther Deschner3-111/+118
Guenther (This used to be commit 2d6a1c5da64195784b0b102edb268356a24d84b5)
2008-04-21samlogoncache: Use data_blob_const in netsamlogon_cache_get.Günther Deschner1-2/+1
Guenther (This used to be commit f27a20f25c9b2038621a6394821bbedbf17daa73)
2008-04-21Merge branch 'v3-2-test' of ssh://git.samba.org/data/git/samba into v3-2-testAlexander Bokovoy125-1440/+13831
(This used to be commit 2c3ffc1c53550c8e6feeca8fc0270ef9ac1ec70a)
2008-04-21Ignore Emacs' semantic.cacheAlexander Bokovoy1-0/+1
(This used to be commit 8246ffc66e6425809cfb8ca48bb31710dcddbd26)
2008-04-21Remove redundant parameter fd from SMB_VFS_CLOSE().Michael Adam13-30/+30
Now all those redundant fd's have vanished from the VFS API. Michael (This used to be commit 14294535512a7f191c5008e622b6708e417854ae)
2008-04-21Slight reformatting of fd_close_posix(), while I'm at it.Michael Adam1-5/+9
Wrap lines and remove trailing space. Michael (This used to be commit 74ed53a115b2063d4d5c8572af8f1302bc658882)
2008-04-21Change fd_close_posix() to return int instead of NTSTATUS.Michael Adam2-15/+6
The errno is handed up through the VFS layer to the callers. Michael (This used to be commit d928e6648d61cf2d3c1b77db440efb835b729a84)
2008-04-21Don't modify the fsp in fd_close_posix() anymore.Michael Adam1-4/+0
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)
2008-04-21Move the posix pending close functionality down into the VFS layer.Michael Adam3-8/+16
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)
2008-04-21loadparm: reformat - fix whitespace/tabMichael Adam1-1/+1
Michael (This used to be commit 3acc0d84dc8f29b67ddaa1124224a93cb43b07ad)
2008-04-21loadparm: rename bNoIncludes to bAllowIncludeRegistry (inverting logic)Michael Adam1-6/+7
This is what that variable controls now... Michael (This used to be commit bba04a8fba6fd5cf62578733cfdabea590e8ff51)
2008-04-21loadparm: make lo_load_initial() only skip registry include.Michael Adam1-4/+3
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)
2008-04-20libnetapi: Add Doxyfile.Günther Deschner1-0/+1362
Guenther (This used to be commit a34801d67789340b515c5e575c3fd3175dddbecf)
2008-04-20netdomjoin-gui: Omit warning when unjoining a domain fails.Günther Deschner1-0/+4
Guenther (This used to be commit ba1d2e87614a98b4f811c75a0d9cfa8491f5cb4d)
2008-04-20cli_cm: Make nicer password prompt in do_connect().Günther Deschner1-1/+6
Guenther (This used to be commit cc967e76a39808e8311cc96c17078a0fce26c11a)
2008-04-20libwbclient: change wbcResolveWinsByIP() to take char ** instead of const ↵Michael Adam3-4/+4
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)
2008-04-20libwbclient: fix wbcResolveWinsByName() to take char * instead of const char **Michael Adam3-4/+4
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)
2008-04-20rpc_parse: fix "assignment discards qualifier" warning by using CONST_DISCARD.Michael Adam1-1/+1
Michael (This used to be commit 0de001a5446545b928eb88e1916b4fe674017424)
2008-04-20vfs_cacheprime: fix C++ warning - make implicit cast explicitMichael Adam1-1/+1
Michael (This used to be commit 04d671b8c9bd5bf811e6dbd6981f1874eb49740c)
2008-04-20Fix some empty lines with just spacesVolker Lendecke1-13/+12
(This used to be commit f8fb9b7e3759bec7fbcf93b27438ca6b03202ddb)
2008-04-20Make convert_samr_dispinfo_to_NET_DISPLAY() staticVolker Lendecke1-5/+5
(This used to be commit a30a26d471a572167ee13bf10be1a275a6592851)
2008-04-20Introduce rpc_pipe_np_smb_conn()Volker Lendecke6-15/+23
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)
2008-04-20Remove a redundant reference to rpc_pipe_state->cli from srv_spoolssVolker Lendecke1-4/+0
This assignment is done in cli_rpc_pipe_open called from cli_rpc_pipe_open_noauth already. (This used to be commit 7331c4c2781bf7904942c119f1a8de8eda00ae7e)
2008-04-20Replace cli_rpc_pipe_close by a talloc destructor on rpc_pipe_structVolker Lendecke15-121/+102
(This used to be commit 99fc3283c4ecc791f5a242bd1983b4352ce3e6cf)
2008-04-20Refactoring: Move stuff around for creating a pipeVolker Lendecke2-42/+40
(This used to be commit 45be749ed69f8c1ad3ebe8ea1f35c806db2ed5d0)
2008-04-20Remove the pipe_idx variable from rpc_pipe_clientVolker Lendecke8-52/+38
(This used to be commit 4840febcd481563c3d9b2fabc1fe1b2ae5a76cf6)
2008-04-20Remove some unused code referencing pipe_names[]Volker Lendecke1-17/+0
(This used to be commit d8a04b798c44c26a91a37fa7090dd071a1909166)
2008-04-20Use rpc_pipe_client->user_name instead of rpc_pipe_client->cli->user_nameVolker Lendecke3-6/+21
Also make sure that rpc_pipe_client->user_name is always talloced. (This used to be commit 3f6c5b99664a75a6f490ee3b6980b89cacf7f579)
2008-04-20Introduce rpccli_set_timeout()Volker Lendecke7-13/+22
Reduce dependency on "cli" member of rpc_pipe_client struct (This used to be commit 2e4c1ba38963cffe4c3f25ab24bc28975f2fc291)
2008-04-20Move srv_name_slash from cli_state to rpc_pipe_clientVolker Lendecke7-17/+22
(This used to be commit a9061e52e1ff8e31aa480f4a30cda64c9d93214e)
2008-04-20Fix two "ignoring asprintf result" warningsVolker Lendecke1-3/+2
(This used to be commit 1d261e78b38e8080ca7122037d33c8ef913a4558)
2008-04-20Add "desthost" to rpc_pipe_clientVolker Lendecke24-158/+159
This reduces the dependency on cli_state (This used to be commit 783afab9c891dd7bcb78895b2a639b6f3a0edf5b)
2008-04-20Refactoring: Make struct rpc_pipe_client its own talloc parentVolker Lendecke6-32/+24
(This used to be commit a6d74a5a562b54f0b36934965f545fdeb1e8b34a)
2008-04-19Set the right domain\user in cli_rpc_pipe_open_ntlmssp_internalVolker Lendecke1-2/+2
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)
2008-04-19Fix a bogus uninitialized variable warning in IDL-based nbt codeVolker Lendecke1-1/+1
(This used to be commit 06c5076f8ef23ac36d234ed417b80a58ab8dd7b4)
2008-04-19Fix bug 5400Volker Lendecke1-2/+2
Thanks to Jason Mader! Volker (This used to be commit 87d8a63ce4e6dd91ea3193d0a2574520a5857be2)
2008-04-19Fix bug 5399Volker Lendecke1-5/+0
Thanks to Jason Mader! Volker (This used to be commit 36740f4959194cfaa98b1e37eed08f22edbda1e4)
2008-04-19Fix bug 5398Volker Lendecke1-3/+3
Thanks to Jason Mader for sending the compiler output :-) Volker (This used to be commit 7a57c2da1a6cc0fcea0b4d949c696219f1822694)
2008-04-19Fix an uninitialized variableVolker Lendecke1-1/+1
(This used to be commit 825f78d9f12b5b3e835bd91961e00402cab0bf60)
2008-04-19WHATNEW.txt: add my latest changesStefan Metzmacher1-0/+8
metze (This used to be commit 6ae8544ace0dd9ac67d36abbaa26cf311db880ad)
2008-04-18winbindd: create the messaging conntext earlierStefan Metzmacher1-7/+17
metze (This used to be commit 2e1b9130635235efdbf49d0b92a43b342114246c)
2008-04-18winbindd: call reinit_after_fork() in the child processesStefan Metzmacher2-6/+4
metze (This used to be commit 8e9fdef792e612e414444e7714a2fd4513892248)
2008-04-18nmbd: create the messaging conntext earlierStefan Metzmacher1-3/+12
metze (This used to be commit 056ff094ad2c59992cfdb8b29696c08dab4113d7)
2008-04-18nmbd: call reinit_after_fork() in all needed casesStefan Metzmacher2-0/+10
metze (This used to be commit f68829ff14c457bfa98cb2ef9e8ec2e1a0b1d64d)