13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

13 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)

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

13 years agor25507: Fix definition of struct sockaddr_storage if
Jeremy Allison [Thu, 4 Oct 2007 17:35:12 +0000 (17:35 +0000)]
r25507: Fix definition of struct sockaddr_storage if
struct sockaddr_in6 is defined.
(This used to be commit 4cf17df5caeb2b0220f6a7dd82d5fed5aca56850)

13 years agor25505: Add a replacement (IPv4 only) implementation of getaddrinfo/freeaddrinfo
Jeremy Allison [Thu, 4 Oct 2007 17:20:49 +0000 (17:20 +0000)]
r25505: Add a replacement (IPv4 only) implementation of getaddrinfo/freeaddrinfo
under the 2 clause *BSD license for future use in IPv6 code. Original
code was from PostgreSQL and I've maintained their license even though
I've rewritten large parts of it (I probably should donate this back
to them).
(This used to be commit 760d993340a966269d71acfb7a6b5e4d3776ac5d)

13 years agor25503: ignore failing WINBIND tests
Stefan Metzmacher [Thu, 4 Oct 2007 14:45:57 +0000 (14:45 +0000)]
r25503: ignore failing WINBIND tests

we should get the them going without ignoring error...

(This used to be commit 3d3881a3d1fb5fe56cd41c80c0bfbf7747843b19)

13 years agor25502: Fix bug 5006
Volker Lendecke [Thu, 4 Oct 2007 13:13:16 +0000 (13:13 +0000)]
r25502: Fix bug 5006

Thanks to Joerg.Bernau at
(This used to be commit 492977016fa66ce0e98a5bdd1c0f00eacdf13f0c)

13 years agor25499: Fix rpc_file_list_internals
Volker Lendecke [Thu, 4 Oct 2007 00:10:54 +0000 (00:10 +0000)]
r25499: Fix rpc_file_list_internals
(This used to be commit da5736f2103be2229cc3d4421c68f33b3242fa6d)

13 years agor25498: Remove checks that are always true.
Jelmer Vernooij [Wed, 3 Oct 2007 22:23:37 +0000 (22:23 +0000)]
r25498: Remove checks that are always true.
(This used to be commit 2f2bdfa0df758104a9a2fcafe49d6215d8753536)

13 years agor25495: Fixup definitions for missing sockaddr_storage.
Jeremy Allison [Wed, 3 Oct 2007 22:01:25 +0000 (22:01 +0000)]
r25495: Fixup definitions for missing sockaddr_storage.
(This used to be commit d980ee5040f2ab9e7408218d13962dd64e2b33b1)

13 years agor25494: Sanity check --with-samba4srcdir argument.
Jelmer Vernooij [Wed, 3 Oct 2007 21:14:20 +0000 (21:14 +0000)]
r25494: Sanity check --with-samba4srcdir argument.
(This used to be commit d05bf1fbeeb5504d3b372b03db1ab5fd535f7b2e)

13 years agor25493: Fix typo in Jeremy's thread-safe winbind patch:
Jim McDonough [Wed, 3 Oct 2007 20:56:29 +0000 (20:56 +0000)]
r25493: Fix typo in Jeremy's thread-safe winbind patch:
lock->unlock (would have tried to lock a mutex
at the end of a function).  Cut-n-paste error.
(This used to be commit 281c6191547c352a51d73920c7a31d9236b37351)

13 years agor25492: Start adding IPv6 compatible code to lib/util_sock.c and deal with
Jeremy Allison [Wed, 3 Oct 2007 20:43:55 +0000 (20:43 +0000)]
r25492: Start adding IPv6 compatible code to lib/util_sock.c and deal with
the ripple effects this causes. utmp has to change etc. Remove some
global varables and store address/port in the unexpected db.
(This used to be commit 18c6a2211d9e25233d01715b3f78977edcd6d869)

13 years agor25487: Try fix the build - fix socklen_t and sa_family_t.
Jeremy Allison [Wed, 3 Oct 2007 19:12:39 +0000 (19:12 +0000)]
r25487: Try fix the build - fix socklen_t and sa_family_t.
(This used to be commit 2cab82563409eca79ac5f518a3dcb8cdbdcded7e)

