Andrew Tridgell
ab24652394
- added AC_HAVE_DECL() macro to aclocal.m4, so we can easily add
...
tests for a fn or variable being defined in headers
- used this to add prototypes for asprintf and vasprintf on systems
that don't have them
0001-01-01 00:00:00 +00:00
Andrew Tridgell
200b682e9b
merged fix for tdb_unpack from 2_2
0001-01-01 00:00:00 +00:00
Andrew Tridgell
c20838c635
added list function to tdbtool
0001-01-01 00:00:00 +00:00
Andrew Tridgell
823ba34342
new proto.h
0001-01-01 00:00:00 +00:00
Andrew Tridgell
045d7e1b16
make swat recover from previously bad umask from xinetd
0001-01-01 00:00:00 +00:00
Andrew Tridgell
68c0dcec3d
use the new tdb_open_log() fn on connections database
0001-01-01 00:00:00 +00:00
Andrew Tridgell
6e1277df9d
- fixed an off-by-1 bug in the delayed deletion code that I believe
...
was the initial cause of the connections database becoming corrupt.
Note that this bug only happens when doing deletions within a
traversal, which is why it has only showed up now
- added delete within traversal testing to tdbtorture
- added a lot more logging to tdb
0001-01-01 00:00:00 +00:00
Andrew Tridgell
3ab770484c
added a tdb_open_log() function that opens a tdb and enables logging
...
of messages from the tdb code into the Samba DEBUG() system
just call tdb_open_log() instead of tdb_open() to enable this on
any tdb
0001-01-01 00:00:00 +00:00
Tim Potter
16031364a8
Add border=0 in included swat images to get rid of the link border stuff.
...
Much prettier looking.
0001-01-01 00:00:00 +00:00
Andrew Tridgell
ba106b9b07
more portable TDB_LOG macro
0001-01-01 00:00:00 +00:00
Tim Potter
adb61490af
Fixed compiler warning.
0001-01-01 00:00:00 +00:00
Simo Sorce
97dbb54a13
4 new functions to retrieve single linked list of group and passwd entries
...
+ a fix to an infinite loop in srv_samr_nt.c caused by misuse of
setgrent/getgrent/endgrent solved by these new functions
0001-01-01 00:00:00 +00:00
Tim Potter
ab05c8cf1b
The manual page for swat referred to nmblookup in the synopsis.
0001-01-01 00:00:00 +00:00
Andrew Tridgell
07c74fe83f
make sure the umask is set in swat
0001-01-01 00:00:00 +00:00
Andrew Tridgell
dda086fdf9
try to make the tailer code much more robust. When a record
...
can't be merged don't fail the operation, instead just add
it to the free list anyway
added logging to tdb
0001-01-01 00:00:00 +00:00
Tim Potter
d6dcca7cc9
i18n fix for domain_client_validate()
0001-01-01 00:00:00 +00:00
Andrew Tridgell
ee8cb88682
return an error code on password attack, rather than exiting.
...
otherwise security scanners may think we are vulnerable!
0001-01-01 00:00:00 +00:00
Jeremy Allison
cf5015f159
Added tdb_change_int_atomic() to allow atomic updates of a tdb int value.
...
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
19145bae72
Fixup the large_writex problem (a large_writex can send a full 64k of data,
...
we already have space for this we just need to understand the length correctly).
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
b2867ddfa2
Fix for random stream generator.
...
Jeremy.
0001-01-01 00:00:00 +00:00
Tim Potter
0650f87000
Added structures for LOGON_CTRL rpc.
...
Make proto.
0001-01-01 00:00:00 +00:00
Tim Potter
c93718daa1
Added srvinfo and partial logonctrl and logonctrl2 commands.
0001-01-01 00:00:00 +00:00
Tim Potter
6e0805c191
Fixed compiler warning.
0001-01-01 00:00:00 +00:00
Tim Potter
0678c30282
Added server side reponse to net_logon_ctrl rpc. We can now respond
...
to NLTEST /BDC_QUERY:DOMAIN when acting as a BDC.
Reverse engineered a couple of status constants.
0001-01-01 00:00:00 +00:00
Tim Potter
ee599c9481
Added srv_get_info client command.
0001-01-01 00:00:00 +00:00
Tim Potter
8d5f202709
Added logon control2 client call.
0001-01-01 00:00:00 +00:00
Tim Potter
8ba30031a4
Added a init function for net_q_logon_ctrl2 so we can make this call
...
from rpcclient.
Added init and i/o functions for net_{q,r}_logon_ctrl functions so we
can call from rpcclient and respond to this call from smbd.
0001-01-01 00:00:00 +00:00
Tim Potter
c4e7ce267f
Removed some level 0 debugs accidentally left in - oops.
0001-01-01 00:00:00 +00:00
Tim Potter
c9b4ed79c8
Replaced next_command() with call to next_token().
0001-01-01 00:00:00 +00:00
Tim Potter
3343c9f0d6
Added stubs for SRVSVC and NETLOGON rpcclient commands.
0001-01-01 00:00:00 +00:00
Jeremy Allison
ec64ddac5f
Added tdb_errstr() messages so we can see if these functions fail.
...
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
c328dda0fa
This is *very* cool. I'm pretty convinced we can just set the
...
CAP_LARGE_READX|CAP_LARGE_WRITEX bits on negprot and out W2K
performance goes through the roof......
And as we *always* offer 64 buffers we can do this with this
simple change.....
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
d3496897f1
Stupid typo. Should be if (!tdb).
...
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
d52bc4d219
Try to fix build by adding autoconf tests for pam headers.
...
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
d7aa42e459
Defensive brlock and locking database cleaning code.
...
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
946cf3a0d7
Use canonical mappings for file controls. Fixes W2KSP2 profile problems (I
...
think....).
Jeremy.
0001-01-01 00:00:00 +00:00
Gerald Carter
97a88ca86b
make proto
0001-01-01 00:00:00 +00:00
Gerald Carter
515caaf7b4
merge from 2.2 (deleteprinterdriver RPC)
0001-01-01 00:00:00 +00:00
Jeremy Allison
6bbcab5e48
Fix the W2KSP2 joining a Samba domain problem.
...
Jeremy.
0001-01-01 00:00:00 +00:00
Gerald Carter
09506ac0e6
merge from 2.2 DeletePrinterDriver() server side stud coming
...
in separate commit after I get it working in 2.2.
0001-01-01 00:00:00 +00:00
Andrew Tridgell
f2bb3c50f3
added utmp.o to NECESSARY_BECAUSE_SAMBA_DEPENDENCIES_ARE_SO_BROKEN_OBJ
0001-01-01 00:00:00 +00:00
Andrew Tridgell
cf4e439a1e
- added ability for swat to run under CGI. This needs
...
to be setup very carefully for it not to be a security hole
- reran configure
0001-01-01 00:00:00 +00:00
Andrew Tridgell
2e605e1275
ran make proto
0001-01-01 00:00:00 +00:00
Richard Sharpe
7b275b4588
Ran a make proto to fix the problems ...
0001-01-01 00:00:00 +00:00
Tim Potter
4c2b915ed1
Test login using pam_winbind.so and group membership.
0001-01-01 00:00:00 +00:00
Tim Potter
083b74c743
Fixes to get pam_auth() functionality working again.
0001-01-01 00:00:00 +00:00
Richard Sharpe
672242a52e
Fix a small warning about char * vs unsigned char * that gets some compilers
...
in a twitch.
0001-01-01 00:00:00 +00:00
Tim Potter
d1e5d5d62f
Broke out change trust account password routines into separate file
...
since they're only used in one place anyway (timeout_processing() in
process.c)
0001-01-01 00:00:00 +00:00
Richard Sharpe
26eda1f2b0
Ohh boy, I should be working on lots of other things, but I am pissed off, so
...
I needed to get down and dirty and do some coding etc ...
Change -fpic to -fPIC ... Many people suggest that this is better ...
0001-01-01 00:00:00 +00:00
Richard Sharpe
b0ba25e22d
Further recasts to sockaddr * rather than sockaddr_in *
0001-01-01 00:00:00 +00:00