1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-25 06:04:04 +03:00

12934 Commits

Author SHA1 Message Date
Andrew Bartlett
43da48650a r23035: We don't need to add this entry, and I hope to figure out how to avoid
adding the other two manually.

However, to do this we do need to skip the check (with -u) that
slaptest can access the db.

Andrew Bartlett
(This used to be commit ea206dce06d97c60868e44aab9281dcbbb393931)
2007-10-10 14:52:43 -05:00
Andrew Bartlett
4dbbf7fed3 r23034: Thanks to metze for providing some vital clues in the 'kerberos ccache
on credentials don't do anything' bug.

The problem was simple, we didn't set the ccache as having been
initialised, so we always created a new one.

Andrew Bartlett
(This used to be commit ec2014f08b0845bc8aa0e8e6713bc4b21f430811)
2007-10-10 14:52:43 -05:00
Stefan Metzmacher
1b67925851 r23033: regenerate schema.ldif with minischema.js
metze
(This used to be commit c9e017c00864d08ad6eb38092abd29810604e207)
2007-10-10 14:52:42 -05:00
Andrew Bartlett
d21bfc05ef r23032: Remove calls to println(), and ensure we print the ldb errstring().
Andrew Bartlett
(This used to be commit 5b6f704b24f7da40ce917fe8ed1a500684d1f3cd)
2007-10-10 14:52:42 -05:00
Andrew Tridgell
fcd4f22cd6 r23031: removed bogus event_loop_once() calls in RAW-CONTEXT test - they could
hang forever if an ealier one caused two operations to complete at
once

this is why RAW-CONTEXT was taking 5 minutes on the build farm
(This used to be commit eeba37e25cdcaefac4a252fb4305bddaba217826)
2007-10-10 14:52:42 -05:00
Andrew Tridgell
7bb939b1cb r23030: finally fixed up our asn1 code to use better memory allocation. This
should allow us to fix some long standing memory leaks.
(This used to be commit 3db49c2ec9968221c1361785b94061046ecd159d)
2007-10-10 14:52:42 -05:00
Andrew Tridgell
042ddf28ec r23029: fixed formatting
(This used to be commit 72ee4707725e9bbc9ab564315c7d78bdc564256f)
2007-10-10 14:52:41 -05:00
Andrew Bartlett
e0d4923c16 r23028: I've now got a patch to Fedora DS to make it only install the very base schema.
I'll post that patch into lorikeet and submit upstram.

Andrew Bartlett
(This used to be commit 90f2412152c4ef5781adca77fa570aed2f5ce5c1)
2007-10-10 14:52:41 -05:00
Andrew Bartlett
e40d9cbdc8 r23027: Make sure the parent object always exists.
Andrew Bartlett
(This used to be commit 55c7c0906ccb741ab002f460164ccbbe56b55a98)
2007-10-10 14:52:41 -05:00
Andrew Bartlett
246f94725a r23026: Add groupPolicyContainer, as we now require this schema element.
Andrew Bartlett
(This used to be commit 1c4d376d547df46cb036f088918562bd2493e087)
2007-10-10 14:52:41 -05:00
Andrew Tridgell
36d7186e72 r23021: test some boundary conditions for idtree, after I saw some suspicious
behaviour
(This used to be commit e862cf17b891885f3a733819869a06895c1fb324)
2007-10-10 14:52:40 -05:00
Andrew Tridgell
d3e28ccd48 r23020: a better fix for the memory leak - this one doesn't stuff up spnego :)
(This used to be commit 9a8da730a725fc9fc1a3e407273e688f44eadfe1)
2007-10-10 14:52:40 -05:00
Andrew Tridgell
b691b4ad3d r23019: revert r23018 - this will require more thought.
(This used to be commit df60df9678e5c45fad6c7f7cb53ba8d0ce6b7cf0)
2007-10-10 14:52:40 -05:00
Andrew Tridgell
a8716afce8 r23018: fixed a memory leak in our server side session setup code for failed
session setups
(This used to be commit a4e043e1f8f3cf1ab86e6dde501722b8050bbde4)
2007-10-10 14:52:39 -05:00
Andrew Tridgell
e3036006fe r23017: fixed the warning we have been getting for a long time:
pvfs_close: failed to delete XXX
during the BASE-DELETE test. It was a real bug, and could result in a
delete on close triggering for a handle that had never fully opened.
(This used to be commit 398c3724b4cd8c8073c8a77f8b0568d6b3ce1e7d)
2007-10-10 14:52:39 -05:00
Andrew Tridgell
d2872b42f3 r23013: fixed a bug in the string_replace_w() test that caused OpenBSD to die
(This used to be commit 1fe20a4555aac6f011eca98f138e125de0de4321)
2007-10-10 14:52:39 -05:00
Andrew Tridgell
7bdc1a8ec9 r23012: we need a POLICYGUID in provision
(This used to be commit b9f8650b20e5132410153f5b61a68dca5df548ff)
2007-10-10 14:52:39 -05:00
Andrew Tridgell
fdc0809b41 r23011: initialisation functions must return NTSTATUS, otherwise we get bus
errors on platforms like sparc. This is why sun1 died during
provision.
(This used to be commit ad6a672ec3cf077d419458e2f07ebe6d9a2b94b2)
2007-10-10 14:52:38 -05:00
Stefan Metzmacher
d3f30cab1e r22997: only if the output of which has a leading '/' the output is useful...
metze
(This used to be commit 34968bef6dc673374c6d017df87a99a60905d3b7)
2007-10-10 14:52:38 -05:00
Stefan Metzmacher
23026646e1 r22996: merge HPUX compiler flag fixes from SAMBA_3_0
metze
(This used to be commit 9a9376d902bd946e6613ff9d3c37b344dfd207cf)
2007-10-10 14:52:38 -05:00
Stefan Metzmacher
ac5cd254fa r22995: don't run LOCAL-ICONV twice...
metze
(This used to be commit 9aa328fbf6f78c02a1bdeeb125cdb27414c892c0)
2007-10-10 14:52:38 -05:00
Stefan Metzmacher
47e5c163d6 r22993: - make it possible to load a dsdb_schema from ldif via the ejs bindings
- make it possible to set ntds_objectGUID and ntds_invocationId via the ejy bindings

