samba.git
16 years agoFix nesting tdb_traverse in a transaction
Volker Lendecke [Tue, 20 May 2008 19:54:36 +0000 (21:54 +0200)]
Fix nesting tdb_traverse in a transaction

Calling tdb_traverse inside a transaction led to the transaction lock being
held indefinitely. This was caused by the tdb_transaction_lock/unlock inside
tdb_traverse: The transaction code holds the global lock at offset
TRANSACTION_LOCK. The call to tdb_transaction_lock does nothing because the
transaction_lock is already being held. tdb_transaction_unlock inside tdb_wrap
resets tdb->have_transaction_lock but does not release the kernel-level fcntl
lock. transaction_commit later on does not release that fcntl lock either,
because tdb->have_transaction_lock was already reset by tdb_transaction().

This patch does fix that problem for me. An alternative would be to make
tdb->have_transaction_lock a counter that can cope with proper nesting, maybe
in other places as well.

Volker

16 years agoFix bug #5477 - recvfile code was broken.
Jeremy Allison [Tue, 20 May 2008 19:10:01 +0000 (12:10 -0700)]
Fix bug #5477 - recvfile code was broken.
Jeremy.

16 years agoFix memcache_flush()
Volker Lendecke [Tue, 20 May 2008 16:35:23 +0000 (18:35 +0200)]
Fix memcache_flush()

I have no idea what I've been smoking when I checked this in :-(

Karolin, this fixes the join bug 3.0.28->3.2.0rc1

Please merge!

Thanks,

Volker

16 years agoFix typo.
Günther Deschner [Tue, 20 May 2008 15:48:39 +0000 (17:48 +0200)]
Fix typo.

Guenther

16 years agoFix a valgrind error in _samr_LookupNames
Volker Lendecke [Tue, 20 May 2008 15:29:40 +0000 (17:29 +0200)]
Fix a valgrind error in _samr_LookupNames

16 years agoRevert "Actually connect to RPC."
Günther Deschner [Tue, 20 May 2008 12:32:14 +0000 (14:32 +0200)]
Revert "Actually connect to RPC."

This reverts commit 3082534454ff936ac0b78b5a2c72c9b060e21244.

Conflicts:

source/librpc/rpc/dcerpc.c
source/librpc/rpc/dcerpc.h
source/rpc_parse/parse_rpc.c

16 years agoRevert "Reconcile ndr_syntax_id used by pidl-generated code and Samba3's RFC_IFACE."
Günther Deschner [Tue, 20 May 2008 12:23:23 +0000 (14:23 +0200)]
Revert "Reconcile ndr_syntax_id used by pidl-generated code and Samba3's RFC_IFACE."

This reverts commit 7bea00dca1ee08ef731dfa73110ef9c190a29919.

16 years agoRevert "rpc_parse: Use UUIDs from librpc/gen_ndr/ when possible to reduce"
Günther Deschner [Tue, 20 May 2008 12:21:24 +0000 (14:21 +0200)]
Revert "rpc_parse: Use UUIDs from librpc/gen_ndr/ when possible to reduce"

This reverts commit 428654b473ba44b2f5340eefef0d4fcd51aff558.

16 years agoRevert "Re-run make idl."
Günther Deschner [Tue, 20 May 2008 09:44:46 +0000 (11:44 +0200)]
Revert "Re-run make idl."

This reverts commit fe7203090c0c51e4561a3b5ce0d5d131d280ba8e.

16 years agoRevert "Re-run make idl."
Günther Deschner [Tue, 20 May 2008 09:33:12 +0000 (11:33 +0200)]
Revert "Re-run make idl."

This reverts commit 0d8181dab75887231a168f910203e53ec54fa4eb.

16 years agoRevert "No need to compose CLI_SERVER_NAME_SLASH in "net rpc service" anymore."
Günther Deschner [Tue, 20 May 2008 09:32:18 +0000 (11:32 +0200)]
Revert "No need to compose CLI_SERVER_NAME_SLASH in "net rpc service" anymore."

This reverts commit b5291d477381521cd4b71674616f8c9899007002.

16 years agoRevert "Move svc_status_string() out of rpc_client/cli_svcctl.c"
Günther Deschner [Tue, 20 May 2008 09:32:05 +0000 (11:32 +0200)]
Revert "Move svc_status_string() out of rpc_client/cli_svcctl.c"

This reverts commit 2860ae2eb2cb99b4febb352f516b3fa9fbd2abbb.

