kai/samba.git
13 years agos4-python Ensure we add the Samba python path first.
Andrew Bartlett [Tue, 1 Feb 2011 03:43:34 +0000 (14:43 +1100)]
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

13 years agowaf: Replace python installation rule to allow PYTHONARCHDIR and PYTHONDIR
Andrew Bartlett [Tue, 1 Feb 2011 03:29:35 +0000 (14:29 +1100)]
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

13 years agos4-python Remove unused missing.py (used by old build system)
Andrew Bartlett [Tue, 1 Feb 2011 03:28:29 +0000 (14:28 +1100)]
s4-python Remove unused missing.py (used by old build system)

13 years agoRemove unused installmisc.sh script, from old build system
Andrew Bartlett [Tue, 1 Feb 2011 02:45:33 +0000 (13:45 +1100)]
Remove unused installmisc.sh script, from old build system

13 years agos4:heimdal: import lorikeet-heimdal-201101310455 (commit aa88eb1a05c4985cc23fb65fc1ba...
Andrew Bartlett [Mon, 31 Jan 2011 04:59:06 +0000 (15:59 +1100)]
s4:heimdal: import lorikeet-heimdal-201101310455 (commit aa88eb1a05c4985cc23fb65fc1bad75bdce01c1f)

13 years agoBased on a conversation with Volker, refactor some of the oplock code to make it...
Jeremy Allison [Wed, 2 Feb 2011 00:01:57 +0000 (16:01 -0800)]
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

13 years agos3-net: prefer dcerpc_samr_X functions in rpc_trustdom_list.
Günther Deschner [Tue, 18 Jan 2011 11:10:02 +0000 (12:10 +0100)]
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

13 years agos3-net: prefer dcerpc_samr_X functions in rpc_trustdom_del_internals.
Günther Deschner [Tue, 18 Jan 2011 11:08:02 +0000 (12:08 +0100)]
s3-net: prefer dcerpc_samr_X functions in rpc_trustdom_del_internals.

Guenther

13 years agos3-net: prefer dcerpc_samr_X functions in rpc_trustdom_add_internals.
Günther Deschner [Tue, 18 Jan 2011 11:06:42 +0000 (12:06 +0100)]
s3-net: prefer dcerpc_samr_X functions in rpc_trustdom_add_internals.

Guenther

13 years agos3-net: prefer dcerpc_samr_X functions in rpc_aliaslist_internals.
Günther Deschner [Tue, 18 Jan 2011 11:05:38 +0000 (12:05 +0100)]
s3-net: prefer dcerpc_samr_X functions in rpc_aliaslist_internals.

Guenther

13 years agos3-net: prefer dcerpc_samr_X functions in rpc_fetch_domain_aliases.
Günther Deschner [Tue, 18 Jan 2011 11:04:56 +0000 (12:04 +0100)]
s3-net: prefer dcerpc_samr_X functions in rpc_fetch_domain_aliases.

Guenther

13 years agos3-net: prefer dcerpc_samr_X functions in rpc_group_members_internals.
Günther Deschner [Tue, 18 Jan 2011 11:02:53 +0000 (12:02 +0100)]
s3-net: prefer dcerpc_samr_X functions in rpc_group_members_internals.

Guenther

13 years agos3-net: prefer dcerpc_samr_X functions in rpc_list_alias_members.
Günther Deschner [Tue, 18 Jan 2011 11:01:35 +0000 (12:01 +0100)]
s3-net: prefer dcerpc_samr_X functions in rpc_list_alias_members.

Guenther

13 years agos3-net: prefer dcerpc_samr_X functions in rpc_list_group_members.
Günther Deschner [Tue, 18 Jan 2011 11:00:09 +0000 (12:00 +0100)]
s3-net: prefer dcerpc_samr_X functions in rpc_list_group_members.

Guenther

13 years agos3-net: prefer dcerpc_samr_X functions in rpc_group_list_internals.
Günther Deschner [Tue, 18 Jan 2011 10:59:16 +0000 (11:59 +0100)]
s3-net: prefer dcerpc_samr_X functions in rpc_group_list_internals.

Guenther

13 years agos3-net: prefer dcerpc_samr_X functions in rpc_del_aliasmem.
Günther Deschner [Tue, 18 Jan 2011 10:57:33 +0000 (11:57 +0100)]
s3-net: prefer dcerpc_samr_X functions in rpc_del_aliasmem.

Guenther

13 years agos3-net: prefer dcerpc_samr_X functions in rpc_del_groupmem.
Günther Deschner [Tue, 18 Jan 2011 10:56:52 +0000 (11:56 +0100)]
s3-net: prefer dcerpc_samr_X functions in rpc_del_groupmem.

Guenther

13 years agos3-net: prefer dcerpc_samr_X functions in rpc_add_aliasmem.
Günther Deschner [Tue, 18 Jan 2011 10:56:12 +0000 (11:56 +0100)]
s3-net: prefer dcerpc_samr_X functions in rpc_add_aliasmem.

Guenther

13 years agos3-net: prefer dcerpc_samr_X functions in rpc_add_groupmem.
Günther Deschner [Tue, 18 Jan 2011 10:44:42 +0000 (11:44 +0100)]
s3-net: prefer dcerpc_samr_X functions in rpc_add_groupmem.

Guenther

13 years agos3-net: prefer dcerpc_samr_X functions in rpc_group_delete_internals.
Günther Deschner [Tue, 18 Jan 2011 10:43:15 +0000 (11:43 +0100)]
s3-net: prefer dcerpc_samr_X functions in rpc_group_delete_internals.

Guenther

13 years agos3-net: prefer dcerpc_samr_X functions in rpc_sh_user_flag_edit_internals.
Günther Deschner [Tue, 18 Jan 2011 10:38:53 +0000 (11:38 +0100)]
s3-net: prefer dcerpc_samr_X functions in rpc_sh_user_flag_edit_internals.

Guenther

13 years agos3-net: prefer dcerpc_samr_X functions in rpc_sh_user_str_edit_internals.
Günther Deschner [Tue, 18 Jan 2011 10:37:52 +0000 (11:37 +0100)]
s3-net: prefer dcerpc_samr_X functions in rpc_sh_user_str_edit_internals.

Guenther

13 years agos3-net: prefer dcerpc_samr_X functions in rpc_sh_user_show_internals.
Günther Deschner [Tue, 18 Jan 2011 10:36:48 +0000 (11:36 +0100)]
s3-net: prefer dcerpc_samr_X functions in rpc_sh_user_show_internals.

Guenther

13 years agos3-net: prefer dcerpc_samr_X functions in rpc_sh_handle_user.
Günther Deschner [Tue, 18 Jan 2011 10:35:50 +0000 (11:35 +0100)]
s3-net: prefer dcerpc_samr_X functions in rpc_sh_handle_user.

Guenther

13 years agos3-net: prefer dcerpc_samr_X functions in rpc_info_internals.
Günther Deschner [Tue, 18 Jan 2011 10:34:33 +0000 (11:34 +0100)]
s3-net: prefer dcerpc_samr_X functions in rpc_info_internals.

Guenther

13 years agos3-net: prefer dcerpc_samr_X functions in net_rpc_sh_acct.c.
Günther Deschner [Mon, 17 Jan 2011 17:16:06 +0000 (18:16 +0100)]
s3-net: prefer dcerpc_samr_X functions in net_rpc_sh_acct.c.

Guenther

13 years agos3-waf: fix the build after linux netlink changes.
Günther Deschner [Tue, 1 Feb 2011 18:22:04 +0000 (19:22 +0100)]
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

13 years agos3: Fix bug 7940 -- fall back for utimes calls
Volker Lendecke [Sat, 29 Jan 2011 09:59:14 +0000 (10:59 +0100)]
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

13 years agoAdded SSL global catalog
William Brown [Thu, 20 Jan 2011 01:11:01 +0000 (11:41 +1030)]
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

13 years agos3:rpcclient/cmd_samr: remove useless ';'
Stefan Metzmacher [Tue, 1 Feb 2011 16:38:02 +0000 (17:38 +0100)]
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

13 years agos3:libnet/libnet_samsync_display: fix netr_DELTA_* display
Stefan Metzmacher [Tue, 1 Feb 2011 16:37:13 +0000 (17:37 +0100)]
s3:libnet/libnet_samsync_display: fix netr_DELTA_* display

metze

13 years agos3:rpcclient/cmd_netlogon: fix netr_DELTA_* display
Stefan Metzmacher [Tue, 1 Feb 2011 16:36:33 +0000 (17:36 +0100)]
s3:rpcclient/cmd_netlogon: fix netr_DELTA_* display

metze

13 years agopidl:Samba4/NDR/Parser: fix ndr_pull/ndr_push mismatch
Stefan Metzmacher [Tue, 1 Feb 2011 12:10:04 +0000 (13:10 +0100)]
pidl:Samba4/NDR/Parser: fix ndr_pull/ndr_push mismatch

metze

13 years agos3: Fix the build on sles8
Volker Lendecke [Tue, 1 Feb 2011 16:24:47 +0000 (17:24 +0100)]
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

13 years agos3-net: add net_scan_dc non-ad variant.
Günther Deschner [Tue, 1 Feb 2011 15:44:06 +0000 (16:44 +0100)]
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

13 years agos3-lanman: prefer dcerpc_samr_X functions.
Günther Deschner [Mon, 17 Jan 2011 16:35:21 +0000 (17:35 +0100)]
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

13 years agos3-rpcclient: prefer dcerpc_samr_X functions.
Günther Deschner [Mon, 17 Jan 2011 15:35:13 +0000 (16:35 +0100)]
s3-rpcclient: prefer dcerpc_samr_X functions.

Guenther

13 years agos3-libnet: prefer dcerpc_samr_X functions.
Günther Deschner [Mon, 17 Jan 2011 14:19:18 +0000 (15:19 +0100)]
s3-libnet: prefer dcerpc_samr_X functions.

Guenther

13 years agos3: Send a dropped_ip message if we lose an IP
Volker Lendecke [Mon, 31 Jan 2011 16:25:55 +0000 (17:25 +0100)]
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

13 years agos3: test addrchange
Volker Lendecke [Thu, 27 Jan 2011 15:56:13 +0000 (16:56 +0100)]
s3: test addrchange

13 years agos3: Add support for AF_NETLINK addr notifications
Volker Lendecke [Thu, 27 Jan 2011 11:58:22 +0000 (12:58 +0100)]
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.

13 years agos3-libnetapi: prefer dcerpc_samr_X functions in lib/netapi/user.c.
Günther Deschner [Fri, 14 Jan 2011 16:05:32 +0000 (17:05 +0100)]
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

13 years agos3-libnetapi: prefer dcerpc_samr_X functions in lib/netapi/samr.c.
Günther Deschner [Fri, 14 Jan 2011 15:16:31 +0000 (16:16 +0100)]
s3-libnetapi: prefer dcerpc_samr_X functions in lib/netapi/samr.c.

Guenther

13 years agos3-libnetapi: prefer dcerpc_samr_X functions in lib/netapi/localgroup.c.
Günther Deschner [Fri, 14 Jan 2011 15:11:19 +0000 (16:11 +0100)]
s3-libnetapi: prefer dcerpc_samr_X functions in lib/netapi/localgroup.c.

Guenther

13 years agos3-libnetapi: prefer dcerpc_samr_X functions in lib/netapi/group.c.
Günther Deschner [Fri, 14 Jan 2011 14:49:37 +0000 (15:49 +0100)]
s3-libnetapi: prefer dcerpc_samr_X functions in lib/netapi/group.c.

Guenther

13 years agopidl:Samba4/NDR/Parser: add support for 'ms_union' style aligment
Stefan Metzmacher [Mon, 31 Jan 2011 13:09:02 +0000 (14:09 +0100)]
pidl:Samba4/NDR/Parser: add support for 'ms_union' style aligment

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Tue Feb  1 12:13:45 CET 2011 on sn-devel-104

13 years agopidl:Samba4/NDR/Parser: only do the switch type alignment when we have a switch type
Stefan Metzmacher [Mon, 31 Jan 2011 13:05:52 +0000 (14:05 +0100)]
pidl:Samba4/NDR/Parser: only do the switch type alignment when we have a switch type

This doesn't change the logic, it just doesn't call the same aligment function
twice.

metze

13 years agopidl:NDR: add support for 'ms_union' property.
Stefan Metzmacher [Mon, 31 Jan 2011 12:23:08 +0000 (13:23 +0100)]
pidl:NDR: add support for 'ms_union' property.

metze

13 years agomidltests: add invalid/midltests_pipe_struct_union_01.idl
Stefan Metzmacher [Tue, 1 Feb 2011 08:59:59 +0000 (09:59 +0100)]
midltests: add invalid/midltests_pipe_struct_union_01.idl

pipes with unions are not supported by midl,
so we don't need to implement them in pidl:-)

metze

13 years agoEnsure we send the direct levelII oplock break to the correct fid.
Pavel Shilovsky [Mon, 31 Jan 2011 22:52:11 +0000 (14:52 -0800)]
Ensure we send the direct levelII oplock break to the correct fid.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Tue Feb  1 00:39:56 CET 2011 on sn-devel-104

13 years agoAdd knownfail for s4 for the new oplock test.
Jeremy Allison [Mon, 31 Jan 2011 21:08:29 +0000 (13:08 -0800)]
Add knownfail for s4 for the new oplock test.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Mon Jan 31 22:55:00 CET 2011 on sn-devel-104

13 years agosmbtorture4 test for bug #7928 - Samba problems with kernel oplocks option set to...
Pavel Shilovsky [Mon, 31 Jan 2011 20:03:17 +0000 (12:03 -0800)]
smbtorture4 test for bug #7928 - Samba problems with kernel oplocks option set to "no"

13 years agoFix bug #7928 - Samba problems with kernel oplocks option set to "no"
Pavel Shilovsky [Mon, 31 Jan 2011 20:00:15 +0000 (12:00 -0800)]
Fix bug #7928 - Samba problems with kernel oplocks option set to "no"

We should not grant levelII oplocks on a file with existing
byte range locks.

13 years agomidltests: add todo/midltests-pipe-sync-ndr32-downgrade-02.idl
Stefan Metzmacher [Mon, 31 Jan 2011 17:26:09 +0000 (18:26 +0100)]
midltests: add todo/midltests-pipe-sync-ndr32-downgrade-02.idl

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Mon Jan 31 19:45:41 CET 2011 on sn-devel-104

13 years agomidltests: test encapsulated unions with 'ms_union'
Stefan Metzmacher [Mon, 31 Jan 2011 13:53:41 +0000 (14:53 +0100)]
midltests: test encapsulated unions with 'ms_union'

metze

13 years agomidltests: test encapsulated unions without 'ms_union'
Stefan Metzmacher [Mon, 31 Jan 2011 13:53:41 +0000 (14:53 +0100)]
midltests: test encapsulated unions without 'ms_union'

metze

13 years agomidltests: add examples of toplevel vs. embedded unions with mixed 'ms_union'
Stefan Metzmacher [Mon, 31 Jan 2011 13:36:24 +0000 (14:36 +0100)]
midltests: add examples of toplevel vs. embedded unions with mixed 'ms_union'

metze

13 years agomidltests: add examples of toplevel vs. embedded unions with global 'ms_union'
Stefan Metzmacher [Mon, 31 Jan 2011 13:36:24 +0000 (14:36 +0100)]
midltests: add examples of toplevel vs. embedded unions with global 'ms_union'

metze

13 years agomidltests: add examples of toplevel vs. embedded unions without 'ms_union'
Stefan Metzmacher [Mon, 31 Jan 2011 13:36:24 +0000 (14:36 +0100)]
midltests: add examples of toplevel vs. embedded unions without 'ms_union'

metze

13 years agomidltests: more union alignment example with ms_union
Stefan Metzmacher [Mon, 31 Jan 2011 11:14:45 +0000 (12:14 +0100)]
midltests: more union alignment example with ms_union

metze

13 years agomidltests: more union alignment example without ms_union
Stefan Metzmacher [Mon, 31 Jan 2011 11:13:28 +0000 (12:13 +0100)]
midltests: more union alignment example without ms_union

metze

13 years agomidltests: union alignment with enum as switch_type and 'ms_union'
Stefan Metzmacher [Mon, 31 Jan 2011 11:05:43 +0000 (12:05 +0100)]
midltests: union alignment with enum as switch_type and 'ms_union'

metze

13 years agomidltests: union alignment with enum as switch_type
Stefan Metzmacher [Mon, 31 Jan 2011 11:04:39 +0000 (12:04 +0100)]
midltests: union alignment with enum as switch_type

metze

13 years agomidltests: unions with enum vs. long
Stefan Metzmacher [Mon, 31 Jan 2011 10:50:01 +0000 (11:50 +0100)]
midltests: unions with enum vs. long

metze

13 years agomidltests: 'ms_unions' with enum vs. long
Stefan Metzmacher [Mon, 31 Jan 2011 10:47:07 +0000 (11:47 +0100)]
midltests: 'ms_unions' with enum vs. long

metze

13 years agomidltests: explore 'ms_union' option.
Stefan Metzmacher [Mon, 31 Jan 2011 10:35:43 +0000 (11:35 +0100)]
midltests: explore 'ms_union' option.

metze

13 years agos3:lib/events: use DLIST_DEMOTE() for fd events
Stefan Metzmacher [Mon, 24 Jan 2011 07:47:12 +0000 (08:47 +0100)]
s3:lib/events: use DLIST_DEMOTE() for fd events

This makes sure that fd events doesn't dry out,
because a fd with a lower number is busy.

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Mon Jan 31 16:59:44 CET 2011 on sn-devel-104

13 years agos3:smbd: let smbd_server_connection_loop_once() check for select errors
Stefan Metzmacher [Mon, 24 Jan 2011 08:00:53 +0000 (09:00 +0100)]
s3:smbd: let smbd_server_connection_loop_once() check for select errors

metze

13 years agos3:lib/events: don't loop over fd events is select gave -1
Stefan Metzmacher [Mon, 24 Jan 2011 07:57:47 +0000 (08:57 +0100)]
s3:lib/events: don't loop over fd events is select gave -1

metze

13 years agoRevert "s3: Fix starving the echo responder"
Stefan Metzmacher [Mon, 24 Jan 2011 07:56:56 +0000 (08:56 +0100)]
Revert "s3: Fix starving the echo responder"

This reverts commit d5cf6482ed0cd9a11448ca04944b2e01200a7c89.

I'll add a more generic fix for this problem.

metze

13 years agoRevert "s3:events: Call all ready fd event handlers on each iteration of the main...
Stefan Metzmacher [Mon, 24 Jan 2011 07:47:38 +0000 (08:47 +0100)]
Revert "s3:events: Call all ready fd event handlers on each iteration of the main loop"

This reverts commit 455fccf86b6544cd17a2571c63a88f8aebff3f74.

I'll add a more generic fix for this problem.

metze

13 years agos4-smbtorture: add samr_changepassworduser3 ndr torture tests.
Günther Deschner [Mon, 31 Jan 2011 13:19:25 +0000 (14:19 +0100)]
s4-smbtorture: add samr_changepassworduser3 ndr torture tests.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Jan 31 16:07:14 CET 2011 on sn-devel-104

13 years agos4-smbtorture: make it more obvious this are w2k dumps in netlogon ndr test.
Günther Deschner [Mon, 31 Jan 2011 14:13:09 +0000 (15:13 +0100)]
s4-smbtorture: make it more obvious this are w2k dumps in netlogon ndr test.

Guenther

13 years agos3-waf: On FreeBSD, compile zfsacl if sunacl.h is around.
Günther Deschner [Mon, 31 Jan 2011 08:38:21 +0000 (09:38 +0100)]
s3-waf: On FreeBSD, compile zfsacl if sunacl.h is around.

Volker, please check.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Jan 31 10:51:10 CET 2011 on sn-devel-104

13 years agonsswitch: libwbclient has vnum 1 now.
Günther Deschner [Fri, 28 Jan 2011 17:33:41 +0000 (18:33 +0100)]
nsswitch: libwbclient has vnum 1 now.

Michael, please check.

Guenther

13 years agos3-waf: these libs are not private libs.
Günther Deschner [Fri, 28 Jan 2011 17:31:41 +0000 (18:31 +0100)]
s3-waf: these libs are not private libs.

Guenther

13 years agos4:auth/pyauth.c - temporarily add compatibility code for Python 2.4
Matthias Dieter Wallnöfer [Sun, 30 Jan 2011 16:55:41 +0000 (17:55 +0100)]
s4:auth/pyauth.c - temporarily add compatibility code for Python 2.4

This patch has been commited by request of Jelmer.

Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Sun Jan 30 19:07:57 CET 2011 on sn-devel-104

13 years agolibrpc/rpc: add dcerpc_fault_to_nt_status() mapping from DCERPC_FAULT_SEC_PKG_ERROR
Stefan Metzmacher [Sun, 30 Jan 2011 16:34:35 +0000 (17:34 +0100)]
librpc/rpc: add dcerpc_fault_to_nt_status() mapping from DCERPC_FAULT_SEC_PKG_ERROR

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Sun Jan 30 18:24:04 CET 2011 on sn-devel-104

13 years agodcerpc.idl: add DCERPC_FAULT_SEC_PKG_ERROR
Stefan Metzmacher [Sun, 30 Jan 2011 16:34:11 +0000 (17:34 +0100)]
dcerpc.idl: add DCERPC_FAULT_SEC_PKG_ERROR

metze

13 years agos4:libcli/util: display NT_STATUS_RPC_SEC_PKG_ERROR in error strings
Stefan Metzmacher [Sun, 30 Jan 2011 16:33:48 +0000 (17:33 +0100)]
s4:libcli/util: display NT_STATUS_RPC_SEC_PKG_ERROR in error strings

metze

13 years agos3:libsmb: display NT_STATUS_RPC_SEC_PKG_ERROR in error strings
Stefan Metzmacher [Sun, 30 Jan 2011 16:33:13 +0000 (17:33 +0100)]
s3:libsmb: display NT_STATUS_RPC_SEC_PKG_ERROR in error strings

metze

13 years agolibcli/util: add NT_STATUS_RPC_SEC_PKG_ERROR define
Stefan Metzmacher [Sun, 30 Jan 2011 16:32:19 +0000 (17:32 +0100)]
libcli/util: add NT_STATUS_RPC_SEC_PKG_ERROR define

metze

13 years agos3:net registry: ignore WERR_BADFILE when --force is given in deletekey[_recursive]
Michael Adam [Sun, 30 Jan 2011 12:49:14 +0000 (13:49 +0100)]
s3:net registry: ignore WERR_BADFILE when --force is given in deletekey[_recursive]

Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Sun Jan 30 14:53:13 CET 2011 on sn-devel-104

13 years agos3:registry: in deletekey_recursive, fix return code upon error.
Michael Adam [Sun, 30 Jan 2011 12:44:31 +0000 (13:44 +0100)]
s3:registry: in deletekey_recursive, fix return code upon error.

correctly keep the werr from inside the transaction when the opearation
inside the transaction fails.

What is the correct behaviour if the cancel operation fails?

13 years agos3:net registry: fix a debug message.
Michael Adam [Sun, 30 Jan 2011 11:33:13 +0000 (12:33 +0100)]
s3:net registry: fix a debug message.

13 years agos3:net registry: fix a debug message.
Michael Adam [Sun, 30 Jan 2011 11:21:31 +0000 (12:21 +0100)]
s3:net registry: fix a debug message.

13 years agos3: On FreeBSD, compile zfsacl if sunacl.h is around
Volker Lendecke [Sat, 29 Jan 2011 08:19:54 +0000 (09:19 +0100)]
s3: On FreeBSD, compile zfsacl if sunacl.h is around

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sun Jan 30 12:17:49 CET 2011 on sn-devel-104

13 years agos3: Make _lp_maxprotocol static
Volker Lendecke [Sat, 29 Jan 2011 14:20:41 +0000 (15:20 +0100)]
s3: Make _lp_maxprotocol static

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sat Jan 29 16:07:28 CET 2011 on sn-devel-104

13 years agos3: Remove an unneeded check
Volker Lendecke [Sat, 29 Jan 2011 13:07:59 +0000 (14:07 +0100)]
s3: Remove an unneeded check

In many other places we already assume that if asprintf returns !=-1 then the
result is allocated.

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sat Jan 29 15:00:09 CET 2011 on sn-devel-104

13 years agos3: inline get_uid_from_state
Volker Lendecke [Fri, 28 Jan 2011 18:07:40 +0000 (19:07 +0100)]
s3: inline get_uid_from_state

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Fri Jan 28 23:38:16 CET 2011 on sn-devel-104

13 years agos3: Lift winbindd_cli_state from fillup_password_policy
Volker Lendecke [Fri, 28 Jan 2011 18:05:37 +0000 (19:05 +0100)]
s3: Lift winbindd_cli_state from fillup_password_policy

13 years agos3: Do not use state->mem_ctx in fillup_password_policy
Volker Lendecke [Fri, 28 Jan 2011 18:04:04 +0000 (19:04 +0100)]
s3: Do not use state->mem_ctx in fillup_password_policy

13 years agos3: Lift winbindd_cli_state from winbindd_dual_pam_auth_samlogon
Volker Lendecke [Sat, 11 Dec 2010 10:54:18 +0000 (11:54 +0100)]
s3: Lift winbindd_cli_state from winbindd_dual_pam_auth_samlogon

13 years agos3: Lift winbindd_cli_state from winbindd_raw_kerberos_login
Volker Lendecke [Sat, 11 Dec 2010 09:41:38 +0000 (10:41 +0100)]
s3: Lift winbindd_cli_state from winbindd_raw_kerberos_login

13 years agoWe need to reply to SMB2_GETINFO_FILE with a class of SMB2_FILE_STANDARD_INFO on...
Jeremy Allison [Fri, 28 Jan 2011 21:07:08 +0000 (13:07 -0800)]
We need to reply to SMB2_GETINFO_FILE with a class of SMB2_FILE_STANDARD_INFO on an IPC$ share.

Otherwise a Win7 client issues this request twice (2xroundtrips)
if we return NOT_SUPPORTED. We do the same for SMB1 in call_trans2qpipeinfo()

Jeremy.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Fri Jan 28 22:53:18 CET 2011 on sn-devel-104

13 years agos3-net: use struct based dcerpc_spoolss_EnumPrinterData_r() call.
Günther Deschner [Fri, 28 Jan 2011 17:17:00 +0000 (18:17 +0100)]
s3-net: use struct based dcerpc_spoolss_EnumPrinterData_r() call.

This is a workaround for a string issue we currently have with argument based
generated dcerpc client code (see bug #7804 for details).

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri Jan 28 22:05:20 CET 2011 on sn-devel-104

13 years agos3-rpcclient: use struct based dcerpc_spoolss_EnumPrinterData_r() call.
Günther Deschner [Fri, 28 Jan 2011 17:07:07 +0000 (18:07 +0100)]
s3-rpcclient: use struct based dcerpc_spoolss_EnumPrinterData_r() call.

This is a workaround for a string issue we currently have with argument based
generated dcerpc client code (see bug #7804 for details).

Guenther

13 years agos4-smbtorture: add (disabled) ndr torture test to check for a w2k samlogon reply...
Günther Deschner [Fri, 28 Jan 2011 14:33:51 +0000 (15:33 +0100)]
s4-smbtorture: add (disabled) ndr torture test to check for a w2k samlogon reply we can't currently parse.

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri Jan 28 16:23:30 CET 2011 on sn-devel-104

13 years agos4-smbtorture: add NDR tests for netr_LogonSamLogon.
Günther Deschner [Fri, 28 Jan 2011 13:18:31 +0000 (14:18 +0100)]
s4-smbtorture: add NDR tests for netr_LogonSamLogon.

Guenther

13 years agos4-acl: Fixed returning uninitialized ldap error in case of some critical errors.
Nadezhda Ivanova [Fri, 28 Jan 2011 09:58:14 +0000 (11:58 +0200)]
s4-acl: Fixed returning uninitialized ldap error in case of some critical errors.

Autobuild-User: Nadezhda Ivanova <nivanova@samba.org>
Autobuild-Date: Fri Jan 28 12:04:01 CET 2011 on sn-devel-104