metze
(This used to be commit df7863ea1c964ec58feedd0bf72ef64456e3a3d1)
2007-10-10 14:52:37 -05:00
Stefan Metzmacher
d7e913d193 r22992: add a function to attach the dsdb_schema to a ldb_context
loaded from ldif files. The first file should contain
the info's about the 'prefixMap' attribute in the first ldif chunk.
The 2nd file should contain all attributes and classes.

metze
(This used to be commit 587f70e153f17bcb6695bed831d9cadf93522690)
2007-10-10 14:52:37 -05:00
Stefan Metzmacher
d863f65d93 r22991: ignore '@foo' attributes in the repl_meta_data module
metze
(This used to be commit b592ac1c2c91a72a8aae8ed11d74cba3ce0778c5)
2007-10-10 14:52:37 -05:00
Stefan Metzmacher
9b4a689c98 r22990: free temporary memory also on success...
metze
(This used to be commit 876a6ef4857a73987d1eba127161993cf07a613b)
2007-10-10 14:52:37 -05:00
Stefan Metzmacher
fe1d56dd3b r22989: allow '@foo' attributes searchable as we allow '@foo' attributes
in all other places too...

metze
(This used to be commit 4e32aafb9ebdcc70966aaa2e3891ec9a0959535d)
2007-10-10 14:52:36 -05:00
Andrew Tridgell
2ad24b9ba1 r22988: fixed 2 bugs in our unsetenv() replacement code
1) you must not free the memory, as it is possible the memory did not
 come from malloc (try it under valgrind to test)

 2) the old code didn't cope with duplicate environment variables

I hope this will fix some of the build farm errors on irix, and maybe solaris
(This used to be commit ec6900171d066e927f004b621fb39cc7b8dcfd90)
2007-10-10 14:52:36 -05:00
Andrew Bartlett
fe0b8a5df4 r22987: Clarify how the events are handled in the kerberos code, and
standardise with the rest of the code.

Andrew Bartlett
(This used to be commit 3aa9d70723d4377d29e33281b640499193b06c69)
2007-10-10 14:52:36 -05:00
Ronnie Sahlberg
a777eb0cfa r22986: error 2312 is returned when NetSessDel() fails because a matching session (username/clientname)
could not be found
(This used to be commit e2b46d280db114656e18f023a9efa939b5c893d5)
2007-10-10 14:52:36 -05:00
Andrew Tridgell
cd509a6237 r22985: don't do checkins late at night ....
thanks to Volker for spotting this!
(This used to be commit d28fc5f87fd4d9a9843d1295fe2a181922a476fc)
2007-10-10 14:52:35 -05:00
Andrew Tridgell
4f9977aaba r22984: not everyone uses tridgell.net (fortunately)
(This used to be commit f60817d7970ab449ac327f4da312f10350b9636f)
2007-10-10 14:52:35 -05:00
Andrew Bartlett
df5f675d2a r22983: This should ensure that torture_create_testuser() can be called,
without needing to change the user's password afterwoulds.

(Accounts were being created with 'must change at next login' set).