16 years agoRevert "Fix IDL for svcctl_EnumDependentServicesW()."
Günther Deschner [Tue, 20 May 2008 09:29:42 +0000 (11:29 +0200)]
Revert "Fix IDL for svcctl_EnumDependentServicesW()."

This reverts commit 46bfded43dcabdd2302d82920fb2a37c41e58126.

16 years agoRevert "Re-run make idl."
Günther Deschner [Tue, 20 May 2008 09:28:17 +0000 (11:28 +0200)]
Revert "Re-run make idl."

This reverts commit f67632f9b244800007bfaef9cc2ab932fda78b3c.

Conflicts:

source/librpc/gen_ndr/cli_ntsvcs.c

16 years agoRevert "Comment out some svcctl headers which are now defined in IDL."
Günther Deschner [Tue, 20 May 2008 09:25:56 +0000 (11:25 +0200)]
Revert "Comment out some svcctl headers which are now defined in IDL."

This reverts commit 2201a8118c6abae3425dd5728af129bb8f71b564.

16 years agoRevert "Fill in IDL for PNP_GetDeviceRegProp."
Günther Deschner [Tue, 20 May 2008 09:25:30 +0000 (11:25 +0200)]
Revert "Fill in IDL for PNP_GetDeviceRegProp."

This reverts commit b1b6e93aa1f1b6d80969b6e5dd8f723e21ae8ce8.

16 years agoRevert "Add svcctl_MgrAccessMask and svcctl_ServiceAccessMask."
Günther Deschner [Tue, 20 May 2008 09:24:58 +0000 (11:24 +0200)]
Revert "Add svcctl_MgrAccessMask and svcctl_ServiceAccessMask."

This reverts commit eeb7c7d9d0c9f7ac171641bc8cafe20db704fdc4.

16 years agoRevert "Use pidl for _svcctl_EnumDependentServicesW()."
Günther Deschner [Tue, 20 May 2008 09:23:13 +0000 (11:23 +0200)]
Revert "Use pidl for _svcctl_EnumDependentServicesW()."

This reverts commit 988291a9c07c055213f8979ebe75bb392811008d.

16 years agoRevert "Remove unused marshalling for SVCCTL_ENUM_DEPENDENT_SERVICES."
Günther Deschner [Tue, 20 May 2008 09:22:43 +0000 (11:22 +0200)]
Revert "Remove unused marshalling for SVCCTL_ENUM_DEPENDENT_SERVICES."

This reverts commit 5838d81346a51ef1e996bab938533ae2097f7e47.

16 years agoRevert "Add ntsvcs_getdevregprop command to rpcclient."
Günther Deschner [Tue, 20 May 2008 09:21:41 +0000 (11:21 +0200)]
Revert "Add ntsvcs_getdevregprop command to rpcclient."

This reverts commit 4abe30fdae511422dccd04d0287d962192beadcb.

16 years agoDeveloper's Guide: Fix typos.
Karolin Seeger [Sun, 4 May 2008 04:48:31 +0000 (06:48 +0200)]
Developer's Guide: Fix typos.

Karolin
(cherry picked from commit e206ffb8562c821735555c9b426d76e49986fefe)

16 years agoman pages: Add documentation for new cluster parameters.
Karolin Seeger [Tue, 20 May 2008 09:03:33 +0000 (11:03 +0200)]
man pages: Add documentation for new cluster parameters.

Karolin
(cherry picked from commit 029875d8c9b2f9448f5299faaa3a48e8bccbca53)

16 years ago_netr_LogonSamLogon: fix lm session key length.
Günther Deschner [Tue, 29 Apr 2008 18:13:22 +0000 (20:13 +0200)]
_netr_LogonSamLogon: fix lm session key length.

Thanks Volker for pointing this out.

Guenther
(cherry picked from commit 7ccca9a004c7a4794781cbd7c703c53a0481bd51)

16 years agoFix Bug #5461 and implement a very basic _samr_GetDisplayEnumerationIndex().
Günther Deschner [Fri, 16 May 2008 11:24:15 +0000 (13:24 +0200)]
Fix Bug #5461 and implement a very basic _samr_GetDisplayEnumerationIndex().

Citrix PM cannot use a Samba DC when having more then 900 groups as citrix
insists on calling _samr_GetDisplayEnumerationIndex() after receiving the first
900 groups via _samr_QueryDisplayInfo() to get the continuation index.

