summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2003-01-17This removes the 3rd argument from init_unistr2(). There were 240Andrew Tridgell17-246/+234
calls to init_unistr2() in the code and every one of them got the 3rd argument incorrect, so I thought it best just to remove the argument. The incorrect usage was caused by callers using strlen() to determine the length of the string. The 3rd argument to init_unistr2() was supposed to be the character length, not the byte length of the string, so for non-english this could come out wrong. I also removed the bogus 'always allocate at least 256 bytes' hack. There may be some code that relies on this, but if there is then the code is broken and needs fixing. (This used to be commit b9eff31b1433c81fbff733e194914a40f25e3bda)
2003-01-17the 'static' keyword here is useless as we are not declaring aAndrew Tridgell1-1/+1
variable or function (This used to be commit f2c9c64900c4da24f73b188deb0f57271e3bf3e7)
2003-01-17fix some undefined behaviour with increments in C. In theory aAndrew Tridgell1-4/+8
compiler could have produced complete crap for this code. (This used to be commit 0e90da0810b60dd1c2b1ec46c1a2993856b919d3)
2003-01-17Let's clean up client side ntlmssp!Tim Potter1-10/+0
Removed a dead function. (This used to be commit a1c790b5ea8de120a1d8710ac190955aea28246f)
2003-01-17Remove unused variable in reply_spnego_ntlmssp_okTim Potter1-1/+0
(This used to be commit 60c13a767523e3ec4db7ee5f5c6b20ca07d2a00a)
2003-01-16update for 3.0Herb Lewis1-84/+72
(This used to be commit 8b2d19eeaa59c709315062df6d68cf16b2905054)
2003-01-16Fix an error where the SK Offset was truncated to 16 bits. Variables neededRichard Sharpe1-1/+1
to be unsigned int (DWORD) not unsigned int (WORD). (This used to be commit e1e9c29c4095405d7031cfd618e06dd841075aad)
2003-01-16Fixed up mutex protection around winbindd logon code. Sync with APP-HEAD.Jeremy Allison4-38/+77
Jeremy. (This used to be commit 3d04872499332ef2d8e7479b924afc8fc1ac29d7)
2003-01-16Adding genlogon (from 3.0.0).John Terpstra1-0/+71
(This used to be commit b776521ba757f4b4995aff3db87a0da226480a69)
2003-01-16Added NT4 Profile Modification Docs, updated Win2K version.John Terpstra2-0/+128
NOTE: These documents are place holders for a REAL document. (This used to be commit 393c4a37f3a1729ff92c42becfd066c76deefcda)
2003-01-16(missed in last commit)Andrew Bartlett2-6/+9
Change the 'cookie' to be the ntlmssp_context, and use the 'auth_context' on that to store the cookie. Ensures that simple callbacks can 'just work'. Also make it clear that we are doing a pull_string into a pstring, not just any sized buffer. Andrew Bartlett (This used to be commit c7793f27188e658b7fc6336aa51d367eab36fc17)
2003-01-16allow a couple of LSA functions to take a username instead of a SID,Andrew Tridgell1-3/+44
They still accept a SID, it just can be tedious to have to type SIDs instead of names all the time. (This used to be commit 665cc9b1aceb454074e9de9c6e8636b39be29493)
2003-01-16Add LIBSMB_OBJ for the new ntlm_auth functionality.Andrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit 9128aa3dd2f4bf4a21adac51be1da7c6380d23a0)
2003-01-16Updates to the NTLMSSP code again - moving the base64 decode fuctionality outAndrew Bartlett9-72/+273
of the SWAT code, and adding a base64 encoder. The main purpose of this patch is to add NTLMSSP support to 'ntlm_auth', for use with Squid. Unfortunetly the squid side doesn't quite support what we need yet. Changes to winbind to get us the info we need, and a couple of consequential changes/cleanups in the rest of the code. Andrew Bartlett (This used to be commit fe50ca8f54ded2e119bde08831785fbe0db2ee99)
2003-01-16More Heimdal changes. Still not compiling with Heimdal yet...Jeremy Allison4-2/+9
Jeremy. (This used to be commit c3544c119e4cafb817479b4c5dfae178c3de000b)
2003-01-16Fist part of fixes to make us compile with Heimdal. Don't explicitlyJeremy Allison4-18899/+9100
detect for now, I still have vague hopes of hiding the differences between MIT and Heimdal with a compatibility layer.... Jeremy. (This used to be commit a776fbef3244ae82a17c57a7f62de115fd023c86)
2003-01-16* merge fixes for SGML syntax errors (does no one ever regenerate the docs?)Gerald Carter53-5564/+5850
* regenerate the docs * add some files from SAMBA_3_0 (This used to be commit 1af74785f334bd84b2d62e7fc2975f9477386acb)
2003-01-16Fix a signed/unsigned warning.Andrew Bartlett1-1/+1
(This used to be commit b5ae49544d8e389595a3b076466498912de42081)
2003-01-16Add mutex protection around auth calls.Jeremy Allison1-41/+37
Jeremy. (This used to be commit af8a5d79682410482646eea075dff2d344d60e31)
2003-01-15s/WIFSIGNALLED/WIFSIGNALED/gGerald Carter1-1/+1
(This used to be commit 251585142bb5d13951160a76f65bb2bf32f209bf)
2003-01-15do not use RCS variables in fileGerald Carter1-1/+1
(This used to be commit 88d673e1a14b5c91843bd64a516555b6f1f77d7f)
2003-01-15add ntlogon directory and files from 3.0Gerald Carter3-0/+580
(This used to be commit 3ae66807d86753b840b674e76a27b9f6133cca98)
2003-01-15Removed level 0 DEBUG leftover from testing.Tim Potter1-3/+0
(This used to be commit 7ed8046d043743d1a7af70eaa1d215e8c04e7700)
2003-01-15Missed auth_ntlmssp.c in last night's checkin. Also keep track of the currentAndrew Bartlett2-225/+82
challenge in the NTLMSSP context. Andrew Bartlett (This used to be commit ba13e058d4533b1ffba723b9e98e95090ad63d85)
2003-01-15remove torture tools on make cleanGerald Carter1-1/+1
(This used to be commit dfeab6ff24e87e3459d28aa4bbaa5187505c199c)
2003-01-15small merges from SAMBA_3_0; mostly typos, renames, etc...Gerald Carter11-1362/+200
(This used to be commit 9ac196dad4893b0ceef13281a140be5d85391e6c)
2003-01-15initialize acct_ctrl before using itHerb Lewis1-2/+1
remove ldap_msgfree(result); as result is unitialized at this point (This used to be commit dc8882778694289ca461de57d443992f52ab7524)
2003-01-15* removed unused variable from rpcclient codeGerald Carter7-17/+19
* added container option to net command (patch from SuSE) * Makefile patch for examples/VFS from SuSE (This used to be commit 4a6d8280ea27ca7a6998219aacc4b15b1227a659)
2003-01-15Refactor the NTLMSSP code again - this time we use function pointers toAndrew Bartlett6-20/+330
eliminate the dependency on the auth subsystem. The next step is to add the required code to 'ntlm_auth', for export to Squid etc. Andrew Bartlett (This used to be commit 9e48ab86da40e4c1cafa70c04fb9ebdcce23dfab)
2003-01-15Doing a malloc(strlen(s)) then a pstrpcp(y, s) is just silly, make it a strdupAndrew Bartlett1-3/+1
instead. Andrew Bartlett (This used to be commit c781e34d274f4185ec932cc59029d3f9a65e47c4)
2003-01-15added cli_lsa_enum_account_rights() call. Note that this is inAndrew Tridgell6-0/+247
principal similar to the existing cli_lsa_enum_privsaccount() call, except that cli_lsa_enum_account_rights() doesn't require a call to open_account first. There is also the minor matter that cli_lsa_enum_account_rights() works whereas cli_lsa_enum_privsaccount() doesn't! this call can be used to find what privileges an account or group has. This is a first step towards proper privileges support in Samba. (This used to be commit 65bac11d716f873dcdbda528313c33634c26a072)
2003-01-15Fix warnings by getting the function into a shape the autoprototyper willAndrew Bartlett1-6/+4
read, and add a static. Andrew Bartlett (This used to be commit 919889de78fc3c7bc5dfebcc180385f2f3d7a564)
2003-01-15Crash fixes:Andrew Bartlett2-2/+8
- fix a crash when a second NTLMSSP session tried to free the first - fix a crash due to some NULL pointers in the Add Printer Wizard (or read printer code too it appears). As far as I can tell it's just that the GUID just might not exist. Andrew Bartlett (This used to be commit 51b1413056b0d001076ff47a755eb35baa2d9e6d)
2003-01-15One more from waitpid() audit: Correctly interpret waitstatus when aMartin Pool1-1/+5
child fails. Possibly this was causing smbmount to exit(0) when it really should have indicated a failure. (This used to be commit 1e33083fe66dfc1e168ffeb2f9d87953534a2d5d)
2003-01-15Run autoheaderMartin Pool1-6/+0
(This used to be commit 82e4bb598c9fc26eaa090687d0daa6505fa0d550)
2003-01-15Fix bug where the existence of config.cache would cause functions likeMartin Pool1-14/+3
yp_get_default_domain to be misdetected. According to the autoconf manual we need to check for libraries before looking for functions in them. (This used to be commit 468c487df42c6fc25d1862f36995b3d9a78902ff)
2003-01-15IRIX uses libns_winbind.so instead of libnss_winbind.soHerb Lewis2-8978/+18874
(This used to be commit 50adb8cc1074e9bedac365a92db96c5f01f30223)
2003-01-14[merge] removing unused variable and unused fileGerald Carter1-237/+0
(This used to be commit 099e844571975eecde7aea342c64d3f768110e03)
2003-01-14Fix some debug lines, and add a bit more info to help track down ldapAndrew Bartlett1-8/+15
connectivity problems. Andrew Bartlett (This used to be commit 68de9a59203ed9778f11b78f233dc437b9dab55d)
2003-01-14merge: disable [u|g]idPool objectsGerald Carter1-6/+6
(This used to be commit 4c98700e54f3cc617eb578758695fd4dbd690f82)
2003-01-14make -i flag work lik eit did in 2.2Gerald Carter1-2/+5
(This used to be commit 54b054c1edd44096c7158993a886f915d7a07493)
2003-01-14Commit my (disabled) fstring/pstring mixup detection code.Andrew Bartlett1-0/+21
We need to fix some 'overmalloc' cases before it can be enabled by default. Andrew Bartlett (This used to be commit 2c2c52a18be1bd0a5ae1f4a48b1d9e18f4887dda)
2003-01-14The last of the fstring/pstring mixups, and an extra 'static'.Andrew Bartlett4-5/+5
(This used to be commit b328b67fd8fd605636ed58ffd33cf5be3d480672)
2003-01-14A couple more pstcpy/fstrcpy mixups - doing an fstrcpy into a pstring isAndrew Bartlett1-3/+3
harmless, but breaks my automated check. (This used to be commit e5d2b1f6c3c0883054f4e0eab2cac958706a790d)
2003-01-14Added comment about a SMB_ASSERT()Tim Potter1-0/+3
(This used to be commit 056bdfbce73bbd7ddaa198d18e596b94b2224d3d)
2003-01-14Remove wrapper function _get_trust_account_password() as it doesn'tTim Potter1-15/+2
seem to do anything useful anymore other than call secrets_fetch_trust_account_password(). (This used to be commit 7b0c03cbf1376f82b0bb5f4cf86e2db3b0bc1dec)
2003-01-14Added a comment in case anyone is thinking of doing a SMB_ASSERT in winbindd.Tim Potter1-0/+2
(This used to be commit c64e2308bae31d48171685b3b67b8cace1b003b5)
2003-01-14query_alt_name takes a forced unicode string in win2000. It is notAndrew Tridgell2-2/+2
null terminated. Thanks to Metze for finding this. (This used to be commit e4ce26332b8f876e25ff9baf06d4767a473e2676)
2003-01-14clearer debug message when the user is already in the ldap dbAndrew Tridgell1-1/+2
(This used to be commit 31894ba0e5847eb934688598cd8d65bead23c58b)
2003-01-14add help text for 'net ads lookup'Andrew Tridgell1-0/+2
(This used to be commit 2a642a1169a3c09988daa9623dcb4f21b0a2ad1f)