Andrew Bartlett
861a85985d
Remove old js versions of newuser and provision.
...
Andrew Bartlett
2008-03-26 15:42:20 +11:00
Andrew Bartlett
ba30e82d4e
Clean up the ldb python bindings to be 64 bit safe.
...
Thanks in particular to arkanes and KirkMcDonald on #python for their
assistance, suggesting breaking the DN check.
I eventually found it while trying to cut down on the number of gcc
warnings, which is why we also add printf annotations.
Andrew Bartlett
2008-03-26 15:18:17 +11:00
Andrew Bartlett
9a1466abbd
Remove pointless cast
2008-03-25 16:36:13 +11:00
Andrew Bartlett
bc607c334f
Remove useless extra argument to samdb_result_account_expires().
...
Andrew Bartlett
2008-03-25 15:25:13 +11:00
Andrew Bartlett
3903ef9168
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
2008-03-25 10:29:35 +11:00
Volker Lendecke
8d44f997c8
Add my copyright
...
If I remember it right and when I look at the git log, then this way to do the
async functions was designed by me.
2008-03-21 10:36:58 +01:00
Volker Lendecke
16b4a3685b
Prove that a setuserinfo level 25 does set the pwdlastset field
...
Very likely this is not the full story, but as it happens so often this proof
is needed to fix a direct s3 bug.
2008-03-20 23:17:44 +01:00
Volker Lendecke
eb459be878
Add the workstation to the anon sessetup credentials
...
Without this patch the RPC-SAMBA3SESSIONKEY against W2k3 gives
INVALID_PARAMETER for the anonymous session setup
2008-03-20 23:17:37 +01:00
Volker Lendecke
078a6fdb3f
Fix a warning
...
Without this patch I get
./libcli/security/proto.h:45: warning: 'struct auth_session_info' declared inside parameter list
2008-03-20 23:15:46 +01:00
Andrew Bartlett
7503f93f2f
Explain why this attribute should be skipped.
...
Andrew Bartlett
2008-03-20 15:14:49 +11:00
Andrew Bartlett
7c4356084a
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
2008-03-20 13:25:05 +11:00
Andrew Bartlett
2f2b110fb8
More kludge ACLs!
...
Rather than killing off the nasty 'kludge ACLs' stuff, this patch
extends it, to ensure that LSA secrets and the registry are also
protected.
Andrew Bartlett
2008-03-20 12:12:10 +11:00
Kai Blin
b6bb762105
ntlm_auth: Improve compliance to the Squid helper protocol.
...
This fixes bug #4235 for Samba4.
2008-03-20 00:44:29 +01:00
Andrew Bartlett
d2b5f40d80
Indent
...
Andrew Bartlett
2008-03-19 12:06:37 +11:00
Andrew Bartlett
1de21f5fdd
Remove unused variable.
2008-03-19 11:15:04 +11:00
Andrew Bartlett
8d4c831184
More safety around ldb_dn C functions in python bindings.
...
Ensure that the ldb python binding 'TypeError dn not set' errors are
not in the SWIG wrapper's use of ldb functions, put some more error
checks in.
Andrew Bartlett
2008-03-19 11:11:55 +11:00
Andrew Bartlett
b5dbdef158
Supply HDB_DB_DIR macro
...
While we don't use the default HDB directories, the code needs this
macro defined.
Andrew Bartlett
2008-03-19 11:10:19 +11:00
Andrew Bartlett
8252b51850
Merge branch 'v4-0-logon' of git://git.id10ts.net/samba into 4-0-local
2008-03-19 11:04:42 +11:00
Andrew Bartlett
400c16e700
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
2008-03-19 10:18:35 +11:00
Andrew Bartlett
d88b530522
Merge lorikeet-heimdal -r 787 into Samba4 tree.
...
Andrew Bartlett
2008-03-19 10:17:42 +11:00
Stefan Metzmacher
b7dad8674a
lib/util: use LIBREPLACE_NETWORK as EXT_NSL doesn't exist anymore
...
metze
2008-03-18 18:04:23 +01:00
Stefan Metzmacher
33347928e1
libndr: EXT_NSL doesn't exist anymore, but it wasn't needed anyway
...
metze
2008-03-18 18:04:23 +01:00
Stefan Metzmacher
1dd8e37756
socket_wrapper: use LIBREPLACE_NETWORK because EXT_SOCKET and EXT_NSL doesn't exist anymore
...
metze
2008-03-18 18:04:22 +01:00
Stefan Metzmacher
0fb3d24621
heimdal_build: use LIBREPLACE_NETWORK because EXT_SOCKET and EXT_NSL doesn't exist anymore
...
metze
2008-03-18 18:04:22 +01:00
Michael Adam
2d3c2f34f3
libreplace: replace.c does not need system/network.h anymore.
...
Michael
2008-03-18 17:50:23 +01:00
Michael Adam
94ac8a25be
libreplace: move rep_socketpair() to its own module.
...
Prototype is now in system/network.h,
implementation in socketpair.c, and
check in socketpair.m4.
Now the last networking function has vanished from replace.c.
Michael
2008-03-18 17:21:18 +01:00
Stefan Metzmacher
b5eeaf9b27
ldb: not every shell supports '==' so use '='
...
metze
2008-03-18 16:53:21 +01:00
Gerald W. Carter
5757d8dfe9
Fix macro name (no 's' in ifr_addr).
...
Interface detection on Solaris still failing due to items pointed out here:
http://lists.samba.org/archive/samba-technical/2007-November/056701.html
(cherry picked from commit 37c87acc9d
)
2008-03-18 16:40:46 +01:00
Volker Lendecke
effda48a26
Fix Coverity ID 554
...
(cherry picked from commit 471b1b0c58
)
2008-03-18 16:40:46 +01:00
Volker Lendecke
8f58d39c0c
Check the return value of fgets
...
(cherry picked from commit b8aaa9a69f
)
2008-03-18 16:40:46 +01:00
Michael Adam
98ee8c8430
libreplace: remove duplicate entry of inet_ntoa from README.
...
Michael
2008-03-18 16:31:15 +01:00
Michael Adam
1f9ca7eed9
libreplace: remove trailing white spaces.
...
Michael
2008-03-18 16:30:15 +01:00
Michael Adam
974c0c45ad
libreplace: replace inet_ntoa() when it is missing
...
...not only replace it when it is broken.
This moves the defintion of rep_inet_ntoa from replace.c
to inet_ntoa.c and adds configure checks for existence
of inet_ntoa(). Checks are moved to an include file of its own.
NOTE: The original rep_inet_ntoa in replace.c was wrapped
into a "#ifndef WITH_PTHREADS" but the prototype in replace.h
and the define in system/network.h were not. I removed that
ifndef since the inet_ntoa() function is usually not thread safe
anyways, since it returns a pointer to a static buffer.
So whoever calls inet_ntoa() should be aware that it is not
thread safe anyways.
Michael
2008-03-18 16:30:15 +01:00
Michael Adam
cca5d6626f
libreplace: put inet_aton.c under LGPL instead of GPL.
...
Michael
2008-03-18 16:10:47 +01:00
Michael Adam
9fa4b53b61
smbtorture: fix typos in RAW-OPLOCK output.
...
Michael
2008-03-18 16:10:46 +01:00
Stefan Metzmacher
62bb177a6e
libreplace: remove unused SOCKET_LIBS and NSL_LIBS
...
metze
2008-03-18 15:59:23 +01:00
Stefan Metzmacher
07e931a77f
lib/socket: use LIBREPLACE_NETWORK instead of EXT_SOCKET and EXT_NSL
...
The configure checks are also in libreplace now.
metze
2008-03-18 15:59:22 +01:00
Stefan Metzmacher
79037c3133
libreplace: for samba4 create LIBREPLACE_NETWORK as EXT_LIB
...
metze
2008-03-18 15:59:22 +01:00
Stefan Metzmacher
cef2e8d748
libreplace: use LIBREPLACE_NETWORK_LIBS within some configure checks
...
...instead of using SOCKET_LIBS and NSL_LIBS.
metze
2008-03-18 15:59:22 +01:00
Stefan Metzmacher
e7115dcc8a
libreplace: combine SOCKET_LIBS and NSL_LIBS to LIBREPLACE_NETWORK_LIBS
...
But keep the old ones untill the callers are fixed.
metze
2008-03-18 15:59:22 +01:00
Stefan Metzmacher
ca414d4e9e
ldb: remove configure with 'make realdistclean'
...
configure.in doesn't exist at all...
metze
2008-03-18 15:59:21 +01:00
Stefan Metzmacher
087667e0cd
ldb: nothing uses "system/network.h" so don't include it
...
metze
2008-03-18 15:59:21 +01:00
Stefan Metzmacher
91b49365ab
ldb: fix the standalone build
...
metze
2008-03-18 15:59:21 +01:00
Stefan Metzmacher
5f5fa368c2
selftest: fix parsing of Subunit results
...
This reverts parts of
903eb9a23d
and
9196213c49
.
metze
2008-03-18 15:59:21 +01:00
Volker Lendecke
842d144b4f
Allocate one 0-byte in asprintf replacement when len==0
...
Some S3 code depends on this.
(cherry picked from commit dc3d5e1645
)
2008-03-18 13:48:21 +01:00
Stefan Metzmacher
903eb9a23d
selftest: use a separate var for printing out sub parts of lines with \r
...
This restores the bahavior of the $_ variable in the code
that detects expected failures.
metze
2008-03-18 13:16:44 +01:00
Kai Blin
73ac7c4a1c
idmap: Map SIDs to unixids instead of uids/gids
2008-03-18 10:55:31 +01:00
Kai Blin
f56912e3b5
make: Fix make valgrindtest-env
2008-03-18 10:54:28 +01:00
Stefan Metzmacher
3f2d12c61e
RAW-BENCH-OPEN: avoid sync calls before the main loop
...
On multi cpu machines the server may reply to the
first requests while the test is still in setup mode.
Now we setup the first opens, but send them all together
when entering the main loop.
metze
2008-03-17 16:06:07 +01:00
Stefan Metzmacher
c84e3abae9
RAW-BENCH-OPEN: fix the output and calculate the total operations
...
metze
2008-03-17 15:50:54 +01:00