Guenther
(cherry picked from commit 1c4adc8dda68eae9839bdff843aadf8c98dd9e87)

16 years agoWHATSNEW: Update changes since 3.2.0pre3.
Karolin Seeger [Tue, 20 May 2008 06:51:15 +0000 (08:51 +0200)]
WHATSNEW: Update changes since 3.2.0pre3.

Karolin

16 years agoRestructuring of code to fix #5460. Remove search
Jeremy Allison [Mon, 19 May 2008 20:11:27 +0000 (13:11 -0700)]
Restructuring of code to fix #5460. Remove search
by name code from conn, we were already doing the
same check in the dfs_redirect() function, so move
it into parse_dfs_path() instead.
Jeremy.

16 years agoVERSION: Raise version from pre3 to rc1.
Karolin Seeger [Mon, 19 May 2008 09:53:47 +0000 (11:53 +0200)]
VERSION: Raise version from pre3 to rc1.

Karolin

16 years agoWHATSNEW: Fix typo.
Karolin Seeger [Mon, 19 May 2008 08:30:15 +0000 (10:30 +0200)]
WHATSNEW: Fix typo.

ctdb socket -> ctdbd socket

Karolin

16 years agoconfigure: Fix comment to match the current iconv check.
Kai Blin [Sun, 18 May 2008 00:26:32 +0000 (02:26 +0200)]
configure: Fix comment to match the current iconv check.

16 years agoconfigure: make use of LIBREPLACE_NETWORK_LIBS instead of redoing the tests
Stefan Metzmacher [Fri, 16 May 2008 10:50:16 +0000 (12:50 +0200)]
configure: make use of LIBREPLACE_NETWORK_LIBS instead of redoing the tests

metze

16 years agoconfigure: remove some header checks which are already done by AC_LIBREPLACE_NETWORK_...
Stefan Metzmacher [Fri, 16 May 2008 10:48:57 +0000 (12:48 +0200)]
configure: remove some header checks which are already done by AC_LIBREPLACE_NETWORK_CHECKS

metze

16 years agolib/replace: move sys/sockio.h and sys/un.h checks into AC_LIBREPLACE_NETWORK_CHECKS
Stefan Metzmacher [Fri, 16 May 2008 10:46:10 +0000 (12:46 +0200)]
lib/replace: move sys/sockio.h and sys/un.h checks into AC_LIBREPLACE_NETWORK_CHECKS

metze
(cherry picked from commit 7f26a5425e706a97cc07c5139b3fea4fde9e4020)

16 years agoconfigure: remove unused configure checks for HAVE_SOCK_SIN_LEN and HAVE_UNIXSOCKET...
Stefan Metzmacher [Fri, 16 May 2008 10:33:11 +0000 (12:33 +0200)]
configure: remove unused configure checks for HAVE_SOCK_SIN_LEN and HAVE_UNIXSOCKET and rely on libreplace

metze

16 years agolib/replace: add checks for HAVE_SOCK_SIN_LEN and HAVE_UNIXSOCKET
Stefan Metzmacher [Fri, 16 May 2008 10:29:21 +0000 (12:29 +0200)]
lib/replace: add checks for HAVE_SOCK_SIN_LEN and HAVE_UNIXSOCKET

Moved from the samba specific locations

metze
(cherry picked from commit e674128ee2f11596f358ed46104c9d25eb2f754f)

16 years agoconfigure: remove unused configure check for HAVE_WORKING_AF_LOCAL
Stefan Metzmacher [Fri, 16 May 2008 10:16:05 +0000 (12:16 +0200)]
configure: remove unused configure check for HAVE_WORKING_AF_LOCAL

metze

16 years agoWHATSNEW: Add 'smb encrypt' to the list of new parameters.
Karolin Seeger [Fri, 16 May 2008 12:06:55 +0000 (14:06 +0200)]
WHATSNEW: Add 'smb encrypt' to the list of new parameters.

Karolin

16 years agolibreplace: try to fix the build on HP-UX which has if_nametoindex() in -lipv6
Stefan Metzmacher [Thu, 8 May 2008 09:01:09 +0000 (11:01 +0200)]
libreplace: try to fix the build on HP-UX which has if_nametoindex() in -lipv6

metze
(cherry picked from commit da2179ee5d5b6094ab63a9d9d6a8d59893937087)

