15 years agoAdd net rap file user
Karolin Seeger [Thu, 18 Oct 2007 11:00:46 +0000 (13:00 +0200)]
Add net rap file user
(This used to be commit 2972c97e5e676964585de930601f083c19080735)

15 years agodon't skip some tests which samba3 passes (at least on my laptop)
Stefan Metzmacher [Thu, 18 Oct 2007 09:04:58 +0000 (11:04 +0200)]
don't skip some tests which samba3 passes (at least on my laptop)

(This used to be commit d70ddad2e8fc2f533fb9211223c172c25878254e)

15 years agomake gdb_backtrace executable
Stefan Metzmacher [Thu, 18 Oct 2007 09:03:18 +0000 (11:03 +0200)]
make gdb_backtrace executable

(This used to be commit f694df1919fe98c5efef36c867a2be6527efa6ed)

15 years agoremove configure checks which are now in libreplace
Stefan Metzmacher [Thu, 18 Oct 2007 08:55:59 +0000 (10:55 +0200)]
remove configure checks which are now in libreplace

(This used to be commit 50d5eec508bd5b98b81825b4e20c06f698029fdf)

15 years ago[libreplace] fix the standalone build of libreplace
Stefan Metzmacher [Thu, 18 Oct 2007 08:54:37 +0000 (10:54 +0200)]
[libreplace] fix the standalone build of libreplace

