Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | The last of the fstring/pstring mixups, and an extra 'static'. | Andrew Bartlett | 2003-01-14 | 4 | -5/+5 | |
| | ||||||
* | A couple more pstcpy/fstrcpy mixups - doing an fstrcpy into a pstring is | Andrew Bartlett | 2003-01-14 | 1 | -3/+3 | |
| | | | | harmless, but breaks my automated check. | |||||
* | Added comment about a SMB_ASSERT() | Tim Potter | 2003-01-14 | 1 | -0/+3 | |
| | ||||||
* | Remove wrapper function _get_trust_account_password() as it doesn't | Tim Potter | 2003-01-14 | 1 | -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 Potter | 2003-01-14 | 1 | -0/+2 | |
| | ||||||
* | query_alt_name takes a forced unicode string in win2000. It is not | Andrew Tridgell | 2003-01-14 | 2 | -2/+2 | |
| | | | | | | null terminated. Thanks to Metze for finding this. | |||||
* | clearer debug message when the user is already in the ldap db | Andrew Tridgell | 2003-01-14 | 1 | -1/+2 | |
| | ||||||
* | add help text for 'net ads lookup' | Andrew Tridgell | 2003-01-14 | 1 | -0/+2 | |
| | ||||||
* | Missing indirect in final free. | Jeremy Allison | 2003-01-13 | 1 | -2/+2 | |
| | | | | Jeremy. | |||||
* | Always initialise this variable - and don't set the 'must change now' if it was | Andrew Bartlett | 2003-01-13 | 2 | -1/+3 | |
| | | | | | | | | last changed at '0'. We need to actually change this password sometime... Andrew Bartlett | |||||
* | Fix typo, and the build. | Andrew Bartlett | 2003-01-13 | 1 | -1/+1 | |
| | ||||||
* | Make sure that those cleanups actually went in. | Richard Sharpe | 2003-01-13 | 4 | -18865/+8983 | |
| | ||||||
* | Patch from metze to add what he feels is the correct semantics for a Domain | Andrew Bartlett | 2003-01-13 | 3 | -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', 'netbios | Andrew Bartlett | 2003-01-13 | 3 | -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 Bartlett | 2003-01-13 | 2 | -11/+29 | |
| | | | | | | | | | | | | | | | | | | | | (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 Bartlett | 2003-01-13 | 10 | -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 Bartlett | 2003-01-13 | 3 | -4/+17 | |
| | | | | Andrew Bartlett | |||||
* | Fix to debian bug #171071 - we had the wrong dereference on the pointer to be | Andrew Bartlett | 2003-01-13 | 1 | -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 null | Andrew Bartlett | 2003-01-13 | 1 | -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 by | Andrew Bartlett | 2003-01-13 | 2 | -0/+4 | |
| | | | | | | valgrind). Andrew Bartlett | |||||
* | Fix typo in comment. | Martin Pool | 2003-01-13 | 1 | -1/+1 | |
| | ||||||
* | Merge of remove "winbindd holding pattern" from appliance. It's a bit | Tim Potter | 2003-01-13 | 3 | -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 to | Andrew Bartlett | 2003-01-12 | 1 | -44/+31 | |
| | | | | | | make the TDB_DATA. Andrew Bartlett | |||||
* | Oops, this is the change to use an fstring for the incoming service buffer - | Andrew Bartlett | 2003-01-12 | 1 | -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 Bartlett | 2003-01-12 | 2 | -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 Bartlett | 2003-01-11 | 1 | -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 from | Andrew Bartlett | 2003-01-11 | 1 | -3/+3 | |
| | | | | | | (signed/unsigned mixup). Andrew Bartlett | |||||
* | A couple more fstring/pstring issues - and move from sizeof(fstring) to | Andrew Bartlett | 2003-01-11 | 2 | -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 a | Andrew Bartlett | 2003-01-11 | 2 | -4/+3 | |
| | | | | | | (harmless) fstring/pstring mixup. Andrew Bartlett | |||||
* | Fix a number of client-side fstring/pstring mixups. | Andrew Bartlett | 2003-01-11 | 9 | -37/+39 | |
| | | | | Andrew Bartlett | |||||
* | Patch from Nik Conwell <nik@bu.edu>. Don't reference free()ed data when trying | Andrew Bartlett | 2003-01-11 | 1 | -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 Bartlett | 2003-01-11 | 2 | -2/+3 | |
| | | | | Andrew Bartlett | |||||
* | No point having this for both parts of the 'if' statement. | Andrew Bartlett | 2003-01-11 | 1 | -4/+2 | |
| | | | | Andrew Bartlett | |||||
* | typo from merge | Gerald Carter | 2003-01-11 | 1 | -1/+1 | |
| | ||||||
* | fix tdb_append() prototype | Gerald Carter | 2003-01-11 | 1 | -1/+1 | |
| | ||||||
* | [merge] make sure to updatre print queue cache during timeout_processing() ↵ | Gerald Carter | 2003-01-11 | 4 | -18/+64 | |
| | | | | to send notify events; CR 1491 | |||||
* | Added new message_send_pid() code that uses tdb append to reduce locking | Jeremy Allison | 2003-01-11 | 1 | -54/+55 | |
| | | | | | contention on the messaging tdb. Jeremy. | |||||
* | Added tdb_append() call. Efficiently adds to an entry. Used by new messaging | Jeremy Allison | 2003-01-11 | 3 | -12/+148 | |
| | | | | | code. Also added torture tests for it. Jeremy. | |||||
* | First part of efficiency fixes for message sending to pid's (cutting down | Jeremy Allison | 2003-01-10 | 1 | -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. | |||||
* | Fix lpq_cache time check (missed from yesterday). | Jeremy Allison | 2003-01-10 | 1 | -4/+4 | |
| | | | | Jeremy. | |||||
* | a 0 length printer data value is not a memory allocation error; fix CR601 | Gerald Carter | 2003-01-09 | 1 | -2/+10 | |
| | ||||||
* | tdb_chainlock_with_timeout: Add TODO: If we time out waiting for a | Martin Pool | 2003-01-09 | 1 | -0/+4 | |
| | | | | | | | | | lock, it might be nice to use F_GETLK to get the pid of the process currently holding the lock and print that as part of the debugging message. I'd like to have this in appliance_head, but the code is too different so I won't worry for now. | |||||
* | Remove read_with_timeout() and replaced its only caller (the passwd chat | Tim Potter | 2003-01-09 | 2 | -84/+8 | |
| | | | | | | | | stuff) with a call to read_socket_with_timeout() which does the same thing. Passwd chat still works but I couldn't figure out the right arguments to passwd chat to get it to work right but data was definitely getting through. | |||||
* | Remove dead function. | Tim Potter | 2003-01-09 | 1 | -19/+0 | |
| | ||||||
* | Moved smbd process counting functions from smbd/server.c to smbd/process.c | Tim Potter | 2003-01-09 | 2 | -30/+26 | |
| | | | | so that bin/vfstest can link. | |||||
* | Correct misleading comment: winbindd_lookupname gets the SID for a | Martin Pool | 2003-01-09 | 1 | -1/+3 | |
| | | | | name, not vice versa. | |||||
* | Ensure we return disk full by default on short writes. | Jeremy Allison | 2003-01-08 | 1 | -6/+6 | |
| | | | | Jeremy. | |||||
* | Ensure we don't get an invalid number for total smbd's if the tdb update | Jeremy Allison | 2003-01-08 | 2 | -6/+18 | |
| | | | | | fails. Jeremy. | |||||
* | reran autoconf | Herb Lewis | 2003-01-08 | 1 | -8976/+18858 | |
| | ||||||
* | Some fixes to editreg. Clientgen should not be touched, and an update to ↵ | Richard Sharpe | 2003-01-08 | 1 | -3/+0 | |
| | | | | configure that Herb needs. |