1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
Commit Graph

70657 Commits

Author SHA1 Message Date
Andreas Schneider
c2207e9b2c replace: Try to fix broken sys/capabilites.h on Linux.
As this is more or less a broken header we need to include linux/types.h
before sys/capabilities.h to avoid redefinitions.

Autobuild-User: Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date: Wed Feb  2 11:57:04 CET 2011 on sn-devel-104
2011-02-02 11:57:04 +01:00
Kamen Mazdrashki
da3a2c68b0 s4/samba-tool: Add --sync-forced flag to 'drs replicate' command
We are going to need this to trigger replication when
inbound replication is disabled for a given DC

Autobuild-User: Kamen Mazdrashki <kamenim@samba.org>
Autobuild-Date: Wed Feb  2 09:03:22 CET 2011 on sn-devel-104
2011-02-02 09:03:22 +01:00
Andrew Bartlett
f19c1e37c7 s4-dsdb Add tests to ensure we don't break the rootDSE function levels again
This both checks that the levels make sense, and they match what they
should be based on in the DB.

Andrew Bartlett

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Wed Feb  2 06:09:53 CET 2011 on sn-devel-104
2011-02-02 06:09:53 +01:00
Andrew Bartlett
2e865bed0a s4-dsdb Fix generation of rootDSE domainControllerFunctionality
The issue here is that when the samdb calls were removed, this call
relied on going back to the top of the module stack, so as to re-enter
the rootDSE search handler.  It makes more sense to check the @ROOTDSE
record directly, and therefore not to invoke the search() handler
during the init.

Andrew Bartlett
2011-02-02 15:21:13 +11:00
Andrew Bartlett
e830cb4839 wintest Return debug info when dcpromo fails from the log 2011-02-02 15:21:13 +11:00
Andrew Bartlett
a3e99356ab s4-waf Don't install any Samba packages into PYTHONDIR
This causes the parts of Samba installed into PYTHONARCHDIR to then be
missed in mixed python/C module namespaces.

Andrew Bartlett
2011-02-02 15:21:13 +11:00
Andrew Bartlett
dbe0b07849 s4-python Remove manipuation of python path from samba module
This manipulation should be done by top level scripts, otherwise we
won't find samba in the first place (and these can be munged correctly
for the install).

Andrew Bartlett
2011-02-02 15:21:13 +11:00
Andrew Bartlett
7faa3be453 s4-python Ensure we add the Samba python path first.
This exact form of the construction is important, and we match on it
in the installation scripts.

Andrew Bartlett
2011-02-02 15:21:12 +11:00
Andrew Bartlett
38aacd7a7b waf: Replace python installation rule to allow PYTHONARCHDIR and PYTHONDIR
The old rule could only substitute one part of one line, but we need
to add a second line to handle when PYTHONDIR and PYTHONARCHDIR do not
match.

This also avoids shelling out to sed with a regex, which was difficult
to read.

Andrew Bartlett
2011-02-02 15:21:12 +11:00
Andrew Bartlett
5d4dc6cbd5 s4-python Remove unused missing.py (used by old build system) 2011-02-02 15:19:03 +11:00
Andrew Bartlett
eab493b7ea Remove unused installmisc.sh script, from old build system 2011-02-02 15:19:03 +11:00
Andrew Bartlett
2d9bcc861d s4:heimdal: import lorikeet-heimdal-201101310455 (commit aa88eb1a05c4985cc23fb65fc1bad75bdce01c1f) 2011-02-02 15:19:03 +11:00
Jeremy Allison
3d4a9ddc24 Based on a conversation with Volker, refactor some of the oplock code to make it comprehensible.
delay_for_oplocks() did 4 things.

1). Validation of existing oplock types.
2). Check for compatibility with batch oplocks (pass 1).
3). Check for compatibility with exclusive oplocks (pass 2).
4). Set the correct oplock type from the requested value.

Refactor into 4 separate functions:

1). find_oplock_types() - does validation of oplock types and
	returns pointers to specific values.