13 years agor25484: Fix srvsrc_NetFileEnum listing only for one user
Volker Lendecke [Wed, 3 Oct 2007 18:37:57 +0000 (18:37 +0000)]
r25484: Fix srvsrc_NetFileEnum listing only for one user
(This used to be commit 9e1f513916d8836914580806580c4f8c38e5f2be)

13 years agor25482: Slightly simplify logic
Volker Lendecke [Wed, 3 Oct 2007 13:13:02 +0000 (13:13 +0000)]
r25482: Slightly simplify logic

Instead of one big if-branch for if (process_exists(..)) return if
(This used to be commit 3acc00132c97b36e026162ae11a23953269dfbed)

13 years agor25481: Fix some typos, don't panic as non-root on net getdomainsid
Volker Lendecke [Wed, 3 Oct 2007 12:55:45 +0000 (12:55 +0000)]
r25481: Fix some typos, don't panic as non-root on net getdomainsid

Thanks to Karolin Seeger <>
(This used to be commit 5ae4b2739853e2cd91e839909eb868dbb56be431)

13 years agor25480: Fix a segfault
Volker Lendecke [Wed, 3 Oct 2007 12:51:36 +0000 (12:51 +0000)]
r25480: Fix a segfault
(This used to be commit 7e72a3046d5c318247d1e69b51bcb74e897e3eae)

13 years agor25476: Finally fix up new interface detection code :-).
Jeremy Allison [Tue, 2 Oct 2007 21:12:01 +0000 (21:12 +0000)]
r25476: Finally fix up new interface detection code :-).
(This used to be commit fffdad52859b5a8bc5dd61912d80b93e8c030c8f)

13 years agor25475: Fix braindead mistakes I made pointed out by Simo and
Jeremy Allison [Tue, 2 Oct 2007 20:39:41 +0000 (20:39 +0000)]
r25475: Fix braindead mistakes I made pointed out by Simo and
James (how did this compile ? :-).
(This used to be commit ae8efc60aa1ddff795d16b1fb1bfe8cc392f49b3)

13 years agor25474: Try and fix the build on Mac OS X 10.4.9.
Jeremy Allison [Tue, 2 Oct 2007 20:04:14 +0000 (20:04 +0000)]
r25474: Try and fix the build on Mac OS X 10.4.9.
Shuffle sa_family_t around.
(This used to be commit f1b8c5de0ae96e04e340029f5cd544de9ac57b32)

13 years agor25473: Reformatting only. Prepare for new ip functions.
Jeremy Allison [Tue, 2 Oct 2007 19:50:53 +0000 (19:50 +0000)]
r25473: Reformatting only. Prepare for new ip functions.
(This used to be commit 2a8f3dd55074eeb3d96a1b478981780651bbe88b)

13 years agor25472: Fix the interfaces code to detect IPv6 interfaces, using the
Jeremy Allison [Tue, 2 Oct 2007 19:27:25 +0000 (19:27 +0000)]
r25472: Fix the interfaces code to detect IPv6 interfaces, using the
new standard getifaddrs() and freeifaddrs() interfaces. Currently
we only return IPv4 af_families. Needs fixing for binds to IPv6
but this has to be careful work.
(This used to be commit 327875182c9219aeba687e10aaea93546d9a70ea)

13 years agor25470: use --immediate like in samba4 to get more usefull output
Stefan Metzmacher [Tue, 2 Oct 2007 16:13:30 +0000 (16:13 +0000)]
r25470: use --immediate like in samba4 to get more usefull output

(This used to be commit f5b089370a4a8e23d656276d06febb041729743d)

13 years agor25455: Ensure we have inet_ntop and inet_pton available in lib/replace.
Jeremy Allison [Mon, 1 Oct 2007 23:18:26 +0000 (23:18 +0000)]
r25455: Ensure we have inet_ntop and inet_pton available in lib/replace.
(This used to be commit 1f719905440d4c87c526c56532f47d894cfec5f0)

