Richard Sharpe
ba8e3e0343
Make sure that if there are no interfaces, name_register_wins does not
...
segfault.
(This used to be commit a7842fac94a3f772da0e6ddf14044df24af798a9)
2001-09-09 09:59:33 +00:00
Christopher R. Hertel
0366f1d4bc
Typo fix per Vance on IRC.
...
(This used to be commit 6f388502622fe77ae13ac2b0ae8f39b2e77ba455)
2001-09-09 04:21:12 +00:00
Andrew Tridgell
381b245d79
fixed typo
...
(This used to be commit 160906b57de8d1f8f76e716e0691223f743e07eb)
2001-09-09 03:18:23 +00:00
Andrew Tridgell
444a01d265
removed pointless parameter from readfile()
...
(This used to be commit 0742342ec496bec7246e067280737cd507465b50)
2001-09-09 02:43:30 +00:00
Andrew Tridgell
eb7b28759a
fixed missing const on d_printf declaration
...
(This used to be commit 865e0507e6e6ad6a71d833c4f2a0f57362637719)
2001-09-09 02:37:10 +00:00
Andrew Tridgell
65c5a1c0ba
convert more code to using d_printf
...
(This used to be commit 60d297303488ed583537ca2853828fccd6da2ade)
2001-09-08 02:59:23 +00:00
Andrew Bartlett
ed8883c5dd
Change the description on --with-pam_smbpass to make it clearer - some peope
...
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).
(This used to be commit bbda3dd7422a434f19ca8968dab8f9f210254c2f)
2001-09-07 23:56:54 +00:00
Jeremy Allison
84cca75739
Don't fail if no owner/group owner set. Use existing owners.
...
Jeremy.
(This used to be commit 9961c4c1a3b2dbf8d1062bc1fa103488c0d0ba79)
2001-09-07 20:08:16 +00:00
Jeremy Allison
0135666934
#ifdef out function when not used.
...
Jeremy.
(This used to be commit fa8d626a2773569a454451e77ea56c707b33b69e)
2001-09-07 20:01:19 +00:00
Volker Lendecke
22b51232c0
Fixed paragraph about byte range locking. Jerry, could you make a pdf of this?
...
Thanks,
Volker
(This used to be commit 3811b6a9eba8c5567b4df01c86cc4fe33b0a8079)
2001-09-07 15:35:26 +00:00
Andrew Tridgell
5573a1c739
added "display charset" option in smb.conf, along with d_printf()
...
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
(This used to be commit 266d8e67669adb329f25676c4bc4d4c50f223428)
2001-09-07 14:14:57 +00:00
Jeremy Allison
83ebf2b6b2
Fix the 62bit locking onto 32 bit NFS mounts problem generically for HPUX.
...
Don. please check this out.
Jeremy.
(This used to be commit ce9f95996498f7795aaef069e1443ea1c7d524b3)
2001-09-06 22:43:21 +00:00
Andrew Tridgell
9a9ac2739b
got rid of USE_TDB_MMAP_FLAG as its not needed any more
...
(This used to be commit c26e0d3f27a05ecc8bd2390f9aab7f9451524e47)
2001-09-06 22:08:19 +00:00
Jeremy Allison
a92f02a0a0
Fixed O(N^2) talloc loop when allocating printer name memory - fix from
...
Richard Bollinger <rabollinger@home.com>.
Jeremy.
(This used to be commit 408c0595bbeafca87795e5278656471fbe0540e8)
2001-09-06 15:48:29 +00:00
Andrew Tridgell
fc07eb5eef
- fixed proto.h build on systems using a parallel make
...
- changed DENY1 and DENY2 tests to only report errors
(This used to be commit 9341e5534d0786e6ad7980e5fd1a0b35d77a2806)
2001-09-06 10:37:21 +00:00
Tim Potter
f9f31ba33c
Converted to NTSTATUS return codes.
...
Started on producing smbpasswd output from user account information.
Doesn't work yet.
Added -U option so samsync can be run interactively.
(This used to be commit 842fcd94fa847f71d828a46b092f5837743ffcde)
2001-09-06 09:15:57 +00:00
Tim Potter
65e35d5d4b
Started a cleanup of smbpasswd related stuff. I've created a new file
...
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.
(This used to be commit 4a01e240305fb6fead973beef4937a016b15d744)
2001-09-06 09:10:26 +00:00
Tim Potter
5661d1c82f
Removed 18 duplicate #undef entries.
...
(This used to be commit 7a7b13940efbbf15dfcf45f89389e2728527f1e2)
2001-09-06 08:57:41 +00:00
Tim Potter
c7a951eae3
Annotated definition of NEW_PW_FORMAT_SPACE_PADDED_LEN constant.
...
(This used to be commit e3ec6197ede4a37113567c2ab406937c6ca80e9d)
2001-09-06 08:56:30 +00:00
Andrew Tridgell
75a8b24ed9
flush stdout in test logging fns
...
(This used to be commit d32ac363a5b4c6978077b1d695c503e22c5782ca)
2001-09-06 05:59:32 +00:00
Andrew Tridgell
fef37db972
use a different test tdb name for tdbtest and tdbtorture
...
(This used to be commit 931bded1c92c812d6aae101a40f453c925054627)
2001-09-06 05:58:05 +00:00
Andrew Tridgell
1772584c35
actually obey the "use mmap" smb.conf option
...
(This used to be commit b36c98036bcbaa5545c9637cb632361122033cfd)
2001-09-06 05:45:07 +00:00
Tim Potter
b31055fa74
Logon workstation checks from Toomas Soome <tsoome@ut.ee>
...
Fixed compile warning.
(This used to be commit 3eee66516596835c70c8d652ca633d2e1158fbb7)
2001-09-06 05:24:37 +00:00
Andrew Tridgell
e3d79bb0c8
enable strict locking by default. This will be slow, so now we just
...
need to fiind a way to make it fast
(This used to be commit 42b147d1f26093c45110077a309c5e0d3010a28d)
2001-09-06 01:22:17 +00:00
Andrew Tridgell
dd9b2f3b2f
it turns out that XP agrees with the samba head branch over the right
...
error codes for locking, so fix the test rather than fixing samba
(This used to be commit a583af3c2f5d1962495a0f18b671e34d6ff43511)
2001-09-06 01:21:09 +00:00
Andrew Tridgell
9ef7a6c786
use NTSTATUS not BOOL in do_lock()
...
(This used to be commit b1b2a5fa5d084dad8ae47777419ab75db1e51eff)
2001-09-06 01:19:35 +00:00
Jeremy Allison
851e60c382
Removed unneeded set of delete on close in fsp->share_mode.
...
Jeremy.
(This used to be commit 7816f79075132350c910f75f9b757477a319bbae)
2001-09-05 23:34:41 +00:00
Jeremy Allison
11f0402a74
Fix I think for the fcntl spinning problem. Re-prioritize so
...
that oplock break messages get priority over incoming client messages.
Jeremy.
(This used to be commit 1779f6a223dad87c3b8451d09b9808b46495a8b6)
2001-09-05 22:45:48 +00:00
Andrew Tridgell
4f0509aeeb
2nd DELETE_ON_CLOSE_FLAG fix ...
...
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
(This used to be commit 7b39c4c59897669106d7129bad8af3d592d25838)
2001-09-05 21:39:43 +00:00
Andrew Tridgell
627b1d0a61
when you update the share mode in the db you must also update
...
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!
(This used to be commit 2020738b889d8d508cf787e5c5d380af817b92f9)
2001-09-05 21:13:58 +00:00
Andrew Tridgell
387f1fd09c
fixed formatting to make the code vaguely readable. It's still a dogs
...
breakfast, but at least you can follow the indents
(This used to be commit 9955ea0aaa299c6c946b4e7b7e98017c39b60bc8)
2001-09-05 21:11:52 +00:00
Herb Lewis
afd0ba9d92
add PROFILE_OBJ to nmbd now
...
(This used to be commit 99b773217c001b8b89e72561f3ece46bb4ea553e)
2001-09-05 20:06:33 +00:00
Herb Lewis
7528728071
merge profile data changes from 2.2
...
(This used to be commit c105859304e93297fa29f346e9cbd1af0c95048b)
2001-09-05 18:43:55 +00:00
Herb Lewis
dff3c815e2
always include profile support so you do not need a different binary of
...
smbstatus to dump profile stats.
(This used to be commit fc048955b8af05779992bc111f9bd690b8a8faf2)
2001-09-05 18:01:48 +00:00
Herb Lewis
283b15bcd7
add profiling stats from 2.2
...
(This used to be commit 6c333e9d922b3a7443db829277b8a209cce2d350)
2001-09-05 17:58:24 +00:00
Herb Lewis
c36dd96b90
variable name changed to --with-profiling-data
...
(This used to be commit 28fba1ba4883e5eaa97247e933da9311c53c41df)
2001-09-05 17:39:51 +00:00
Jeremy Allison
00973eb50e
When sending a message via a tdb, it must be open read/write.
...
Jeremy.
(This used to be commit f35887c7d40ced750596b87bf37f7aae1df68c7a)
2001-09-05 17:23:51 +00:00
Andrew Tridgell
d53d5beeb2
use cli_is_error() instead of looking in smb_rcls, otherwise NT status
...
codes don't work correctly
(This used to be commit 55d5828e608671f070a9e96938be0d16d50aeb26)
2001-09-05 11:32:59 +00:00
Andrew Tridgell
851a06e1fd
added filename to error_packet()
...
(This used to be commit 2c424788dec2fd6e44c243ea115d66689dfae6c0)
2001-09-05 10:18:58 +00:00
Andrew Tridgell
fbe6685a79
fixed some compilation errors in cli_netlogon.c - tim, you need to rerun configure to get the new NTSTATUS stuff right
...
(This used to be commit 9bae57cfe30825174536d11983bb3434498e3f03)
2001-09-05 08:54:04 +00:00
Andrew Tridgell
7844aa868b
more warning fixes on solaris
...
(This used to be commit c04c67fec85b1c81ef0b3cebacde304a1de0d854)
2001-09-05 08:11:17 +00:00
Andrew Tridgell
7deed93dd7
fixed a bunch of compilation errors on Solaris, mostly people getting NSS_STATUS and WINBINDD error codes mixed up
...
(This used to be commit 66698d6b841df809a8654012a8385bffacb9dc4a)
2001-09-05 07:55:54 +00:00
Tim Potter
f6b531895e
Merged cli_net_req_chal() and cli_net_auth2() from rpc_client/cli_login.c
...
except they are called new_cli_net_req_chal() and new_cli_net_auth2()
until they are working properly.
(This used to be commit 4ca085f253fc39de60115edc049e91d5c95735ef)
2001-09-05 04:46:21 +00:00
Tim Potter
9dfa2edd7c
oh foo
...
(This used to be commit 66c7bb9467c1acaf7e5b310a2ebc753f455b18c9)
2001-09-05 04:33:25 +00:00
Tim Potter
9888362b39
Don't crash if run with no command line arguments. (-:
...
(This used to be commit a46e9cc3a1a247fba8fe9b4cdfa16954071b4a35)
2001-09-05 04:30:53 +00:00
Jeremy Allison
d3518f1d8a
NFS v2 can return ENOLCK when greater than 31 bit offsets are used.
...
Treat this the same as an EFBIG error.
Jeremy
(This used to be commit 8fad5177701c1738a7f5bdd7c0082ef23a00b876)
2001-09-05 00:05:07 +00:00
Andrew Tridgell
1f5203cd24
don't do pointer arithmetic on void* (some compilers can't do it)
...
(This used to be commit c65e8db7ae765f844f8b0adb1e5de3651561ad96)
2001-09-04 20:34:02 +00:00
Jeremy Allison
15472c4ee7
Fixes to ensure invalid vuids cannot stop oplock breaks.
...
This may have bearing on the Solaris fcntl spin bug.
Jeremy.
(This used to be commit 0f676202529cbfead629d2c228b7d5abc2dff7d6)
2001-09-04 19:58:01 +00:00
Jeremy Allison
7e75921e24
Merge of transfer file code from 2.2, fix for readbraw.
...
Jeremy.
(This used to be commit c05e79453655abb67fd47a2d3dba88b4c5377e35)
2001-09-04 19:10:30 +00:00
Andrew Tridgell
cefa698c72
fixed compilation of torture
...
(This used to be commit aaf538a83057150cc35e9032aff7a78e8f0c4dc2)
2001-09-04 11:52:42 +00:00