all configure results which are used in replace.h
or any system/*.h should be in the in the libreplace
*.m4 files!

(This used to be commit 1eefa0264bb1a304a30ec4c7c6e2392c627ee6a3)

15 years agor16050: Set the session key "SystemLibraryDTC" on ntlmssp binds. We only do INTEGRITY
Volker Lendecke [Mon, 5 Jun 2006 20:38:21 +0000 (20:38 +0000)]
r16050: Set the session key "SystemLibraryDTC" on ntlmssp binds. We only do INTEGRITY
and PRIVACY, so no other cases to take care of so far...

Andrew B., if you have time, could you take a look? This makes us survive the

(cherry picked from commit 25cc1e7ff15675b70001d1cb8d8584880650dd2e)
(This used to be commit b4746009735bf66b2578b884973c505b0363a79d)

15 years agoReformatting fix for new coding guidelines. BOOL ->bool.
Jeremy Allison [Wed, 17 Oct 2007 19:10:12 +0000 (12:10 -0700)]
Reformatting fix for new coding guidelines. BOOL ->bool.
(This used to be commit 315215e20e1e470c5077122a2e250ecb3d45ce9b)

15 years agodelete empty file lib/replace/system/getaddrinfo.h
Stefan Metzmacher [Wed, 17 Oct 2007 13:21:48 +0000 (15:21 +0200)]
delete empty file lib/replace/system/getaddrinfo.h

(This used to be commit 354bdd38e8714b789daffc897cd843a8d401be45)

15 years agor17064: lsa_GetUserName needs to return the name for S-1-5-7 on an anonymous login.
Volker Lendecke [Sat, 15 Jul 2006 17:55:01 +0000 (17:55 +0000)]
r17064: lsa_GetUserName needs to return the name for S-1-5-7 on an anonymous login.

Found that because I want to play around with setsharesecurity, for this I
need the "whoami" call figuring out the SID of the currently connected user.

Not activating this test yet until the build farm has picked up the new samba4

(cherry picked from commit 5cfe482841b77208b68376f9e2b8a4a62271f7c9)
(This used to be commit 15935bad1d756d3896f0687108e60ca10a35a936)

15 years agofix crash bug in pidl generated client code, this
Stefan Metzmacher [Wed, 17 Oct 2007 08:35:51 +0000 (10:35 +0200)]
fix crash bug in pidl generated client code, this
could have happend with [in,out,unique] pointers
when the clients sends a valid pointer, but the server
reponse with a NULL pointer (as samba-3.0.26a do for some calls).

I've tested with midl to see how windows handles this situation
and also the reverse case where the client sends NULL and
the server reposnse with non-NULL.

It appears that midl generated code just ignores this
and only copies the result if both pointers are non-NULL.

(This used to be commit cb98869fa189ce2a926a00fa9077a114f31a5d45)

15 years agoImprove IPv4 detection.
Jeremy Allison [Tue, 16 Oct 2007 23:01:13 +0000 (16:01 -0700)]
Improve IPv4 detection.
(This used to be commit 2ef50e325c2183385286b994216624dc3a309ff3)

15 years agoMove #defined for getaddrinfo into network.h (as other
Jeremy Allison [Tue, 16 Oct 2007 22:15:23 +0000 (15:15 -0700)]
Move #defined for getaddrinfo into network.h (as other
defines). Allows RHEL4 compile to work.
(This used to be commit 0ffdf4fdeea88c21880c8bf69d8db56fb49effa7)

15 years agoAdded in missing def for AI_ADDRCONFIG.
Jeremy Allison [Tue, 16 Oct 2007 19:22:58 +0000 (12:22 -0700)]
Added in missing def for AI_ADDRCONFIG.
(This used to be commit 3ef3c3afc3f56b0f4fdb384d55d2e712060fbedf)

15 years agoFix access control code to be IPv6/v4 protocol independent.
Jeremy Allison [Tue, 16 Oct 2007 18:33:37 +0000 (11:33 -0700)]
Fix access control code to be IPv6/v4 protocol independent.
Make unix_wild_match() talloc, not pstring based.
Next will be name resolution code, and client code.
(This used to be commit f6a01b82c5a47957659df08ea84e335dfbba1826)

15 years agoFix default domains support using compat syntax.
Simo Sorce [Tue, 16 Oct 2007 18:16:03 +0000 (14:16 -0400)]
Fix default domains support using compat syntax.
Without this fix idmap_rid can't be used with the compatible syntax.
Includes fix to keep trusted domains working
(This used to be commit 8c770c367c71d118651964fef63e2fd0fa4a05a5)

15 years agoMerge branch 'v3-2-test' of ssh:// into v3-2-test
Jeremy Allison [Mon, 15 Oct 2007 23:12:01 +0000 (16:12 -0700)]
Merge branch 'v3-2-test' of ssh:// into v3-2-test
(This used to be commit 5c8adce3f368d51a67d74ae168a0f59a20e1d64c)

15 years agoMove to protocol independent code in most of lib/util_sock.c
Jeremy Allison [Mon, 15 Oct 2007 23:11:48 +0000 (16:11 -0700)]
Move to protocol independent code in most of lib/util_sock.c
We don't use gethostbyname any more except in one case where
we're looking for host aliases (I don't know how to do that
with getaddrinfo yet). New function should be getaddrinfo().
Next step will be fixing lib/access.c, and then changing
libsmb/namequery.c to cope with IPv6 address returns.
(This used to be commit 4a56b697b6adcf095e25895c4a9ba3192ed34124)

15 years agoFix warning messages for unused variables.
Jeremy Allison [Mon, 15 Oct 2007 22:52:30 +0000 (15:52 -0700)]
Fix warning messages for unused variables.
(This used to be commit 406737cd9a34ac498e5823b380e1768d41e16c1b)

15 years agoCorrectly free memory in regfio paths
Alexander Bokovoy [Mon, 15 Oct 2007 03:24:44 +0000 (07:24 +0400)]
Correctly free memory in regfio paths
(This used to be commit 97f9a90b823887e808cca96eca7a041f121e6111)

Günther Deschner [Mon, 15 Oct 2007 17:10:19 +0000 (19:10 +0200)]

(This used to be commit 357f00384994946485a5190b6a9c493aeee53cd2)

15 years agorename getsmbpass -> rep_getpass and provide the function prototype
Stefan Metzmacher [Mon, 15 Oct 2007 13:42:13 +0000 (15:42 +0200)]
rename getsmbpass -> rep_getpass and provide the function prototype

(This used to be commit 96820f8d8f6522fc264efda0f069e2f6a420ac2e)

15 years agouse "system/*.h" to get the system includes
Stefan Metzmacher [Mon, 15 Oct 2007 13:41:06 +0000 (15:41 +0200)]
use "system/*.h" to get the system includes

(This used to be commit d20c2fa274297e9577ed28b8ed04806a425bdc57)

15 years agofix the compilation of getpass.c and it's configure test
Stefan Metzmacher [Mon, 15 Oct 2007 09:02:24 +0000 (11:02 +0200)]
fix the compilation of getpass.c and it's configure test

(This used to be commit f4c0961a16a84dcdfe6e2faafb75c76983e6d466)

15 years agor16320: Ensure variable is not null before calling fclose. Klocwork #412. Jeremy.
Jeremy Allison [Fri, 16 Jun 2006 23:07:42 +0000 (23:07 +0000)]
r16320: Ensure variable is not null before calling fclose. Klocwork #412. Jeremy.
(This used to be commit 33ee0cfb190a883229d0824d7194898fd8966ceb)

15 years agor16245: Cope with string being zero len. Klocwork bug #410. Jeremy.
Jeremy Allison [Thu, 15 Jun 2006 05:32:21 +0000 (05:32 +0000)]
r16245: Cope with string being zero len. Klocwork bug #410. Jeremy.
(This used to be commit 46c12de07fe6f44bcf58ca9de276e7932384843d)

15 years agoVolker's fix for bug #668. Change the \n after the password prompt to go to tty inste...
jmcd [Thu, 23 Oct 2003 13:47:17 +0000 (13:47 +0000)]
Volker's fix for bug #668. Change the \n after the password prompt to go to tty instead of stdout.
(This used to be commit 0cd1ed0424ce87f60070d43caffda41be6706d59)

15 years agoreapply: Allow ^C to interrupt smbpasswd if using our getpass. from Jeremy
Stefan Metzmacher [Fri, 5 Oct 2007 14:20:38 +0000 (16:20 +0200)]
reapply: Allow ^C to interrupt smbpasswd if using our getpass. from Jeremy

(This used to be commit d4ae42b1b2982dd786d6da16d7fa964d25fd3356)

15 years agoreformat getpass() replacement code
Stefan Metzmacher [Fri, 5 Oct 2007 13:55:19 +0000 (15:55 +0200)]
reformat getpass() replacement code

(This used to be commit 3e8f43e3cf97f10be4717978643ef3edca8650a5)

15 years agomissing stuff from samba4's libreplace
Stefan Metzmacher [Mon, 15 Oct 2007 08:59:50 +0000 (10:59 +0200)]
missing stuff from samba4's libreplace

(This used to be commit 0177158d85797e0d22c81d88175a77d4ad5ed711)

15 years agodon't imply "system/network.h" within replace.h,
metze [Wed, 10 Oct 2007 12:09:06 +0000 (12:09 +0000)]
don't imply "system/network.h" within replace.h,
as this brings in the socket_wrapper.h in unexpected
code and we endup with a missing 'swrap_close' while linking


git-svn-id: svn+ssh:// 0c0555d6-39d7-0310-84fc-f1cc0bd64818
(This used to be commit ec8e3f7f92522c65ec472058321db8a7ac30ec4c)

15 years agoLatest ipv6 changes broke (deprecated) smbmount, smbmnt and smbctool
Günter Kukkukk [Sun, 14 Oct 2007 23:16:01 +0000 (01:16 +0200)]
Latest ipv6 changes broke (deprecated) smbmount, smbmnt and smbctool

In addition some cleanup has been done to avoid compiler warnings.
(This used to be commit 29eb4d0e2d8ce4a0bd2a081265417684c8c69d6d)

15 years agoFix one more place for IFF_LOOPBACK
Volker Lendecke [Sun, 14 Oct 2007 15:17:07 +0000 (17:17 +0200)]
Fix one more place for IFF_LOOPBACK
(This used to be commit add1294562b76c38d5e471f280ca1167b4d8a93d)

15 years agoFix get_interfaces detection
Volker Lendecke [Sun, 14 Oct 2007 11:41:21 +0000 (13:41 +0200)]
Fix get_interfaces detection

During configure, we don't have config.h around yet, and we need strlcpy now.
(This used to be commit 483cf289c884f48df43f2ddce86b05b9c3e84920)

15 years agoMerge commit '5e95c548864bc8b075b8343e69a69e1a22c92456' into 3.2-trivial
Jelmer Vernooij [Sat, 13 Oct 2007 22:56:27 +0000 (00:56 +0200)]
Merge commit '5e95c548864bc8b075b8343e69a69e1a22c92456' into 3.2-trivial
(This used to be commit f8580abbd5a90622187bbd11ab3ebed6e2d541a0)

15 years agoIgnore vim backup files.
Jelmer Vernooij [Sat, 13 Oct 2007 21:39:46 +0000 (23:39 +0200)]
Ignore vim backup files.
(This used to be commit 84660aaab02338f22669bdf20af0f98607b6db17)

15 years agoFix typo.
Jelmer Vernooij [Sat, 13 Oct 2007 21:36:16 +0000 (23:36 +0200)]
Fix typo.
(This used to be commit 3072b11ac42a7d89252599bdbbf9d8515b034a8d)

15 years agoUse strlcpy instead of strncpy
Volker Lendecke [Sat, 13 Oct 2007 14:50:31 +0000 (16:50 +0200)]
Use strlcpy instead of strncpy
(This used to be commit 5e95c548864bc8b075b8343e69a69e1a22c92456)

15 years agoFix an uninitialized variable warning
Volker Lendecke [Sat, 13 Oct 2007 14:43:07 +0000 (16:43 +0200)]
Fix an uninitialized variable warning
(This used to be commit d0f25bb89a2268c8f789dd362010f8b785489424)

15 years agoFix a segfault with an unknown interface
Volker Lendecke [Sat, 13 Oct 2007 14:27:52 +0000 (16:27 +0200)]
Fix a segfault with an unknown interface

"interfaces = foo" with "foo" not being a known interface segfaulted for me.
(This used to be commit 556c33702ce6d6c7cde43ddfe965c78ebc2963d3)

15 years agoAlso find loopback interfaces
Volker Lendecke [Sat, 13 Oct 2007 14:26:42 +0000 (16:26 +0200)]
Also find loopback interfaces

Not sure if a loopback interface is actually a broadcast one.
(This used to be commit 76d8dedc368ecb1594780ce58ffee2a35a6f4f73)

15 years agoremove unused print_test.c code
Stefan Metzmacher [Sat, 13 Oct 2007 13:09:24 +0000 (15:09 +0200)]
remove unused print_test.c code

(This used to be commit 9e5ad21e6793981a01f63f2de1c4d496ade0bb54)

15 years agoDummy formatting commit to check I've set up my home git
Jeremy Allison [Sat, 13 Oct 2007 04:50:41 +0000 (21:50 -0700)]
Dummy formatting commit to check I've set up my home git
(This used to be commit a1166e9e651f4acdcf7926c5d8e9cf0c9108fe71)

15 years agoConvert get_peer_addr() to IPv6. Only is_myname_or_ipaddr()
Jeremy Allison [Fri, 12 Oct 2007 20:38:04 +0000 (13:38 -0700)]
Convert get_peer_addr() to IPv6. Only is_myname_or_ipaddr()
lefto to do then I can fix the lib/access.c functions.
(This used to be commit 3403c6c330b886c86d6d856c3ffc13b043fd6fc1)

15 years agoMerge branch 'v3-2-stable' into my_branch
Jelmer Vernooij [Fri, 12 Oct 2007 17:41:01 +0000 (19:41 +0200)]
Merge branch 'v3-2-stable' into my_branch
(This used to be commit 754671b8be0bf73a9e1fe7ff420a1b7a1cd501b7)

15 years agoFix valgrind window title.
Jelmer Vernooij [Fri, 12 Oct 2007 16:42:45 +0000 (18:42 +0200)]
Fix valgrind window title.
(This used to be commit 4ac867f5588e902358eba7bcb4dbfd431181943d)

15 years agocleanup and extent .gitignore
Stefan Metzmacher [Fri, 12 Oct 2007 14:46:24 +0000 (16:46 +0200)]
cleanup and extent .gitignore

(This used to be commit 9475993dae06fa023f2eb63d04d5f7b07b0b4d93)

15 years agoRevert "Remove superfluous quotation marks around samba version"
Michael Adam [Fri, 12 Oct 2007 14:15:28 +0000 (16:15 +0200)]
Revert "Remove superfluous quotation marks around samba version"

This reverts commit 016795c550ee0b78fa46c508703fb5e1e40d8f36.

These quotation marks are not superfluous at all... sorry!

(This used to be commit 3a1b0965229facdeab8ddc68e72bd4c5bbec70ac)

15 years agoRemove superfluous quotation marks around samba version
Michael Adam [Fri, 12 Oct 2007 12:39:35 +0000 (14:39 +0200)]
Remove superfluous quotation marks around samba version
vendor suffix.

(This used to be commit 016795c550ee0b78fa46c508703fb5e1e40d8f36)

15 years agoAdd become_root/unbecome_root around one call of getsampwsid()
Michael Adam [Fri, 12 Oct 2007 11:20:07 +0000 (13:20 +0200)]
Add become_root/unbecome_root around one call of getsampwsid()
in create_token_from_username(). This caused set_nt_acl to
partially fail in certain circumstances.

This is expected to bring an improvement to bug #4308.

(This used to be commit e68671b59500d7e1b645c80ee264c49893f8df84)

15 years agoFix the build WITH_DNS_UPDATES.
Günther Deschner [Fri, 12 Oct 2007 09:37:03 +0000 (11:37 +0200)]
Fix the build WITH_DNS_UPDATES.
Jeremy, please have a look.

(This used to be commit 4dfda879a3ad44be7008702b9fbefe3858436118)

15 years agooffsetof() is always present as shown in some
Stefan Metzmacher [Fri, 12 Oct 2007 08:06:27 +0000 (10:06 +0200)]
offsetof() is always present as shown in some
libreplace testing.

(This used to be commit 4f084efd6ac39a8347d5cfc73b727940e40150cf)

15 years agoTry and fix segfault found by Guenther on Fedora. Fedora
Jeremy Allison [Fri, 12 Oct 2007 01:03:12 +0000 (18:03 -0700)]
Try and fix segfault found by Guenther on Fedora. Fedora
seems to return bogus values for the interface entries on
vmnet and tun interfaces.
(This used to be commit 12c0b1d82802ccd1b272a8b47ddb7d258e10477c)

15 years agoAdd const to the get_peer_addr() and get_socket_addr()
Jeremy Allison [Thu, 11 Oct 2007 22:36:13 +0000 (15:36 -0700)]
Add const to the get_peer_addr() and get_socket_addr()
calls. Use the IPv6 varient for get_peer_addr().
(This used to be commit baf1f52e34ae2465a7a34be1065da29ed97e7bea)

15 years agoRemove bogus comment
Volker Lendecke [Tue, 2 Oct 2007 02:27:28 +0000 (19:27 -0700)]
Remove bogus comment
(This used to be commit 142b80bf1542f212dff66a3661c13f3f6845067f)

15 years agoMerge commit 'origin/v3-2-test' into my_branch
Guenther Deschner [Thu, 11 Oct 2007 13:18:50 +0000 (15:18 +0200)]
Merge commit 'origin/v3-2-test' into my_branch
(This used to be commit fbe5edec375c99421d19af086c4f597e70c963b8)

15 years agoRename krb5 locator plugin to "winbind_krb5_locator".
Guenther Deschner [Thu, 11 Oct 2007 13:12:12 +0000 (15:12 +0200)]
Rename krb5 locator plugin to "winbind_krb5_locator".

(This used to be commit 6ae4066bbb59536852036394ffdb89121198a39f)

15 years agoprepare the infrastructure for git branches in the build-farm
Stefan Metzmacher [Thu, 11 Oct 2007 10:27:38 +0000 (12:27 +0200)]
prepare the infrastructure for git branches in the build-farm

(This used to be commit 1bf4c7fb2012a81e0b4e3d601a4df42d1113f5ef)

15 years agoSAMBA_VERSION_VENDOR_SUFFIX doesn't need an extra '-'
Stefan Metzmacher [Thu, 11 Oct 2007 08:53:55 +0000 (10:53 +0200)]
SAMBA_VERSION_VENDOR_SUFFIX doesn't need an extra '-'

(This used to be commit b03b4489c27ed0bfd6fd13d4e6d76206e470dcc4)

15 years agoAdded missing is_ipaddress is_ipaddress_v4 not in initial
Jeremy Allison [Thu, 11 Oct 2007 01:47:41 +0000 (18:47 -0700)]
Added missing is_ipaddress is_ipaddress_v4 not in initial
port from old svn code.
(This used to be commit 169c5857b7e7922fe3fffef997ced0e014e925a8)

15 years agoAdd start of IPv6 implementation. Currently most of this is avoiding
Jeremy Allison [Thu, 11 Oct 2007 01:25:16 +0000 (18:25 -0700)]
Add start of IPv6 implementation. Currently most of this is avoiding
IPv6 in winbindd, but moves most of the socket functions that were
wrongly in lib/util.c into lib/util_sock.c and provides generic
IPv4/6 independent versions of most things. Still lots of work
to do, but now I can see how I'll fix the access check code.
Nasty part that remains is the name resolution code which is
used to returning arrays of in_addr structs.
(This used to be commit 3f6bd0e1ec5cc6670f3d08f76fc2cd94c9cd1a08)

15 years agoMerge branch 'v3-2-test' of ssh:// into SAMBA_3_2_0
Jeremy Allison [Thu, 11 Oct 2007 00:56:55 +0000 (17:56 -0700)]
Merge branch 'v3-2-test' of ssh:// into SAMBA_3_2_0
(This used to be commit 3f1ac564c0ab6d498a47da84b4b5744d8d376f3b)

15 years agoMerge from metze of libreplace header changes
Jeremy Allison [Thu, 11 Oct 2007 00:56:19 +0000 (17:56 -0700)]
Merge from metze of libreplace header changes
(This used to be commit d39ce8e37ed81f4a34a148f975874989d8d187a1)

15 years agoMerge commit 'origin/v3-2-test' into my_branch
Guenther Deschner [Thu, 11 Oct 2007 00:43:29 +0000 (02:43 +0200)]
Merge commit 'origin/v3-2-test' into my_branch
(This used to be commit 52ca48f1881fc7b6ac9d1252468bb20eee174407)

15 years agoMerge commit 'origin/v3-2-test' into my_branch
Guenther Deschner [Thu, 11 Oct 2007 00:33:07 +0000 (02:33 +0200)]
Merge commit 'origin/v3-2-test' into my_branch
(This used to be commit 83fe2b4261f0357a62ea93b806a14225173f4945)

15 years agoMerge branch 'v3-2-test' of git:// into SAMBA_3_2
Jeremy Allison [Thu, 11 Oct 2007 00:28:21 +0000 (17:28 -0700)]
Merge branch 'v3-2-test' of git:// into SAMBA_3_2
(This used to be commit e00ea359d66347a7c6f5d75de1670f788bfdc310)

15 years agoDisplay ace_objects in security descriptors.
Guenther Deschner [Thu, 11 Oct 2007 00:25:44 +0000 (02:25 +0200)]
Display ace_objects in security descriptors.

(This used to be commit 5fa3fc81b765f1d9682170de13d2e10994fdd889)

15 years agoFix valgrind-found memory overwrite.
Jeremy Allison [Thu, 11 Oct 2007 00:24:44 +0000 (17:24 -0700)]
Fix valgrind-found memory overwrite.
(This used to be commit 183df4754b5f18419f4d8fca2c0fa19919174556)

15 years agoAdding a draft section for 3.2.0pre2
Gerald (Jerry) Carter [Thu, 11 Oct 2007 00:21:52 +0000 (19:21 -0500)]
Adding a draft section for 3.2.0pre2

Add the header and "commits since 3.2.0pre1" sections in preparation
for another preview release althought we might decide to go stright
to RC from here.
(This used to be commit be916777da8c681c393b817105e3dfe8a9c4ef12)

15 years agoCopy release notes from 3.2.0pre1
Gerald (Jerry) Carter [Thu, 11 Oct 2007 00:16:57 +0000 (19:16 -0500)]
Copy release notes from 3.2.0pre1
(This used to be commit 631464e2651e33812e43fe59c1e49c5d71f9621a)

15 years agoSet -test in the vendor version
Gerald (Jerry) Carter [Thu, 11 Oct 2007 00:16:45 +0000 (19:16 -0500)]
Set -test in the vendor version
(This used to be commit 1e048ef75eba99d4bce9e44a4e2a3b95657e2e3d)

15 years ago[GLUE] Rsync SAMBA_3_2_0 SVN r25598 in order to create the v3-2-test branch.
Gerald (Jerry) Carter [Wed, 10 Oct 2007 20:34:30 +0000 (15:34 -0500)]
[GLUE] Rsync SAMBA_3_2_0 SVN r25598 in order to create the v3-2-test branch.
(This used to be commit 5c6c8e1fe93f340005110a7833946191659d88ab)

15 years agor25598: Add missing become_root/unbecome_root around calls of add_aliases.
Michael Adam [Wed, 10 Oct 2007 08:27:56 +0000 (08:27 +0000)]
r25598: Add missing become_root/unbecome_root around calls of add_aliases.
This triggered a "cannot access LDAP when not root"-bug with
"passdb backend = ldap" and "winbind nested groups = yes".

This *might* be a step towards fixing bug #4308, since the
failure was observerd when triggered by acl code.

(This used to be commit ba8c48244e140403b728d9a2ca297b40e8888964)

15 years agor25593: Add missing security_secinfo bits as seen while managing security descriptor
Günther Deschner [Tue, 9 Oct 2007 16:22:16 +0000 (16:22 +0000)]
r25593: Add missing security_secinfo bits as seen while managing security descriptor
inheritance with regedit.

(This used to be commit 534ee13596cd4d95b61ae973823b3041bd889216)

15 years agor25592: Allow to set sec_info for registry security descriptor queries.
Günther Deschner [Tue, 9 Oct 2007 13:53:40 +0000 (13:53 +0000)]
r25592: Allow to set sec_info for registry security descriptor queries.

(This used to be commit 09e10d1d2936fd8c841de2a3323a1d0a1f6bd815)

15 years agor25587: Fix getaddrinfo detection code. From Timur.
Jeremy Allison [Mon, 8 Oct 2007 23:11:33 +0000 (23:11 +0000)]
r25587: Fix getaddrinfo detection code. From Timur.
(This used to be commit 3824a10fbcc3e061d569b0f74501ce97ec0a4414)

15 years agor25584: don't run WINBIND tests untill the faked users work with a running winbindd
Stefan Metzmacher [Mon, 8 Oct 2007 20:05:46 +0000 (20:05 +0000)]
r25584: don't run WINBIND tests untill the faked users work with a running winbindd

(This used to be commit a3ce4d7c32de0911ef61b5185edae2d25907875d)

15 years agor25583: it makes no sense to run blackbox.kinit against samba3
Stefan Metzmacher [Mon, 8 Oct 2007 18:04:07 +0000 (18:04 +0000)]
r25583: it makes no sense to run blackbox.kinit against samba3

(This used to be commit a9c6d8fa8b45dadc819b8eb315ca093263f0b0fe)

15 years agor25575: Document S-1-5-12 (restriced code sid).
Günther Deschner [Mon, 8 Oct 2007 13:31:08 +0000 (13:31 +0000)]
r25575: Document S-1-5-12 (restriced code sid).

(This used to be commit 109b09edef4bcad06c3b850edf7db74419c3ad78)

15 years agor25573: Add my (C) as well
Simo Sorce [Mon, 8 Oct 2007 12:56:57 +0000 (12:56 +0000)]
r25573: Add my (C) as well
(This used to be commit a024e27e7136deb87aeed995348a1c494a850ce6)

15 years agor25572: Fix warnings (values are always true).
Jelmer Vernooij [Mon, 8 Oct 2007 12:56:27 +0000 (12:56 +0000)]
r25572: Fix warnings (values are always true).
(This used to be commit 2c77c3c58e75d6a9c08d723976c37d899a53c99a)

15 years agor25571: split up child_dispatch_table into domain, idmap and locator tables
Stefan Metzmacher [Mon, 8 Oct 2007 12:25:57 +0000 (12:25 +0000)]
r25571: split up child_dispatch_table into domain, idmap and locator tables

(This used to be commit abbb36a37c1dba2218a6c7ec31739eba5f250127)

15 years agor25570: move code of the locator child into its own file
Stefan Metzmacher [Mon, 8 Oct 2007 11:15:28 +0000 (11:15 +0000)]
r25570: move code of the locator child into its own file

(This used to be commit 2dbc168e543b84d05b85bc0a44aa8fc10adc4511)

15 years agor25569: move more idmap stuff into winbindd_idmap.c
Stefan Metzmacher [Mon, 8 Oct 2007 11:13:36 +0000 (11:13 +0000)]
r25569: move more idmap stuff into winbindd_idmap.c

(This used to be commit 953229f040580071f6ee09413f67f7edd3227728)

15 years agor25568: move idmap related functions into their own file.
Stefan Metzmacher [Mon, 8 Oct 2007 11:11:46 +0000 (11:11 +0000)]
r25568: move idmap related functions into their own file.

the final goal is to have 3 child dispatch tables
'domain', 'idmap' and 'locator' instead of one.

(This used to be commit 97c63f1b95190f3bcc1d9f34765934c97ffb720c)

15 years agor25567: make do_async() non static
Stefan Metzmacher [Mon, 8 Oct 2007 10:54:33 +0000 (10:54 +0000)]
r25567: make do_async() non static

(This used to be commit badc714d7f82f8d7c21ecfeab137efb57e970210)

15 years agor25565: Fix unintended consequence change for IPv6 noticed
Jeremy Allison [Mon, 8 Oct 2007 02:48:03 +0000 (02:48 +0000)]
r25565: Fix unintended consequence change for IPv6 noticed
by Volker. We used to return for the text
address of an uninitialized socket - ensure we
still do so. Once uninitialized address is as
good as any other.
(This used to be commit 2827bbe0f853d413b6fcb0eb676048c041cea713)

15 years agor25564: Pass sharename to delete_share_security()
Volker Lendecke [Sun, 7 Oct 2007 17:58:48 +0000 (17:58 +0000)]
r25564: Pass sharename to delete_share_security()
(This used to be commit d100bfffe2a503b8820889faedc6ed57100ca7af)

15 years agor25563: Show which local-substitute subtest fails
Volker Lendecke [Sun, 7 Oct 2007 13:36:56 +0000 (13:36 +0000)]
r25563: Show which local-substitute subtest fails
(This used to be commit 2b3392df1024539d326fb0f560ab2b0a29124a06)

15 years agor25561: Make use of [un]marshall_sec_desc
Volker Lendecke [Sun, 7 Oct 2007 12:56:43 +0000 (12:56 +0000)]
r25561: Make use of [un]marshall_sec_desc

Minor cleanup only
(This used to be commit 4dc4364b68b6b68ae0951a84475e2f9ea8cb1f8c)

15 years agor25560: Merge from Jelmer. "Define HAVE_* for other gai functions to prevent problems...
Jeremy Allison [Sun, 7 Oct 2007 04:28:01 +0000 (04:28 +0000)]
r25560: Merge from Jelmer. "Define HAVE_* for other gai functions to prevent problems with libroken."
(This used to be commit 3cd783e3a51c0f9e514f0702531b40bf9776e61a)

15 years agor25557: merge libreplace fixes from samba4
Jelmer Vernooij [Sat, 6 Oct 2007 23:07:33 +0000 (23:07 +0000)]
r25557: merge libreplace fixes from samba4
(This used to be commit 8c1669997c53f0f7bfb9a794083afd01b131f676)

15 years agor25538: Revert r25533
Volker Lendecke [Fri, 5 Oct 2007 22:06:24 +0000 (22:06 +0000)]
r25538: Revert r25533
(This used to be commit 1e02208c43cb27ca4b43d268a7f0324f2a9b2cfd)

15 years agor25534: Apply some const
Volker Lendecke [Fri, 5 Oct 2007 21:41:17 +0000 (21:41 +0000)]
r25534: Apply some const

Why? It moves these structs from the data into the text segment, so they
will never been copy-on-write copied. Not much, but as in German you say
"Kleinvieh macht auch Mist...."
(This used to be commit 0141e64ad4972232de867137064d0dae62da22ee)

15 years agor25533: remove a pstring
Volker Lendecke [Fri, 5 Oct 2007 21:28:54 +0000 (21:28 +0000)]
r25533: remove a pstring
(This used to be commit 0f2552e20fb66b0b80006a8a7b999ccf6f54c656)

15 years agor25528: Only do transactions on registry.tdb if anything changes
Volker Lendecke [Fri, 5 Oct 2007 20:42:14 +0000 (20:42 +0000)]
r25528: Only do transactions on registry.tdb if anything changes

I got annoyed by the fsync calls clobbering my harddrive when smbd started up
for debugging.

... things you do on a plane without internet
(This used to be commit e0927a7cbf4b806bcc93ad4af9552bc91292e78b)

15 years agor25526: Fix usage output.
Günther Deschner [Fri, 5 Oct 2007 20:08:48 +0000 (20:08 +0000)]
r25526: Fix usage output.

(This used to be commit 31a0bf7b8cae3322a379dc147be6493441c2f13d)

15 years agor25525: Add "net rpc registry getsd <keyname>" to display security descriptors.
Günther Deschner [Fri, 5 Oct 2007 20:07:18 +0000 (20:07 +0000)]
r25525: Add "net rpc registry getsd <keyname>" to display security descriptors.

(This used to be commit 550ae11ad1243c4c2af68345349c96d38a5e1ef8)

15 years agor25511: Fix sockaddr_in6 detection.
Jeremy Allison [Fri, 5 Oct 2007 02:03:29 +0000 (02:03 +0000)]
r25511: Fix sockaddr_in6 detection.
(This used to be commit 9fe14b5a78b0a9a9546fa07d184d0f320fb1a7be)

15 years agor25510: Now we're returning the port instead of using a global,
Jeremy Allison [Fri, 5 Oct 2007 01:11:33 +0000 (01:11 +0000)]
r25510: Now we're returning the port instead of using a global,
remember to use ntohs. Hopefully will fix the build farm.
(This used to be commit 5174acccb589edbfbe4ba633f4178f7200d7d6c4)

15 years agor25508: Reformatting.
Jeremy Allison [Thu, 4 Oct 2007 18:23:22 +0000 (18:23 +0000)]
r25508: Reformatting.
(This used to be commit b412ba6fb3e526f5cd83e6cabd952ad7c303c346)