16 years agolibreplace: make sure system/network.h is only used when AC_LIBREPLACE_NETWORK_CHECKS...
Stefan Metzmacher [Thu, 8 May 2008 08:39:41 +0000 (10:39 +0200)]
libreplace: make sure system/network.h is only used when AC_LIBREPLACE_NETWORK_CHECKS was used

metze
(cherry picked from commit 3fddd36e119f73a5021370450f9687ef9d252bab)

16 years agolibreplace: export LIBREPLACE_NETWORK_OBJS and LIBREPLACE_NETWORK_LIBS vars
Stefan Metzmacher [Thu, 8 May 2008 08:32:19 +0000 (10:32 +0200)]
libreplace: export LIBREPLACE_NETWORK_OBJS and LIBREPLACE_NETWORK_LIBS vars

metze
(cherry picked from commit aa7ef1af746319a3d771decd0ec03dabe8b8ad28)

16 years agolibreplace: include inet_ntoa.o when the system one is broken
Stefan Metzmacher [Thu, 8 May 2008 08:27:23 +0000 (10:27 +0200)]
libreplace: include inet_ntoa.o when the system one is broken

metze
(cherry picked from commit 67845d3471711d24069636d0d4032f9d53748334)

16 years agolibreplace: merge getifaddrs.m4 into libreplace_network.m4
Stefan Metzmacher [Thu, 8 May 2008 08:08:42 +0000 (10:08 +0200)]
libreplace: merge getifaddrs.m4 into libreplace_network.m4

metze
(cherry picked from commit 0234d397fefee8e1d0dcd3402f748c2251021c90)

16 years agolibreplace: merge getaddrinfo.m4 into libreplace_network.m4
Stefan Metzmacher [Thu, 8 May 2008 08:06:39 +0000 (10:06 +0200)]
libreplace: merge getaddrinfo.m4 into libreplace_network.m4

metze
(cherry picked from commit 64591d064dc3da6074f0f7539911a6e433d9cc43)

16 years agolibreplace: merge socketpair.m4 into libreplace_network.m4
Stefan Metzmacher [Thu, 8 May 2008 08:04:51 +0000 (10:04 +0200)]
libreplace: merge socketpair.m4 into libreplace_network.m4

metze
(cherry picked from commit f9f8f93adcc7161ebb18f5a0bf28c73d951a15ad)

16 years agolibreplace: merge inet_pton.m4 into libreplace_network.m4
Stefan Metzmacher [Thu, 8 May 2008 08:02:21 +0000 (10:02 +0200)]
libreplace: merge inet_pton.m4 into libreplace_network.m4

metze
(cherry picked from commit 3a70274c908e31453942b442351eab8423c1a53d)

16 years agolibreplace: merge inet_ntop.m4 into libreplace_network.m4
Stefan Metzmacher [Thu, 8 May 2008 08:00:58 +0000 (10:00 +0200)]
libreplace: merge inet_ntop.m4 into libreplace_network.m4

metze
(cherry picked from commit 223ef6c08efb52251d0a772bb0c481b2803cf0ce)

16 years agolibreplace: merge inet_aton.m4 into libreplace_network.m4
Stefan Metzmacher [Thu, 8 May 2008 07:59:16 +0000 (09:59 +0200)]
libreplace: merge inet_aton.m4 into libreplace_network.m4

metze
(cherry picked from commit fba00736c870f449c0eee32fe0d7b0d539dca51f)

16 years agolibreplace: merge inet_ntoa.m4 into libreplace_network.m4
Stefan Metzmacher [Thu, 8 May 2008 07:58:07 +0000 (09:58 +0200)]
libreplace: merge inet_ntoa.m4 into libreplace_network.m4

metze
(cherry picked from commit 82e826253b6d18832931dbb5c1dda009889bf9e0)

16 years agolibreplace: merge socket.m4 into libreplace_network.m4
Stefan Metzmacher [Thu, 8 May 2008 07:56:10 +0000 (09:56 +0200)]
libreplace: merge socket.m4 into libreplace_network.m4

metze
(cherry picked from commit c70eba87dbbac6c2c1e68c343cdd410577c1686f)

16 years agoFix typo.
Jelmer Vernooij [Thu, 8 May 2008 11:43:45 +0000 (13:43 +0200)]
Fix typo.
(cherry picked from commit bd089818a3182698dfe85039c1b2e22d8c2835bb)

16 years agoAdd undefined symbol flag for AIX.
William Jojo [Thu, 8 May 2008 10:41:57 +0000 (12:41 +0200)]
Add undefined symbol flag for AIX.
(cherry picked from commit dabdf24e86f038e3afc67532fa5bf60a37992161)