13 years agor25445: Fix IPV6 detection.
Jeremy Allison [Mon, 1 Oct 2007 18:30:01 +0000 (18:30 +0000)]
r25445: Fix IPV6 detection.
(This used to be commit ab2e190859f2cc64c989f0d10195bfff3db12651)

13 years agor25441: Make wbinfo --sequence output the sequence number if --domain
Michael Adam [Mon, 1 Oct 2007 15:35:05 +0000 (15:35 +0000)]
r25441: Make wbinfo --sequence output the sequence number if --domain
is specified.

(This used to be commit b0f59f18bc8e95a98ee44fcc751f3af4e96d5924)

13 years agor25434: Add the option to print the debug class (DBGC_CLASS) in the debug header.
Michael Adam [Sun, 30 Sep 2007 08:07:06 +0000 (08:07 +0000)]
r25434: Add the option to print the debug class (DBGC_CLASS) in the debug header.
Control this by a new boolean smb.conf option "debug class" which is
by default set to "no" to keep the default debug header unchanged.


Note: You need to make clean for this patch.
(This used to be commit 066a46ba91ca734d9e20cb9d6db36fec209a27d7)

13 years agor25432: Merge module linking changes from SAMBA_3_2 to SAMBA_3_2_0 to reduce
James Peach [Sat, 29 Sep 2007 23:54:32 +0000 (23:54 +0000)]
r25432: Merge module linking changes from SAMBA_3_2 to SAMBA_3_2_0 to reduce
spurious tree differences.
(This used to be commit ee1eba2855c7ee2d60ba7d354e6731da78cbd48e)

13 years agor25431: Add detection for IPv6 support.
Jeremy Allison [Sat, 29 Sep 2007 23:43:24 +0000 (23:43 +0000)]
r25431: Add detection for IPv6 support.
(This used to be commit 86b47d267d0eda4b972f1087be069ae5afda834e)

13 years agor25429: Samba 3 doesn't need to selftest Samba4 code...
Stefan Metzmacher [Sat, 29 Sep 2007 15:17:49 +0000 (15:17 +0000)]
r25429: Samba 3 doesn't need to selftest Samba4 code...

(This used to be commit fef2ed213035607fa2b9d987c3efc3cc48b04790)

13 years agor25426: Fix another implicit cast warning.
Michael Adam [Sat, 29 Sep 2007 08:25:44 +0000 (08:25 +0000)]
r25426: Fix another implicit cast warning.

(This used to be commit 4a053d5bf9db82b5ae9ac342f68e90ef89ba292f)

13 years agor25424: Align log level (by two) in debugging output.
Michael Adam [Sat, 29 Sep 2007 07:18:23 +0000 (07:18 +0000)]
r25424: Align log level (by two) in debugging output.

(This used to be commit 9265b3cde25208884a8d3a9c42461d1c6e6fc353)

13 years agor25422: Get rid of some cast warnings.
Michael Adam [Sat, 29 Sep 2007 06:44:39 +0000 (06:44 +0000)]
r25422: Get rid of some cast warnings.
(This used to be commit 3e155b249e03cc9f7bd0cbf3a3ab8a57536bf0ce)

13 years agor25418: fix generation of git revision calculation
Stefan Metzmacher [Fri, 28 Sep 2007 23:39:32 +0000 (23:39 +0000)]
r25418: fix generation of git revision calculation

(This used to be commit 43df4928ecd61ae071109abb1c72dfd1b78a5a5e)

13 years agor25417: Use DBGC_REGISTRY class.
Günther Deschner [Fri, 28 Sep 2007 23:05:52 +0000 (23:05 +0000)]
r25417: Use DBGC_REGISTRY class.

(This used to be commit 43ca04918a5a1b2379083dc624b346ceb8476a38)

13 years agor25416: Add registry debug class.
Günther Deschner [Fri, 28 Sep 2007 23:03:08 +0000 (23:03 +0000)]
r25416: Add registry debug class.

(This used to be commit b28dd747cb5a3d0eee865076eb4733dc123a6968)

