1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-20 08:23:50 +03:00
Commit Graph

12381 Commits

Author SHA1 Message Date
Andrew Tridgell
9a8da730a7 r23020: a better fix for the memory leak - this one doesn't stuff up spnego :) 2007-10-10 14:52:40 -05:00
Andrew Tridgell
df60df9678 r23019: revert r23018 - this will require more thought. 2007-10-10 14:52:40 -05:00
Andrew Tridgell
a4e043e1f8 r23018: fixed a memory leak in our server side session setup code for failed
session setups
2007-10-10 14:52:39 -05:00
Andrew Tridgell
398c3724b4 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.
2007-10-10 14:52:39 -05:00
Andrew Tridgell
1fe20a4555 r23013: fixed a bug in the string_replace_w() test that caused OpenBSD to die 2007-10-10 14:52:39 -05:00
Andrew Tridgell
b9f8650b20 r23012: we need a POLICYGUID in provision 2007-10-10 14:52:39 -05:00
Andrew Tridgell
ad6a672ec3 r23011: initialisation functions must return NTSTATUS, otherwise we get bus
errors on platforms like sparc. This is why sun1 died during
provision.
2007-10-10 14:52:38 -05:00
Stefan Metzmacher
34968bef6d r22997: only if the output of which has a leading '/' the output is useful...
metze
2007-10-10 14:52:38 -05:00
Stefan Metzmacher
9a9376d902 r22996: merge HPUX compiler flag fixes from SAMBA_3_0
metze
2007-10-10 14:52:38 -05:00
Stefan Metzmacher
9aa328fbf6 r22995: don't run LOCAL-ICONV twice...
metze
2007-10-10 14:52:38 -05:00
Stefan Metzmacher
df7863ea1c 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
2007-10-10 14:52:37 -05:00
Stefan Metzmacher
587f70e153 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
2007-10-10 14:52:37 -05:00
Stefan Metzmacher
b592ac1c2c r22991: ignore '@foo' attributes in the repl_meta_data module
metze
2007-10-10 14:52:37 -05:00
Stefan Metzmacher
876a6ef485 r22990: free temporary memory also on success...
metze
2007-10-10 14:52:37 -05:00
Stefan Metzmacher
4e32aafb9e r22989: allow '@foo' attributes searchable as we allow '@foo' attributes
in all other places too...

metze
2007-10-10 14:52:36 -05:00
Andrew Tridgell
ec6900171d 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
2007-10-10 14:52:36 -05:00
Andrew Bartlett
3aa9d70723 r22987: Clarify how the events are handled in the kerberos code, and
standardise with the rest of the code.

Andrew Bartlett
2007-10-10 14:52:36 -05:00
Ronnie Sahlberg
e2b46d280d r22986: error 2312 is returned when NetSessDel() fails because a matching session (username/clientname)
could not be found
2007-10-10 14:52:36 -05:00
Andrew Tridgell
d28fc5f87f r22985: don't do checkins late at night ....
thanks to Volker for spotting this!
2007-10-10 14:52:35 -05:00
Andrew Tridgell
f60817d797 r22984: not everyone uses tridgell.net (fortunately) 2007-10-10 14:52:35 -05:00
Andrew Bartlett
7b94f2f6db 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
2007-10-10 14:52:35 -05:00
Andrew Tridgell
4c6e01a585 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
2007-10-10 14:52:34 -05:00
Andrew Tridgell
146303d91b r22971: fix build on systems without epoll 2007-10-10 14:52:34 -05:00
Andrew Tridgell
603d8b6f17 r22970: the events code calls close(), which needs to use socket_wrapper.h in
the build farm
2007-10-10 14:52:34 -05:00
Andrew Tridgell
c0f65eb656 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
2007-10-10 14:52:34 -05:00
Andrew Tridgell
4f84e6d569 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.
2007-10-10 14:52:33 -05:00
Andrew Bartlett
2a7dec4e5d 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)
2007-10-10 14:52:33 -05:00
Andrew Bartlett
9dc6f36e43 r22966: Make sure to return LOGON_FAILURE if the user's kerberos password is
incorrect.

