Age | Commit message (Collapse) | Author | Files | Lines |
|
a byte range lock (write lock only, but Win2k breaks on read lock also so I
do the same) - if you think about why, this is obvious. Also fixed our client
code to do level II oplocks, if requested, and fixed the code where we would
assume the client wanted level II if it advertised itself as being level II
capable - it may not want that.
Jeremy.
(This used to be commit 213cd0b5192307cd4b0026cae94b2f52fb1b0c02)
|
|
Currently the only backend which works is smbpasswd (tdb, LDAP, and NIS+)
are broken, but they were somewhat broken before. :)
The following functions implement the storage manipulation interface
/*The following definitions come from passdb/pdb_smbpasswd.c */
BOOL pdb_setsampwent (BOOL update);
void pdb_endsampwent (void);
SAM_ACCOUNT* pdb_getsampwent (void);
SAM_ACCOUNT* pdb_getsampwnam (char *username);
SAM_ACCOUNT* pdb_getsampwuid (uid_t uid);
SAM_ACCOUNT* pdb_getsampwrid (uint32 rid);
BOOL pdb_add_sam_account (SAM_ACCOUNT *sampass);
BOOL pdb_update_sam_account (SAM_ACCOUNT *sampass, BOOL override);
BOOL pdb_delete_sam_account (char* username);
There is also a host of pdb_set..() and pdb_get..() functions for
manipulating SAM_ACCOUNT struct members. Note that the struct
passdb_ops {} has gone away. Also notice that struct smb_passwd
(formally in smb.h) has been moved to passdb/pdb_smbpasswd.c
and is not accessed outisde of static internal functions in this
file. All local password searches should make use of the the SAM_ACCOUNT
struct and the previously mentioned functions.
I'll write some documentation for this later. The next step is to fix
the TDB passdb backend, then work on spliting the backends out into
share libraries, and finally get the LDAP backend going.
What works and may not:
o domain logons from Win9x works
o domain logons from WinNT 4 works
o user and group enumeration
as implemented by Tim works
o file and print access works
o changing password from
Win9x & NT ummm...i'll fix this tonight :)
If I broke anything else, just yell and I'll fix it. I think it
should be fairly quite.
-- jerry
(This used to be commit 0b92d0838ebdbe24f34f17e313ecbf61a0301389)
|
|
Jeremy.
(This used to be commit 3be056c71aa8e0a4ba70d397107199004bdb7d3f)
|
|
Jeremy.
(This used to be commit 24d76c5fbda29d89c96d7c22193ec2eb93ad3887)
|
|
REQ_DEBUGLEVEL messages
utils/smbcontrol.c allow "q" to exit interactive mode. Exit on error
from message_init.
(This used to be commit cda8c0439113dcce02a681b0aaddf69326c0ec9a)
|
|
message to go to any dest. Put timeout for commands that expect a reply.
sync with 2.2 branch
(This used to be commit 45632bb813da06d0139aa32b9ab99d472dcfaf25)
|
|
to open_socket_in() from within the open_sockets() function. This has some
effect on the way port numbers are assigned. Basically, if we use the -r
switch we are saying 'use port 137'. If we can't do that, there should
be an error message and a failure. If we don't use -r then we simply select
the first available port. The way it was working, if we selected -r and
port 137 was in use, wierd things would happen as open_socket_in() tried to
find another port.
(This used to be commit f09cb41ad86b233253758de7ef2781589ac07b86)
|
|
.cvsignore remove config.h - not in this directory
include/profile.h profile changes
lib/messages.c added message to return debug level
libsmb/clierror.c cast to get rid of compiler warning
libsmb/smbencrypt.c cast to get rid of compiler warning
profile/profile.c add flush profile stats changes for profile struct
rpc_parse/parse_samr.c fix for compiler warning
rpc_server/srv_samr.c cast to get rid of compiler warning
smbd/ipc.c profile stats
message.c profile stats
smbd/negprot.c profile stats
smbd/nttrans.c profile stats
smbd/trans2.c profile stats
utils/smbcontrol.c new flush stats command
(This used to be commit bbb24daa25dca4e4b6b1f8942cd84ee3aa1bed8e)
|
|
(This used to be commit e4ea0a5975d3539803c78cac2229550a6e89c4b4)
|
|
Jeremy.
(This used to be commit 4862d2ab1163310d844b929fb17239b4f4cb1a99)
|
|
printing/nt_printing.c: No C++ comments please :-).
Jeremy.
(This used to be commit dd9f668108215f18240458fc33bf872a6fc9e6be)
|
|
(This used to be commit 1ece7f1ffd7d0b61d6acea03819fb857ea556b4b)
|
|
(This used to be commit b21179331802aace566671dcff6db22cdf4b3e81)
|
|
smbcontrol nmbd debug 7
smbcontrol smbd debug 9
smbcontrol 3278 debug 1
smbcontrol nmbd force-election
(This used to be commit 5f91c24636f5d82486f22c10bc55e060f9c518bf)
|
|
- added a MSG_PING message for performance testing.
(This used to be commit e779f834dbb875669c3aa0a35b324aa13f0c8c36)
|
|
easier to add new message types to messages.h without breaking old
binaries
- added a MSG_FORCE_ELECTION message to force nmbd to hold an election
(This used to be commit f1c49ca7ce56bc39259041a71479e84ebf53eeca)
|
|
(This used to be commit db1ec05f89071cd1ae4b190dda843b38e2d97cef)
|
|
Jeremy.
(This used to be commit bd844fcd3023ab956eb7ab369475955a88bcca14)
|
|
(This used to be commit 16afa46797a4cdaa6e3b668caf6d910c08bec9b4)
|
|
(This used to be commit f3a4f81a5e51e411f1c7c6245597cca01e9ad5b2)
|
|
checked to see that only one server was listed. As I am working on an
enhancement that allows multiple servers to be listed...this was a bit
contrary. ;)
(This used to be commit 1b718f67675e52520f193a8c71c110246e70723f)
|
|
(This used to be commit 0afcc0d3368472ed4b49167dc4b7d907b0ccdc25)
|
|
(This used to be commit fae3acc574c6e78121e6a1d464b67a15fb025304)
|
|
(This used to be commit 448f21325f8ff53f3ff5e45c22e07f7164529bc9)
|
|
registered within the search space, nmblookup would report
name_query failed to find name ZOOB
I've changed it to report any non-zero type, so the above message becomes
name_query failed to find name ZOOB#1B
If the query is for ZOOB or even ZOOB#00 then the old style error message
is given.
Chris -)-----
(This used to be commit 5ecf0c61718afbc7106e853d327428bd72f77690)
|
|
(This used to be commit 502751cc62df7395683dc45d15887535baa5656b)
|
|
(This used to be commit 4bbc218922d2b1f40d50a611a389c9956851050f)
|
|
(This used to be commit 73033d0803317c7de017cac7f7669f4afb08e7c0)
|
|
I had to modify sys_select() to not loop on EINTR. I added a wrapper
called sys_select_intr() which gives the old behaviour.
(This used to be commit b28cc4163bc2faaa80c5782fc02c8f03c410cdeb)
|
|
(This used to be commit 62d72dd67ba41b90fefc4308139cd488b3fcb3fa)
|
|
this uses 16 open file descriptors on 2 servers, with each server
accessed both via POSIX call and SMB calls. The idea is to test
NFS/SMB locking interaction.
Unfortunately the NT NFS locking implementation is so badly broken
that we don't have anything to test against
(This used to be commit 581498fe6b2efe44c1229dd12b9a6506b11747d0)
|
|
(This used to be commit 56ba49382fbdbe5672c3a72faaca21f20a53752b)
|
|
(This used to be commit 16355a9c66a2bdab1feb8914a40bbea5272bb170)
|
|
(This used to be commit ee4f6335adb2a781eea7e1f6b520d79ea1197427)
|
|
change seed
(This used to be commit d9322d01e0ac09852924eb6059ecf116e75ee398)
|
|
(This used to be commit 4d00314ec5b056101b05c38cc68dd4934c83c825)
|
|
are readers. writes between 1 and 20 bytes. reads as much as possible.
compares. repeat until end of buffer (fixed size: 131072 bytes) reached.
(This used to be commit 26f51a7abbfa9bd9051969dffaebe3cdf9e93c8f)
|
|
(This used to be commit 289d3cac38ae271175697f98d3eb01a21f3678a7)
|
|
(This used to be commit fc8c460a618c25ffa46ab808a241dab466d2666b)
|
|
(This used to be commit a92f8c8620272bcbdd73741b8e87f8d5fac45b49)
|
|
use \\ in front of filenames
get short name via a separate trans2 level 260 call
(This used to be commit 5fd4dbf72e317bc47ab11b0b3f2e15d0c58879c8)
|
|
use \\ in front of filenames
(This used to be commit 9c64f47c164e6ac31a27940fffb415b0b47cd089)
|
|
same cli_state:
open file rw/denynone, open *same* file r/denynone.
write to file (fd1) read from file (fd2). compare. repeat.
two cli_states:
open file rw/denynone (cli1), open *same* file r/denynone (cli2).
write to file (fd1) read from file (fd2). compare. repeat.
(This used to be commit 0a993f37830938a8d4262c6b7913af502bbf015f)
|
|
Added call to codepage_initialise().
(This used to be commit fcb8e2fbe2deabfc2f8d7e69dd23dca9740c6dc1)
|
|
it
(This used to be commit 88ad00b82acc4636ab57dfe710af08ea85b82ff1)
|
|
(This used to be commit 0ce2ca5ccdd0e2e7711dcbf66b72a183b2692cfe)
|
|
(This used to be commit c14a2616441b2f3357a081c6dbae7d5b677e5a12)
|
|
(This used to be commit d64bb07f0ad0efa1a20015b620ae33fb082b1e44)
|
|
(This used to be commit efc9752f1e00b38abe3b5d3a98627a9fe6122bc4)
|
|
(This used to be commit b3999f3b20d470b9c873b297e7aeb043da61588d)
|