summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* got rid of bogus write list substitution error messagesAndrew Tridgell2001-09-191-15/+18
|
* Fix based on Andrew's insight as re-using a tdb after fork meansJeremy Allison2001-09-191-3/+23
| | | | | parent and child share seek pointer. Damn.... Jeremy.
* don't try to initgroups in non root modeAndrew Tridgell2001-09-191-0/+4
|
* fix debugAndrew Bartlett2001-09-191-1/+1
|
* Reverse some of the breakage I commited a day or two ago, as we need toAndrew Bartlett2001-09-191-5/+21
| | | | | | | | | | | | | | | fill out the user_info struct (otherwise we don't have a vuid for make_connection()). Also add a become_user() call, becouse it really looks like it was missing (we must pass it anyway to finish make_connection()). Is there any reason not to be the user when reading an ACL? Finally, fix up some formatting to show that the two functions are almost identical. Andrew Bartlett
* Return correct error code on lock fail in tdb_expand.Jeremy Allison2001-09-191-1/+1
| | | | Jeremy.
* Roll back earlier fix after talking with Andrew. The write_lock_record andJeremy Allison2001-09-181-2/+2
| | | | | unlock are explicitly non-blocking. I will add a comment to this effect later. Jeremy.
* Fixed a couple of nasty bugs only easily seen with no mmap. Firstly,Jeremy Allison2001-09-181-2/+4
| | | | | | | | | map_ptr not neccessarily set to NULL if no mmap, secondly, iterating through a tdb was using SETLK, instead of SETLKW - would almost never fail with mmap as the time holding the lock was so short, but was easily seen with read/write. One finaly bug needs tracking down w.r.t. traversal...... Jeremy.
* Correct fix for unaligned memcpy - malloc'ed memory incremented by ↵Jeremy Allison2001-09-182-19/+24
| | | | | | | | | | sizeof(struct locking_data) was not forced to be 8 byte aligned. Use union to force it to be correctly aligned for memcpy and use void *, to tell compiler not to optimize aligned copy (this last fix suggested by Trond @ RedHat). The first fix should be sufficient, but this provides a "belt and braces" fix. Jeremy.
* Use structure copy to fix unaligned accesses on 64bit architectures onJeremy Allison2001-09-182-2/+2
| | | | | Linux. Jeremy.
* Converted cli_net_auth2() and cli_nt_setup_creds() to return NTSTATUS.Tim Potter2001-09-185-19/+34
|
* Doc fix merge from 2.2Tim Potter2001-09-181-10/+0
|
* move to SAFE_FREE()Simo Sorce2001-09-177-30/+28
|
* move to SAFE_FREE()Simo Sorce2001-09-173-8/+6
|
* move to SAFE_FREE()Simo Sorce2001-09-1732-193/+145
|
* move to SAFE_FREE()Simo Sorce2001-09-1711-146/+133
|
* move to SAFE_FREE()Simo Sorce2001-09-173-28/+17
|
* move to SAFE_FREE()Simo Sorce2001-09-175-32/+13
|
* move to SAFE_FREE()Simo Sorce2001-09-172-52/+43
|
* move to SAFE_FREE()Simo Sorce2001-09-176-46/+31
|
* move to SAFE_FREE()Simo Sorce2001-09-172-26/+20
|
* move to SAFE_FREE()Simo Sorce2001-09-1714-68/+51
|
* move to SAFE_FREE()Simo Sorce2001-09-1714-39/+37
|
* fixed ctemp in server and client. It turns out that ctemp on NT is ↵Andrew Tridgell2001-09-174-25/+48
| | | | completely broken, and it's pointless to emulate their brokenness completely in this case, but at least this makes us use approximately the same packet format. The spec is complelet wrong in this case
* move to SAFE_FREE()Simo Sorce2001-09-175-44/+36
|
* typoSimo Sorce2001-09-171-5/+2
|
* fixed compilation of groupdbAndrew Tridgell2001-09-171-3/+3
|
* move to SAFE_FREE()Simo Sorce2001-09-1710-141/+91
|
* move to SAFE_FREE()Simo Sorce2001-09-1723-168/+129
|
* move to SAFE_FREE()Simo Sorce2001-09-175-22/+15
|
* move to SAFE_FREE()Simo Sorce2001-09-172-19/+16
|
* introduce SAFE_FREE() macro as suggested by andreas moroder.Simo Sorce2001-09-172-25/+24
|
* Fix compile warnings on IRIX's cc.Andrew Bartlett2001-09-161-3/+3
|
* Fix (I hope) for a number of little compile warnings found by the IRIXAndrew Bartlett2001-09-163-8/+8
| | | | | | compilers on the build farm. Andrew Bartlett
* Minor tidy-up.Andrew Bartlett2001-09-161-1/+1
|
* Fix up workstaion and kickoff time checks, moved to auth_smbpasswd.c whereAndrew Bartlett2001-09-168-80/+136
| | | | | | | | | they can have general effect. Fixed up workstaion support in the rest of samba, so that we can do these checks. Pass through the workstation for cli_net_logon(), if supplied.
* fixed compilation error in smbwAndrew Tridgell2001-09-161-11/+1
|
* Start pushing the NTSTATUS stuff out to the wire for session setups.Andrew Bartlett2001-09-162-51/+28
| | | | | | | | | Rework the 'map to guest' code, its now possible to follow what its trying to do... Add an NT_STATUS_EQUAL(x,y) macro to make this stuff sane to look at. Andrew Bartlett
* Kill off the dangerous passwd program default, as its both veryAndrew Bartlett2001-09-162-2/+2
| | | | | | | system-dependent and can allow (when unix password sync = yes) the 'syncronisation' of root's password by a normal user :-( Andrew Bartlett
* Looks like it missed these. make_connection now no longer takes a 'username'Andrew Bartlett2001-09-152-43/+9
| | | | argument.
* free memory before returning.Simo Sorce2001-09-151-0/+7
| | | | tx Andreas Moroder.
* use variables _before_ freeing them!Simo Sorce2001-09-151-3/+2
| | | | thanks to Andreas Moroder for spotting these two.
* Kill off the //server/share%user hack in share level security.Andrew Bartlett2001-09-154-105/+27
| | | | | | This should help make much of this code simpiler. Andrew Bartlett
* update for .proto.stampAndrew Bartlett2001-09-151-0/+1
|
* Oops... For reference, NTLMv2 passwords are > 24 chars in length, whileAndrew Bartlett2001-09-151-1/+1
| | | | NTLMv1 passwords (and old LM passwords) are exactly 24 in lenghth.
* This looked suspicious now we are attempting to to NTLMv2.Andrew Bartlett2001-09-151-2/+2
| | | | Andrew Bartlett
* Fix up NTSTATUS stuff in rpcclient's help functionAndrew Bartlett2001-09-151-5/+5
|
* Restore the profiling data shmem parinoia. This whole area needs to beAndrew Bartlett2001-09-152-4/+12
| | | | fixed - an mmaped file or the like would be a good idea.
* Actually fill in the status for sainity checksAndrew Bartlett2001-09-151-1/+1
| | | | Andrew Bartlett
* Fixed up Solaris 64 bit configure.Jeremy Allison2001-09-154-706/+714
| | | | Jeremy.