summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-04-22dsgetdcname: Fix discover_dc_dns().Günther Deschner1-2/+2
Guenther (This used to be commit ec86deb349850c634b49cd5a536e9281a4a6e7d8)
2008-04-22dsgetdcname: add very basic flat name support.Günther Deschner1-9/+168
Guenther (This used to be commit bb72d0b71e2a85d50e7bd893670c3eec69717580)
2008-04-21Remove the "pwd" struct from rpc_pipe_clientVolker Lendecke5-20/+49
The only user of this was decrypt_trustdom_secret, and this only needs the NT hash anyway. (This used to be commit 3d8c2a47e677a4c4aacf4abf148b1bd8163c3351)
2008-04-21net: Add libnetapi context to net's impressive list of globals.Günther Deschner3-11/+8
Guenther (This used to be commit 8a5fadf6a183e4e4ccc77283b3ddba0748c6abfb)
2008-04-21IDL: rerun make idl.Günther Deschner2-9/+11
Guenther (This used to be commit 5e0ccaf0c02a2d2d87ed8a2999c09ae1ccfc48e8)
2008-04-21IDL: now that we have nbt.idl, re-add it to the includes again.Günther Deschner1-10/+10
Guenther (This used to be commit d38c5f4a69f67f29cc057e4aa0ad14f5112f6844)
2008-04-21cldap: avoid duplicate definitions so remove ads_cldap.h.Günther Deschner8-86/+25
Guenther (This used to be commit 538eefe22ad69540b9f73ffaa613d6be045de199)
2008-04-21cldap: add talloc context to ads_cldap_netlogon().Günther Deschner4-18/+34
Guenther (This used to be commit 4cee7b1bd5cd97c414b73d6f39238958480cdcf3)
2008-04-21libads: Use libnbt for CLDAP reply parsing.Günther Deschner4-147/+61
Guenther (This used to be commit 751f3064a508341c0ebae45e8de9f5311d915d70)
2008-04-21IDL: re-run make idl.Günther Deschner3-10/+15
Guenther (This used to be commit f9d68ca363f7e98bfb21a06283e4f02000d6d79c)
2008-04-21IDL: make nbt_cldap_netlogon_5 public.Günther Deschner1-1/+1
Guenther (This used to be commit f0917e8990ee6ada993c2c9808179eb0f8cfd662)
2008-04-21IDL: Add NTLOGON_RESPONSE_FROM_PDC2 to nbt_logon_request.Günther Deschner1-2/+3
Guenther (This used to be commit 1724000a95f3814a5ce4eaf5807dbf20e7e2e4f0)
2008-04-21winbind: pass down existing talloc context.Günther Deschner2-9/+10
Guenther (This used to be commit 675bf42cfff89b05f21d77ca74eba20c4a24d44c)
2008-04-21smbspool: Fix the smbspool build.James Peach1-11/+15
(This used to be commit a51cb3c1a9549d74c1e5cf05bc43b955af1a25b7)
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)