summaryrefslogtreecommitdiff
path: root/source3/include/proto.h
AgeCommit message (Collapse)AuthorFilesLines
2008-05-23Manually merge Steven Danneman's patch for SPNEGO auth to a trustedGerald W. Carter1-1/+3
Win2008 domain (merged from v3-0-test). commit 8dc4e979776aae0ecaa74b51dc1eac78a7631405 Author: Steven Danneman <sdanneman@isilon.com> Date: Wed May 7 13:34:26 2008 -0700 spnego SPN fix when contacting trusted domains cli_session_setup_spnego() was not taking into consideration the situation where we're connecting to a trusted domain, specifically one (like W2K8) which doesn't return a SPN in the NegTokenInit. This caused two problems: 1) When guessing the SPN using kerberos_get_default_realm_from_ccache() we were always using our default realm, not the realm of the domain we're connecting to. 2) When falling back on NTLMSSP for authentication we were passing the name of the domain we're connecting to for use in our credentials when we should be passing our own workgroup name. The fix for both was to split the single "domain" parameter into "user_domain" and "dest_realm" parameters. We use the "user_domain" parameter to pass into the NTLM call, and we used "dest_realm" to create an SPN if none was returned in the NegTokenInit2 packet. If no "dest_realm" is provided we assume we're connecting to our own domain and use the credentials cache to build the SPN. Since we have a reasonable guess at the SPN, I removed the check that defaults us directly to NTLM when negHint is empty. (This used to be commit b78b14c88e8354aadf9ba7644bdb1c29245fe419)
2008-05-22rpc_client: make rpc_pipe_open_tcp_port and rpc_pipe_get_tcp_port static.Michael Adam1-7/+0
Slim the interface... Michael (This used to be commit 9971118c23900d81e885a013e738a67df790c90c)
2008-05-22rpc_client: use endpoint mapper to get the port for rpc_pipe_open_tcp().Michael Adam1-1/+7
Michael (This used to be commit f7db445c828c0eef2c08b538bd07d485dc248689)
2008-05-21Add client support for NCACN_UNIX_STREAMVolker Lendecke1-0/+3
(This used to be commit 24ac40518f79fd480baaedc1d42f3b6fe8ea1c94)
2008-05-21rpccli_schannel_bind_data only needs the schannel keyVolker Lendecke1-1/+1
(This used to be commit be5d54a363a57113e494202a2d22dd9bbcf13b41)
2008-05-20Cleanup size_t return values in callers of convert_string_allocateTim Prouty1-13/+20
This patch is the second iteration of an inside-out conversion to cleanup functions in charcnv.c returning size_t == -1 to indicate failure. (This used to be commit 6b189dabc562d86dcaa685419d0cb6ea276f100d)
2008-05-19Remove conn_find_byname now it's no longer used inJeremy Allison1-1/+0
the msdfs.c code. Jeremy (This used to be commit 54556df561d03d30b2fc21b9eaabe56b8c758301)
2008-05-18build: freeze proto.hMichael Adam1-0/+10475
Michael (This used to be commit ff7f0cad2eb108daa61a910cd9171ab0811a5f60)
2001-06-22auto-build proto.h if its not there, but don't make it dependAndrew Tridgell1-4702/+0
on anything. Delete proto.h from CVS (This used to be commit 8a37df73ec4d8d1a7db60a49cd5d7d22c4704a88)
2001-06-21Merging Gerry's spoolss changes.Jeremy Allison1-613/+614
Jeremy. (This used to be commit 6b4a70cd8285c1e4d452e3af7df070b4c446ff54)
2001-06-21next_token() was supposed to be a reentrant replacement for strtok(),Andrew Tridgell1-4/+2
but the code suffered from bitrot and is not now reentrant. That means we can get bizarre behaviour i've fixed this by making next_token() reentrant and creating a next_token_nr() that is a small non-reentrant wrapper for those lumps of code (mostly smbclient) that have come to rely on the non-reentrant behaviour (This used to be commit 674ee2f1d12b0afc164a9e9072758fd1c5e54df7)
2001-06-21Added STR_NOALIGN flags to clistr and srvstr fns. Yes, NT actually doesAndrew Tridgell1-613/+612
send unaligned unicode strings sometimes! Fixed our handling of the workgroup name tacked on the end of the NT1 negprot response (a unaligned unicode) fixed a couple of places where we should be using the message_end fns instead of pre-calculated buffer lengths (This used to be commit 86613493a9b2e56523153486931d0bf8d39beb7a)
2001-06-20initial support for paramter type P_LISTSimo Sorce1-618/+622
it will avoid problems with lists being longer than 1024 bytes just now only ip list parameters have been converted to the new type (hosts allow, hosts deny, ssl hosts, ssl hosts resign) (This used to be commit e1572f85d6247b760db10825b2fa688d7ed50bd3)
2001-06-20make protoTim Potter1-0/+2
(This used to be commit d0b37d1a623acce2ae4509aebda85ad1280dc8ac)
2001-06-20added a close-share smbcontrol message that forcibly closes a share in smbd ↵Andrew Tridgell1-610/+611
(to allow unmount) (This used to be commit 15b17a80db605a55f667c95fb7e316877a441887)
2001-06-19INFO_24 sometimes has a 2 byte length, sometimes doesn't. Safer to notJeremy Allison1-4/+5
depend on it... Jeremy. (This used to be commit 0fe11c329f7b379299be65795031e4f1b14e0bec)
2001-06-18Added patches to remove Linux specific XFS ACLs. These are now handled by theJeremy Allison1-630/+609
generic Linux ACL code. rpc_server/srv_samr_nt.c: Don't delete a policy handle before it's created. Jeremy. (This used to be commit db5b82e53a7061c4764d39ceb3df82e706aad42f)
2001-06-18added a oplock break handler hook to the client code, this allows for more ↵Andrew Tridgell1-0/+6
complete testing of oplocks from smbtorture and would also be essential if a client app ever really did want to use oplocks properly (This used to be commit 3d4a3bfacd9ef225aeaab801e5a216d12814b60a)
2001-06-18Removed silly Get_Hostbyname() wrapper as DNS names are case-insensitiveTim Potter1-1/+0
and the use of this function only increased timeouts when Samba queries a broken DNS server. (This used to be commit 720fea53603b2f99153709e6717ca930ab60ca9f)
2001-06-16Modified version of Jim's 0x27 and 0x28 Win9x Secdesc patch.Jeremy Allison1-0/+6
Jeremy. (This used to be commit 5690ec77c87475f1fd2e854cda594eb996d6fd04)
2001-06-15Jim McDonough's parse patches for Win9x get SD calls.Jeremy Allison1-0/+2
Jeremy. (This used to be commit bc366f31537408380860906cc041de232b27b714)
2001-06-15Prototype update.Tim Potter1-0/+3
(This used to be commit 402639926f5d207ebefec296427dc3be0e979fe6)
2001-06-13Oops - proto.h contained junk from another workarea.Tim Potter1-13/+5
(This used to be commit 2ad921d1269cb1d098e7162f2d55f1a1536f325d)
2001-06-13Added some msdfs client routines.Tim Potter1-595/+619
(This used to be commit 13df2304b309a2bd14d4441db0e72e75b8742262)
2001-06-13Make message receive fn static.Jeremy Allison1-2/+3
Jeremy. (This used to be commit d8807b19228b12ddd6d93c02d1646a470a8e71ef)
2001-06-08Added sys_acl_delete_def_file() - needed as part of NT ACL editing fix.Jeremy Allison1-594/+596
Will add changes for other supported ACL systems shortly (Herb, I may need help with the IRIX one). Jeremy. (This used to be commit a8532b193d1fe123155a69dd70e433f8fc312bfc)
2001-06-08Extra stuff for large readwrite support.Jeremy Allison1-4/+2
Jeremy. (This used to be commit 4338ee78c3d7bcf4b9fac383ff2f572d882ab97c)
2001-06-06Prototypes update.Tim Potter1-3/+29
(This used to be commit 6dfe98f6020bf85263a39443ff7b07c5c795c27a)
2001-06-02Update prototype file.Tim Potter1-13/+0
(This used to be commit bdb76938e2936df287e638120894ae1adda5cb86)
2001-06-01Oops.Tim Potter1-1/+15
(This used to be commit 9e1d9a3a44ceaba2b0bfa327409f6b8dd0c36b26)
2001-05-30new proto.hAndrew Tridgell1-565/+567
(This used to be commit 823ba34342046a4b736640dff1471fde08e1087f)
2001-05-294 new functions to retrieve single linked list of group and passwd entriesSimo Sorce1-565/+574
+ a fix to an infinite loop in srv_samr_nt.c caused by misuse of setgrent/getgrent/endgrent solved by these new functions (This used to be commit 97dbb54a13e2285f1905ee1ec9aafeebdaee8917)
2001-05-25Added tdb_change_int_atomic() to allow atomic updates of a tdb int value.Jeremy Allison1-1/+3
Jeremy. (This used to be commit cf5015f15935605cf69078bc15251db61ddc48c7)
2001-05-24Added structures for LOGON_CTRL rpc.Tim Potter1-3/+40
Make proto. (This used to be commit 0650f87000dcf5572f3a8d61ab93760d94eee770)
2001-05-22Defensive brlock and locking database cleaning code.Jeremy Allison1-0/+1
Jeremy. (This used to be commit d7aa42e4593b02ee6e487f7a4633bd7e7620ef2f)
2001-05-18make protoGerald Carter1-0/+19
(This used to be commit 97a88ca86b1c39066ffcdad6e81d6422fad8341b)
2001-05-18Fix the W2KSP2 joining a Samba domain problem.Jeremy Allison1-1/+5
Jeremy. (This used to be commit 6bbcab5e48f91a80d4ebcbd2bee38f2e0a8bff78)
2001-05-17ran make protoAndrew Tridgell1-4/+0
(This used to be commit 2e605e1275b4cd59ba776101962218efaa87fe37)
2001-05-17Ran a make proto to fix the problems ...Richard Sharpe1-2/+5
(This used to be commit 7b275b458835a1e34c9014eb3eee6cdae240bd97)
2001-05-14make protoTim Potter1-234/+233
(This used to be commit 607db8d57db0e7bf9e99570bc87e7a1401a18eaa)
2001-05-12string_hash() should be static. hash_clear() should be void.Jeremy Allison1-2/+1
Jeremy. (This used to be commit e8ab89fbc0b6cec9f3e80fe4327992b2ec7a4a40)
2001-05-10make protoTim Potter1-0/+1
(This used to be commit dd0c7a8a024f9ba8b593757b3aed5b126a8dab61)
2001-05-10Made "security XXX" masks apply to ACL set. By default they have no effect.Jeremy Allison1-9/+6
Removed "restrict acl with mask" - redundent. Jeremy. (This used to be commit 0db8a61d71f25ffa0e5c585e02e2fce973867156)
2001-05-08make protoTim Potter1-2/+7
(This used to be commit 6d218c3e942a9be3af57f2500374b49d8ad25763)
2001-05-07merge from 2.2 removing the 'domain XXX' parameters.Gerald Carter1-3/+0
(This used to be commit 9aefc86e355bf160300580acb85a58a18207ccdf)
2001-05-07Patch from Simo:Gerald Carter1-2/+41
o sed 's/pdb_clear_sam/pdb_free_sam/g' o add pdb_reset_sam() o password changing should be ok now as well. (This used to be commit 96d0e7c3301ad990f6c83b9c216720cb32661fb5)
2001-05-07rebuild proto.hAndrew Tridgell1-114/+50
(This used to be commit 2e2073447490e192ccb838dd488feb335dfba265)
2001-05-04Big cleanup of passdb and backends.Jean-François Micouleau1-18/+19
I did some basic tests but I have probably broken something. Notably the password changing. So don't cry ;-) J.F. (This used to be commit a4a4c02b12f030a3b9e6225b999c90689dfc4719)
2001-05-04make protoGerald Carter1-0/+4
(This used to be commit 09b287e1782938bc4472b88921ed1604eb91ac27)
2001-05-04make protoTim Potter1-1/+14
(This used to be commit a56badc206abb88ae1e648004c168db71c862340)