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

48310 Commits

Author SHA1 Message Date
Günther Deschner
8fcb81ee99 wbclient: add wbcGuid structure.
Guenther
2008-10-09 12:45:35 +02:00
Günther Deschner
5a61f30d13 wbclient: add my copyright.
Guenther
2008-10-09 12:38:04 +02:00
Günther Deschner
bf5c80c8eb krb5-locator: fix dsgetdcname caller.
Guenther
2008-10-09 12:37:18 +02:00
Günther Deschner
4e04c5ae1b wbinfo: fix dsgetdcname caller.
Guenther
2008-10-09 12:37:18 +02:00
Günther Deschner
76a8da6f71 s3-winbindd: use new, richer structures in WINBINDD_DSGETDCNAME implementation.
Guenther
2008-10-09 12:37:18 +02:00
Volker Lendecke
1d83fbffae Remove a pointless level of indirection 2008-10-09 12:06:39 +02:00
Volker Lendecke
96a5d169dd Fix a typo 2008-10-09 12:06:38 +02:00
Günther Deschner
4c68f3cd9b build: add "make test_wbpad" for checking winbind 32/64bit structure padding.
Guenther
2008-10-09 11:46:02 +02:00
Günther Deschner
298a918e95 s3-winbindd: add dsgetdcname request and reply to winbind structure.
Guenther
2008-10-09 11:08:56 +02:00
Jeremy Allison
543c6a02ae For the vfs_acl_xattr.c module, make sure we map GENERIC file and directory bits
to specific bits every time a security descriptor is set. The S4 torture suite proves
that generic bits are not returned when querying an ACL set using them (ie. only
the specific bits are stored on disk).
Jeremy.
2008-10-08 18:06:58 -07:00
Tim Prouty
88a58ae0ee Fixed "might be uninitialized" warning 2008-10-08 16:38:38 -07:00
Jeremy Allison
646df8bec6 Deal with inheritance from parent directory when setting Windows
ACLs.
Jeremy.
2008-10-08 15:18:25 -07:00
Jeremy Allison
14f835ba4b Fix bug #5814 - Winbindd dumping core in a strange manner while doing "rescan_trusted_domain".
From analysis by hargagan <shargagan@novell.com> :
"The winbindd_child_died() is also getting called from process_loop() in case of
SIGCHLD signal. In this case it doesn't make the timeout_handler to NULL for
the first request. It then initiate a new request using
schedule_async_request() which installs a new timeout handler for the same
request. In such a case, for a badly unresponsive system both the timeout
handler can be called. For the first call the "private_data" will be cleared
and for another call the timeout handler will be detecting the double free. So,
for such a case as well, the winbindd_child_died() should make the
timeout_handler to NULL."
Jeremy.
2008-10-08 11:39:32 -07:00
Volker Lendecke
be63f86ce7 Remove unused CHECK_FSP macro 2008-10-08 13:01:22 +02:00
Jelmer Vernooij
71ef7ae824 Remove duplicate copy of manual page. 2008-10-08 12:08:52 +02:00
Jelmer Vernooij
08223692c6 fix libclinbtsrcdir variable. 2008-10-08 12:03:45 +02:00
Jelmer Vernooij
6e493fc631 Add manpage for nmblookup, move nmblookup closer to nbt library. 2008-10-08 11:56:46 +02:00
Jelmer Vernooij
717ef3867a Merge branch 'master' of ssh://git.samba.org/data/git/samba 2008-10-08 03:39:17 +02:00
Jelmer Vernooij
f8a02a1a80 Fix subunit files location after cherrypicks. 2008-10-08 03:33:38 +02:00
Jeremy Allison
859facda89 Fix const warning.
Jeremy.
2008-10-07 17:56:32 -07:00
Jeremy Allison
ec5d09dbff Update vfs version as I've added a const to the security_descriptor paramter in fset_nt_acl().
Need to watch the build farm to make sure I haven't broken the AIX or Solaris ACL modules.
Jeremy.
2008-10-07 17:50:01 -07:00
Jelmer Vernooij
df4e9c7066 Fix path apparently gone wrong by cherrypick. 2008-10-08 02:23:51 +02:00
Jelmer Vernooij
f9facb5120 Move all subunit files to lib directory. 2008-10-08 02:22:39 +02:00
Jelmer Vernooij
99b2089752 Merge branch 'master' of ssh://git.samba.org/data/git/samba 2008-10-08 02:21:49 +02:00
Jelmer Vernooij
68837ff597 Fix syntax errors in minschema. 2008-10-08 02:20:14 +02:00
Jelmer Vernooij
3ecde315d3 Import tests for subunit python module. 2008-10-08 02:19:59 +02:00
Jelmer Vernooij
8da78b7325 Move subunit helper utility to specific subunit directory. 2008-10-08 02:19:59 +02:00
Jelmer Vernooij
c024fb7d57 Allow 'make testenv-dc', 'make testenv-member', etc. 2008-10-08 02:19:24 +02:00
Jelmer Vernooij
20b73b1309 Print proper error if include file can't be found. 2008-10-08 02:18:59 +02:00
Jeremy Allison
2024d87cf5 Make map_errno_from_nt_status() a generic call, not just a cli specific one.
Remove some unused calls from vfs_acl_xattr. Test for SD's on existing files.
Jeremy.
2008-10-07 14:43:42 -07:00
Tim Prouty
abf00f710d Changed variable name from f19086872ec734fff3f2119712ff24117bec4e5e to match v3-[23]-test 2008-10-07 11:00:54 -07:00
Tim Prouty
cde1b09d68 Fixed build warning "passing arg from incompatible pointer type"
The fix explicitly makes the conversion from timeval to time_t using the
existing time utility functions.