Andrew Bartlett
(This used to be commit 7b94f2f6dbb7780fb12c8fad5e2ea6e07e72b24e)
2007-10-10 14:52:35 -05:00
Andrew Tridgell
c0aa1f0d9e r22972: added the basic ldif needed to support group policies in Samba4. WinXP
clients do correctly see our group policies, but the gpmc admin tool
doesn't yet work to allow you to edit the policies
(This used to be commit 4c6e01a585f59caf7d2d87833f5eedc018ed8acc)
2007-10-10 14:52:34 -05:00
Andrew Tridgell
907b98f33f r22971: fix build on systems without epoll
(This used to be commit 146303d91b4c64c87c356c3ed44ccb5774297a71)
2007-10-10 14:52:34 -05:00
Andrew Tridgell
4c20e077a1 r22970: the events code calls close(), which needs to use socket_wrapper.h in
the build farm
(This used to be commit 603d8b6f1702d10234b81ccde0649d8be63ae616)
2007-10-10 14:52:34 -05:00
Andrew Tridgell
c42219d735 r22969: fix some more places where we could end up with more than one event
context. We now have an event context on the torture_context, and we
can also get one from the cli_credentials structure
(This used to be commit c0f65eb6562e13530337c23e3447a6aa6eb8fc17)
2007-10-10 14:52:34 -05:00
Andrew Tridgell
ad1cde253e r22968: andrew bartlett pointed out that the parent process could add a fd to
the epoll context which would then appear in the children. To fix this
we need to check for pid changes in more places. Luckily on platforms
where we have epoll(), getpid() is very very cheap.
(This used to be commit 4f84e6d569f9c9d7dd902f4550735f3ce2d3b424)
2007-10-10 14:52:33 -05:00
Andrew Bartlett
b5ae9019b0 r22967: Move to the TCP packet interface for the krb5_send_to_kdc plugin.
This replaces a lump of hand-crafted code with the generic packet
system used in the rest of Samba4.

(I started this while chasing down the epoll bug, which turned out to
be seperate)
(This used to be commit 2a7dec4e5dc453f509493f80fc1270416f30a36e)
2007-10-10 14:52:33 -05:00
Andrew Bartlett
1a7b251319 r22966: Make sure to return LOGON_FAILURE if the user's kerberos password is
incorrect.

Andrew Bartlett
(This used to be commit 9dc6f36e43170bc5bf4f94d893b5a3689460d237)
2007-10-10 14:52:33 -05:00
Andrew Tridgell
da9b4626bc r22965: changed RAW-LOCK-BENCH to remove the scheduling uncertainty. We should
always get balanced locking now
(This used to be commit 4e6df7b9b1938b91a904ab061c36d65b169f93a8)
2007-10-10 14:52:33 -05:00
Andrew Tridgell
878f69468d r22964: log an error on epoll_create failing on reopen
(This used to be commit a69f28599845d3ea3868a574c6b0ba8db8486ef5)
2007-10-10 14:52:32 -05:00
Andrew Tridgell
b6e64bad55 r22963: fixed the epoll/fork interaction in the epoll and aio backends
(This used to be commit aeca07659aa612bee0c4dd6bdbb24c799e912909)
2007-10-10 14:52:32 -05:00
Andrew Tridgell
e9eb862dc0 r22962: show progress separately for each client in RAW-BENCH-LOCK, this is
much more useful for seeing why we get unbalanced locking
(This used to be commit 1f1f57023b6d7d7d4938803e57f30e485ccba719)
2007-10-10 14:52:32 -05:00
Andrew Tridgell
2741921a50 r22961: use EVENT_FD_AUTOCLOSE and SOCKET_FLAG_NOCLOSE to fix up some hairy
problems with order of socket closing in krb5
(This used to be commit 46a7d83c2b49798c6c5389c13ec2b9785c47b85b)
2007-10-10 14:52:32 -05:00
Andrew Tridgell
59d1a2b30e r22960: added a SOCKET_FLAG_NOCLOSE to allow us to tell the socket layer that
we will handle the close of the socket
(This used to be commit d57aaf5ba60464e5e782353a0879a84f8c70dd32)
2007-10-10 14:52:31 -05:00
Andrew Tridgell
87379e0d58 r22959: cope with a rather interesting interaction between epoll() and
fork(). See
http://junkcode.samba.org/ftp/unpacked/junkcode/epoll_fork.c for why
this is needed
(This used to be commit 6d06132ea9c5a1c7d098ba13f4146dc60e811e44)
2007-10-10 14:52:31 -05:00
Ronnie Sahlberg
402218516a r22958: For SRVSVC/NetFileClose only Administrator is allowed to close open files.
If a normal user tries to close a file that exists, even that users own files   the server
responds with this error on w2k

if the file does not exist, the server instead responds with WERR_BADFILE
(This used to be commit c17df8bed66d70765b85b6e04f2ad0a57073ffb4)
2007-10-10 14:52:31 -05:00
James Peach
66cc0b1e21 r22952: Make sure we look at extra_cflags when building custom targets.
(This used to be commit 2d990cd37410cec03fa96767b0cf84d7c17ca9c4)
2007-10-10 14:52:31 -05:00
Stefan Metzmacher
40cd2d7780 r22944: fix bug #4618:
rename private -> private_data

metze
(This used to be commit 58551f2f28fce8f1fcd04736c47ecd7458f32ea2)
2007-10-10 14:52:30 -05:00
Michael Adam
3e5335063a r22931: Fix logic in detection of the need to replace dlopen and friends.
Originally, dlfcn.o was only added to LIBREPLACEOBJ if dlopen
was found in libdl but header dlfcn.h was not appropriate.

Michael
(This used to be commit 7afa8d2a4707e999a380e747ccaae1de53a00251)
2007-10-10 14:52:30 -05:00