summaryrefslogtreecommitdiffstats
path: root/source
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixed typo.Tim Potter2003-01-231-1/+1
|
* fix for CR 1603; provide description of NT_STATUS_PIPE_NOT_AVAILABLEGerald Carter2003-01-221-0/+1
|
* revert accidentally committed changesJim McDonough2003-01-212-86/+4
|
* Properly display popt errors. Also fix debug to be -d for consistency with ↵Jim McDonough2003-01-213-6/+89
| | | | other progs.
* Fixup proto generation to not include krb5 specific symbolsJeremy Allison2003-01-212-5/+8
| | | | | if no kerberos selected. Noticed by Metze. Jeremy.
* Updated some comments.Tim Potter2003-01-211-5/+5
|
* More fixes getting us closer to full Heimdal compile....Jeremy Allison2003-01-215-11/+155
| | | | Jeremy.
* Keep the list of dead WINS servers in gencache.tdb instead of inTim Potter2003-01-211-60/+54
| | | | | | | memory. This allows the information to be shared amongst all smbd processes. HP CR #1099
* Make the valstr and timeout return pointers optional so a caller canTim Potter2003-01-211-11/+31
| | | | pass NULL if it doesn't care about the gencache key.
* Deleted arguments to help output - they didn't work.Tim Potter2003-01-211-1/+1
|
* don't free() auto variables; fixes segfault when looking up ↵Gerald Carter2003-01-211-3/+5
| | | | RefusePasswordChange registry value
* sanity checks from Ken CrossGerald Carter2003-01-212-3/+7
|
* should be HAVE_KRB5_SET_REAL_TIME (HAVE_ was missing)...fix the buildJim McDonough2003-01-201-1/+1
|
* Add FIXME about dodgy argument parser.Martin Pool2003-01-201-0/+11
|
* Merge in more of the SuSE patches for Heimdal. These changes show howJeremy Allison2003-01-195-0/+244
| | | | | | to add a function without an explicit #ifdef HEIMDAL which I'm trying to avoid. Jeremy.
* strip any trailing \'s from reg key names in an openGerald Carter2003-01-191-2/+10
|
* Fix some debug levels (were set to 0 with RPC module patch), andJim McDonough2003-01-181-4/+4
| | | | change one fprintf(stderr,...) to DEBUG.
* removing extra debug statementGerald Carter2003-01-181-2/+0
|
* dlsym() can return NULL validly, so we can't use that as the error test.Jim McDonough2003-01-171-2/+6
| | | | dlerror() is the correct way to test.
* Enable dynamic loading of RPC modules. See docs/textdocs/RPC_PLUGGIN.txt ↵Jim McDonough2003-01-1716-10357/+20708
| | | | for instructions.
* connect to the actual netbios name in smb.conf and not LOCALHOSTGerald Carter2003-01-171-1/+1
|
* Fix reference count bug where smbd's would not terminate with noJeremy Allison2003-01-172-18/+12
| | | | | open resources. Jeremy.
* reverted this patch till I sort out the craziness with UNIHDRAndrew Tridgell2003-01-1717-234/+246
|
* This removes the 3rd argument from init_unistr2(). There were 240Andrew Tridgell2003-01-1717-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.
* the 'static' keyword here is useless as we are not declaring aAndrew Tridgell2003-01-171-1/+1
| | | | variable or function
* fix some undefined behaviour with increments in C. In theory aAndrew Tridgell2003-01-171-4/+8
| | | | compiler could have produced complete crap for this code.
* Let's clean up client side ntlmssp!Tim Potter2003-01-171-10/+0
| | | | Removed a dead function.
* Remove unused variable in reply_spnego_ntlmssp_okTim Potter2003-01-171-1/+0
|
* Fix an error where the SK Offset was truncated to 16 bits. Variables neededRichard Sharpe2003-01-161-1/+1
| | | | to be unsigned int (DWORD) not unsigned int (WORD).
* Fixed up mutex protection around winbindd logon code. Sync with APP-HEAD.Jeremy Allison2003-01-164-38/+77
| | | | Jeremy.
* (missed in last commit)Andrew Bartlett2003-01-162-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
* allow a couple of LSA functions to take a username instead of a SID,Andrew Tridgell2003-01-161-3/+44
| | | | | They still accept a SID, it just can be tedious to have to type SIDs instead of names all the time.
* Add LIBSMB_OBJ for the new ntlm_auth functionality.Andrew Bartlett2003-01-161-1/+1
| | | | Andrew Bartlett
* Updates to the NTLMSSP code again - moving the base64 decode fuctionality outAndrew Bartlett2003-01-169-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
* More Heimdal changes. Still not compiling with Heimdal yet...Jeremy Allison2003-01-164-2/+9
| | | | Jeremy.
* Fist part of fixes to make us compile with Heimdal. Don't explicitlyJeremy Allison2003-01-164-18899/+9100
| | | | | | detect for now, I still have vague hopes of hiding the differences between MIT and Heimdal with a compatibility layer.... Jeremy.
* Fix a signed/unsigned warning.Andrew Bartlett2003-01-161-1/+1
|
* Add mutex protection around auth calls.Jeremy Allison2003-01-161-41/+37
| | | | Jeremy.
* s/WIFSIGNALLED/WIFSIGNALED/gGerald Carter2003-01-151-1/+1
|
* Removed level 0 DEBUG leftover from testing.Tim Potter2003-01-151-3/+0
|
* Missed auth_ntlmssp.c in last night's checkin. Also keep track of the currentAndrew Bartlett2003-01-152-225/+82
| | | | | | challenge in the NTLMSSP context. Andrew Bartlett
* remove torture tools on make cleanGerald Carter2003-01-151-1/+1
|
* small merges from SAMBA_3_0; mostly typos, renames, etc...Gerald Carter2003-01-1511-1362/+200
|
* initialize acct_ctrl before using itHerb Lewis2003-01-151-2/+1
| | | | remove ldap_msgfree(result); as result is unitialized at this point
* * removed unused variable from rpcclient codeGerald Carter2003-01-156-16/+18
| | | | | * added container option to net command (patch from SuSE) * Makefile patch for examples/VFS from SuSE
* Refactor the NTLMSSP code again - this time we use function pointers toAndrew Bartlett2003-01-156-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
* Doing a malloc(strlen(s)) then a pstrpcp(y, s) is just silly, make it a strdupAndrew Bartlett2003-01-151-3/+1
| | | | | | instead. Andrew Bartlett
* added cli_lsa_enum_account_rights() call. Note that this is inAndrew Tridgell2003-01-156-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.
* Fix warnings by getting the function into a shape the autoprototyper willAndrew Bartlett2003-01-151-6/+4
| | | | | | read, and add a static. Andrew Bartlett
* Crash fixes:Andrew Bartlett2003-01-152-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