16 years agolibreplace: also use AC_LIBREPLACE_NETWORK_CHECKS for the standalone build
Stefan Metzmacher [Wed, 7 May 2008 15:38:41 +0000 (17:38 +0200)]
libreplace: also use AC_LIBREPLACE_NETWORK_CHECKS for the standalone build

metze
(cherry picked from commit 04f4523ed032946b8f0e74ac6f7458010159e3bb)

16 years agolibreplace: use AC_LIBREPLACE_NETWORK_CHECKS only for samba
Stefan Metzmacher [Wed, 7 May 2008 15:20:38 +0000 (17:20 +0200)]
libreplace: use AC_LIBREPLACE_NETWORK_CHECKS only for samba

metze

16 years agolibreplace: use AC_LIBREPLACE_NETWORK_CHECKS only for samba
Stefan Metzmacher [Wed, 7 May 2008 15:15:36 +0000 (17:15 +0200)]
libreplace: use AC_LIBREPLACE_NETWORK_CHECKS only for samba

metze
(cherry picked from commit 3451b54bf7f5e37a589ec261d28c2a8b6f9788ed)

16 years agolibreplace: split out network checks into a AC_LIBREPLACE_NETWORK_CHECKS macro
Stefan Metzmacher [Wed, 7 May 2008 14:50:19 +0000 (16:50 +0200)]
libreplace: split out network checks into a AC_LIBREPLACE_NETWORK_CHECKS macro

Note: moving it out of AC_LIBREPLACE_BROKEN_CHECKS will be the next step

metze
(cherry picked from commit 55a904b1d7aeca849d450e371b18afca5b0c6218)

16 years agolibreplace: always provide utime() and utimes()
Stefan Metzmacher [Wed, 7 May 2008 11:10:31 +0000 (13:10 +0200)]
libreplace: always provide utime() and utimes()

I'd like to also provide futimes(), but it seems
that some systems doesn't support a it at kernel level.

If someone knows how to write a portable replacement
for futimes() please tell me...

metze
(cherry picked from commit a9604fe4a323dccb537cf02ea7594437b4995803)

16 years agolibreplace: check how portable utimes() and futimes() are
Stefan Metzmacher [Tue, 6 May 2008 10:38:55 +0000 (12:38 +0200)]
libreplace: check how portable utimes() and futimes() are

metze
(cherry picked from commit 8798ce3c744025b94973784dcb44d099427ef190)

16 years agoWHATSNEW: Fix typo.
Karolin Seeger [Fri, 16 May 2008 07:29:42 +0000 (09:29 +0200)]
WHATSNEW: Fix typo.

mangle map -> mangled map

Karolin

16 years agoman pages: Remove man page for 'mangled map'.
Karolin Seeger [Fri, 16 May 2008 07:27:20 +0000 (09:27 +0200)]
man pages: Remove man page for 'mangled map'.

'mangled map' has been removed with dee8beba7a92b8a3f68bbcc59fd0a827f68c7736.

Karolin

16 years agoWHATSNEW: Remove trailing whitespace.
Karolin Seeger [Thu, 15 May 2008 08:38:33 +0000 (10:38 +0200)]
WHATSNEW: Remove trailing whitespace.

Karolin

16 years agoWHATSNEW: Update changes since 3.2.0pre3.
Karolin Seeger [Thu, 15 May 2008 08:36:26 +0000 (10:36 +0200)]
WHATSNEW: Update changes since 3.2.0pre3.

Karolin

16 years agoFix Bug #5465 (joining with createcomputer=ou1/ou2/ou3).
Günther Deschner [Wed, 14 May 2008 21:50:25 +0000 (23:50 +0200)]
Fix Bug #5465 (joining with createcomputer=ou1/ou2/ou3).

Guenther
(cherry picked from commit f3251ba03a69c2fd0335861177159a32b2bc9477)

16 years agoFix bug #5464. Pointed out by Herb @ Connectathon. In fork_domain_child() we call :
Jeremy Allison [Wed, 14 May 2008 21:11:26 +0000 (14:11 -0700)]
Fix bug #5464. Pointed out by Herb @ Connectathon. In fork_domain_child() we call :

CatchChild();

*before* we fork the domain child. This call establishes a signal handler that
eats SIGCLD signals and doesn't call sys_select_signal() as the main daemon
SIGCLD handler should do. This causes the parent to ignore dead children and
time out, instead of calling winbind_child_died() on receipt of the signal. The
correct fix is to move the CatchChild call into the child code after the fork.

