summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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-132-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 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.
* Fix lpq_cache time check (missed from yesterday).Jeremy Allison2003-01-101-4/+4
| | | | Jeremy.
* a 0 length printer data value is not a memory allocation error; fix CR601Gerald Carter2003-01-091-2/+10
|
* tdb_chainlock_with_timeout: Add TODO: If we time out waiting for aMartin Pool2003-01-091-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 chatTim Potter2003-01-092-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 Potter2003-01-091-19/+0
|
* Moved smbd process counting functions from smbd/server.c to smbd/process.cTim Potter2003-01-092-30/+26
| | | | so that bin/vfstest can link.
* Correct misleading comment: winbindd_lookupname gets the SID for aMartin Pool2003-01-091-1/+3
| | | | name, not vice versa.
* Ensure we return disk full by default on short writes.Jeremy Allison2003-01-081-6/+6
| | | | Jeremy.
* Ensure we don't get an invalid number for total smbd's if the tdb updateJeremy Allison2003-01-082-6/+18
| | | | | fails. Jeremy.
* reran autoconfHerb Lewis2003-01-081-8976/+18858
|
* Some fixes to editreg. Clientgen should not be touched, and an update to ↵Richard Sharpe2003-01-081-3/+0
| | | | configure that Herb needs.