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

15678 Commits

Author SHA1 Message Date
Andrew Bartlett
d5a71ed633 Remove old js versions of newuser and provision.
Andrew Bartlett
(This used to be commit 861a85985d)
2008-03-26 15:42:20 +11:00
Andrew Bartlett
ff8256ad6c 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
(This used to be commit ba30e82d4e)
2008-03-26 15:18:17 +11:00
Andrew Bartlett
5738491674 Remove pointless cast
(This used to be commit 9a1466abbd)
2008-03-25 16:36:13 +11:00
Andrew Bartlett
dc49ae599e Remove useless extra argument to samdb_result_account_expires().
Andrew Bartlett
(This used to be commit bc607c334f)
2008-03-25 15:25:13 +11:00
Andrew Bartlett
2d08a03c50 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
(This used to be commit 3903ef9168)
2008-03-25 10:29:35 +11:00
Volker Lendecke
482f33077b 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.
(This used to be commit 8d44f997c8)
2008-03-21 10:36:58 +01:00
Volker Lendecke
ce98599c14 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.
(This used to be commit 16b4a3685b)
2008-03-20 23:17:44 +01:00
Volker Lendecke
21c7afd9b0 Add the workstation to the anon sessetup credentials
Without this patch the RPC-SAMBA3SESSIONKEY against W2k3 gives
INVALID_PARAMETER for the anonymous session setup
(This used to be commit eb459be878)
2008-03-20 23:17:37 +01:00
Volker Lendecke
1c9fe1157c Fix a warning
Without this patch I get
./libcli/security/proto.h:45: warning: 'struct auth_session_info' declared inside parameter list
(This used to be commit 078a6fdb3f)
2008-03-20 23:15:46 +01:00
Andrew Bartlett
89870f2d9a Explain why this attribute should be skipped.
Andrew Bartlett
(This used to be commit 7503f93f2f)
2008-03-20 15:14:49 +11:00
Andrew Bartlett
21507f3b7d Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
(This used to be commit 7c4356084a)
2008-03-20 13:25:05 +11:00
Andrew Bartlett
9a1bec0801 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
(This used to be commit 2f2b110fb8)
2008-03-20 12:12:10 +11:00
Kai Blin
028ba4682c ntlm_auth: Improve compliance to the Squid helper protocol.
This fixes bug #4235 for Samba4.
(This used to be commit b6bb762105)
2008-03-20 00:44:29 +01:00
Andrew Bartlett
3cdf0c64dd Extend the ldap.js test to prove faults with the LDAP backend.
Try to provide more information to see why OpenLDAP isn't quite up to
being a Samba4 Backend.

Andrew Bartlett
(This used to be commit 89458c7d8b)
2008-03-19 12:12:24 +11:00
Andrew Bartlett
79a25a648d Indent
Andrew Bartlett
(This used to be commit d2b5f40d80)
2008-03-19 12:06:37 +11:00
Andrew Bartlett
a08e951eb8 Remove unused variable.
(This used to be commit 1de21f5fdd)
2008-03-19 11:15:04 +11:00
Andrew Bartlett
5af56a613c 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
(This used to be commit 8d4c831184)
2008-03-19 11:11:55 +11:00
Andrew Bartlett
576540b25c Supply HDB_DB_DIR macro
While we don't use the default HDB directories, the code needs this
macro defined.