Jeremy.

16 years agoEnsure we don't keep searching for sharename if it's
Jeremy Allison [Wed, 14 May 2008 21:09:02 +0000 (14:09 -0700)]
Ensure we don't keep searching for sharename if it's
not the start of the list.
Jeremy.

16 years agoconfigure: Kill linker warnings about 32bit libs on 64bit Linux.
Kai Blin [Mon, 12 May 2008 12:39:03 +0000 (14:39 +0200)]
configure: Kill linker warnings about 32bit libs on 64bit Linux.

16 years agoWHATSNEW: Update changes since 3.2.0pre3.
Karolin Seeger [Wed, 14 May 2008 12:34:14 +0000 (14:34 +0200)]
WHATSNEW: Update changes since 3.2.0pre3.

Karolin

16 years agoEnable winbind child processes to do something with signals,
Jim McDonough [Tue, 13 May 2008 20:57:01 +0000 (16:57 -0400)]
Enable winbind child processes to do something with signals,
in particular closing and reopening logs on SIGHUP.

Conflicts:

source/winbindd/winbindd.c

16 years agoFix debug message.
Jeremy Allison [Tue, 13 May 2008 22:25:14 +0000 (15:25 -0700)]
Fix debug message.
Jeremy.

16 years agoSecond part of patch for bug #5460. Cope with pathnames
Jeremy Allison [Tue, 13 May 2008 22:02:53 +0000 (15:02 -0700)]
Second part of patch for bug #5460. Cope with pathnames
that don't look like \xxx\yyy, cope with arbitrary length.
Jeremy.

16 years agoFix bug #5460. The problem is RHEL5.0 shipped a CIFS client
Jeremy Allison [Tue, 13 May 2008 21:03:21 +0000 (14:03 -0700)]
Fix bug #5460. The problem is RHEL5.0 shipped a CIFS client
that sets the DFS bit on pathnames but doesn't
send DFS paths. This causes lookups to fail as
the smbd/msdfs.c code now just eats the first
two parts of the pathname and uses the rest as
the local path. The previous hostname check
used to protect us from that as we knew that
when the hostname was invalid it was a local
path (and a broken client).
I didn't want to put that check back in, but
came up with another idea - even though the
hostname can be a different one, the sharename
must be valid on this machine. So we can check
for a valid sharename instead.
Jeremy.

16 years agoFix signing problem in the client with transs requests
Volker Lendecke [Tue, 13 May 2008 14:23:19 +0000 (16:23 +0200)]
Fix signing problem in the client with transs requests

This is a different fix than Jeremy put into 3-0-test with 040db1ce85 and other
branches with different hashes. Jeremy, I think your fix led to bug 5436, so I
reverted your fix. This fixes the original problem I found with the transs
requests for large rpc queries in a different way. Please check!

Thanks,

Volker

16 years agoRevert "Fix signing bug found by Volker. That one was *subtle*."
Volker Lendecke [Tue, 13 May 2008 14:56:06 +0000 (16:56 +0200)]
Revert "Fix signing bug found by Volker. That one was *subtle*."

This reverts commit 816aea6c1a426eb2450061b847729e22bdac33a0.

16 years agoman pages: Correct version string.
Karolin Seeger [Tue, 13 May 2008 08:18:37 +0000 (10:18 +0200)]
man pages: Correct version string.

As Samba 3.2 will be out soon, man pages should be correct for both versions,
Samba 3.0 and 3.2.

Karolin
(cherry picked from commit 9c59c1895d8d3621f38b67ecf88109c81130c886)

16 years agonet ads: Upper case he realm name when calling kinit() using machine creds.
coffeedude [Mon, 12 May 2008 22:33:01 +0000 (17:33 -0500)]
net ads: Upper case he realm name when calling kinit() using machine creds.

Needed fix for the DNS Update option as part of "net ads join"
(cherry picked from commit aebae0b71b427838fdc6344d69d6dea87a5dd58b)

16 years agoloadparm: Fix activation of registry globals in lp_load_*.
Michael Adam [Fri, 9 May 2008 22:13:11 +0000 (00:13 +0200)]
loadparm: Fix activation of registry globals in lp_load_*.

This completes bba04a8fba6fd5cf62578733cfdabea590e8ff51:
The reverted logic has to be put into the callers
lp_load() and lp_load_initial_only() of lp_load_ex(), too.
Silly bug.

