summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* replaced stdio in many parts of samba with a XFILE. XFILE is a cut-downAndrew Tridgell2001-09-1028-110/+86
| | | | | | | | | replacemnt of stdio that doesn't suffer from the 8-bit filedescriptor limit that we hit with nasty consequences on some systems I would eventually prefer us to have a configure test to see if we need to replace stdio, but for now this code needs to be tested widely so I'm enabling it by default.
* Make sure that if there are no interfaces, name_register_wins does notRichard Sharpe2001-09-091-0/+7
| | | | segfault.
* Typo fix per Vance on IRC.Christopher R. Hertel2001-09-091-1/+1
|
* fixed typoAndrew Tridgell2001-09-091-1/+1
|
* removed pointless parameter from readfile()Andrew Tridgell2001-09-091-3/+3
|
* fixed missing const on d_printf declarationAndrew Tridgell2001-09-091-3/+3
|
* convert more code to using d_printfAndrew Tridgell2001-09-087-564/+566
|
* Change the description on --with-pam_smbpass to make it clearer - some peopeAndrew Bartlett2001-09-074-67/+81
| | | | | | | | | | seem to think you need this module for normal samba/PAM operation. rerun autoconf rerun autoheader (Note that --with-pam_smbpass still doesn't build, but at least when it does again only people who actually need it will select it).
* Don't fail if no owner/group owner set. Use existing owners.Jeremy Allison2001-09-071-3/+7
| | | | Jeremy.
* #ifdef out function when not used.Jeremy Allison2001-09-071-0/+2
| | | | Jeremy.
* Fixed paragraph about byte range locking. Jerry, could you make a pdf of this?Volker Lendecke2001-09-071-15/+20
| | | | | | Thanks, Volker
* added "display charset" option in smb.conf, along with d_printf()Andrew Tridgell2001-09-078-155/+318
| | | | | | | | | which should now be used instead of DEBUG(0) or printf() for interactive messages I have only converted client.c to use d_printf(), and the code hasn't had much testing yet. Eventually we want all interactive code to use d_printf(), plus SWAT
* Fix the 62bit locking onto 32 bit NFS mounts problem generically for HPUX.Jeremy Allison2001-09-062-94/+53
| | | | | Don. please check this out. Jeremy.
* got rid of USE_TDB_MMAP_FLAG as its not needed any moreAndrew Tridgell2001-09-0619-28/+27
|
* Fixed O(N^2) talloc loop when allocating printer name memory - fix fromJeremy Allison2001-09-061-2/+2
| | | | | Richard Bollinger <rabollinger@home.com>. Jeremy.
* - fixed proto.h build on systems using a parallel makeAndrew Tridgell2001-09-064-197/+1590
| | | | - changed DENY1 and DENY2 tests to only report errors
* Converted to NTSTATUS return codes.Tim Potter2001-09-061-17/+92
| | | | | | | Started on producing smbpasswd output from user account information. Doesn't work yet. Added -U option so samsync can be run interactively.
* Started a cleanup of smbpasswd related stuff. I've created a new fileTim Potter2001-09-068-156/+232
| | | | | | | | | | | | | | | | lib/smbpasswd.c which will contain routines related to manipulating smbpasswd entries. - renamed and moved pdb_{get,set}hexpwd() functions - renamed and moved pdb_{decode,encode}acct_ctrl() functions - started hiding references to the cruftalicious NEW_PW_FORMAT_SPACE_PADDED_LEN constant - started gradual rename of references to acct_ctrl to acb_info which is the nomenclature used in MSDN and header files There's still more work to be done. Currently there are several places where smbpasswd entries are iterated etc. Ideally this should all happen through the passdb system.
* Removed 18 duplicate #undef entries.Tim Potter2001-09-061-21/+0
|
* Annotated definition of NEW_PW_FORMAT_SPACE_PADDED_LEN constant.Tim Potter2001-09-061-1/+3
|
* flush stdout in test logging fnsAndrew Tridgell2001-09-062-0/+2
|
* use a different test tdb name for tdbtest and tdbtortureAndrew Tridgell2001-09-061-1/+1
|
* actually obey the "use mmap" smb.conf optionAndrew Tridgell2001-09-062-2/+6
|
* Logon workstation checks from Toomas Soome <tsoome@ut.ee>Tim Potter2001-09-061-9/+42
| | | | Fixed compile warning.
* enable strict locking by default. This will be slow, so now we justAndrew Tridgell2001-09-061-1/+1
| | | | need to fiind a way to make it fast
* it turns out that XP agrees with the samba head branch over the rightAndrew Tridgell2001-09-061-12/+13
| | | | error codes for locking, so fix the test rather than fixing samba
* use NTSTATUS not BOOL in do_lock()Andrew Tridgell2001-09-062-21/+24
|
* Removed unneeded set of delete on close in fsp->share_mode.Jeremy Allison2001-09-051-7/+0
| | | | Jeremy.
* Fix I think for the fcntl spinning problem. Re-prioritize soJeremy Allison2001-09-052-1/+21
| | | | | that oplock break messages get priority over incoming client messages. Jeremy.
* 2nd DELETE_ON_CLOSE_FLAG fix ...Andrew Tridgell2001-09-051-3/+3
| | | | | | | | | | we set the DELETE_ON_CLOSE_FLAG on all share modes on the file, which means the share mode in the fsp will not match the one in the tdb when we come to close for other file handles, which means we end up with share modes on files after all handles are closed fixed by making the comparison function that says if two shares modes are equal ignore the DELETE_ON_CLOSE_FLAG
* when you update the share mode in the db you must also updateAndrew Tridgell2001-09-051-0/+7
| | | | | | fsp->share_mode otherwise the check to see if the fsp share mode matches the one in the db will fail when you come to delete it, thus leaving us with a share mode on a file that isn't even open!
* fixed formatting to make the code vaguely readable. It's still a dogsAndrew Tridgell2001-09-051-142/+143
| | | | breakfast, but at least you can follow the indents
* add PROFILE_OBJ to nmbd nowHerb Lewis2001-09-051-1/+1
|
* merge profile data changes from 2.2Herb Lewis2001-09-054-32/+101
|
* always include profile support so you do not need a different binary ofHerb Lewis2001-09-051-5/+0
| | | | smbstatus to dump profile stats.
* add profiling stats from 2.2Herb Lewis2001-09-052-3/+383
|
* variable name changed to --with-profiling-dataHerb Lewis2001-09-052-620/+617
|
* When sending a message via a tdb, it must be open read/write.Jeremy Allison2001-09-051-1/+1
| | | | Jeremy.
* use cli_is_error() instead of looking in smb_rcls, otherwise NT statusAndrew Tridgell2001-09-057-64/+55
| | | | codes don't work correctly
* added filename to error_packet()Andrew Tridgell2001-09-052-11/+12
|
* fixed some compilation errors in cli_netlogon.c - tim, you need to rerun ↵Andrew Tridgell2001-09-052-12/+12
| | | | configure to get the new NTSTATUS stuff right
* more warning fixes on solarisAndrew Tridgell2001-09-058-11/+17
|
* fixed a bunch of compilation errors on Solaris, mostly people getting ↵Andrew Tridgell2001-09-057-103/+100
| | | | NSS_STATUS and WINBINDD error codes mixed up
* Merged cli_net_req_chal() and cli_net_auth2() from rpc_client/cli_login.cTim Potter2001-09-051-0/+177
| | | | | except they are called new_cli_net_req_chal() and new_cli_net_auth2() until they are working properly.
* oh fooTim Potter2001-09-051-1/+1
|
* Don't crash if run with no command line arguments. (-:Tim Potter2001-09-051-1/+1
|
* NFS v2 can return ENOLCK when greater than 31 bit offsets are used.Jeremy Allison2001-09-051-2/+2
| | | | | Treat this the same as an EFBIG error. Jeremy
* don't do pointer arithmetic on void* (some compilers can't do it)Andrew Tridgell2001-09-041-1/+1
|
* Fixes to ensure invalid vuids cannot stop oplock breaks.Jeremy Allison2001-09-041-5/+7
| | | | | This may have bearing on the Solaris fcntl spin bug. Jeremy.
* Merge of transfer file code from 2.2, fix for readbraw.Jeremy Allison2001-09-046-418/+327
| | | | Jeremy.