At http://samba.sernet.de/ma/bzr/SAMBA_3_0-registry.bzr/
------------------------------------------------------------ revno: 5380 revision-id: [EMAIL PROTECTED] parent: [EMAIL PROTECTED] parent: [EMAIL PROTECTED] committer: Michael Adam <[EMAIL PROTECTED]> branch nick: SAMBA_3_0-registry.bzr timestamp: Wed 2007-06-13 14:20:03 +0200 message: merge from upstream added: source/include/ctdbd_conn.h ctdbd_conn.h-20070610171603-9edgkb5o35971z8g-1 source/include/packet.h packet.h-20070610171603-k8sqra1h25k1utpd-1 source/iniparser/html/tab_b.gif tab_b.gif-20070605195753-zwrk0xst5yq4pq4k-1 source/iniparser/html/tab_l.gif tab_l.gif-20070605195753-zwrk0xst5yq4pq4k-2 source/iniparser/html/tab_r.gif tab_r.gif-20070605195753-zwrk0xst5yq4pq4k-3 source/lib/ctdbd_conn.c ctdbd_conn.c-20070610171604-vqt7qm9dcx1zoqkx-1 source/lib/dbwrap_ctdb.c dbwrap_ctdb.c-20070610171605-gua683k8jynqu7x2-1 source/lib/messages_ctdbd.c messages_ctdbd.c-20070610171606-ixav4oguk8jho6w3-1 source/lib/packet.c packet.c-20070610171606-kvivx18pt52vs144-1 modified: REVISION REVISION-20060530022625-68239662668b41c3 source/Makefile.in Makefile.in-20060530022626-b16dac2328ebe703 source/auth/auth_sam.c auth_sam.c-20060530022627-a7a4ed7172cd076a source/autogen.sh autogen.sh-20060530022626-25da70b5021eee1f source/configure.in configure.in-20060530022626-07e74bc1e326c82d source/groupdb/mapping.c mapping.c-20060530022627-0d4c0d27ca093883 source/groupdb/mapping.h mapping.h-20060924130024-0alus33bx6qrtyfc-1 source/groupdb/mapping_ldb.c mapping_ldb.c-20060924130025-q7v7ypt8th46m4do-1 source/groupdb/mapping_tdb.c mapping_tdb.c-20060924130026-az0qb9gyg33leshz-1 source/include/includes.h includes.h-20060530022627-d1a059a99c05e8be source/include/messages.h messages.h-20060530022627-1e4e137420885476 source/include/passdb.h passdb.h-20060530022627-0a45826f4a4a81bc source/include/rpc_lsa.h rpc_lsa.h-20060530022627-647a9289d0cde166 source/include/rpc_netlogon.h rpc_netlogon.h-20060530022627-1cf660feb1f9de09 source/include/smb.h smb.h-20060530022627-6c2e6fe4eb631e83 source/lib/dbwrap.c dbwrap.c-20070510110202-lys33kyh2kh0gbvt-1 source/lib/ldb/include/ldb.h ldb.h-20060924130013-wfsw0zps5y9p71dq-36 source/lib/ldb/ldb_tdb/ldb_tdb.c ldb_tdb.c-20060924130013-wfsw0zps5y9p71dq-62 source/lib/ldb/ldb_tdb/ldb_tdb_wrap.c ldb_tdb_wrap.c-20060924130013-wfsw0zps5y9p71dq-58 source/lib/messages.c messages.c-20060530022627-fcc341b253a85c20 source/lib/messages_local.c messages_local.c-20070524144545-aigf1y9m5m0hq6zc-1 source/lib/replace/libreplace_cc.m4 libreplace_cc.m4-20060919015053-50coyc2ouwpsm77j-12 source/lib/replace/replace.c replace.c-20060919015053-50coyc2ouwpsm77j-15 source/lib/replace/replace.h replace.h-20060919015053-50coyc2ouwpsm77j-19 source/lib/smbldap.c smbldap.c-20060530022627-2d88240b15c77135 source/lib/substitute.c substitute.c-20060530022627-c8a0f4e0791be8e7 source/lib/system.c system.c-20060530022627-3f01435a4e07a714 source/lib/system_smbd.c system_smbd.c-20060530022627-e97a2e558e6fd98c source/lib/tdb/common/traverse.c traverse.c-20070416111147-cebijg5x16vcb45j-25 source/lib/time.c time.c-20060530022627-d22d1437379fb153 source/lib/util.c util.c-20060530022627-d569af0e687a4dd3 source/lib/util_str.c util_str.c-20060530022627-0ba87cda5eaacc2e source/lib/util_tdb.c util_tdb.c-20061021025435-o3vr4t381qf9lv7e-1 source/libgpo/gpo_sec.c gpo_sec.c-20070511161016-beeop23275m0014d-1 source/librpc/ndr/ndr_misc.c ndr_misc.c-20060908151645-5zx7mkkabpiwuown-2 source/librpc/tools/ndrdump.c ndrdump.c-20070228131339-9gfm1w70ezkzr1fe-2 source/libsmb/clifile.c clifile.c-20060530022627-79535ad57010f85a source/locking/brlock.c brlock.c-20060530022627-3b8aec140997e136 source/modules/vfs_catia.c vfs_catia.c-20060530054515-f9850d7e210c7191 source/modules/vfs_zfsacl.c vfs_zfsacl.c-20070515000032-6u07g1yie5uaylw4-1 source/nmbd/nmbd_subnetdb.c nmbd_subnetdb.c-20060530022627-74c441c66a29c8c4 source/nmbd/nmbd_winsserver.c nmbd_winsserver.c-20060530022627-e309a34b4ec33413 source/nsswitch/idmap.c idmap.c-20061212152801-ke1ub3n5v1jjf8gy-1 source/nsswitch/idmap_ldap.c idmap_ldap.c-20061212152804-ho38ifnk7se3gdfx-1 source/nsswitch/idmap_nss.c idmap_nss.c-20061212152805-z05khfnt6imezx17-1 source/nsswitch/idmap_passdb.c idmap_passdb.c-20061212152806-8pcsukuhpv9e2wk4-1 source/nsswitch/winbind_nss_netbsd.c winbind_nss_netbsd.c-20061016112626-w0yk04h2575x961b-1 source/nsswitch/winbind_nss_solaris.c winbind_nss_solaris.c-20060530022627-2356e53eacad08fa source/nsswitch/winbindd.c winbindd.c-20060530022627-8bb76c46bd1253ec source/nsswitch/winbindd_ads.c winbindd_ads.c-20060530022627-7c5e13eefe48f902 source/nsswitch/winbindd_cache.c winbindd_cache.c-20060530022627-45b83e217d38566d source/nsswitch/winbindd_dual.c winbindd_dual.c-20060530022627-d241a3ae20234631 source/param/loadparm.c loadparm.c-20060530022627-1efa1edb3eb0e897 source/registry/reg_db.c reg_db.c-20060530022627-e9a827257fb89131 source/registry/reg_printing.c reg_printing.c-20060530022627-d1848144dbeb3356 source/rpc_client/cli_lsarpc.c cli_lsarpc.c-20060530022627-b35bc2e64a6c3fbb source/rpc_client/cli_netlogon.c cli_netlogon.c-20060530022627-8932479dada9a685 source/rpc_parse/parse_lsa.c parse_lsa.c-20060530022627-ece9387bdd8d6756 source/rpc_parse/parse_net.c parse_net.c-20060530022627-2f7b0a5a38d46d3f source/rpc_parse/parse_prs.c parse_prs.c-20060530022627-0ebae6d950fb538d source/rpc_server/srv_lsa_nt.c srv_lsa_nt.c-20060530022627-c2396a7b89d2634f source/rpc_server/srv_winreg_nt.c srv_winreg_nt.c-20060921175234-rh34p6b0yqwsb0cb-1 source/rpcclient/cmd_netlogon.c cmd_netlogon.c-20060530022627-473c09638f48d7ff source/rpcclient/rpcclient.c rpcclient.c-20060530022627-28b2e13ffdf753fc source/smbd/notify.c notify.c-20060530022627-f5b19ce2772c47a0 source/smbd/nttrans.c nttrans.c-20060530022627-b483806ef6e0e97d source/smbd/open.c open.c-20060530022627-9fd4db17a805af1f source/smbd/oplock.c oplock.c-20060530022627-438ce54295ab823f source/smbd/reply.c reply.c-20060530022627-92de20342694c043 source/smbd/sec_ctx.c sec_ctx.c-20060530022627-5357c503c5244050 source/smbd/server.c server.c-20060530022627-212a418ec1144979 source/torture/denytest.c denytest.c-20060530022627-1ac75821aa5eb7d0 source/utils/net.c net.c-20060530022628-046c7d5fbf0eceac source/utils/net_groupmap.c net_groupmap.c-20060530022628-b579105a3c13d540 source/utils/net_sam.c net_sam.c-20060530090229-59cfabf50ff826bc source/utils/pdbedit.c pdbedit.c-20060530022628-2e85850b4961b3c7 source/utils/status.c status.c-20060530022628-a33523ea13048a7e ------------------------------------------------------------ revno: 5275.1.846 merged: [EMAIL PROTECTED] parent: [EMAIL PROTECTED] committer: [EMAIL PROTECTED] branch nick: SAMBA_3_0.bzr timestamp: Wed 2007-06-13 06:45:44 -0500 message: [EMAIL PROTECTED] (r23466) 2007-06-13 06:32:46 -0500 (Wed, 13 Jun 2007) Fix RAW-NOTIFY: by using delete on close the notify is triggered deep inside close_file() already. ------------------------------------------------------------ revno: 5275.1.845 merged: [EMAIL PROTECTED] parent: [EMAIL PROTECTED] committer: [EMAIL PROTECTED] branch nick: SAMBA_3_0.bzr timestamp: Wed 2007-06-13 06:15:42 -0500 message: [EMAIL PROTECTED] (r23465) 2007-06-13 06:04:31 -0500 (Wed, 13 Jun 2007) There was this diff between reg_printing in 3_0 and 3_0_26: before writing to secdesc_buf->sd, 3_0 checked secdesc_buf->sd while 3_0_26 checked secdesc_buf->sd_size. This patch makes both revisions check _both_ befor writing. Jerry / Jeremy : please check if this is correct! Michael ------------------------------------------------------------ revno: 5275.1.844 merged: [EMAIL PROTECTED] parent: [EMAIL PROTECTED] committer: [EMAIL PROTECTED] branch nick: SAMBA_3_0.bzr timestamp: Wed 2007-06-13 05:15:52 -0500 message: [EMAIL PROTECTED] (r23460) 2007-06-13 05:12:33 -0500 (Wed, 13 Jun 2007) Re-add whitespace to reduce diff between branches. Sorry for the noise... Michael ------------------------------------------------------------ revno: 5275.1.843 merged: [EMAIL PROTECTED] parent: [EMAIL PROTECTED] committer: [EMAIL PROTECTED] branch nick: SAMBA_3_0.bzr timestamp: Wed 2007-06-13 05:15:47 -0500 message: [EMAIL PROTECTED] (r23459) 2007-06-13 05:07:05 -0500 (Wed, 13 Jun 2007) Remove one superfluous cast. ------------------------------------------------------------ revno: 5275.1.842 merged: [EMAIL PROTECTED] parent: [EMAIL PROTECTED] committer: [EMAIL PROTECTED] branch nick: SAMBA_3_0.bzr timestamp: Wed 2007-06-13 05:15:42 -0500 message: [EMAIL PROTECTED] (r23458) 2007-06-13 05:06:17 -0500 (Wed, 13 Jun 2007) Cosmetic fix in debug output. ------------------------------------------------------------ revno: 5275.1.841 merged: [EMAIL PROTECTED] parent: [EMAIL PROTECTED] committer: [EMAIL PROTECTED] branch nick: SAMBA_3_0.bzr timestamp: Wed 2007-06-13 05:00:43 -0500 message: [EMAIL PROTECTED] (r23457) 2007-06-13 04:55:13 -0500 (Wed, 13 Jun 2007) After Jeremy's ack: The attached patch removes a little race condition for people with real kernel oplock support, and reduces some code paths. It changes reply_unlink to open_file_ntcreate, set_delete_on_close and close_file. The race condition happens if we break the oplock in can_delete via open_file_ntcreate, we close the file, someone else gets a batch oplock and we try to unlink. It reduces code paths by calling SMB_VFS_UNLINK in 2 fewer places. ------------------------------------------------------------ revno: 5275.1.840 merged: [EMAIL PROTECTED] parent: [EMAIL PROTECTED] committer: [EMAIL PROTECTED] branch nick: SAMBA_3_0.bzr timestamp: Tue 2007-06-12 15:02:27 -0500 message: [EMAIL PROTECTED] (r23450) 2007-06-12 14:59:38 -0500 (Tue, 12 Jun 2007) max_params_return is complete fiction when getting a changenotify request. Ignore it. Should fix bug #4689 but more tests and valgrinding will follow. Jeremy. ------------------------------------------------------------ revno: 5275.1.839 merged: [EMAIL PROTECTED] parent: [EMAIL PROTECTED] committer: [EMAIL PROTECTED] branch nick: SAMBA_3_0.bzr timestamp: Tue 2007-06-12 15:02:22 -0500 message: [EMAIL PROTECTED] (r23448) 2007-06-12 14:53:51 -0500 (Tue, 12 Jun 2007) Doh ! Don't call winbind_child_died() *before* the kill call as that sets pid = 0 ! :-). Jeremy. ------------------------------------------------------------ revno: 5275.1.838 merged: [EMAIL PROTECTED] parent: [EMAIL PROTECTED] committer: [EMAIL PROTECTED] branch nick: SAMBA_3_0.bzr timestamp: Tue 2007-06-12 15:02:17 -0500 message: [EMAIL PROTECTED] (r23447) 2007-06-12 14:47:33 -0500 (Tue, 12 Jun 2007) Add kill signal to child dead path. After talking to Jerry add to 3.0.25b. Jeremy. ------------------------------------------------------------ revno: 5275.1.837 merged: [EMAIL PROTECTED] parent: [EMAIL PROTECTED] committer: [EMAIL PROTECTED] branch nick: SAMBA_3_0.bzr timestamp: Tue 2007-06-12 14:31:08 -0500 message: [EMAIL PROTECTED] (r23446) 2007-06-12 14:19:35 -0500 (Tue, 12 Jun 2007) Restore Jeremy's original formatting, just fix the comment. ------------------------------------------------------------ revno: 5275.1.836 merged: [EMAIL PROTECTED] parent: [EMAIL PROTECTED] committer: [EMAIL PROTECTED] branch nick: SAMBA_3_0.bzr timestamp: Tue 2007-06-12 13:16:20 -0500 message: [EMAIL PROTECTED] (r23445) 2007-06-12 13:14:16 -0500 (Tue, 12 Jun 2007) Fix suggested by Volker. Don't call rename_open_files if the name wasn't changed. Jeremy. ------------------------------------------------------------ revno: 5275.1.835 merged: [EMAIL PROTECTED] parent: [EMAIL PROTECTED] committer: [EMAIL PROTECTED] branch nick: SAMBA_3_0.bzr timestamp: Tue 2007-06-12 07:46:28 -0500 message: [EMAIL PROTECTED] (r23434) 2007-06-12 07:35:24 -0500 (Tue, 12 Jun 2007) Coorect a comment. ------------------------------------------------------------ revno: 5275.1.834 merged: [EMAIL PROTECTED] parent: [EMAIL PROTECTED] committer: [EMAIL PROTECTED] branch nick: SAMBA_3_0.bzr timestamp: Tue 2007-06-12 07:15:24 -0500 message: [EMAIL PROTECTED] (r23433) 2007-06-12 07:01:52 -0500 (Tue, 12 Jun 2007) remove superfluous semicolon. ------------------------------------------------------------ revno: 5275.1.833 merged: [EMAIL PROTECTED] parent: [EMAIL PROTECTED] committer: [EMAIL PROTECTED] branch nick: SAMBA_3_0.bzr timestamp: Tue 2007-06-12 07:01:10 -0500 message: [EMAIL PROTECTED] (r23432) 2007-06-12 06:54:25 -0500 (Tue, 12 Jun 2007) Remove superfluous comment. (A relict from regkey_open_internal days.) Michael ------------------------------------------------------------ revno: 5275.1.832 merged: [EMAIL PROTECTED] parent: [EMAIL PROTECTED] committer: [EMAIL PROTECTED] branch nick: SAMBA_3_0.bzr timestamp: Tue 2007-06-12 05:30:40 -0500 message: [EMAIL PROTECTED] (r23429) 2007-06-12 05:18:26 -0500 (Tue, 12 Jun 2007) Ooops, sorry. Revert an accidential checkin of r23410. Volker ------------------------------------------------------------ revno: 5275.1.831 merged: [EMAIL PROTECTED] parent: [EMAIL PROTECTED] committer: [EMAIL PROTECTED] branch nick: SAMBA_3_0.bzr timestamp: Tue 2007-06-12 03:16:26 -0500 message: [EMAIL PROTECTED] (r23426) 2007-06-12 03:02:32 -0500 (Tue, 12 Jun 2007) Correct a comment. The default timeout is not 1min, but 30s. While there, do some reformatting. Jeremy, I think we should also kill the child. It might hang in something (an fcntl lock for example) that the next child might run into immediately again. ------------------------------------------------------------ revno: 5275.1.830 merged: [EMAIL PROTECTED] parent: [EMAIL PROTECTED] committer: [EMAIL PROTECTED] branch nick: SAMBA_3_0.bzr timestamp: Mon 2007-06-11 21:01:31 -0500 message: [EMAIL PROTECTED] (r23425) 2007-06-11 20:45:40 -0500 (Mon, 11 Jun 2007) Volker noticed this obvious fix for the wins server code :-). Thanks Volker ! Jeremy. ------------------------------------------------------------ revno: 5275.1.829 merged: [EMAIL PROTECTED] parent: [EMAIL PROTECTED] committer: [EMAIL PROTECTED] branch nick: SAMBA_3_0.bzr timestamp: Mon 2007-06-11 17:31:10 -0500 message: [EMAIL PROTECTED] (r23424) 2007-06-11 17:28:27 -0500 (Mon, 11 Jun 2007) Thanks to Jerry, we finally tracked down the : winbindd: Exceeding 200 client connections, no idle connection found" bug #3204. This fixes it in Jerry's testing ! Jeremy. ------------------------------------------------------------ revno: 5275.1.828 merged: [EMAIL PROTECTED] parent: [EMAIL PROTECTED] committer: [EMAIL PROTECTED] branch nick: SAMBA_3_0.bzr timestamp: Mon 2007-06-11 16:01:36 -0500 message: [EMAIL PROTECTED] (r23423) 2007-06-11 15:56:17 -0500 (Mon, 11 Jun 2007) Use the correct structure types in the NT_ACL operations. It's not clear to my why the catia module feels it's necessary to implement these operations, but at least they're now the right type. ------------------------------------------------------------ revno: 5275.1.827 merged: [EMAIL PROTECTED] parent: [EMAIL PROTECTED] committer: [EMAIL PROTECTED] branch nick: SAMBA_3_0.bzr timestamp: Sun 2007-06-10 19:16:30 -0500 message: [EMAIL PROTECTED] (r23411) 2007-06-10 19:05:48 -0500 (Sun, 10 Jun 2007) We were missing displayName and that was preventing us from successfully deleting an entry when "account" is the STRUCTURAL objectclass used for users and machines. "account" is used each time the user entry is in /etc/passwd and we have only the samba attributes in ldap, as well as for rfc2307(bis) standard based directories. ------------------------------------------------------------ revno: 5275.1.826 merged: [EMAIL PROTECTED] parent: [EMAIL PROTECTED] committer: [EMAIL PROTECTED] branch nick: SAMBA_3_0.bzr timestamp: Sun 2007-06-10 12:16:11 -0500 message: [EMAIL PROTECTED] (r23410) 2007-06-10 12:02:09 -0500 (Sun, 10 Jun 2007) Merge the core of the cluster code. I'm 100% certain I've forgotten to merge something, but the main code should be in. It's mainly in dbwrap_ctdb.c, ctdbd_conn.c and messages_ctdbd.c. There should be no changes to the non-cluster case, it does survive make test on my laptop. It survives some very basic tests with ctdbd enables, I did not do the full test suite for clusters yet. Phew... Volker ------------------------------------------------------------ revno: 5275.1.825 merged: [EMAIL PROTECTED] parent: [EMAIL PROTECTED] committer: [EMAIL PROTECTED] branch nick: SAMBA_3_0.bzr timestamp: Sun 2007-06-10 05:30:43 -0500 message: [EMAIL PROTECTED] (r23408) 2007-06-10 05:18:03 -0500 (Sun, 10 Jun 2007) Remove a bogus comment ------------------------------------------------------------ revno: 5275.1.824 merged: [EMAIL PROTECTED] parent: [EMAIL PROTECTED] committer: [EMAIL PROTECTED] branch nick: SAMBA_3_0.bzr timestamp: Sat 2007-06-09 18:01:08 -0500 message: [EMAIL PROTECTED] (r23407) 2007-06-09 17:45:21 -0500 (Sat, 09 Jun 2007) While verifying a bug I found out that for some reason the code to add a machine was different then the one used to add a user, the old code led to the machine SID not being built out correctly allocationg a new RID out of the passdb but instead by using the old algorithmic method. This may easily end up in creating duplicated SID when the RID counter get close to the values built by the algorithmic method. Simo. ------------------------------------------------------------ revno: 5275.1.823 merged: [EMAIL PROTECTED] parent: [EMAIL PROTECTED] committer: [EMAIL PROTECTED] branch nick: SAMBA_3_0.bzr timestamp: Sat 2007-06-09 14:31:25 -0500 message: [EMAIL PROTECTED] (r23406) 2007-06-09 14:29:35 -0500 (Sat, 09 Jun 2007) Evn if not strictly currently necessary do check for correct init also in idmap_nss and idmap_passdb for coherency and to prevent errors in future if we change the init functions to actually do something and not just return NT_STATUS_OK ------------------------------------------------------------ revno: 5275.1.822 merged: [EMAIL PROTECTED] parent: [EMAIL PROTECTED] committer: [EMAIL PROTECTED] branch nick: SAMBA_3_0.bzr timestamp: Sat 2007-06-09 13:31:07 -0500 message: [EMAIL PROTECTED] (r23404) 2007-06-09 13:18:24 -0500 (Sat, 09 Jun 2007) Fix wrong (and missing) action on error condition in ldap reply evaluation loop Fixes one of the segfaults in bug #4667 ------------------------------------------------------------ revno: 5275.1.821 merged: [EMAIL PROTECTED] parent: [EMAIL PROTECTED] committer: [EMAIL PROTECTED] branch nick: SAMBA_3_0.bzr timestamp: Fri 2007-06-08 22:12:55 -0500 message: [EMAIL PROTECTED] (r23402) 2007-06-08 19:27:28 -0500 (Fri, 08 Jun 2007) Got bitten by a talloc hierarchy. Make sure we alloc off the pipe ctx now ->names is part of the containing struct. Jeremy. ------------------------------------------------------------ revno: 5275.1.820 merged: [EMAIL PROTECTED] parent: [EMAIL PROTECTED] committer: [EMAIL PROTECTED] branch nick: SAMBA_3_0.bzr timestamp: Fri 2007-06-08 22:12:50 -0500 message: [EMAIL PROTECTED] (r23400) 2007-06-08 19:13:07 -0500 (Fri, 08 Jun 2007) Fix lsa crash bug #4683. The "names" enum struct in a lookup_sidX reply isn't optional - like the lookup_sidX query it needs to be defined in the struct. All this will go away with PIDL (thank goodness....). Jerry - I think this is a showstopper to be merged for 3.0.25b. I'll be watching the build farm to see if anything broke. Jeremy. ------------------------------------------------------------ revno: 5275.1.819 merged: [EMAIL PROTECTED] parent: [EMAIL PROTECTED] committer: [EMAIL PROTECTED] branch nick: SAMBA_3_0.bzr timestamp: Fri 2007-06-08 22:12:45 -0500 message: [EMAIL PROTECTED] (r23398) 2007-06-08 19:10:26 -0500 (Fri, 08 Jun 2007) Support membership of >16 groups on Darwin by making sure we opt in to the dynamic group resolution mechanism when switching UNIX credentials. ------------------------------------------------------------ revno: 5275.1.818 merged: [EMAIL PROTECTED] parent: [EMAIL PROTECTED] committer: [EMAIL PROTECTED] branch nick: SAMBA_3_0.bzr timestamp: Fri 2007-06-08 18:15:56 -0500 message: [EMAIL PROTECTED] (r23396) 2007-06-08 18:08:41 -0500 (Fri, 08 Jun 2007) Make VFS callbacks static. Mark operations as OPAQUE because they do not pass through. ------------------------------------------------------------ revno: 5275.1.817 merged: [EMAIL PROTECTED] parent: [EMAIL PROTECTED] committer: [EMAIL PROTECTED] branch nick: SAMBA_3_0.bzr timestamp: Fri 2007-06-08 17:30:40 -0500 message: [EMAIL PROTECTED] (r23393) 2007-06-08 17:25:55 -0500 (Fri, 08 Jun 2007) Support BSD group semantics by making sure that the effective GID is always passed as the first GID when calling setgroups(2). ------------------------------------------------------------ revno: 5275.1.816 merged: [EMAIL PROTECTED] parent: [EMAIL PROTECTED] committer: [EMAIL PROTECTED] branch nick: SAMBA_3_0.bzr timestamp: Fri 2007-06-08 15:01:12 -0500 message: [EMAIL PROTECTED] (r23391) 2007-06-08 14:58:32 -0500 (Fri, 08 Jun 2007) Second part of the patch for Apple. Change the sequence : gain_root(); sys_setgroups(ngroups, groups); become_id(uid, gid); to a function call : set_unix_security_ctx(uid_t uid, gid_t gid, int ngroups, gid_t *groups) James - should be safe for you to create a Darwin-specific version of this function now. Jeremy. ------------------------------------------------------------ revno: 5275.1.815 merged: [EMAIL PROTECTED] parent: [EMAIL PROTECTED] committer: [EMAIL PROTECTED] branch nick: SAMBA_3_0.bzr timestamp: Fri 2007-06-08 15:01:07 -0500 message: [EMAIL PROTECTED] (r23390) 2007-06-08 14:52:18 -0500 (Fri, 08 Jun 2007) First part of the patch to make Apple's life easier. Doing this in two stages to make it very easy to review. Context switching must look like : gain_root(); sys_setgroups(ngroups, groups); become_id(uid, gid); Re-arrange order so these three calls are always seen together. Next will be to turn these into a function. Jeremy. ------------------------------------------------------------ revno: 5275.1.814 merged: [EMAIL PROTECTED] parent: [EMAIL PROTECTED] committer: [EMAIL PROTECTED] branch nick: SAMBA_3_0.bzr timestamp: Fri 2007-06-08 09:45:50 -0500 message: [EMAIL PROTECTED] (r23389) 2007-06-08 09:37:29 -0500 (Fri, 08 Jun 2007) Current configure check detects posix ACL support but compile of modules/vfs_posixacl.c fails due to missing defines in sys/acl.h: ACL_USER, ACL_USER_OBJ, ACL_GROUP, ACL_GROUP_OBJ, ACL_OTHER, ACL_MASK, ACL_WRITE, ACL_READ It has to be investigated, if this can be fixed within the posixacl vfs module or if we need a darwinacl module. Michael ------------------------------------------------------------ revno: 5275.1.813 merged: [EMAIL PROTECTED] parent: [EMAIL PROTECTED] committer: [EMAIL PROTECTED] branch nick: SAMBA_3_0.bzr timestamp: Fri 2007-06-08 07:45:37 -0500 message: [EMAIL PROTECTED] (r23387) 2007-06-08 07:32:13 -0500 (Fri, 08 Jun 2007) 1. This unifies the POSIX ACL detection code: Linux, FreeBSD and other (which?) ACL implementations are now checked in the same block instead of in three separate blocks. This was inspired by Timur Bakeyev in Bug #4543. Since bugzilla is currently unavailable this patch is probably slightly different from Timurs original patch. This should finally fix Bug #4543. 2. The default of the --with-acl-support configure option is changed to "auto" (which is actually the same as "yes"). So configure tries to detect acl support by default. This had been discussed with Metze and others. Michael ------------------------------------------------------------ revno: 5275.1.812 merged: [EMAIL PROTECTED] parent: [EMAIL PROTECTED] committer: [EMAIL PROTECTED] branch nick: SAMBA_3_0.bzr timestamp: Fri 2007-06-08 05:31:02 -0500 message: [EMAIL PROTECTED] (r23380) 2007-06-08 05:29:46 -0500 (Fri, 08 Jun 2007) netr_getdcname returns WERROR not NTSTATUS. Guenther ------------------------------------------------------------ revno: 5275.1.811 merged: [EMAIL PROTECTED] parent: [EMAIL PROTECTED] committer: [EMAIL PROTECTED] branch nick: SAMBA_3_0.bzr timestamp: Fri 2007-06-08 05:30:56 -0500 message: [EMAIL PROTECTED] (r23379) 2007-06-08 05:15:19 -0500 (Fri, 08 Jun 2007) Whitespace cosmetics, to reduce irritating diffs... Michael ------------------------------------------------------------ revno: 5275.1.810 merged: [EMAIL PROTECTED] parent: [EMAIL PROTECTED] committer: [EMAIL PROTECTED] branch nick: SAMBA_3_0.bzr timestamp: Thu 2007-06-07 08:45:57 -0500 message: [EMAIL PROTECTED] (r23377) 2007-06-07 08:35:39 -0500 (Thu, 07 Jun 2007) Patch from Bjoern Jacke <[EMAIL PROTECTED]> to deal with non-GNU implementations of tr in autogen.sh ------------------------------------------------------------ revno: 5275.1.809 merged: [EMAIL PROTECTED] parent: [EMAIL PROTECTED] committer: [EMAIL PROTECTED] branch nick: SAMBA_3_0.bzr timestamp: Thu 2007-06-07 07:29:01 -0500 message: [EMAIL PROTECTED] (r23376) 2007-06-07 02:53:33 -0500 (Thu, 07 Jun 2007) More warnings ------------------------------------------------------------ revno: 5275.1.808 merged: [EMAIL PROTECTED] parent: [EMAIL PROTECTED] committer: [EMAIL PROTECTED] branch nick: SAMBA_3_0.bzr timestamp: Thu 2007-06-07 07:28:56 -0500 message: [EMAIL PROTECTED] (r23375) 2007-06-07 02:49:43 -0500 (Thu, 07 Jun 2007) Fix a 64-bit warning ------------------------------------------------------------ revno: 5275.1.807 merged: [EMAIL PROTECTED] parent: [EMAIL PROTECTED] committer: [EMAIL PROTECTED] branch nick: SAMBA_3_0.bzr timestamp: Thu 2007-06-07 07:28:51 -0500 message: [EMAIL PROTECTED] (r23372) 2007-06-06 20:13:43 -0500 (Wed, 06 Jun 2007) Remove restriction on string length for rpcclient commands. Jeremy. ------------------------------------------------------------ revno: 5275.1.806 merged: [EMAIL PROTECTED] parent: [EMAIL PROTECTED] committer: [EMAIL PROTECTED] branch nick: SAMBA_3_0.bzr timestamp: Thu 2007-06-07 07:28:46 -0500 message: [EMAIL PROTECTED] (r23371) 2007-06-06 19:14:06 -0500 (Wed, 06 Jun 2007) Fix the misleading comment I added - it really *should* say "locks chain and returned record", not "and returns record" Jeremy. ------------------------------------------------------------ revno: 5275.1.805 merged: [EMAIL PROTECTED] parent: [EMAIL PROTECTED] committer: [EMAIL PROTECTED] branch nick: SAMBA_3_0.bzr timestamp: Thu 2007-06-07 07:28:41 -0500 message: [EMAIL PROTECTED] (r23370) 2007-06-06 19:00:45 -0500 (Wed, 06 Jun 2007) Traverse in tdb wasn't consistently using the travlocks.lock_rw for lock read/write types, it was sometimes using it (tdb_next_lock) and sometimes explicitly using F_WRLCK instead. Change this to consistently use travlocks.lock_rw only. I'm pretty sure about this fix (else I woudn't be checking this in :-) but tridge and Volker please review. Jeremy. ------------------------------------------------------------ revno: 5275.1.804 merged: [EMAIL PROTECTED] parent: [EMAIL PROTECTED] committer: [EMAIL PROTECTED] branch nick: SAMBA_3_0.bzr timestamp: Thu 2007-06-07 07:28:36 -0500 message: [EMAIL PROTECTED] (r23368) 2007-06-06 08:02:24 -0500 (Wed, 06 Jun 2007) Make "winbind:rpc only" a full blown parameter. Thanks to Karolin for the patch :-) ------------------------------------------------------------ revno: 5275.1.803 merged: [EMAIL PROTECTED] parent: [EMAIL PROTECTED] committer: [EMAIL PROTECTED] branch nick: SAMBA_3_0.bzr timestamp: Thu 2007-06-07 07:28:30 -0500 message: [EMAIL PROTECTED] (r23367) 2007-06-06 08:02:14 -0500 (Wed, 06 Jun 2007) check the "use mmap" option for ldb too ------------------------------------------------------------ revno: 5275.1.802 merged: [EMAIL PROTECTED] parent: [EMAIL PROTECTED] committer: [EMAIL PROTECTED] branch nick: SAMBA_3_0.bzr timestamp: Thu 2007-06-07 07:28:25 -0500 message: [EMAIL PROTECTED] (r23363) 2007-06-06 04:27:43 -0500 (Wed, 06 Jun 2007) This fixes the build on a SuSE 6.1. :-) I guess this had been merely forgotten. But beware: The implementations of rep_pread and rep_pwrite are not thread safe. Michael ------------------------------------------------------------ revno: 5275.1.801 merged: [EMAIL PROTECTED] parent: [EMAIL PROTECTED] committer: [EMAIL PROTECTED] branch nick: SAMBA_3_0.bzr timestamp: Thu 2007-06-07 07:28:20 -0500 message: [EMAIL PROTECTED] (r23362) 2007-06-06 02:46:38 -0500 (Wed, 06 Jun 2007) Respect "use mmap" in tdb_wrap_open(). Tridge, you might want to merge this in your tree. ------------------------------------------------------------ revno: 5275.1.800 merged: [EMAIL PROTECTED] parent: [EMAIL PROTECTED] committer: [EMAIL PROTECTED] branch nick: SAMBA_3_0.bzr timestamp: Tue 2007-06-05 19:46:11 -0500 message: [EMAIL PROTECTED] (r23359) 2007-06-05 19:42:10 -0500 (Tue, 05 Jun 2007) Fix bug #4537, fix from [EMAIL PROTECTED] Jeremy. ------------------------------------------------------------ revno: 5275.1.799 merged: [EMAIL PROTECTED] parent: [EMAIL PROTECTED] committer: [EMAIL PROTECTED] branch nick: SAMBA_3_0.bzr timestamp: Tue 2007-06-05 18:46:11 -0500 message: [EMAIL PROTECTED] (r23358) 2007-06-05 18:35:39 -0500 (Tue, 05 Jun 2007) Fix from Justin Maggard <[EMAIL PROTECTED]> - ensure we don't expire a password if it's explicitly set as ACB_PWNOTREQ. Jeremy. ------------------------------------------------------------ revno: 5275.1.798 merged: [EMAIL PROTECTED] parent: [EMAIL PROTECTED] committer: Gerald Carter <[EMAIL PROTECTED]> branch nick: SAMBA_3_0.bzr timestamp: Tue 2007-06-05 14:57:56 -0500 message: sync missing files from SAMBA_3_0 tree ------------------------------------------------------------ revno: 5275.1.797 merged: [EMAIL PROTECTED] parent: [EMAIL PROTECTED] committer: [EMAIL PROTECTED] branch nick: SAMBA_3_0.bzr timestamp: Tue 2007-06-05 14:16:10 -0500 message: [EMAIL PROTECTED] (r23357) 2007-06-05 14:17:05 -0500 (Tue, 05 Jun 2007) timespec_current() was returning the wrong ns time (multiplying tv_sec, not tv_usec). Jeremy. ------------------------------------------------------------ revno: 5275.1.796 merged: [EMAIL PROTECTED] parent: [EMAIL PROTECTED] committer: [EMAIL PROTECTED] branch nick: SAMBA_3_0.bzr timestamp: Tue 2007-06-05 08:01:42 -0500 message: [EMAIL PROTECTED] (r23356) 2007-06-05 07:58:18 -0500 (Tue, 05 Jun 2007) We missed to add the 'c' character to the list of valid ones for shell escaping. I hate this kind of bugs more than how Jeremy hates off by ones :( Simo. ------------------------------------------------------------ revno: 5275.1.795 merged: [EMAIL PROTECTED] parent: [EMAIL PROTECTED] committer: [EMAIL PROTECTED] branch nick: SAMBA_3_0.bzr timestamp: Tue 2007-06-05 05:46:07 -0500 message: [EMAIL PROTECTED] (r23355) 2007-06-05 05:49:05 -0500 (Tue, 05 Jun 2007) Fix some more build warnings. Guenther ------------------------------------------------------------ revno: 5275.1.794 merged: [EMAIL PROTECTED] parent: [EMAIL PROTECTED] committer: [EMAIL PROTECTED] branch nick: SAMBA_3_0.bzr timestamp: Tue 2007-06-05 05:30:44 -0500 message: [EMAIL PROTECTED] (r23354) 2007-06-05 05:23:56 -0500 (Tue, 05 Jun 2007) Fix build warning. Guenther ------------------------------------------------------------ revno: 5275.1.793 merged: [EMAIL PROTECTED] parent: [EMAIL PROTECTED] committer: [EMAIL PROTECTED] branch nick: SAMBA_3_0.bzr timestamp: Tue 2007-06-05 01:15:42 -0500 message: [EMAIL PROTECTED] (r23352) 2007-06-05 01:10:09 -0500 (Tue, 05 Jun 2007) Don't generate stamp-h. AFAICT it is never used. ------------------------------------------------------------ revno: 5275.1.792 merged: [EMAIL PROTECTED] parent: [EMAIL PROTECTED] committer: [EMAIL PROTECTED] branch nick: SAMBA_3_0.bzr timestamp: Mon 2007-06-04 21:01:10 -0500 message: [EMAIL PROTECTED] (r23349) 2007-06-04 20:59:37 -0500 (Mon, 04 Jun 2007) Fix from Steve Langasek <[EMAIL PROTECTED]> to allow SIGTERM to cause nmbd to exit on awaiting an interface to come up. Debian bug #168079 Jeremy. ------------------------------------------------------------ revno: 5275.1.791 merged: [EMAIL PROTECTED] parent: [EMAIL PROTECTED] committer: [EMAIL PROTECTED] branch nick: SAMBA_3_0.bzr timestamp: Mon 2007-06-04 19:01:16 -0500 message: [EMAIL PROTECTED] (r23348) 2007-06-04 18:51:19 -0500 (Mon, 04 Jun 2007) Fix connection reporting on SIGUSR2 (noticed by Herb). Jeremy. ------------------------------------------------------------ revno: 5275.1.790 merged: [EMAIL PROTECTED] parent: [EMAIL PROTECTED] committer: [EMAIL PROTECTED] branch nick: SAMBA_3_0.bzr timestamp: Mon 2007-06-04 18:31:05 -0500 message: [EMAIL PROTECTED] (r23347) 2007-06-04 18:31:34 -0500 (Mon, 04 Jun 2007) Fix Coverity 363. Dead code elimination. Jeremy. ------------------------------------------------------------ revno: 5275.1.789 merged: [EMAIL PROTECTED] parent: [EMAIL PROTECTED] committer: [EMAIL PROTECTED] branch nick: SAMBA_3_0.bzr timestamp: Mon 2007-06-04 17:31:05 -0500 message: [EMAIL PROTECTED] (r23346) 2007-06-04 17:29:23 -0500 (Mon, 04 Jun 2007) Fix offline caching with XP/Vista. It was an off-by-one in storing the access mask. I shouldn't have made this mistake. Damn. Fixes bug #4673. Jeremy ------------------------------------------------------------ revno: 5275.1.788 merged: [EMAIL PROTECTED] parent: [EMAIL PROTECTED] committer: [EMAIL PROTECTED] branch nick: SAMBA_3_0.bzr timestamp: Mon 2007-06-04 15:01:10 -0500 message: [EMAIL PROTECTED] (r23345) 2007-06-04 14:58:11 -0500 (Mon, 04 Jun 2007) Stop Coverity from getting confused. Jeremy. ------------------------------------------------------------ revno: 5275.1.787 merged: [EMAIL PROTECTED] parent: [EMAIL PROTECTED] committer: [EMAIL PROTECTED] branch nick: SAMBA_3_0.bzr timestamp: Mon 2007-06-04 15:01:05 -0500 message: [EMAIL PROTECTED] (r23344) 2007-06-04 14:50:30 -0500 (Mon, 04 Jun 2007) Better error message ------------------------------------------------------------ revno: 5275.1.786 merged: [EMAIL PROTECTED] parent: [EMAIL PROTECTED] committer: [EMAIL PROTECTED] branch nick: SAMBA_3_0.bzr timestamp: Mon 2007-06-04 14:46:06 -0500 message: [EMAIL PROTECTED] (r23343) 2007-06-04 14:45:41 -0500 (Mon, 04 Jun 2007) Fix error return ------------------------------------------------------------ revno: 5275.1.785 merged: [EMAIL PROTECTED] parent: [EMAIL PROTECTED] committer: [EMAIL PROTECTED] branch nick: SAMBA_3_0.bzr timestamp: Mon 2007-06-04 14:31:22 -0500 message: [EMAIL PROTECTED] (r23342) 2007-06-04 14:29:40 -0500 (Mon, 04 Jun 2007) Stop Coverity from getting confused. Jeremy. ------------------------------------------------------------ revno: 5275.1.784 merged: [EMAIL PROTECTED] parent: [EMAIL PROTECTED] committer: [EMAIL PROTECTED] branch nick: SAMBA_3_0.bzr timestamp: Mon 2007-06-04 14:00:42 -0500 message: [EMAIL PROTECTED] (r23341) 2007-06-04 14:03:33 -0500 (Mon, 04 Jun 2007) pdb interfaces should be versioned. As SAMBA_3_0 and SAMBA_3_0_26 are now identical, use the same version number (16) for both. Jeremy. ------------------------------------------------------------ revno: 5275.1.783 merged: [EMAIL PROTECTED] parent: [EMAIL PROTECTED] committer: [EMAIL PROTECTED] branch nick: SAMBA_3_0.bzr timestamp: Mon 2007-06-04 09:45:53 -0500 message: [EMAIL PROTECTED] (r23340) 2007-06-04 09:48:26 -0500 (Mon, 04 Jun 2007) Fix typo in debug ouput. Found by Karolin Seeger <[EMAIL PROTECTED]>. Michael ------------------------------------------------------------ revno: 5275.1.782 merged: [EMAIL PROTECTED] parent: [EMAIL PROTECTED] committer: [EMAIL PROTECTED] branch nick: SAMBA_3_0.bzr timestamp: Mon 2007-06-04 09:31:03 -0500 message: [EMAIL PROTECTED] (r23337) 2007-06-04 09:25:52 -0500 (Mon, 04 Jun 2007) fix a crash bug...I wonder why only HP-UX 11.00 ans 11.11 noticed it via a SIGBUS... I missed to remove the samba3 specifc code path to tdb_open_ex() when I synced lib/tdb/ with samba4. The explicit cast in on tdb_open_ex() dropped the compiler warning :-( metze ------------------------------------------------------------ revno: 5275.1.781 merged: [EMAIL PROTECTED] parent: [EMAIL PROTECTED] committer: [EMAIL PROTECTED] branch nick: SAMBA_3_0.bzr timestamp: Mon 2007-06-04 08:09:06 -0500 message: [EMAIL PROTECTED] (r23335) 2007-06-04 04:57:59 -0500 (Mon, 04 Jun 2007) as not all source files include replace.h/config.h before unistd.h we need to pass -D_FILE_OFFSET_BITS=64 together with -Dpread=pread64 -Dpwrite=pwrite64 metze ------------------------------------------------------------ revno: 5275.1.780 merged: [EMAIL PROTECTED] parent: [EMAIL PROTECTED] committer: [EMAIL PROTECTED] branch nick: SAMBA_3_0.bzr timestamp: Mon 2007-06-04 08:09:01 -0500 message: [EMAIL PROTECTED] (r23330) 2007-06-04 03:03:46 -0500 (Mon, 04 Jun 2007) always include "winbind_client.h" as first header as it brings in "replace.h" this will bring in "config.h" metze ------------------------------------------------------------ revno: 5275.1.779 merged: [EMAIL PROTECTED] parent: [EMAIL PROTECTED] committer: [EMAIL PROTECTED] branch nick: SAMBA_3_0.bzr timestamp: Mon 2007-06-04 08:08:56 -0500 message: [EMAIL PROTECTED] (r23328) 2007-06-04 03:01:48 -0500 (Mon, 04 Jun 2007) don't typedef ber_tag_t when it's already done by openldap headers on HP-UX (lber_types.h defines _LBER_TYPES_H). metze ------------------------------------------------------------ revno: 5275.1.778 merged: [EMAIL PROTECTED] parent: [EMAIL PROTECTED] committer: [EMAIL PROTECTED] branch nick: SAMBA_3_0.bzr timestamp: Mon 2007-06-04 08:08:51 -0500 message: [EMAIL PROTECTED] (r23323) 2007-06-03 20:51:18 -0500 (Sun, 03 Jun 2007) merged ldb changes from 3.0.26 ------------------------------------------------------------ revno: 5275.1.777 merged: [EMAIL PROTECTED] parent: [EMAIL PROTECTED] committer: [EMAIL PROTECTED] branch nick: SAMBA_3_0.bzr timestamp: Mon 2007-06-04 08:08:46 -0500 message: [EMAIL PROTECTED] (r23321) 2007-06-03 20:33:00 -0500 (Sun, 03 Jun 2007) remove unused variable (due to mad merge from Centeris patches) ------------------------------------------------------------ revno: 5275.1.776 merged: [EMAIL PROTECTED] parent: [EMAIL PROTECTED] committer: [EMAIL PROTECTED] branch nick: SAMBA_3_0.bzr timestamp: Sun 2007-06-03 19:47:50 -0500 message: [EMAIL PROTECTED] (r23317) 2007-06-03 15:24:25 -0500 (Sun, 03 Jun 2007) Fix the build: r23315 was a little overeager in removing the in the guise of @BUILD_INIPARSER@ (to NET_OBJ). This also eliminates the need to have @BUILD_INIPARSER@ in the deps for the bin/net target. Same procedure for the pam_winbindd module. Michael ------------------------------------------------------------ revno: 5275.1.775 merged: [EMAIL PROTECTED] parent: [EMAIL PROTECTED] committer: [EMAIL PROTECTED] branch nick: SAMBA_3_0.bzr timestamp: Sun 2007-06-03 19:47:45 -0500 message: [EMAIL PROTECTED] (r23316) 2007-06-03 14:56:41 -0500 (Sun, 03 Jun 2007) Ouch... This would not have run in production without cluster code anyway. Diff too large for email (5909 lines, the limit is 1000).