Michael

16 years agoFix replacement getpass. If we ^C at the prompt echo was left off.
Jeremy Allison [Fri, 9 May 2008 21:54:06 +0000 (14:54 -0700)]
Fix replacement getpass. If we ^C at the prompt echo was left off.
Fix bug #5456. Karolin please pull for 3.2-stable.
Jeremy.

16 years agoWHATSNEW: Update changes since 3.2.0pre3.
Karolin Seeger [Fri, 9 May 2008 09:59:55 +0000 (11:59 +0200)]
WHATSNEW: Update changes since 3.2.0pre3.

Karolin

16 years agoFix bug #5452 - smbclient put always creates zero length
Jeremy Allison [Fri, 9 May 2008 05:07:27 +0000 (22:07 -0700)]
Fix bug #5452 - smbclient put always creates zero length
files. Thanks to Kai Engert <kengert@redhat.com> for
reporting.
Karolin - this is a showstopper and must be pulled
into 3.2-stable. Thanks !
Jeremy.

16 years agoRevert "IDL: Import drsuapi.idl from samba4."
Michael Adam [Thu, 8 May 2008 15:44:41 +0000 (17:44 +0200)]
Revert "IDL: Import drsuapi.idl from samba4."

This reverts commit f583e99cef55156fa5294c3eaef0cd29740af5f1.

16 years agoRevert "IDL: Fix several DRSUAPI calls."
Michael Adam [Thu, 8 May 2008 15:44:40 +0000 (17:44 +0200)]
Revert "IDL: Fix several DRSUAPI calls."

This reverts commit aa7308fbc37eb9a26b4583b1ce2ca435b0648541.

16 years agoRevert "IDL: For the fun of it, build drsuapi.idl."
Michael Adam [Thu, 8 May 2008 15:44:40 +0000 (17:44 +0200)]
Revert "IDL: For the fun of it, build drsuapi.idl."

This reverts commit 192645f63918c8656ca0fac5bb6d2704c9500a15.

16 years agoRevert "IDL: Add autogenerated drsuapi files."
Michael Adam [Thu, 8 May 2008 15:44:40 +0000 (17:44 +0200)]
Revert "IDL: Add autogenerated drsuapi files."

This reverts commit 192ffa3835c407d5603f47c1633a075869daae01.

16 years agoRevert "IDL: Build nbt.idl always."
Michael Adam [Thu, 8 May 2008 15:44:40 +0000 (17:44 +0200)]
Revert "IDL: Build nbt.idl always."

This reverts commit 933abaeb321428aa7092a5d87af77b981be6359e.

16 years agoregistry: refactor common part of registry initialization out.
Michael Adam [Sun, 13 Apr 2008 13:21:31 +0000 (15:21 +0200)]
registry: refactor common part of registry initialization out.

into a new function registry_init_common().

Michael
(cherry picked from commit 5da52b95ac69e4abfbc44335df2447bec8f16e13)

16 years agofix some extrasemi compile warnings
Björn Jacke [Wed, 9 Apr 2008 16:20:07 +0000 (18:20 +0200)]
fix some extrasemi compile warnings

(cherry picked from parts of cbdb79b7a1044945e515a294f487e4c1a9c91be5)
(cherry picked from commit 49be6c8dac6ddb90cd3ea2324d2dbc5d7cc503dd)

16 years agoregistry: change registry_init_basic() to return WERROR instead of bool
Michael Adam [Sun, 13 Apr 2008 13:12:04 +0000 (15:12 +0200)]
registry: change registry_init_basic() to return WERROR instead of bool

Michael
(cherry picked from commit 44018f864a40604196863c032e6f10ffbf7ee8b4)

16 years agoregistry: change registry_init_smbconf() to return WERROR instead of bool
Michael Adam [Sun, 13 Apr 2008 13:25:47 +0000 (15:25 +0200)]
registry: change registry_init_smbconf() to return WERROR instead of bool

Michael
(cherry picked from commit 7c343c60574cda091f59861fbcb2893aefb564e9)
(cherry picked from commit 6c898b0285a2f822fe401cd0ced1e82873ec7c6d)

16 years agonet_registry: fix build/linking of net_registry.
Michael Adam [Fri, 4 Apr 2008 10:59:21 +0000 (12:59 +0200)]
net_registry: fix build/linking of net_registry.

