1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-02 09:47:23 +03:00

63352 Commits

Author SHA1 Message Date
Andreas Schneider
6c7c81a8f2 s3-waf: Fixed dependencies of the the avahi subsystem. 2010-06-02 11:30:02 +02:00
Matthias Dieter Wallnöfer
74fad2568d s4:ldb_msg_element_compare - fix typo in comment 2010-06-02 09:39:34 +02:00
Matthias Dieter Wallnöfer
6ad27cd7fe s4:lib/ldb/pyldb_util.c - add a cast to quiet a warning
Jelmer, please fix if it isn't correct.
2010-06-02 09:39:18 +02:00
Ira Cooper
e799de256e SMB2: Fix rename on Windows 7.
This removes some code Jeremy (jra) suspected was bad.  It turns out that the
command window rename command will not work with the offending code in place.

With it removed the bug is gone, and rename works.
2010-06-01 17:09:29 -07:00
Jeremy Allison
e9ff32c6c3 Don't use sigev_value.sival_int to just store the mid, use sigev_value.sival_ptr to store the private data structure.
This allows easier use from SMB2. Ensure aio is initialized before the
aio_pending_size check else aio will never be used.

Jeremy.
2010-06-01 16:05:44 -07:00
Günther Deschner
1ba611a56c s3-eventlog: try to pass RPC-EVENTLOG during make test as non-root.
Guenther
2010-06-01 23:05:17 +02:00
Holger Hetterich
b81f8b131c s3-vfs: Send the share name instead of the path in smb_traffic_analyzer.
In protocol v2, the name of the service should be sent instead of the
path.

Signed-off-by: Andreas Schneider <asn@samba.org>
2010-06-01 22:10:52 +02:00
Günther Deschner
23eb2888d9 s4-smbtorture: skip driverName and printerName DsSpooler tests for now.
Guenther
2010-06-01 16:49:25 +02:00
Günther Deschner
582847412a s4-smbtorture: Make sure RPC-SPOOLSS and RPC-SPOOLSS-PRINTER pass against s3.
Printjobs are extremely fragile beasts on paused virtual printers within make
test. Very often the printq updater in the background is not fast enough, so
subsequent tests don't get to the updated information. Something to remember and
to work on later...

Guenther
2010-06-01 16:49:24 +02:00
Günther Deschner
fc9644a7d6 lib/replace: fix some c++ build warnings in testsuite.
Guenther
2010-06-01 16:49:24 +02:00
Anatoliy Atanasov
3bae05d286 s4: check the sacl and dacl pointers on the old sd 2010-06-01 16:52:46 +03:00
Kai Blin
da894b7023 s3-waf: Fix the build 2010-06-01 15:39:30 +02:00
Michael Adam
f702578f76 s3: remove unused prototype for lp_idmap_domains(). 2010-06-01 15:31:48 +02:00
Kai Blin
a6c921fef7 s3-waf: Add check for dirent.d_off member 2010-06-01 15:11:15 +02:00
Stefan Metzmacher
3f14d03adb s3:winbindd: make sure we only call static_init_idmap once
metze

Signed-off-by: Michael Adam <obnox@samba.org>
2010-06-01 10:33:13 +02:00
Andrew Bartlett
e67b0cf603 s3:winbind Ensure we always init idmap_passdb before we use it
It seems that it is possible for idmap_init_passdb_domain() to be run
before idmap_init_domain(), so ensure we run the static init functions
in both.

Andrew Bartlett

Signed-off-by: Michael Adam <obnox@samba.org>
2010-06-01 10:33:13 +02:00
Andrew Bartlett
b05c18cff2 s3:idmap Use idmap.idl defined structures and constants
This allows these structures to be shared across all of Samba

The additional name type ID_TYPE_BOTH is unused in source3 code at
this time.

Andrew Bartlett

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Michael Adam <obnox@samba.org>
2010-06-01 10:33:13 +02:00
Karolin Seeger
c256eb8456 s4-configure: Fix typo in comment.
Karolin
2010-06-01 10:02:14 +02:00
Karolin Seeger
ea5c85aa42 selftest: Fix typo in comment.
Karolin
2010-06-01 09:45:19 +02:00
Karolin Seeger
1cad4304bf s4-heimdal: Fix typo in comment.
Karolin
2010-06-01 09:35:53 +02:00
Karolin Seeger
3eab655e54 s4-cracknames: Fix typo in debug message.
Karolin
2010-06-01 09:33:53 +02:00
Andrew Bartlett
a6e07c22a3 s3:auth Rename wksta_name -> workstation_name in auth_usersupplied_info 2010-06-01 17:11:25 +10:00
Andrew Bartlett
fdc6db34ca s4:ntlmssp Use common code for ntlmssp_sign.c
The common code does not have a mem_ctx on ntlmssp_check_packet() and
ntlmssp_unseal_packet().

We do however need some internal working of the code exposed, so some
structures are moved to ntlmssp_sign.h