Compiling modules/vfs_smb_traffic_analyzer.c
modules/vfs_smb_traffic_analyzer.c: In function `smb_traffic_analyzer_send_data':
modules/vfs_smb_traffic_analyzer.c:173: warning: passing arg 1 of `localtime' from incompatible pointer type
2008-10-06 17:18:10 -07:00
Tim Prouty
f19086872e Fixed "declaration shadows global declaration" warnings.
The patch simply uses a more descriptive variable name for tcp_seq.

../lib/socket_wrapper/socket_wrapper.c:753: warning: declaration of 'tcp_seq' shadows a global declaration
/usr/include/netinet/tcp.h:40: warning: shadowed declaration is here
../lib/socket_wrapper/socket_wrapper.c: In function `swrap_marshall_packet':
../lib/socket_wrapper/socket_wrapper.c:919: warning: declaration of 'tcp_seq' shadows a global declaration
/usr/include/netinet/tcp.h:40: warning: shadowed declaration is here
2008-10-06 17:13:28 -07:00
Andrew Bartlett
e0a4d7f467 Set default trust kvno to -1 2008-10-06 14:28:27 -07:00
Andrew Bartlett
c3b28c7a81 Fix cross-realm authentication in Samba4's KDC. 2008-10-06 14:28:27 -07:00
Andrew Bartlett
6a5547742f Allow the PAC to be passed along during cross-realm authentication 2008-10-06 14:28:27 -07:00
Andrew Bartlett
912209ac84 Use the trust password version as kvno for trusts in Kerberos. 2008-10-06 14:28:26 -07:00
Andrew Bartlett
320d402180 Start implementing AD-style trusted domains in Samba4's NETLOGON server 2008-10-06 14:28:26 -07:00
Andrew Bartlett
1a29fd1cf5 Store trusted domain passwords in the LSA server 2008-10-06 14:28:26 -07:00
Andrew Bartlett
99d0eb4fb7 Make RPC-LSA test for enumeration conditions more strict 2008-10-06 14:28:25 -07:00
Andrew Bartlett
8e1c0470d7 Add in secure channel type used by AD trusts 2008-10-06 14:28:25 -07:00
Andrew Bartlett
8cdb3ebe27 Clarify use of manual parsers in trustInOutBlob (drsblobs.idl) 2008-10-06 14:28:25 -07:00
Andrew Bartlett
8256717c76 Implement 'type unknown' names in the CrackNames code.
This guesses the type by running each of the possible options.

Andrew Bartlett
2008-10-06 14:28:24 -07:00
Andrew Bartlett
c0240d7835 Remove compleatly bogus rename test in partitions module. 2008-10-06 14:16:30 -07:00
Andrew Bartlett
7d9f18609b Remove DESCRIPTION from generated schema lines.
This is not permitted in the AD aggregate schema, and more trouble
than it is worth in the OpenLDAP schema due to escaping issues.

Andrew Bartlett
2008-10-06 14:16:30 -07:00
Andrew Bartlett
c412a930ad Fix Domain Trust creation with Windows 2008 (and many other tools)
A dITConentRules attribute (unlike objectClasses) must not contain a
'SUP'.

The ADSI layer in Windows would download the whole schema, and
validate it.  Thanks to the team at Microsoft for very long debugging
session to find this.

Andrew Bartlett
2008-10-06 14:16:29 -07:00
Gerald (Jerry) Carter
2a35985283 idmap_adex: Add more debugging to the basic search function.
Log the dn of all located entries in order to verify search results.
2008-10-06 14:10:03 -05:00
Gerald (Jerry) Carter
338f658a5a idmap_adex: Add log messages to dc_add_domain for easier debugging.
Part of continue work on BUG 5806.
2008-10-06 14:10:03 -05:00
Stefan Metzmacher
9e492b1ba2 s4:rpc_server: tell the gensec layer that we want to do header signing
Note: header signing is still off by default, as the gensec backends
      don't support it together with seal yet.

metze
2008-10-06 19:45:55 +02:00
Stefan Metzmacher
999b69d176 s4:gensec: pass down want_features to the spnego backend mech
metze
2008-10-06 19:21:44 +02:00