summaryrefslogtreecommitdiffstats
path: root/source
Commit message (Collapse)AuthorAgeFilesLines
...
| * 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
| * One more from waitpid() audit: Correctly interpret waitstatus when aMartin Pool2003-01-151-1/+5
| | | | | | | | | | child fails. Possibly this was causing smbmount to exit(0) when it really should have indicated a failure.
| * Run autoheaderMartin Pool2003-01-151-6/+0
| |
| * Fix bug where the existence of config.cache would cause functions likeMartin Pool2003-01-151-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.
| * IRIX uses libns_winbind.so instead of libnss_winbind.soHerb Lewis2003-01-152-8978/+18874
| |
| * [merge] removing unused variable and unused fileGerald Carter2003-01-141-237/+0
| |
| * Fix some debug lines, and add a bit more info to help track down ldapAndrew Bartlett2003-01-141-8/+15
| | | | | | | | | | | | connectivity problems. Andrew Bartlett
| * make -i flag work lik eit did in 2.2Gerald Carter2003-01-141-2/+5
| |
| * Commit my (disabled) fstring/pstring mixup detection code.Andrew Bartlett2003-01-141-0/+21
| | | | | | | | | | | | We need to fix some 'overmalloc' cases before it can be enabled by default. Andrew Bartlett
| * The last of the fstring/pstring mixups, and an extra 'static'.Andrew Bartlett2003-01-144-5/+5
| |
| * A couple more pstcpy/fstrcpy mixups - doing an fstrcpy into a pstring isAndrew Bartlett2003-01-141-3/+3
| | | | | | | | harmless, but breaks my automated check.
| * Added comment about a SMB_ASSERT()Tim Potter2003-01-141-0/+3
| |
| * Remove wrapper function _get_trust_account_password() as it doesn'tTim Potter2003-01-141-15/+2
| | | | | | | | | | seem to do anything useful anymore other than call secrets_fetch_trust_account_password().
| * Added a comment in case anyone is thinking of doing a SMB_ASSERT in winbindd.Tim Potter2003-01-141-0/+2
| |
| * query_alt_name takes a forced unicode string in win2000. It is notAndrew Tridgell2003-01-142-2/+2
| | | | | | | | | | | | null terminated. Thanks to Metze for finding this.
| * clearer debug message when the user is already in the ldap dbAndrew Tridgell2003-01-141-1/+2
| |
| * add help text for 'net ads lookup'Andrew Tridgell2003-01-141-0/+2
| |
| * Missing indirect in final free.Jeremy Allison2003-01-131-2/+2
| | | | | | | | Jeremy.
| * Always initialise this variable - and don't set the 'must change now' if it wasAndrew Bartlett2003-01-132-1/+3
| | | | | | | | | | | | | | | | last changed at '0'. We need to actually change this password sometime... Andrew Bartlett
| * Fix typo, and the build.Andrew Bartlett2003-01-131-1/+1
| |
| * Make sure that those cleanups actually went in.Richard Sharpe2003-01-134-18865/+8983
| |
| * Patch from metze to add what he feels is the correct semantics for a DomainAndrew Bartlett2003-01-133-0/+61
| | | | | | | | | | | | | | | | | | | | Controller. As we have had a number of attempts at this over the last little while, I need to get my test rig going, and give this whole area a poke... Meanwhile, if you want to use this, just adjust your 'auth methods' line to use samstrict_dc... Andrew Bartlett
| * Patch from metze to to make testparm show values for 'workgroup', 'netbiosAndrew Bartlett2003-01-133-15/+32
| | | | | | | | | | | | | | | | name' and 'netbios scope'. Probably has a similar effect on SWAT. Also adds '-V' to testparm. Andrew Bartlett
| * Patch from ab, to make findsmb omit -r most of the time.Andrew Bartlett2003-01-131-7/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (original mail follows) -- From: Alexander Bokovoy <a.bokovoy@sam-solutions.net> Greetings! I propose to make an optional argument '-r' for findsmb utility to pass '-r' option to nmblookup optionally and default to omit it. The reason is to have findsmb working more user-friendly in contemporary office environments where Windows 95/98 boxes are rare and also to allow usage of the utility under non-priviledged accounts when Windows95/98 boxes are in minority or even absent in network neighbourhood. An attached patch provides this change for HEAD together with documentation changes. -- / Alexander Bokovoy
| * Updates to our NTLMSSP code:Andrew Bartlett2003-01-1310-244/+514
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This tries to extract our server-side code out of sessetup.c, and into a more general lib. I hope this is only a temporay resting place - I indend to refactor it again into an auth-subsystem independent lib, using callbacks. Move some of our our NTLMSSP #defines into a new file, and add two that I found in the COMsource docs - we seem to have a double-up, but I've verified from traces that the NTLMSSP_TARGET_TYPE_{DOMAIN,SERVER} is real. This code also copes with ASCII clients - not that we will ever see any here, but I hope to use this for HTTP, were we can get them. Win2k authenticates fine under forced ASCII, btw. Tested with Win2k, NTLMv2 and Samba's smbclient. Andrew Bartlett
| * Accessing data after it's been free()ed really is a no-no...Andrew Bartlett2003-01-133-4/+17
| | | | | | | | Andrew Bartlett
| * Fix to debian bug #171071 - we had the wrong dereference on the pointer to beAndrew Bartlett2003-01-131-4/+4
| | | | | | | | | | | | | | | | | | Realloc()ed, causing it to fail. Big thanks to Sandor Sonfeld <sonf@linuxmail.org> for the debug, stack and valgrind traces! Andrew Bartlett
| * Don't force the DOS password into a 14 char space, as this would imply nullAndrew Bartlett2003-01-131-1/+2
| | | | | | | | | | | | | | | | | | termination - the password will not be null terminated before hashing if len >= 14. related to debian bug #157432 Andrew Bartlett
| * Ensure we do not pass uninitialised data to the kernel. (Picked up byAndrew Bartlett2003-01-132-0/+4
| | | | | | | | | | | | valgrind). Andrew Bartlett
| * Fix typo in comment.Martin Pool2003-01-131-1/+1
| |
| * Merge of remove "winbindd holding pattern" from appliance. It's a bitTim Potter2003-01-133-28/+10
| | | | | | | | simpler as the rescanning of trusted domains helps us out a bit.
| * Keep all the const warnings in one place, by adding a utility function toAndrew Bartlett2003-01-121-44/+31
| | | | | | | | | | | | make the TDB_DATA. Andrew Bartlett
| * Oops, this is the change to use an fstring for the incoming service buffer -Andrew Bartlett2003-01-121-3/+3
| | | | | | | | | | | | | | the commit to reply.c just matches a pstrcpy for the pstring. (harmless, fixes it for the automated test). Andrew Bartlett
| * Make the 'service' in make_connection() use an fstrcpy(), and an fstring,Andrew Bartlett2003-01-122-2/+1
| | | | | | | | | | | | | | | | | | becouse that is what it's input (reply_tcon_and_x) uses, and becouse we really don't want supprises for service names. Also remove a legacy #define, in favor of the lp_ equiv. Andrew Bartlett
| * While the usage is most bisarre, this fixes up another fstring/pstring mixup.Andrew Bartlett2003-01-111-1/+2
| | | | | | | | | | | | (In this case, an fstrcpy() into a pstring, ie harmless). Andrew Bartlett
| * Use size_t for the counter vars, to match the type they are assigned fromAndrew Bartlett2003-01-111-3/+3
| | | | | | | | | | | | (signed/unsigned mixup). Andrew Bartlett
| * A couple more fstring/pstring issues - and move from sizeof(fstring) toAndrew Bartlett2003-01-112-34/+32
| | | | | | | | | | | | | | | | sizeof(var) in slprintf statements, so as to ensure we don't get mixups there. Also remove fstrcpy() into a variable that is about to be printed into anyway. Andrew Bartlett
| * Remove an unused paramter for our old LM-only password change code, and fix aAndrew Bartlett2003-01-112-4/+3
| | | | | | | | | | | | (harmless) fstring/pstring mixup. Andrew Bartlett
| * Fix a number of client-side fstring/pstring mixups.Andrew Bartlett2003-01-119-37/+39
| | | | | | | | Andrew Bartlett
| * Patch from Nik Conwell <nik@bu.edu>. Don't reference free()ed data when tryingAndrew Bartlett2003-01-111-1/+3
| | | | | | | | | | | | to figure out if we have got our ticket yet. Andrew Bartlett
| * Return the 'freindly' NT error message if at all possible.Andrew Bartlett2003-01-112-2/+3
| | | | | | | | Andrew Bartlett
| * No point having this for both parts of the 'if' statement.Andrew Bartlett2003-01-111-4/+2
| | | | | | | | Andrew Bartlett
| * typo from mergeGerald Carter2003-01-111-1/+1
| |
| * fix tdb_append() prototypeGerald Carter2003-01-111-1/+1
| |
| * [merge] make sure to updatre print queue cache during timeout_processing() ↵Gerald Carter2003-01-114-18/+64
| | | | | | | | to send notify events; CR 1491
| * Added new message_send_pid() code that uses tdb append to reduce lockingJeremy Allison2003-01-111-54/+55
| | | | | | | | | | contention on the messaging tdb. Jeremy.
| * Added tdb_append() call. Efficiently adds to an entry. Used by new messagingJeremy Allison2003-01-113-12/+148
| | | | | | | | | | code. Also added torture tests for it. Jeremy.
| * First part of efficiency fixes for message sending to pid's (cutting downJeremy Allison2003-01-101-48/+95
| | | | | | | | | | | | | | | | the amount of time we hold tdb locks). Gulp down all messages at once rather than reading/re-writing one at a time. NOTE: All dispatch routines *must* be able to cope with incoming message on *odd* byte boundaries (all current handlers do). Jeremy.