2). delay_for_batch_oplocks() - the pass 1 phase above.
3). delay_for_exclusive_oplocks() - the pass 2 phase above
4). grant_fsp_oplock_type() - Set the correct oplock type from the requested value.

Now separated out this code should be much easier to understand
and modify. This also fixes an erroneous SMB_ASSERT which was
hidden by the previous complexity of the single delay_for_oplocks()
code.

Jeremy.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Wed Feb  2 01:52:21 CET 2011 on sn-devel-104
2011-02-02 01:52:21 +01:00
Günther Deschner
a19c1cbb8d s3-net: prefer dcerpc_samr_X functions in rpc_trustdom_list.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Feb  2 00:21:19 CET 2011 on sn-devel-104
2011-02-02 00:21:19 +01:00
Günther Deschner
c7b1432b6e s3-net: prefer dcerpc_samr_X functions in rpc_trustdom_del_internals.
Guenther
2011-02-01 23:29:14 +01:00
Günther Deschner
95ee07d8ab s3-net: prefer dcerpc_samr_X functions in rpc_trustdom_add_internals.
Guenther
2011-02-01 23:29:14 +01:00
Günther Deschner
49f08d1d7c s3-net: prefer dcerpc_samr_X functions in rpc_aliaslist_internals.
Guenther
2011-02-01 23:29:14 +01:00
Günther Deschner
37f2f518be s3-net: prefer dcerpc_samr_X functions in rpc_fetch_domain_aliases.
Guenther
2011-02-01 23:29:14 +01:00
Günther Deschner
bf10bbc074 s3-net: prefer dcerpc_samr_X functions in rpc_group_members_internals.
Guenther
2011-02-01 23:29:14 +01:00
Günther Deschner
20edb2d48b s3-net: prefer dcerpc_samr_X functions in rpc_list_alias_members.
Guenther
2011-02-01 23:29:14 +01:00
Günther Deschner
2a63433e94 s3-net: prefer dcerpc_samr_X functions in rpc_list_group_members.
Guenther
2011-02-01 23:29:14 +01:00
Günther Deschner
d280a52fdd s3-net: prefer dcerpc_samr_X functions in rpc_group_list_internals.
Guenther
2011-02-01 23:29:14 +01:00
Günther Deschner
84e3d14f7a s3-net: prefer dcerpc_samr_X functions in rpc_del_aliasmem.
Guenther
2011-02-01 23:29:14 +01:00
Günther Deschner
b9b2325f45 s3-net: prefer dcerpc_samr_X functions in rpc_del_groupmem.
Guenther
2011-02-01 23:29:14 +01:00
Günther Deschner
55e042a4f2 s3-net: prefer dcerpc_samr_X functions in rpc_add_aliasmem.
Guenther
2011-02-01 23:29:13 +01:00
Günther Deschner
f8147fbb14 s3-net: prefer dcerpc_samr_X functions in rpc_add_groupmem.
Guenther
2011-02-01 23:29:13 +01:00
Günther Deschner
e14c214ab3 s3-net: prefer dcerpc_samr_X functions in rpc_group_delete_internals.
Guenther
2011-02-01 23:29:13 +01:00
Günther Deschner
54b74c781d s3-net: prefer dcerpc_samr_X functions in rpc_sh_user_flag_edit_internals.
Guenther
2011-02-01 23:29:13 +01:00
Günther Deschner
1d3b378001 s3-net: prefer dcerpc_samr_X functions in rpc_sh_user_str_edit_internals.
Guenther
2011-02-01 23:29:13 +01:00
Günther Deschner
a87a9fc9ce s3-net: prefer dcerpc_samr_X functions in rpc_sh_user_show_internals.
Guenther
2011-02-01 23:29:13 +01:00
Günther Deschner
021e0b4cda s3-net: prefer dcerpc_samr_X functions in rpc_sh_handle_user.
Guenther
2011-02-01 23:29:13 +01:00
Günther Deschner
f140e892f6 s3-net: prefer dcerpc_samr_X functions in rpc_info_internals.
Guenther
2011-02-01 23:29:13 +01:00
Günther Deschner
e3aafb2a7f s3-net: prefer dcerpc_samr_X functions in net_rpc_sh_acct.c.
Guenther
2011-02-01 23:29:12 +01:00
Günther Deschner
fbbe321d19 s3-waf: fix the build after linux netlink changes.
Volker, please check.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Feb  1 23:21:50 CET 2011 on sn-devel-104
2011-02-01 23:21:50 +01:00
Volker Lendecke
ba4ec70529 s3: Fix bug 7940 -- fall back for utimes calls
There are systems where ./configure has detected advanced utimes calls which
are then not available on other kernels. We should do a proper fallback.

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Tue Feb  1 22:37:35 CET 2011 on sn-devel-104
2011-02-01 22:37:35 +01:00
William Brown
3b948008ce Added SSL global catalog
Reviewed-by: Andrew Bartlett
Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org>

Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Tue Feb  1 20:05:39 CET 2011 on sn-devel-104
2011-02-01 20:05:39 +01:00
Stefan Metzmacher
ff0f63329a s3:rpcclient/cmd_samr: remove useless ';'
metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Tue Feb  1 19:19:24 CET 2011 on sn-devel-104
2011-02-01 19:19:24 +01:00
Stefan Metzmacher
a152f20dd1 s3:libnet/libnet_samsync_display: fix netr_DELTA_* display
metze
2011-02-01 18:35:22 +01:00
Stefan Metzmacher
5e4691e70e s3:rpcclient/cmd_netlogon: fix netr_DELTA_* display
metze
2011-02-01 18:35:22 +01:00
Stefan Metzmacher
34b7b552e8 pidl:Samba4/NDR/Parser: fix ndr_pull/ndr_push mismatch
metze
2011-02-01 18:35:22 +01:00
Volker Lendecke
1c9cf16c95 s3: Fix the build on sles8
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Tue Feb  1 18:34:33 CET 2011 on sn-devel-104
2011-02-01 18:34:33 +01:00
Günther Deschner
753094d5d2 s3-net: add net_scan_dc non-ad variant.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Feb  1 17:48:40 CET 2011 on sn-devel-104
2011-02-01 17:48:40 +01:00
Günther Deschner
600ff3a74e s3-lanman: prefer dcerpc_samr_X functions.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Feb  1 16:45:10 CET 2011 on sn-devel-104
2011-02-01 16:45:10 +01:00
Günther Deschner
a51ab04cce s3-rpcclient: prefer dcerpc_samr_X functions.
Guenther
2011-02-01 16:00:22 +01:00
Günther Deschner
a0c1c21916 s3-libnet: prefer dcerpc_samr_X functions.
Guenther
2011-02-01 16:00:22 +01:00
Volker Lendecke
23146f9912 s3: Send a dropped_ip message if we lose an IP
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Tue Feb  1 15:59:17 CET 2011 on sn-devel-104
2011-02-01 15:59:17 +01:00
Volker Lendecke
f71c032f16 s3: test addrchange 2011-02-01 15:11:06 +01:00
Volker Lendecke
80acca1ebf s3: Add support for AF_NETLINK addr notifications
Via an AF_NETLINK socket, the Linux kernel can inform us when IP addresses are
added or dropped.

This will first be used in winbind, it was triggered by clustering with ctdb.
When winbind is connected to a domain controller and ctdb decides to move away
the IP address that winbind used locally for the connection to the DC, the next
request will run into a timeout. winbind sends out its request, but the
response will never arrive: The IP is gone.

It will also be interesting for more reliable online/offline detection, but
this is something for future winbind refactoring.
2011-02-01 15:11:06 +01:00
Günther Deschner
f9af242886 s3-libnetapi: prefer dcerpc_samr_X functions in lib/netapi/user.c.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Feb  1 13:41:42 CET 2011 on sn-devel-104
2011-02-01 13:41:42 +01:00
Günther Deschner
32fb4f5206 s3-libnetapi: prefer dcerpc_samr_X functions in lib/netapi/samr.c.
Guenther
2011-02-01 12:49:58 +01:00