Andrew Bartlett
2007-10-10 14:52:33 -05:00
Andrew Tridgell
4e6df7b9b1 r22965: changed RAW-LOCK-BENCH to remove the scheduling uncertainty. We should
always get balanced locking now
2007-10-10 14:52:33 -05:00
Andrew Tridgell
a69f285998 r22964: log an error on epoll_create failing on reopen 2007-10-10 14:52:32 -05:00
Andrew Tridgell
aeca07659a r22963: fixed the epoll/fork interaction in the epoll and aio backends 2007-10-10 14:52:32 -05:00
Andrew Tridgell
1f1f57023b r22962: show progress separately for each client in RAW-BENCH-LOCK, this is
much more useful for seeing why we get unbalanced locking
2007-10-10 14:52:32 -05:00
Andrew Tridgell
46a7d83c2b r22961: use EVENT_FD_AUTOCLOSE and SOCKET_FLAG_NOCLOSE to fix up some hairy
problems with order of socket closing in krb5
2007-10-10 14:52:32 -05:00
Andrew Tridgell
d57aaf5ba6 r22960: added a SOCKET_FLAG_NOCLOSE to allow us to tell the socket layer that
we will handle the close of the socket
2007-10-10 14:52:31 -05:00
Andrew Tridgell
6d06132ea9 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
2007-10-10 14:52:31 -05:00
Ronnie Sahlberg
c17df8bed6 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
2007-10-10 14:52:31 -05:00
James Peach
2d990cd374 r22952: Make sure we look at extra_cflags when building custom targets. 2007-10-10 14:52:31 -05:00
Stefan Metzmacher
58551f2f28 r22944: fix bug #4618:
rename private -> private_data

metze
2007-10-10 14:52:30 -05:00
Michael Adam
7afa8d2a47 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
2007-10-10 14:52:30 -05:00
Andrew Bartlett
a258455e75 r22921: This index saves another 7 seconds off a 'make quicktest', and is a common search operator.
Andrew Bartlett
2007-10-10 14:52:30 -05:00
Stefan Metzmacher
3a7a30ab1c r22913: try to work arround the unaligned memory access bug on Tru64
metze
2007-10-10 14:52:30 -05:00
Stefan Metzmacher
b8994c3d1c r22896: we pass SMB2-LOCK now
metze
2007-10-10 14:52:30 -05:00
Stefan Metzmacher
503644a5e3 r22894: don't send a 2nd request before the last one returned (at least with
STATUS_PENDING) otherwise longhorn beta3 just drops the connection

metze
2007-10-10 14:52:29 -05:00
Andrew Tridgell
45d668d19f r22887: and servicePrincipalName .... 2007-10-10 14:52:29 -05:00
Volker Lendecke
0c7a518b2d r22886: Workaround to make RAW-NOTIFY a bit more reliable against Samba3. It
might take a bit for events to propagate from one to another connection,
in particular with a process per connection.
2007-10-10 14:52:29 -05:00
Andrew Tridgell
600d39e0ba r22885: now we use kernberos more, we need to index on userPrincipalName 2007-10-10 14:52:29 -05:00
Andrew Bartlett
7b086eebd6 r22884: Be consistant with the case of these constants.
Andrew Bartlett
2007-10-10 14:52:28 -05:00
Andrew Bartlett
7548da913d r22883: Indentation. 2007-10-10 14:52:28 -05:00
Andrew Bartlett
3947db3dcb r22882: It seems entirly reasonable to follow metze's suggestion and check for
a valid file handle first.

Andrew Bartlett
2007-10-10 14:52:28 -05:00
Andrew Tridgell
42f6c5106e r22881: show number of connected clients 2007-10-10 14:52:28 -05:00