1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
Commit Graph

13061 Commits

Author SHA1 Message Date
Stefan Metzmacher
d863f65d93 r22991: ignore '@foo' attributes in the repl_meta_data module
metze
(This used to be commit b592ac1c2c)
2007-10-10 14:52:37 -05:00
Stefan Metzmacher
9b4a689c98 r22990: free temporary memory also on success...
metze
(This used to be commit 876a6ef485)
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 4e32aafb9e)
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 ec6900171d)
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 3aa9d70723)
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 e2b46d280d)
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 d28fc5f87f)
2007-10-10 14:52:35 -05:00
Andrew Tridgell
4f9977aaba r22984: not everyone uses tridgell.net (fortunately)
(This used to be commit f60817d797)
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 7b94f2f6db)
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 4c6e01a585)
2007-10-10 14:52:34 -05:00
Andrew Tridgell
907b98f33f r22971: fix build on systems without epoll
(This used to be commit 146303d91b)
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 603d8b6f17)
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 c0f65eb656)
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 4f84e6d569)
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 2a7dec4e5d)
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 9dc6f36e43)
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 4e6df7b9b1)
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 a69f285998)
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 aeca07659a)
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 1f1f57023b)
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 46a7d83c2b)
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 d57aaf5ba6)
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 6d06132ea9)
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 c17df8bed6)
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 2d990cd374)
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 58551f2f28)
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 7afa8d2a47)
2007-10-10 14:52:30 -05:00
Andrew Bartlett
5ca5e6bdf9 r22921: This index saves another 7 seconds off a 'make quicktest', and is a common search operator.
Andrew Bartlett
(This used to be commit a258455e75)
2007-10-10 14:52:30 -05:00
Stefan Metzmacher
283aeb2a37 r22913: try to work arround the unaligned memory access bug on Tru64
metze
(This used to be commit 3a7a30ab1c)
2007-10-10 14:52:30 -05:00
Stefan Metzmacher
976d97f403 r22896: we pass SMB2-LOCK now
metze
(This used to be commit b8994c3d1c)
2007-10-10 14:52:30 -05:00
Stefan Metzmacher
d15e4d30e6 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
(This used to be commit 503644a5e3)
2007-10-10 14:52:29 -05:00
Andrew Tridgell
e9dcc9a3da r22887: and servicePrincipalName ....
(This used to be commit 45d668d19f)
2007-10-10 14:52:29 -05:00
Volker Lendecke
e1e759585e 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.
(This used to be commit 0c7a518b2d)
2007-10-10 14:52:29 -05:00
Andrew Tridgell
71cbc569cb r22885: now we use kernberos more, we need to index on userPrincipalName
(This used to be commit 600d39e0ba)
2007-10-10 14:52:29 -05:00
Andrew Bartlett
cb00a33c67 r22884: Be consistant with the case of these constants.
Andrew Bartlett
(This used to be commit 7b086eebd6)
2007-10-10 14:52:28 -05:00
Andrew Bartlett
61e5856403 r22883: Indentation.
(This used to be commit 7548da913d)
2007-10-10 14:52:28 -05:00
Andrew Bartlett
4febada51f r22882: It seems entirly reasonable to follow metze's suggestion and check for
a valid file handle first.

Andrew Bartlett
(This used to be commit 3947db3dcb)
2007-10-10 14:52:28 -05:00
Andrew Tridgell
3173a3cee6 r22881: show number of connected clients
(This used to be commit 42f6c5106e)
2007-10-10 14:52:28 -05:00
Andrew Bartlett
a4e571b589 r22877: Remove stray 'l'
(This used to be commit 97960421a1)
2007-10-10 14:52:27 -05:00
Andrew Tridgell
2e11a2b601 r22876: - try to reconnect once per second, not continously
- patch from ronnie to fix the lock offset on reconnect
(This used to be commit 77d7ca5590)
2007-10-10 14:52:27 -05:00
Andrew Bartlett
bb84e0b584 r22875: We want to skip this test, it will fail unless run against IPC$ (which the pattern does not).
We need a way to list this against IPC$, but not have this skip entry
override it.

Andrew Bartlett
(This used to be commit 01ed78d20a)
2007-10-10 14:52:27 -05:00
Andrew Bartlett
3a88c56346 r22874: Expand the RPC-QFILEINFO-IPC test, and add a server implementation to match.
This should help with Vista joins.

Andrew Bartlett
(This used to be commit 8f85fb3786)
2007-10-10 14:52:27 -05:00
Andrew Bartlett
d307c116c8 r22873: Make the RAW-QFILEINFO-IPC test pass against Win2k3.
Next step is working on Samba4's IPC ntvfs module.

Andrew Bartlett
(This used to be commit aca0250492)
2007-10-10 14:52:26 -05:00
Rafal Szczesniak
7731921835 r22871: restore testing against host name instead of ip address
rafal
(This used to be commit 5638210f2d)
2007-10-10 14:52:26 -05:00
Stefan Metzmacher
bf62b6642c r22866: handle incoming chained smb2 requests in our server code to let
the windows explorer in longhorn beta3 work.

metze
(This used to be commit 2390c9f24d)
2007-10-10 14:52:26 -05:00
Stefan Metzmacher
37f8c04d90 r22865: handle pending locks in smb2
metze
(This used to be commit 8329fa6895)
2007-10-10 14:52:25 -05:00
Stefan Metzmacher
5eb7420f11 r22864: in SMB2 mode we need to cancel an existing lock with a conflicting lock
if they're on the same handle and the same range

metze
(This used to be commit 36384bb4a0)
2007-10-10 14:52:25 -05:00
Stefan Metzmacher
0543c06d25 r22863: in SMB2 mode we always need to return NT_STATUS_LOCK_NOT_GRANTED
metze
(This used to be commit 83a61a2892)
2007-10-10 14:52:25 -05:00
Stefan Metzmacher
5151068d5a r22858: - let SMB2-LOCK-VALID-REQUEST pass against longhorn beta3
- add modify the SMB2-LOCK-BLOCK-WRITE test to also test reading
  and name in SMB2-LOCK-RW-EXCLUSIV
- add SMB2-LOCK-NONE and SMB2-LOCK-SHARED

metze
(This used to be commit 258555975d)
2007-10-10 14:52:24 -05:00
Stefan Metzmacher
bd93b41d17 r22849: map smb2 lock to the generic level
metze
(This used to be commit fbbb144f8e)
2007-10-10 14:52:24 -05:00