1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-28 07:21:54 +03:00
Commit Graph

5505 Commits

Author SHA1 Message Date
Andrew Tridgell
05d0841472 - 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
(This used to be commit ab24652394)
2001-05-30 12:28:13 +00:00
Andrew Tridgell
ad7c3ea0f0 merged fix for tdb_unpack from 2_2
(This used to be commit 200b682e9b)
2001-05-30 06:23:05 +00:00
Andrew Tridgell
6315ea80fc added list function to tdbtool
(This used to be commit c20838c635)
2001-05-30 06:22:10 +00:00
Andrew Tridgell
ff1dd1721d new proto.h
(This used to be commit 823ba34342)
2001-05-30 06:16:24 +00:00
Andrew Tridgell
8bfcdd723d make swat recover from previously bad umask from xinetd
(This used to be commit 045d7e1b16)
2001-05-30 06:12:21 +00:00
Andrew Tridgell
5237500c73 use the new tdb_open_log() fn on connections database
(This used to be commit 68c0dcec3d)
2001-05-30 06:08:23 +00:00
Andrew Tridgell
9848c067c0 - 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
(This used to be commit 6e1277df9d)
2001-05-30 05:40:52 +00:00
Andrew Tridgell
964d7a6625 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
(This used to be commit 3ab770484c)
2001-05-30 03:42:44 +00:00
Tim Potter
aded7fc858 Add border=0 in included swat images to get rid of the link border stuff.
Much prettier looking.
(This used to be commit 16031364a8)
2001-05-30 03:02:47 +00:00
Andrew Tridgell
40518cf9b4 more portable TDB_LOG macro
(This used to be commit ba106b9b07)
2001-05-29 15:01:23 +00:00
Tim Potter
1744a49cae Fixed compiler warning.
(This used to be commit adb61490af)
2001-05-29 07:34:51 +00:00
Simo Sorce
bbf5ea221a 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
(This used to be commit 97dbb54a13)
2001-05-29 07:34:01 +00:00
Tim Potter
415c317bc9 The manual page for swat referred to nmblookup in the synopsis.
(This used to be commit ab05c8cf1b)
2001-05-29 05:39:50 +00:00
Andrew Tridgell
5e6bbdb74e make sure the umask is set in swat
(This used to be commit 07c74fe83f)
2001-05-28 23:56:56 +00:00
Andrew Tridgell
c0561ff58e 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
(This used to be commit dda086fdf9)
2001-05-28 13:29:06 +00:00
Tim Potter
22242c5038 i18n fix for domain_client_validate()
(This used to be commit d6dcca7cc9)
2001-05-25 07:36:58 +00:00
Andrew Tridgell
fe6208d09a return an error code on password attack, rather than exiting.
otherwise security scanners may think we are vulnerable!
(This used to be commit ee8cb88682)
2001-05-25 02:45:07 +00:00
Jeremy Allison
15e66ba37a Added tdb_change_int_atomic() to allow atomic updates of a tdb int value.
Jeremy.
(This used to be commit cf5015f159)
2001-05-25 00:48:28 +00:00
Jeremy Allison
9ff6634db9 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.
(This used to be commit 19145bae72)
2001-05-24 19:28:22 +00:00
Jeremy Allison
00cdd8cfa2 Fix for random stream generator.
Jeremy.
(This used to be commit b2867ddfa2)
2001-05-24 18:24:54 +00:00
Tim Potter
3dfb0d3bd9 Added structures for LOGON_CTRL rpc.
Make proto.
(This used to be commit 0650f87000)
2001-05-24 08:21:53 +00:00
Tim Potter
43bc613e74 Added srvinfo and partial logonctrl and logonctrl2 commands.
(This used to be commit c93718daa1)
2001-05-24 08:10:50 +00:00
Tim Potter
95dbe55e57 Fixed compiler warning.
(This used to be commit 6e0805c191)
2001-05-24 08:07:13 +00:00
Tim Potter
076ace3e3d 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.
(This used to be commit 0678c30282)
2001-05-24 08:05:12 +00:00
Tim Potter
69eb5affbd Added srv_get_info client command.
(This used to be commit ee599c9481)
2001-05-24 08:02:27 +00:00
Tim Potter
6958bfa518 Added logon control2 client call.
(This used to be commit 8d5f202709)
2001-05-24 08:01:55 +00:00
Tim Potter
69ffa0f16d 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.
(This used to be commit 8ba30031a4)
2001-05-24 07:58:49 +00:00
Tim Potter
3d876c5df1 Removed some level 0 debugs accidentally left in - oops.
(This used to be commit c4e7ce267f)
2001-05-24 02:21:18 +00:00
Tim Potter
b30730b56e Replaced next_command() with call to next_token().
(This used to be commit c9b4ed79c8)
2001-05-24 00:31:53 +00:00
Tim Potter
40ff4007c7 Added stubs for SRVSVC and NETLOGON rpcclient commands.
(This used to be commit 3343c9f0d6)
2001-05-24 00:20:32 +00:00
Jeremy Allison
b065de612c Added tdb_errstr() messages so we can see if these functions fail.
Jeremy.
(This used to be commit ec64ddac5f)
2001-05-23 21:33:43 +00:00
Jeremy Allison
4d86a2841c 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.
(This used to be commit c328dda0fa)
2001-05-23 18:47:52 +00:00
Jeremy Allison
840fb1643d Stupid typo. Should be if (!tdb).
Jeremy.
(This used to be commit d3496897f1)
2001-05-23 18:33:45 +00:00
Jeremy Allison
d222a3f28d Try to fix build by adding autoconf tests for pam headers.
Jeremy.
(This used to be commit d52bc4d219)
2001-05-22 21:47:11 +00:00
Jeremy Allison
faa0bef196 Defensive brlock and locking database cleaning code.
Jeremy.
(This used to be commit d7aa42e459)
2001-05-22 20:35:48 +00:00
Jeremy Allison
58339ac6cc Use canonical mappings for file controls. Fixes W2KSP2 profile problems (I
think....).
Jeremy.
(This used to be commit 946cf3a0d7)
2001-05-18 20:16:55 +00:00
Gerald Carter
a8f8d81d54 make proto
(This used to be commit 97a88ca86b)
2001-05-18 04:12:19 +00:00
Gerald Carter
43000d8d06 merge from 2.2 (deleteprinterdriver RPC)
(This used to be commit 515caaf7b4)
2001-05-18 04:11:17 +00:00
Jeremy Allison
c912d04389 Fix the W2KSP2 joining a Samba domain problem.
Jeremy.
(This used to be commit 6bbcab5e48)
2001-05-18 01:30:21 +00:00
Gerald Carter
013b454d1a merge from 2.2 DeletePrinterDriver() server side stud coming
in separate commit after I get it working in 2.2.
(This used to be commit 09506ac0e6)
2001-05-17 18:57:25 +00:00
Andrew Tridgell
8910320b85 added utmp.o to NECESSARY_BECAUSE_SAMBA_DEPENDENCIES_ARE_SO_BROKEN_OBJ
(This used to be commit f2bb3c50f3)
2001-05-17 13:51:07 +00:00
Andrew Tridgell
ed585b91eb - 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
(This used to be commit cf4e439a1e)
2001-05-17 11:45:58 +00:00
Andrew Tridgell
8d9aadc2bc ran make proto
(This used to be commit 2e605e1275)
2001-05-17 11:29:54 +00:00
Richard Sharpe
43680ebeae Ran a make proto to fix the problems ...
(This used to be commit 7b275b4588)
2001-05-17 11:20:45 +00:00
Tim Potter
8a50f4ded9 Test login using pam_winbind.so and group membership.
(This used to be commit 4c2b915ed1)
2001-05-17 07:02:08 +00:00
Tim Potter
2d27d8c720 Fixes to get pam_auth() functionality working again.
(This used to be commit 083b74c743)
2001-05-17 06:08:49 +00:00
Richard Sharpe
89de0c46ad Fix a small warning about char * vs unsigned char * that gets some compilers
in a twitch.
(This used to be commit 672242a52e)
2001-05-17 04:09:08 +00:00
Tim Potter
dd0cca5c21 Broke out change trust account password routines into separate file
since they're only used in one place anyway (timeout_processing() in
process.c)
(This used to be commit d1e5d5d62f)
2001-05-17 02:52:45 +00:00
Richard Sharpe
94f68abb7c 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 ...
(This used to be commit 26eda1f2b0)
2001-05-17 02:52:42 +00:00
Richard Sharpe
2378ba1c21 Further recasts to sockaddr * rather than sockaddr_in *
(This used to be commit b0ba25e22d)
2001-05-17 02:44:10 +00:00