Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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. | |||||
* | Fix erroneous free of SAM_ACCOUNT (make clearer when allocated | Jeremy Allison | 2003-01-08 | 1 | -15/+8 | |
| | | | | | memory is being returned). Jeremy | |||||
* | Removed pointless null statement in signal handler. | Tim Potter | 2003-01-08 | 1 | -2/+0 | |
| | ||||||
* | Display an error message when the server cannot be resolved when running at | Tim Potter | 2003-01-08 | 1 | -1/+1 | |
| | | | | debug level 0. | |||||
* | Fix open problem with changing attributes on an existing file - based | Jeremy Allison | 2003-01-08 | 2 | -8/+45 | |
| | | | | | on work by <steve@griffin.sio2.nl>. Jeremy. | |||||
* | Fix memory leak. Thanks, Herb! | Volker Lendecke | 2003-01-07 | 1 | -0/+1 | |
| | | | | Volker | |||||
* | this makes it compile, but I'm not sure if it is correct. Are we really | Herb Lewis | 2003-01-07 | 1 | -1/+1 | |
| | | | | testing a pointer value to be equal to 0x19 ??? | |||||
* | cannot make assignments to const values. | Herb Lewis | 2003-01-07 | 1 | -1/+1 | |
| | ||||||
* | add and escape before $( in regex string so it is not interpreted as the | Herb Lewis | 2003-01-07 | 1 | -1/+1 | |
| | | | | perl variable for "real gid of this process" | |||||
* | Create a machine account correctly if the unix account exists. | Volker Lendecke | 2003-01-07 | 1 | -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 to | Christopher R. Hertel | 2003-01-07 | 1 | -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 Potter | 2003-01-07 | 1 | -9/+9 | |
| | ||||||
* | 'index' is the name of a libc function. Rename to 'ndx' to avoid compiler | Tim Potter | 2003-01-07 | 1 | -4/+4 | |
| | | | | warnings. | |||||
* | Remove unused variable. | Tim Potter | 2003-01-07 | 2 | -2/+0 | |
| | ||||||
* | Fix memory leaks in pdb_ code. | Jeremy Allison | 2003-01-06 | 1 | -1/+13 | |
| | | | | Jeremy. | |||||
* | add $(LDFLAGS) to libsmbclient | Gerald Carter | 2003-01-06 | 1 | -1/+1 | |
| | ||||||
* | Fix from "Ken Cross" <kcross@nssolutions.com> for enumerating | Jeremy Allison | 2003-01-06 | 1 | -1/+3 | |
| | | | | | groups. Jeremy. | |||||
* | Fix a segfault when we don't correctly load a VFS module (don't keep it in | Andrew Bartlett | 2003-01-06 | 2 | -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 checking | Andrew Bartlett | 2003-01-05 | 1 | -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 of | Andrew Bartlett | 2003-01-05 | 1 | -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 Allison | 2003-01-03 | 5 | -586/+544 | |
| | | | | Jeremy. | |||||
* | patch to include support for daemontools from Michael Handler | Gerald Carter | 2003-01-03 | 7 | -18/+89 | |
| | ||||||
* | make sure we create the PIDDIR and LOCKDIR from installdirs | Gerald Carter | 2003-01-03 | 1 | -1/+1 | |
| | ||||||
* | Fixed some simple typos, including one that would have resulted in a | Christopher R. Hertel | 2003-01-03 | 1 | -2/+2 | |
| | | | | DEBUG() message printing the wrong value. | |||||
* | pstring/fstring missmatches found by Andrew Bartlett. | Jeremy Allison | 2003-01-02 | 1 | -5/+5 | |
| | | | | Jeremy. | |||||
* | WITH_SENDFILE #ifdef merged from SAMBA_2_2 | Gerald Carter | 2003-01-02 | 1 | -1/+1 | |
| | ||||||
* | We already have one function to move unistr2 -> multibyte-static, so we | Andrew Bartlett | 2003-01-02 | 3 | -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 Bartlett | 2003-01-02 | 2 | -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 ubiqx | Andrew Bartlett | 2003-01-02 | 1 | -1/+1 | |
| | | | | | | objects. Andrew Bartlett | |||||
* | Add PRINTF_ATTRIBUTE() to a few more printf() style functions. Aids in | Andrew Bartlett | 2003-01-02 | 7 | -7/+18 | |
| | | | | compiler-based argument checking. | |||||
* | Call me parinoid, but I don't like the idea that we could ever have dbf point | Andrew Bartlett | 2003-01-02 | 1 | -2/+4 | |
| | | | | | | to a closed file. Swap the assign and the close around. Andrew Bartlett | |||||
* | Add a dash of static. | Andrew Bartlett | 2003-01-02 | 1 | -3/+3 | |
| | ||||||
* | One more const. Andrew, you seem to have krb5 :-) | Volker Lendecke | 2003-01-02 | 1 | -1/+1 | |
| | | | | Volker | |||||
* | BIG patch... | Andrew Bartlett | 2003-01-02 | 138 | -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 Sharpe | 2003-01-01 | 1 | -2/+5 | |
| | ||||||
* | Move our password change code along a little - use NTSTATUS, and implmenet | Andrew Bartlett | 2003-01-01 | 3 | -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 Sorce | 2002-12-31 | 1 | -1/+1 | |
| | ||||||
* | ignore tdbsam2_parse_info.h | Simo Sorce | 2002-12-31 | 1 | -0/+1 | |
| | ||||||
* | Catching up with old patches. Add define for VERITAS quota support. | Jeremy Allison | 2002-12-30 | 2 | -0/+10 | |
| | | | | | Check return in ldap. Jeremy. | |||||
* | fix also net rpc shutdown | Simo Sorce | 2002-12-30 | 1 | -10/+1 | |
| | | | | sorry | |||||
* | the shutdown call does not have a 16 bit flags, but 2 byte representing booleans | Simo Sorce | 2002-12-30 | 5 | -32/+31 | |
| | | | | | | | | this commit change the structure and code to reflect this some test revelead I'm right. some other revelead currently the abort shutdown does not work against my test machine even if it returns successfully ... need investigation | |||||
* | Port the fix to cli_setup_write to handle offsets greater than 32-bits from | Richard Sharpe | 2002-12-30 | 1 | -2/+12 | |
| | | | | Samba 2.2.x ... | |||||
* | Add a new VFS module, that just fiddles the file permissions. Still need to | Andrew Bartlett | 2002-12-30 | 2 | -1/+478 | |
| | | | | | | | | | | | | | | | | | | | make it fiddle with NT ACLs (or report no ACL, so Samba fakes it up). The idea here is that Samba reports an NT ACL to Windows clients, which use that ACL in downloaded profiles. If the user doesn't have write permissions on the directories being downloaded, then it cant put the subfolders in (yes, NT will set perms so that it can't access the dir as the user the created it) and the profile download fails. The current solution it to give the user unix write perms to the folders, but this is rather dangerous - sombody could trojen the profile. This should avoid that mess. I'll test this out properly next week, but it works in vfstest (thanks idra!). Andrew Bartlett |