13 years agor25415: Merge the 3.2-perltest branch that switches Samba 3.2 to use Samba 4's selfte...
Jelmer Vernooij [Fri, 28 Sep 2007 22:16:14 +0000 (22:16 +0000)]
r25415: Merge the 3.2-perltest branch that switches Samba 3.2 to use Samba 4's selftest code. See the mailing list for details.
(This used to be commit bdc831ddb3a860676c36bbd89e6f748946df68a1)

13 years agor25407: Revert Longhorn join patch as it is not correct for the 3.2 tree.
Gerald Carter [Fri, 28 Sep 2007 18:15:34 +0000 (18:15 +0000)]
r25407: Revert Longhorn join patch as it is not correct for the 3.2 tree.

The translate_name() used by cli_session_setup_spnego() cann rely
Winbindd since it is needed by the join process (and hence before
Winbind can be run).
(This used to be commit 00a93ed336c5f36643e6e33bd277608eaf05677c)

13 years agor25406: Make the Linux nss client code thread-safe.
Jeremy Allison [Fri, 28 Sep 2007 18:12:22 +0000 (18:12 +0000)]
r25406: Make the Linux nss client code thread-safe.
Fix originally inspired from code from boyang <>.
(This used to be commit cc19c0ace43a3613f6290fa4bc4f68c964563743)

13 years agor25405: Fix formatting as per metze's comments
Gerald Carter [Fri, 28 Sep 2007 18:09:50 +0000 (18:09 +0000)]
r25405: Fix formatting as per metze's comments
(This used to be commit 45fa393358926117e0209970414678547d8504a6)

13 years agor25402: BUG 4997 (3.2 only): Fix enumration level for smbtree
Gerald Carter [Fri, 28 Sep 2007 04:08:58 +0000 (04:08 +0000)]
r25402: BUG 4997 (3.2 only): Fix enumration level for smbtree
(This used to be commit f387e0f256e3f8a8c4a67f7fcc847a9dabaff8da)

13 years agor25401: BUG 4982: Don't delete lanman hashes on invalid logins when
Gerald Carter [Fri, 28 Sep 2007 03:56:12 +0000 (03:56 +0000)]
r25401: BUG 4982: Don't delete lanman hashes on invalid logins when
using the "lanman auth = no".  Tested by Guenter Kukkukk.
(This used to be commit 611fdd95a583ebd22ffa17e2f39c5a1bb0936c63)

13 years agor25400: Windows 2008 (Longhorn) Interop fixes for AD specific auth2 flags,
Gerald Carter [Fri, 28 Sep 2007 03:54:42 +0000 (03:54 +0000)]
r25400: Windows 2008 (Longhorn) Interop fixes for AD specific auth2 flags,
and client fixes.  Patch from Todd Stetcher <>.
(This used to be commit 8304ccba7346597425307e260e88647e49081f68)

13 years agor25399: Excise uint - > uint32 (where appropriate) or unsigned int.
Jeremy Allison [Fri, 28 Sep 2007 01:32:08 +0000 (01:32 +0000)]
r25399: Excise uint - > uint32 (where appropriate) or unsigned int.
(This used to be commit b4ee924000f4a21b16a70e08e58331d209c4d114)

13 years agor25396: Very obvious fix from Martin Zielinski.
Günther Deschner [Fri, 28 Sep 2007 01:02:11 +0000 (01:02 +0000)]
r25396: Very obvious fix from Martin Zielinski.

(This used to be commit 1f0d05807b7fe31cc4be59c7a2e850c9ec3e3864)

13 years agor25393: Removed unused variable
Gerald Carter [Thu, 27 Sep 2007 23:33:35 +0000 (23:33 +0000)]
r25393: Removed unused variable
(This used to be commit 11894a62e3a41f3387fac1a578258321333085ac)

13 years agor25391: Fix bug #4978 : Store DOS Attributes fails when copying folders.
Jeremy Allison [Thu, 27 Sep 2007 23:28:35 +0000 (23:28 +0000)]
r25391: Fix bug #4978 : Store DOS Attributes fails when copying folders.
(This used to be commit 713277391ae7f81f8545723c919865ff8c07ed86)