Michael

Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit 6acb709ed872c3864fde48eb396e7b9c3103c070)

16 years agoRevert "Add infrastructure for reading/storing Group Policy state and control data...
Michael Adam [Thu, 8 May 2008 15:44:03 +0000 (17:44 +0200)]
Revert "Add infrastructure for reading/storing Group Policy state and control data in the registry."

This reverts commit f673bbd300d972dd7ae2d092b3b1e642ed29cfd2.

16 years agoRevert "Add Group Policy extension infrastructure."
Michael Adam [Thu, 8 May 2008 15:44:03 +0000 (17:44 +0200)]
Revert "Add Group Policy extension infrastructure."

This reverts commit 6d543b1a1a5a7af98affc9aea2edf650cb476379.

16 years agoRevert "Add "registry" Group Policy extension."
Michael Adam [Thu, 8 May 2008 15:44:02 +0000 (17:44 +0200)]
Revert "Add "registry" Group Policy extension."

This reverts commit 4e93301ca4931908a7d1994be45c57002f8c6fea.

16 years agoRevert "Add gp_get_machine_token()."
Michael Adam [Thu, 8 May 2008 15:44:02 +0000 (17:44 +0200)]
Revert "Add gp_get_machine_token()."

This reverts commit 2f1bc7ddad97b9137ae4cce696bf4e08f9b7ca20.

16 years agoRevert "Fix the build w/o ldap."
Michael Adam [Thu, 8 May 2008 15:44:02 +0000 (17:44 +0200)]
Revert "Fix the build w/o ldap."

This reverts commit 5f592d030b7e94331a634e0d625aefc60cfb1f70.

16 years agoRevert "Fix gp_find_file() which broke during the pstring removal."
Michael Adam [Thu, 8 May 2008 15:44:01 +0000 (17:44 +0200)]
Revert "Fix gp_find_file() which broke during the pstring removal."

This reverts commit f18ba6c877fa934d19ecc6a65be74b8bad7ee7e4.

16 years agoRevert "Bind Group Policy processing closer to the samba registry."
Michael Adam [Thu, 8 May 2008 15:44:01 +0000 (17:44 +0200)]
Revert "Bind Group Policy processing closer to the samba registry."

This reverts commit e9c56250eb7a2dc4e69962c5b48875834941ccfc.

16 years agoRevert "libgpo: use reg_setkeysecurity() instead of regdb_set_secdesc()."
Michael Adam [Thu, 8 May 2008 15:44:01 +0000 (17:44 +0200)]
Revert "libgpo: use reg_setkeysecurity() instead of regdb_set_secdesc()."

This reverts commit 4717e6d0cf9df53a55e5d55ede5480181b33920d.

16 years agoRevert "libgpo: replace hand-crafted registry initialization by registry_init_basic."
Michael Adam [Thu, 8 May 2008 15:44:00 +0000 (17:44 +0200)]
Revert "libgpo: replace hand-crafted registry initialization by registry_init_basic."

This reverts commit 10ae8accb486956ebb1638cee540868a11623b11.

16 years agoRevert "libgpo: open the registry in gp_init_reg_ctx()."
Michael Adam [Thu, 8 May 2008 15:44:00 +0000 (17:44 +0200)]
Revert "libgpo: open the registry in gp_init_reg_ctx()."

This reverts commit 4185ed03a3879ab708b004ef87b9ffaa6a9e6f3d.

16 years agoRevert "Makefile: reassign reg_init_basic.o to REG_BASE_OBJ, where it belongs..."
Michael Adam [Thu, 8 May 2008 15:44:00 +0000 (17:44 +0200)]
Revert "Makefile: reassign reg_init_basic.o to REG_BASE_OBJ, where it belongs..."

This reverts commit 7b16cb1023abd4fb2b2f08cf723d38c8c6ae68a0.

16 years agoRevert "fix some extrasemi compile warnings"
Michael Adam [Thu, 8 May 2008 15:44:00 +0000 (17:44 +0200)]
Revert "fix some extrasemi compile warnings"

This reverts commit cbdb79b7a1044945e515a294f487e4c1a9c91be5.

16 years agoRevert "registry: change registry_init_basic() to return WERROR instead of bool"
Michael Adam [Thu, 8 May 2008 15:43:59 +0000 (17:43 +0200)]
Revert "registry: change registry_init_basic() to return WERROR instead of bool"

This reverts commit 6a31e659cb371395dff0906786f3c6ef0cc2b3de.