Andrew Bartlett
(This used to be commit b5dbdef158)
2008-03-19 11:10:19 +11:00
Andrew Bartlett
aaf62085dd Merge branch 'v4-0-logon' of git://git.id10ts.net/samba into 4-0-local
(This used to be commit 8252b51850)
2008-03-19 11:04:42 +11:00
Andrew Bartlett
b1b37e3776 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
(This used to be commit 400c16e700)
2008-03-19 10:18:35 +11:00
Andrew Bartlett
9e6b0c2871 Merge lorikeet-heimdal -r 787 into Samba4 tree.
Andrew Bartlett
(This used to be commit d88b530522)
2008-03-19 10:17:42 +11:00
Stefan Metzmacher
52669d8472 lib/util: use LIBREPLACE_NETWORK as EXT_NSL doesn't exist anymore
metze
(This used to be commit b7dad8674a)
2008-03-18 18:04:23 +01:00
Stefan Metzmacher
96197fa871 libndr: EXT_NSL doesn't exist anymore, but it wasn't needed anyway
metze
(This used to be commit 33347928e1)
2008-03-18 18:04:23 +01:00
Stefan Metzmacher
d46636950d socket_wrapper: use LIBREPLACE_NETWORK because EXT_SOCKET and EXT_NSL doesn't exist anymore
metze
(This used to be commit 1dd8e37756)
2008-03-18 18:04:22 +01:00
Stefan Metzmacher
0372704fa2 heimdal_build: use LIBREPLACE_NETWORK because EXT_SOCKET and EXT_NSL doesn't exist anymore
metze
(This used to be commit 0fb3d24621)
2008-03-18 18:04:22 +01:00
Michael Adam
a310b0b843 libreplace: replace.c does not need system/network.h anymore.
Michael
(This used to be commit 2d3c2f34f3)
2008-03-18 17:50:23 +01:00
Michael Adam
124f82efe1 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
(This used to be commit 94ac8a25be)
2008-03-18 17:21:18 +01:00
Stefan Metzmacher
7d336254ce ldb: not every shell supports '==' so use '='
metze
(This used to be commit b5eeaf9b27)
2008-03-18 16:53:21 +01:00
Gerald W. Carter
1268be9f88 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)
(This used to be commit 5757d8dfe9)
2008-03-18 16:40:46 +01:00
Volker Lendecke
6f6d38d24a Fix Coverity ID 554
(cherry picked from commit 471b1b0c58)
(This used to be commit effda48a26)
2008-03-18 16:40:46 +01:00
Volker Lendecke
7fb3963032 Check the return value of fgets
(cherry picked from commit b8aaa9a69f)
(This used to be commit 8f58d39c0c)
2008-03-18 16:40:46 +01:00
Michael Adam
4d16e17e04 libreplace: remove duplicate entry of inet_ntoa from README.
Michael
(This used to be commit 98ee8c8430)
2008-03-18 16:31:15 +01:00
Michael Adam
4500b95c89 libreplace: remove trailing white spaces.
Michael
(This used to be commit 1f9ca7eed9)
2008-03-18 16:30:15 +01:00
Michael Adam
87b48a8126 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
(This used to be commit 974c0c45ad)
2008-03-18 16:30:15 +01:00
Michael Adam
58dfb0ff3c libreplace: put inet_aton.c under LGPL instead of GPL.
Michael
(This used to be commit cca5d6626f)
2008-03-18 16:10:47 +01:00
Michael Adam
195853464a smbtorture: fix typos in RAW-OPLOCK output.
Michael
(This used to be commit 9fa4b53b61)
2008-03-18 16:10:46 +01:00
Stefan Metzmacher
7a5438ae11 libreplace: remove unused SOCKET_LIBS and NSL_LIBS
metze
(This used to be commit 62bb177a6e)
2008-03-18 15:59:23 +01:00
Stefan Metzmacher
7b412ccade lib/socket: use LIBREPLACE_NETWORK instead of EXT_SOCKET and EXT_NSL
The configure checks are also in libreplace now.

metze
(This used to be commit 07e931a77f)
2008-03-18 15:59:22 +01:00
Stefan Metzmacher
23c35481fa libreplace: for samba4 create LIBREPLACE_NETWORK as EXT_LIB
metze
(This used to be commit 79037c3133)
2008-03-18 15:59:22 +01:00
Stefan Metzmacher
1ef171f6e0 libreplace: use LIBREPLACE_NETWORK_LIBS within some configure checks
...instead of using SOCKET_LIBS and NSL_LIBS.

metze
(This used to be commit cef2e8d748)
2008-03-18 15:59:22 +01:00
Stefan Metzmacher
cbc5e58b8f libreplace: combine SOCKET_LIBS and NSL_LIBS to LIBREPLACE_NETWORK_LIBS
But keep the old ones untill the callers are fixed.

metze
(This used to be commit e7115dcc8a)
2008-03-18 15:59:22 +01:00
Stefan Metzmacher
d53467b9af ldb: remove configure with 'make realdistclean'
configure.in doesn't exist at all...

metze
(This used to be commit ca414d4e9e)
2008-03-18 15:59:21 +01:00
Stefan Metzmacher
7bf6895b67 ldb: nothing uses "system/network.h" so don't include it
metze
(This used to be commit 087667e0cd)
2008-03-18 15:59:21 +01:00
Stefan Metzmacher
92f6333535 ldb: fix the standalone build
metze
(This used to be commit 91b49365ab)
2008-03-18 15:59:21 +01:00
Stefan Metzmacher
5b35e55130 selftest: fix parsing of Subunit results
This reverts parts of
903eb9a23d
and
9196213c49.

metze
(This used to be commit 5f5fa368c2)
2008-03-18 15:59:21 +01:00
Volker Lendecke
3b63333cf2 Allocate one 0-byte in asprintf replacement when len==0
Some S3 code depends on this.
(cherry picked from commit dc3d5e1645)
(This used to be commit 842d144b4f)
2008-03-18 13:48:21 +01:00
Stefan Metzmacher
297399d877 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
(This used to be commit 903eb9a23d)
2008-03-18 13:16:44 +01:00
Kai Blin
a1875b039b idmap: Map SIDs to unixids instead of uids/gids
(This used to be commit 73ac7c4a1c)
2008-03-18 10:55:31 +01:00
Kai Blin
3dddbb5e26 make: Fix make valgrindtest-env
(This used to be commit f56912e3b5)
2008-03-18 10:54:28 +01:00
Stefan Metzmacher
3530099cf2 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
(This used to be commit 3f2d12c61e)
2008-03-17 16:06:07 +01:00