summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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.
* Fix erroneous free of SAM_ACCOUNT (make clearer when allocatedJeremy Allison2003-01-081-15/+8
| | | | | memory is being returned). Jeremy
* Removed pointless null statement in signal handler.Tim Potter2003-01-081-2/+0
|
* Display an error message when the server cannot be resolved when running atTim Potter2003-01-081-1/+1
| | | | debug level 0.
* Fix open problem with changing attributes on an existing file - basedJeremy Allison2003-01-082-8/+45
| | | | | on work by <steve@griffin.sio2.nl>. Jeremy.
* Fix memory leak. Thanks, Herb!Volker Lendecke2003-01-071-0/+1
| | | | Volker
* this makes it compile, but I'm not sure if it is correct. Are we reallyHerb Lewis2003-01-071-1/+1
| | | | testing a pointer value to be equal to 0x19 ???
* cannot make assignments to const values.Herb Lewis2003-01-071-1/+1
|
* add and escape before $( in regex string so it is not interpreted as theHerb Lewis2003-01-071-1/+1
| | | | perl variable for "real gid of this process"
* Create a machine account correctly if the unix account exists.Volker Lendecke2003-01-071-4/+14
| | | | | | With this, my test for W2kSP3 join after pdbedit -a -m works fine. Volker
* Added code to the handling of the -M option to ensure that we default toChristopher R. Hertel2003-01-071-4/+10
| | | | | port 139 for that option. The NetBIOS Messenger Service doesn't run on a non-NBT port.
* Rename a local variable to avoid a warning.Tim Potter2003-01-071-9/+9
|
* 'index' is the name of a libc function. Rename to 'ndx' to avoid compilerTim Potter2003-01-071-4/+4
| | | | warnings.
* Remove unused variable.Tim Potter2003-01-072-2/+0
|
* Fix memory leaks in pdb_ code.Jeremy Allison2003-01-061-1/+13
| | | | Jeremy.
* add $(LDFLAGS) to libsmbclientGerald Carter2003-01-061-1/+1
|
* Fix from "Ken Cross" <kcross@nssolutions.com> for enumeratingJeremy Allison2003-01-061-1/+3
| | | | | groups. Jeremy.
* Fix a segfault when we don't correctly load a VFS module (don't keep it inAndrew Bartlett2003-01-062-3/+9
| | | | | | | | | | | the loaded list on error). Also change some of the error returns, becouse NT_STATUS_UNSUCCESSFUL gives a most useless error message on the client. As for which error, my logic is that a share without a valid VFS module is not a valid share, and therefore should return the same error as a non-existant share. Andrew Bartlett
* Clear up the auth_sam password checking code (the core of our password checkingAndrew Bartlett2003-01-051-33/+58
| | | | | | | | | | | | routines). In particular, we now better support the NT# in LM feild, and the LMv2 password scheme. (LMv2 is basicly NTLMv2 capped at 24 bytes, slightly more secure, and in the LM feild for compatiblity). Thanks to the Samba-TNG team and Luke Leighton for various descriptions of this algorithm, and to MS for a solution that seems to actually make sense for once :-). Andrew Bartlett
* Even when I can't manage to do QA, at least the build farm will catch some ofAndrew Bartlett2003-01-051-1/+1
| | | | | | | | the silly stuff. (fixes password changes from RAP based clients like smbpasswd) Andrew Bartlett
* Fix problem with "hide unreadable". stat file opens are baaack :-).Jeremy Allison2003-01-035-586/+544
| | | | Jeremy.
* regenerate man pagesGerald Carter2003-01-039-108/+393
|
* patch to include support for daemontools from Michael HandlerGerald Carter2003-01-0310-22/+171
|
* make sure we create the PIDDIR and LOCKDIR from installdirsGerald Carter2003-01-031-1/+1
|
* oops. Use -r, not -fGerald Carter2003-01-031-1/+1
|
* patch from Andrew Bird to correct a few file/directory checks when buildingGerald Carter2003-01-031-2/+2
|
* Fixed some simple typos, including one that would have resulted in aChristopher R. Hertel2003-01-031-2/+2
| | | | DEBUG() message printing the wrong value.
* pstring/fstring missmatches found by Andrew Bartlett.Jeremy Allison2003-01-021-5/+5
| | | | Jeremy.
* WITH_SENDFILE #ifdef merged from SAMBA_2_2Gerald Carter2003-01-021-1/+1
|
* We still have 'ldap server' and 'ldap port'. Could somebody pleaseVolker Lendecke2003-01-021-0/+41
| | | | | | | | regen the docs? Thanks, Volker
* We already have one function to move unistr2 -> multibyte-static, so weAndrew Bartlett2003-01-023-44/+25
| | | | | | | | | don't need a second just for pdb. Also, remove magic 'is lp_guest_account' test - the magic RID should be up to the passdb backend to set. Andrew Bartlett
* Becouse these functions return a size_t, they can't return negitive numbers.Andrew Bartlett2003-01-022-4/+4
| | | | | | | So a < 0 check is pointless, instead check against -1, which will be cast to unsigned. Andrew Bartlett
* debugparse is a seperate utility, no need to include it in the main ubiqxAndrew Bartlett2003-01-021-1/+1
| | | | | | objects. Andrew Bartlett
* Add PRINTF_ATTRIBUTE() to a few more printf() style functions. Aids inAndrew Bartlett2003-01-027-7/+18
| | | | compiler-based argument checking.
* Call me parinoid, but I don't like the idea that we could ever have dbf pointAndrew Bartlett2003-01-021-2/+4
| | | | | | to a closed file. Swap the assign and the close around. Andrew Bartlett
* Add a dash of static.Andrew Bartlett2003-01-021-3/+3
|
* One more const. Andrew, you seem to have krb5 :-)Volker Lendecke2003-01-021-1/+1
| | | | Volker
* BIG patch...Andrew Bartlett2003-01-02138-1215/+1225
| | | | | | | | | | | | | | | | This patch makes Samba compile cleanly with -Wwrite-strings. - That is, all string literals are marked as 'const'. These strings are always read only, this just marks them as such for passing to other functions. What is most supprising is that I didn't need to change more than a few lines of code (all in 'net', which got a small cleanup of net.h and extern variables). The rest is just adding a lot of 'const'. As far as I can tell, I have not added any new warnings - apart from making all of tdbutil.c's function const (so they warn for adding that const string to struct). Andrew Bartlett
* Document the size constraints on a write request.Richard Sharpe2003-01-011-2/+5
|
* Move our password change code along a little - use NTSTATUS, and implmenetAndrew Bartlett2003-01-013-50/+89
| | | | | | minimum password age and min password length for all password changes. Andrew Bartlett
* fix for bad check spotted by Ray Simard <ray@sylvan-glade.com>Simo Sorce2002-12-311-1/+1
|