Andrew Bartlett
2010-06-01 17:11:24 +10:00
Andrew Bartlett
38a26f1073 s4:ntlmssp Use the new common ntlmssp.h 2010-06-01 17:11:24 +10:00
Andrew Bartlett
bc8d12e593 s4:ntlmssp Merge ntlmssp structures with version from source3/
Use this as an excuse to get rid of ntlmssp_set_domain() etc, which
don't do anything useful now that msrpc_parse() use talloc anyway.

Andrew Bartlett
2010-06-01 17:11:24 +10:00
Andrew Bartlett
dfb206f47e s3:param Put 'server_role' functions in another file.
Andrew Bartlett

Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-06-01 17:11:24 +10:00
Andrew Bartlett
6d2e796f35 s3:param Add helper function to get at Gobals.iDomainMaster
This is needed for a future split out of the server_role code.

Andrew Bartlett

Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-06-01 17:11:24 +10:00
Kai Blin
458b2484c7 s3-waf: Check for device major and minor macros 2010-06-01 07:55:06 +02:00
Kai Blin
b497447e17 s3-waf: Add check for asm/types.h 2010-06-01 07:55:06 +02:00
Jelmer Vernooij
5a3e744394 pyldb_util: Remove dependency on LIBPYTHON - it's already there
implicitly and not available in the standalone build.
2010-05-31 23:10:59 +02:00
Matthias Dieter Wallnöfer
83788988cb s4:samldb LDB module - start on a sequential trigger implementation
This is a start to allow the triggers to be called sequentially.
2010-05-31 22:43:29 +02:00
Matthias Dieter Wallnöfer
a8788ce523 ldb:ldb_msg_add_steal_string - prevent also there the addition of strings with length 0 2010-05-31 22:43:28 +02:00
Matthias Dieter Wallnöfer
0fce829de4 s4:dsdb_load_udv_v1 - "uint32_t" counter type fits better than "unsigned int" 2010-05-31 22:43:28 +02:00
Kai Blin
0fddbe472e s3-waf: Check if compiler supports LL suffix 2010-05-31 22:26:31 +02:00
Kai Blin
3811fdab5c s3-waf: Check for broken nisplus include files 2010-05-31 22:26:30 +02:00
Günther Deschner
e80301eded s3-smbd: remove unused sconn from token_contains_name().
Guenther
2010-05-31 22:18:30 +02:00
Andrew Bartlett
d33c41fbf5 s3:winbindd move reinit_after_fork() back out of winbindd_register_handlers
This particular init function needs to be done in a native Samba3
build, but it turns out to be difficult for s3compat, which has other
code listening on the sockets.

Andrew Bartlett
2010-05-31 21:36:56 +02:00
Andrew Bartlett
19f4229fff s3:winbind Make state->mem_ctx a talloc child of state
This way everything is destoryed at the conclusion of
the connection correctly.

Andrew Bartlett

Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-05-31 21:36:55 +02:00
Andrew Bartlett
61eb56be4e s3:winbind tidy up connecting the winbind sockets.
By putting this code inline in winbindd_setup_listeners() we remove 2
static variables and simplify the code.

By putting the get_winbind_priv_pipe_dir() in the same file, we allow
it to be reimplemented in s3compat.

Andrew Bartlett

Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-05-31 21:36:55 +02:00
Andrew Bartlett
e5ebc52e9f Revert "s3:winbindd Split helper functions to allow s3compat to call them"
I'm experimenting with a different entry point

This reverts commit f5c0f90da5f5372ca6b7a72daa8d073a2444a068.
2010-05-31 21:36:55 +02:00
Günther Deschner
fca69a9e2f s3-netlogon: Fix crash bug in _netr_NetrEnumerateTrustedDomains().
Guenther
2010-05-31 21:27:29 +02:00
Simo Sorce
cf727404f4 Revert "ldb: Remove Samba-specific symbols."
This reverts commit fe8302b235197e359a20ba0489eb72b54793963e.

Jelmer, please do not re-re-revert this until we can properly handle
*both* s4 and standalone ldb builds.
2010-05-31 14:53:22 -04:00
Jelmer Vernooij
a22d7db308 wafsamba: Only try to build manpages if XSLTPROC was actually found. 2010-05-31 20:45:14 +02:00
Jelmer Vernooij
41cdac9c3e pyldb: Remove duplicate copy of function. 2010-05-31 20:45:14 +02:00
Simo Sorce
38dfc48033 ldb: Remove unexisting and mistyped function from header 2010-05-31 13:54:00 -04:00
Jelmer Vernooij
7f75ee025f ldb: Install ldb_handlers.h header. 2010-05-31 19:22:04 +02:00
Jelmer Vernooij
fe8302b235 ldb: Remove Samba-specific symbols. 2010-05-31 19:22:04 +02:00
Jelmer Vernooij
1bc53f0213 ldb: Move utility functions to separate file. 2010-05-31 19:22:04 +02:00
Jelmer Vernooij
82d56b9374 ldb: Fix dependencies when building with system ldb. 2010-05-31 19:22:03 +02:00
Simo Sorce
471ed70c49 s3:smbd map_username() doesn't need sconn anymore
Signed-off-by: Andreas Schneider <asn@samba.org>
2010-05-31 18:21:29 +02:00