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.
-
Jeremy Allison
b2867ddfa2
Fix for random stream generator.
...
Jeremy.
-
Tim Potter
0650f87000
Added structures for LOGON_CTRL rpc.
...
Make proto.
-
Tim Potter
c93718daa1
Added srvinfo and partial logonctrl and logonctrl2 commands.
-
Tim Potter
6e0805c191
Fixed compiler warning.
-
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.
-
Tim Potter
ee599c9481
Added srv_get_info client command.
-
Tim Potter
8d5f202709
Added logon control2 client call.
-
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.
-
Tim Potter
c4e7ce267f
Removed some level 0 debugs accidentally left in - oops.
-
Tim Potter
c9b4ed79c8
Replaced next_command() with call to next_token().
-
Tim Potter
3343c9f0d6
Added stubs for SRVSVC and NETLOGON rpcclient commands.
-
Jeremy Allison
ec64ddac5f
Added tdb_errstr() messages so we can see if these functions fail.
...
Jeremy.
-
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.
-
Jeremy Allison
d3496897f1
Stupid typo. Should be if (!tdb).
...
Jeremy.
-
Jeremy Allison
d52bc4d219
Try to fix build by adding autoconf tests for pam headers.
...
Jeremy.
-
Jeremy Allison
d7aa42e459
Defensive brlock and locking database cleaning code.
...
Jeremy.
-
Jeremy Allison
946cf3a0d7
Use canonical mappings for file controls. Fixes W2KSP2 profile problems (I
...
think....).
Jeremy.
-
Gerald Carter
97a88ca86b
make proto
-
Gerald Carter
515caaf7b4
merge from 2.2 (deleteprinterdriver RPC)
-
Jeremy Allison
6bbcab5e48
Fix the W2KSP2 joining a Samba domain problem.
...
Jeremy.
-
Gerald Carter
09506ac0e6
merge from 2.2 DeletePrinterDriver() server side stud coming
...
in separate commit after I get it working in 2.2.
-
Andrew Tridgell
f2bb3c50f3
added utmp.o to NECESSARY_BECAUSE_SAMBA_DEPENDENCIES_ARE_SO_BROKEN_OBJ
-
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
-
Andrew Tridgell
2e605e1275
ran make proto
-
Richard Sharpe
7b275b4588
Ran a make proto to fix the problems ...
-
Tim Potter
083b74c743
Fixes to get pam_auth() functionality working again.
-
Richard Sharpe
672242a52e
Fix a small warning about char * vs unsigned char * that gets some compilers
...
in a twitch.
-
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)
-
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 ...
-
Richard Sharpe
b0ba25e22d
Further recasts to sockaddr * rather than sockaddr_in *
-
Jeremy Allison
87025c223d
groupdb/mapping.c: Fix gcc compiler warning.
...
smbd/connection.c: Sync up with code in 2.2
Jeremy.
-
Richard Sharpe
122e2753d5
Fix a stupid typo in Makefile.in that prevented the libsmbclient code
...
from being compiled with -fpic ... Larger changes coming ... I want to move
to -fPIC etc.
-
Tim Potter
ded776af28
Added winbind programs to build for supported systems (i.e linux and
...
solaris) so the autobuilder can have a crack at it.
Cosmetic fix for large file support ./configure output.
-
Jeremy Allison
97dfc0097e
Update from Toomas Soome <tsoome@ut.ee>.
...
Jeremy.
-
Jeremy Allison
86557d6336
Zero-fill struct hostent.
...
Jeremy.
-
Jeremy Allison
c38a465bef
Fixed glibc crash problems with libnss_wins.so
...
Jeremy.
-
Jeremy Allison
c6cd42a679
Check sizes of data entries in connections.tdb before deciding they're crecs...
...
We will need this when we use finer grained locking for max connections.
Jeremy.
-
Andrew Tridgell
b94cfb6843
make sure that when a tdb expands we fill the expanded area, otherwise ENOSPC could be very bad
-
Tim Potter
22b760e246
Fixed up SAM_USERINFO_CTR dynamic stuff in cmd_samr_query_user()
-
Tim Potter
34d5272400
Removed extraneous semicolons from some lp_ parameter definitions.
-
Tim Potter
03b1cab9a8
Memory leak fixes from insure.
-
Richard Sharpe
d090ae63ae
Updated the inplace documentation to reflect change from EUCLEAN to EINVAL.
-
Richard Sharpe
0bf2797b18
Change EUCLEAN to EINVAL, as some systems do not have EUCLEAN, and EINVAL
...
is a better return code anyway (I knew that :-)
-
Andrew Tridgell
8f8d7202cf
remember to close tdb after use
-
Andrew Tridgell
6bdbeb4a32
make the max_connections code less horrendously inefficient
...
- it didn't honour the clear flag
- it locked the database (not necessary)
the previous code would do 10^6 kill() operations for 1000 people
logging in - and all with the database locked. Not very scalable.
Still haven't added the counter, that would make it really efficient
-
Jeremy Allison
ef687a2f6b
Fix crash in smbcontrol Gerald pointed out when no parameter given to debug.
...
Jeremy.
-
Jeremy Allison
4306eff6f7
Stupidity by me..... 777 != 0777
...
ARGGGHHHHHHHHHH.
(Sorry).
Jeremy.
-
Jeremy Allison
6565b8c978
tdb_traverse returns number of records, not zero, on success.
...
Now tested max connections and it works again. Hurrah !
Jeremy.
-
Richard Sharpe
bf69d30b07
Make libsmbclient.so by default now.
...
Once we are happy with this in head, we will migrate it to 2.2.x.
-