samba.git
16 years agoWHATSNEW: add another change.
Michael Adam [Thu, 28 Feb 2008 11:26:37 +0000 (12:26 +0100)]
WHATSNEW: add another change.

Michael
(This used to be commit 9436afad7e73a22a3320995f8a25e65a74a0532b)

16 years agoWHATSNEW: add two more items to my changes.
Michael Adam [Thu, 28 Feb 2008 11:19:30 +0000 (12:19 +0100)]
WHATSNEW: add two more items to my changes.

Michael
(This used to be commit d8555f09d4240736b0c5fc93cea33285b33531b4)

16 years agoWHATSNEW: Also merge changes in "Major enhancements" section from v3-2-stable.
Michael Adam [Thu, 28 Feb 2008 11:13:59 +0000 (12:13 +0100)]
WHATSNEW: Also merge changes in "Major enhancements" section from v3-2-stable.

Michael
(This used to be commit 1984e91f05ce95eb43d149e66994196718a6ffba)

16 years agoWHATSNEW: give a new date for the upcoming prerelease.
Michael Adam [Thu, 28 Feb 2008 11:13:22 +0000 (12:13 +0100)]
WHATSNEW: give a new date for the upcoming prerelease.

Michael
(This used to be commit 38d327d51f17cb2be9e5963496c97c6d68be79ef)

16 years agoWHATSNEW: Fix spacings
Michael Adam [Thu, 28 Feb 2008 11:11:58 +0000 (12:11 +0100)]
WHATSNEW: Fix spacings

Michael
(This used to be commit ac37d607ce799d5dc380a24447768b500a0c64ad)

16 years agoWHATSNEW: fix a typo and spacings
Michael Adam [Thu, 28 Feb 2008 11:11:21 +0000 (12:11 +0100)]
WHATSNEW: fix a typo and spacings

Michael
(This used to be commit 4c02a60a985285d07ee54bb39de6a7568467c944)

16 years agoWHATSNEW: Merge additions from v3-2-stable's WHATSNEW. :-}
Michael Adam [Thu, 28 Feb 2008 11:08:11 +0000 (12:08 +0100)]
WHATSNEW: Merge additions from v3-2-stable's WHATSNEW. :-}

Michael
(This used to be commit 5d1631bd9bfd79357eb0dc47c3ab0b698696efb4)

16 years agoWHATSNEW: Move Volker's post pre1 changes to the appropriate section.
Michael Adam [Thu, 28 Feb 2008 10:59:11 +0000 (11:59 +0100)]
WHATSNEW: Move Volker's post pre1 changes to the appropriate section.

Michael
(This used to be commit 8cc0d46c388f5971bf468e6eb607b5e230f9a2dd)

16 years agoWHATSNEW: adapt section on registry configuration to new facts.
Michael Adam [Thu, 28 Feb 2008 10:58:09 +0000 (11:58 +0100)]
WHATSNEW: adapt section on registry configuration to new facts.

Also add to smb.conf changes.

Michael
(This used to be commit b1a55cd1570d71a015cfeac976fbd1f13c44cc7d)

16 years agoRemove a useless variable.
Michael Adam [Thu, 28 Feb 2008 10:31:20 +0000 (11:31 +0100)]
Remove a useless variable.

Michael
(This used to be commit 661b9f3d779b419e72968dd3b42348f9da68d803)

16 years agoUse libnet_Unjoin() for "net ads leave".
Günther Deschner [Thu, 28 Feb 2008 10:55:36 +0000 (11:55 +0100)]
Use libnet_Unjoin() for "net ads leave".

Guenther
(This used to be commit 11a19e88e208e09d7590370f2e68aa1df5c89e31)

16 years agoStore domain_is_ad info as early as possible in libnetjoin.
Günther Deschner [Thu, 28 Feb 2008 10:29:56 +0000 (11:29 +0100)]
Store domain_is_ad info as early as possible in libnetjoin.

Guenther
(This used to be commit c4ba68aa94888eace393b91a669e22b27ffaba3e)

16 years agoCheck for mandatory domain name in libnetjoin/unjoin.
Günther Deschner [Thu, 28 Feb 2008 10:26:47 +0000 (11:26 +0100)]
Check for mandatory domain name in libnetjoin/unjoin.

Guenther
(This used to be commit 95bdf2f23c195cad1b317995e362f153695e793a)

16 years agoDelete affinity cache entries while unjoining with libnetunjoin.
Günther Deschner [Thu, 28 Feb 2008 10:23:36 +0000 (11:23 +0100)]
Delete affinity cache entries while unjoining with libnetunjoin.

Guenther
(This used to be commit 0315b8e53dca9a836d6bc2282fb1192f40545601)

16 years agoFill in machine account manipulation flags while unjoining in libnetunjoin.
Günther Deschner [Thu, 28 Feb 2008 10:19:57 +0000 (11:19 +0100)]
Fill in machine account manipulation flags while unjoining in libnetunjoin.

Guenther
(This used to be commit 23ae67158e6506199318025e3dd5fd5c0b099548)

16 years agoAdd preliminary libnet_join_post_verify call to libnetjoin.
Günther Deschner [Thu, 28 Feb 2008 10:17:29 +0000 (11:17 +0100)]
Add preliminary libnet_join_post_verify call to libnetjoin.

Guenther
(This used to be commit f0e319a18d86303aeb73c08841024c27c1b135cd)

16 years agoRe-run make idl.
Günther Deschner [Thu, 28 Feb 2008 10:12:33 +0000 (11:12 +0100)]
Re-run make idl.

Guenther
(This used to be commit 5895a03fd600745ec897d987910abca83d79de3e)

16 years agoAdd disabled_machine_account and deleted_machine_accoutn flags to libnetunjoin.
Günther Deschner [Thu, 28 Feb 2008 10:11:05 +0000 (11:11 +0100)]
Add disabled_machine_account and deleted_machine_accoutn flags to libnetunjoin.

Guenther
(This used to be commit 365943063497c6330ba77914bb01a2be324866f7)

16 years agoMerge all connect ads calls into libnet_join_post_processing_ads().
Günther Deschner [Thu, 28 Feb 2008 10:02:01 +0000 (11:02 +0100)]
Merge all connect ads calls into libnet_join_post_processing_ads().

Guenther
(This used to be commit be96baeffc60d05d8e297034e5253c8b75512ab2)

16 years agoUse W_ERROR_NOT_OK_GOTO_DONE macro in libnetjoin.
Günther Deschner [Thu, 28 Feb 2008 10:00:50 +0000 (11:00 +0100)]
Use W_ERROR_NOT_OK_GOTO_DONE macro in libnetjoin.

Guenther
(This used to be commit fec230b28f456469bce051a2b26249d2026a48ea)

16 years agoAdd noopnum to libnet join/unjoin calls.
Günther Deschner [Thu, 28 Feb 2008 09:56:27 +0000 (10:56 +0100)]
Add noopnum to libnet join/unjoin calls.

Guenther
(This used to be commit 0d8081499fd211e1225d651ff208a857167ce1db)

16 years agoSome cosmetics for net_derive_salting_principal().
Günther Deschner [Thu, 28 Feb 2008 09:52:37 +0000 (10:52 +0100)]
Some cosmetics for net_derive_salting_principal().

Guenther
(This used to be commit 6f8e83b43085c038bb8fb2500319fed1daf6e4e4)

16 years agoMerge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
Jeremy Allison [Thu, 28 Feb 2008 10:22:47 +0000 (02:22 -0800)]
Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
(This used to be commit 61b4bc13d0f0cf1cf4139ecdfafc78b9bfff0480)

16 years agoMerge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
Jeremy Allison [Thu, 28 Feb 2008 10:22:31 +0000 (02:22 -0800)]
Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
(This used to be commit 22c38c040c37d1e3922be45f22cfb4e7b733df9b)

16 years agoWHATSNEW: Fix some typos.
Karolin Seeger [Thu, 28 Feb 2008 10:22:23 +0000 (11:22 +0100)]
WHATSNEW: Fix some typos.

Karolin
(This used to be commit 5c8b57750186ec482bbfbf608157e4f5e3e80cc0)

16 years agoFix from Guenter Kukkukk <linux@kukkukk.com> to fix listing against
Jeremy Allison [Thu, 28 Feb 2008 10:22:13 +0000 (02:22 -0800)]
Fix from Guenter Kukkukk <linux@kukkukk.com> to fix listing against
OS/2 servers. OS/2 returns eclass == ERRDOS && ecode == ERRnofiles
for a zero entry directory listing.
Jeremy.
(This used to be commit b34da627053581a9584367e177566d4a2cef7e82)

16 years agoWHATSNEW: Add new parameter 'config backend'.
Karolin Seeger [Thu, 28 Feb 2008 10:16:46 +0000 (11:16 +0100)]
WHATSNEW: Add new parameter 'config backend'.

Karolin
(This used to be commit f503d193ab4f7cd075f23dd37e83942f9245cfb5)

16 years agoMerge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
Jeremy Allison [Thu, 28 Feb 2008 10:15:12 +0000 (02:15 -0800)]
Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
(This used to be commit 1d9d39525a1f1f5e43e86d919f1ced2df568f676)

16 years agoRemove my change
Jeremy Allison [Thu, 28 Feb 2008 10:13:48 +0000 (02:13 -0800)]
Remove my change
(This used to be commit 7bf4216644187549697caace4a2a48803b57fa5a)

16 years agoFix debug %lu message.
Jeremy Allison [Thu, 28 Feb 2008 10:07:06 +0000 (02:07 -0800)]
Fix debug %lu message.
Jeremy.
(This used to be commit 644a3be37a6760c9e25ac1b286c7c225096e8b0d)

16 years agoMove my changes to the right section in WHATSNEW.
Karolin Seeger [Thu, 28 Feb 2008 09:47:18 +0000 (10:47 +0100)]
Move my changes to the right section in WHATSNEW.

Karolin
(This used to be commit c0f486dc46fa9a8ace03e6d147e5fdbd4d6e2f2d)

16 years agoUps... Sorry!
Karolin Seeger [Thu, 28 Feb 2008 09:16:48 +0000 (10:16 +0100)]
Ups... Sorry!
Thanks for the hint Volker! :-)

Karolin
(This used to be commit 1942798c55580ae4777521c077e2766a52fa0192)

16 years agoFix segfault in _srv_net_file_enum.
Günther Deschner [Thu, 28 Feb 2008 09:14:26 +0000 (10:14 +0100)]
Fix segfault in _srv_net_file_enum.

Guenther
(This used to be commit 6523a051ded9f7b433fcce2d4c4a5f186b5a28f6)

16 years agoUpdate WHATSNEW.txt with my changes for 3.2.0pre2
Stefan Metzmacher [Thu, 28 Feb 2008 08:49:59 +0000 (09:49 +0100)]
Update WHATSNEW.txt with my changes for 3.2.0pre2

metze
(This used to be commit d18778f329f0c49f1250d93cf1b52603afaf15e1)

16 years agocall libnet_conf_get_seqnum() just once and fix compiler warnings
Stefan Metzmacher [Thu, 28 Feb 2008 07:29:07 +0000 (08:29 +0100)]
call libnet_conf_get_seqnum() just once and fix compiler warnings

metze
(This used to be commit fb352fdbcc3fe378d2aadc4914b981eaa06b35ae)

16 years agoAdd my changes to WHATSNEW.
Karolin Seeger [Thu, 28 Feb 2008 08:30:06 +0000 (09:30 +0100)]
Add my changes to WHATSNEW.
Fix typo.

Karolin
(This used to be commit ebc7f903cfd4a5f7a7baaaa1674ef84368481cb9)

16 years agoWHATSNEW: Added Kai's commits.
Kai Blin [Thu, 28 Feb 2008 08:11:20 +0000 (09:11 +0100)]
WHATSNEW: Added Kai's commits.
(This used to be commit 324d2e6585ca813b30bfb3170c74debfcde59905)

16 years agoRemove unused marshalling for SVCCTL_SET_SERVICE_SEC.
Günther Deschner [Wed, 27 Feb 2008 23:34:45 +0000 (00:34 +0100)]
Remove unused marshalling for SVCCTL_SET_SERVICE_SEC.

Guenther
(This used to be commit 9ac2606d5214f1bf4a8ec2ac46bcaeba62e56992)

16 years agoUse pidl for _svcctl_SetServiceObjectSecurity().
Günther Deschner [Wed, 27 Feb 2008 23:33:06 +0000 (00:33 +0100)]
Use pidl for _svcctl_SetServiceObjectSecurity().

Guenther
(This used to be commit 19048ab4ad1b262536efae5b8b8b4411ec088921)

16 years agoRe-run make idl.
Günther Deschner [Wed, 27 Feb 2008 23:18:37 +0000 (00:18 +0100)]
Re-run make idl.

Guenther
(This used to be commit 86061904136706443e5abfda254a2c3a14ffd304)

16 years agoFill in IDL for svcctl_SetServiceObjectSecurity.
Günther Deschner [Wed, 27 Feb 2008 23:17:30 +0000 (00:17 +0100)]
Fill in IDL for svcctl_SetServiceObjectSecurity.

Guenther
(This used to be commit 67293496c5ae287e8bf2823fe21ed17c22bb4fac)

16 years agoRemove unused marshalling for SVCCTL_QUERY_SERVICE_SEC.
Günther Deschner [Wed, 27 Feb 2008 23:16:46 +0000 (00:16 +0100)]
Remove unused marshalling for SVCCTL_QUERY_SERVICE_SEC.

Guenther
(This used to be commit a69c6422bb7b1ab64236cbab193d54fd90c106f0)

16 years agoUse pidl for _svcctl_QueryServiceObjectSecurity().
Günther Deschner [Wed, 27 Feb 2008 23:05:23 +0000 (00:05 +0100)]
Use pidl for _svcctl_QueryServiceObjectSecurity().

Guenther
(This used to be commit 7c1d30f3dca068d7a3b6ec138d1d01141f0386c2)

16 years agoRe-run make idl.
Günther Deschner [Wed, 27 Feb 2008 23:03:00 +0000 (00:03 +0100)]
Re-run make idl.

Guenther
(This used to be commit 6a84317aec9ae3fcd813390b0eec655387e036ec)

16 years agoFill in IDL for svcctl_QueryServiceObjectSecurity.
Günther Deschner [Wed, 27 Feb 2008 23:03:20 +0000 (00:03 +0100)]
Fill in IDL for svcctl_QueryServiceObjectSecurity.

Guenther
(This used to be commit b1edbc7649561fa2e518281a8035765916a684f2)

16 years agoAdd some entries to WHATSNEW
Volker Lendecke [Wed, 27 Feb 2008 21:46:27 +0000 (22:46 +0100)]
Add some entries to WHATSNEW

If this is too much self-praising, feel free to revert :-)
(This used to be commit 1edfeb9951b77a21044f0ea4e75255faef308e67)

16 years agoremove unused unixinfo.idl and generated files
Stefan Metzmacher [Wed, 27 Feb 2008 19:03:42 +0000 (20:03 +0100)]
remove unused unixinfo.idl and generated files

The idl in this version uses pidl specific non NDR types...

metze
(This used to be commit 5dd83aaff325a1d15a0c786cbab42b8fcd6dd5ee)

16 years agoAdd my copyright.
Günther Deschner [Wed, 27 Feb 2008 18:38:48 +0000 (19:38 +0100)]
Add my copyright.

Guenther
(This used to be commit d078a8757182d84dfd3307a2e1b751cf173aaa97)

16 years agoCosmetics: make check_bind_req() debug statements a little nicer.
Günther Deschner [Wed, 27 Feb 2008 17:49:17 +0000 (18:49 +0100)]
Cosmetics: make check_bind_req() debug statements a little nicer.

Guenther
(This used to be commit 997a0a4a12d97595ff4df963601cf2c24d612972)

16 years agoRemove unused BRS marshalling headers.
Günther Deschner [Wed, 27 Feb 2008 17:48:02 +0000 (18:48 +0100)]
Remove unused BRS marshalling headers.

Guenther
(This used to be commit 9e17e94c8ee6e555ca3322745faaeb946650bb15)

16 years agoRemove unneeded rpc_samr.h.
Günther Deschner [Wed, 27 Feb 2008 15:54:01 +0000 (16:54 +0100)]
Remove unneeded rpc_samr.h.

Guenther
(This used to be commit e6701352dc2cd4ff9cc7d04db6f1975594477cdb)

16 years agoRe-run make idl.
Günther Deschner [Wed, 27 Feb 2008 16:15:09 +0000 (17:15 +0100)]
Re-run make idl.

Guenther
(This used to be commit 2ebfd28cf73a63ccf595775853e9b1660a43fd20)

16 years agoMove MAX_SAM_ENTRIES defines to samr rpc_server and to samr.idl.
Günther Deschner [Wed, 27 Feb 2008 15:52:39 +0000 (16:52 +0100)]
Move MAX_SAM_ENTRIES defines to samr rpc_server and to samr.idl.

Guenther
(This used to be commit 6c6455157317049d65a9012f4e339b7e86fb0af6)

16 years agoRe-run make idl.
Günther Deschner [Wed, 27 Feb 2008 16:14:22 +0000 (17:14 +0100)]
Re-run make idl.

Guenther
(This used to be commit 44e63dbac990333878cda4f1a16634496ba47d0e)

16 years agoMove PASS_*_CHANGE_AT_NEXT_LOGON defines to samr.idl.
Günther Deschner [Wed, 27 Feb 2008 15:49:44 +0000 (16:49 +0100)]
Move PASS_*_CHANGE_AT_NEXT_LOGON defines to samr.idl.

Guenther
(This used to be commit 618eae4c0cd6a68349a76cdf36f281733fb472ae)

16 years agoMove LSA_AUDIT_NUM_CATEGORIES defines to lsa rpc_server.
Günther Deschner [Wed, 27 Feb 2008 15:14:27 +0000 (16:14 +0100)]
Move LSA_AUDIT_NUM_CATEGORIES defines to lsa rpc_server.

Guenther
(This used to be commit 9e7d32e28ce40ff158f3705354e8673f99b462bc)

16 years agoRe-run make idl.
Günther Deschner [Wed, 27 Feb 2008 16:06:03 +0000 (17:06 +0100)]
Re-run make idl.

Guenther
(This used to be commit 360220a6a358bb36dd705213f3c9fd2bb463e49a)

16 years agoMove MAX_LOOKUP_SIDS to lsa.idl.
Günther Deschner [Wed, 27 Feb 2008 15:03:17 +0000 (16:03 +0100)]
Move MAX_LOOKUP_SIDS to lsa.idl.

Guenther
(This used to be commit 61da5b8c003f9c8785a901fadb06f0dbb8139c5f)

16 years agoRe-run make idl.
Günther Deschner [Wed, 27 Feb 2008 16:05:31 +0000 (17:05 +0100)]
Re-run make idl.

Guenther
(This used to be commit 64e7f3f1422eb56c153ea0ad764b38e46410d594)

16 years agoMove MAX_REF_DOMAINS to lsa.idl.
Günther Deschner [Wed, 27 Feb 2008 15:13:39 +0000 (16:13 +0100)]
Move MAX_REF_DOMAINS to lsa.idl.

Guenther
(This used to be commit 8f54ba22d21eb014624670d8fdba7a63d1af684d)

16 years agoUse new LSA_POLICY defines in lsa rpc server code and other places.
Günther Deschner [Wed, 27 Feb 2008 14:49:31 +0000 (15:49 +0100)]
Use new LSA_POLICY defines in lsa rpc server code and other places.

Guenther
(This used to be commit 58cca9faf9db506bd2f6eab4a99ef85153797ab2)

16 years agoRe-run make idl.
Günther Deschner [Wed, 27 Feb 2008 14:56:18 +0000 (15:56 +0100)]
Re-run make idl.

Guenther
(This used to be commit 01cdb071af7bc677450e511ebc7ef2036e9510e4)

16 years agoUse lsa_PolicyAccessMask in lsa_OpenPolicy/2.
Günther Deschner [Wed, 27 Feb 2008 14:47:26 +0000 (15:47 +0100)]
Use lsa_PolicyAccessMask in lsa_OpenPolicy/2.

Guenther
(This used to be commit 2b28ca34a1aad151ad712e5ecbb2a77c66d2b671)

16 years agoAdd lsa_PolicyAccessMask to lsa.idl.
Günther Deschner [Wed, 27 Feb 2008 14:46:35 +0000 (15:46 +0100)]
Add lsa_PolicyAccessMask to lsa.idl.

Guenther
(This used to be commit 5fad28beec7eacd32f434a3bbfcaeb41640dfd22)

16 years agoCopy recent spoolss IDL from samba4 into our tree.
Günther Deschner [Tue, 19 Feb 2008 02:30:37 +0000 (03:30 +0100)]
Copy recent spoolss IDL from samba4 into our tree.

Guenther
(This used to be commit 18233fb9d6dfbeee68c26c6a7449c292cc669550)

16 years agolibreplace: standalone build: use -I$srcdir instead of -I.
Michael Adam [Wed, 27 Feb 2008 09:33:32 +0000 (10:33 +0100)]
libreplace: standalone build: use -I$srcdir instead of -I.

Michael
(This used to be commit 5c08730f1938b8c56b70554378051d88d174c061)

16 years agolibreplace: fix standalone build - add necessary libs.
Michael Adam [Wed, 27 Feb 2008 00:41:30 +0000 (01:41 +0100)]
libreplace: fix standalone build - add necessary libs.

The libs needed for getifaddrs replacements have to be added
to LIBS and used for the testsuite target.

Michael
(This used to be commit f162de7b8012d29408060610a969ca76c61a4c80)

16 years agolibreplace: fix standalone build on some systems.
Michael Adam [Wed, 27 Feb 2008 00:29:12 +0000 (01:29 +0100)]
libreplace: fix standalone build on some systems.

getifaddr tests include system/network.h, which does not
find getaddrinfo.h without "-I.".

Michael
(This used to be commit 66d4c38967e0d420929d4e1fdab0590161d526bc)

16 years agoFix caller of node_status_query() to use sockaddr_storage().
Michael Adam [Wed, 27 Feb 2008 09:06:53 +0000 (10:06 +0100)]
Fix caller of node_status_query() to use sockaddr_storage().

Caller is hidden inside an #ifdef .

Michael
(This used to be commit 4a0d1ad601facf158db0c1d1c320e9e1369093d0)

16 years agoClosed memory leak on error path.
Steven Danneman [Wed, 27 Feb 2008 04:14:04 +0000 (20:14 -0800)]
Closed memory leak on error path.
(This used to be commit 376de8a0e4194e186b460911e3319b0f4448203e)

16 years agoupdate .gitignore with new test program executable
Derrell Lipman [Wed, 27 Feb 2008 02:46:48 +0000 (21:46 -0500)]
update .gitignore with new test program executable
(This used to be commit 7e6da154b18f0aabcf2f8050bc5a57677bc9b322)

16 years agoadd a test program for the new ftruncate functionality
Derrell Lipman [Wed, 27 Feb 2008 02:46:08 +0000 (21:46 -0500)]
add a test program for the new ftruncate functionality
(This used to be commit df995eddbddec80a0d9d4659bbb9c6ca8a45d02b)

16 years agoadd smbc_ftruncate() to emulate POSIX ftruncate()
Derrell Lipman [Wed, 27 Feb 2008 02:44:51 +0000 (21:44 -0500)]
add smbc_ftruncate() to emulate POSIX ftruncate()
(This used to be commit 6f5051b9c1405ab1dc3e697419ceedb3acac46d8)

16 years agoadd 64-bit macros from samba4
Derrell Lipman [Wed, 27 Feb 2008 02:43:13 +0000 (21:43 -0500)]
add 64-bit macros from samba4
(This used to be commit a19e5fd5846685d5264e92bedf5cb57d99271f28)

16 years agoadd a function to truncate a file to a specified size
Derrell Lipman [Wed, 27 Feb 2008 02:42:26 +0000 (21:42 -0500)]
add a function to truncate a file to a specified size
(This used to be commit 7e5752812d6d9e3bcf9a545cbdcf3afe2175dbc4)

16 years agoAdd variable to define if a share should be hidden.
Andreas Schneider [Fri, 22 Feb 2008 16:35:53 +0000 (17:35 +0100)]
Add variable to define if a share should be hidden.

If you create a share on a Windows machine called foo$ then this share is
of the type STYPE_DISKTREE. So it is possible to administrate this kind of
share. Tested on Windows NT and 2003.

In samba we assume that if a share with a $ at the end must be of the type
STYPE_DISKTREE_HIDDEN. This is wrong, so we need a variable in the config
to define if the share should be hidden or not.
(This used to be commit a3da677bf0faed56e6731ee96708a7847a61d118)

16 years agoRerun make idl. To remove irritating semicolon.
Michael Adam [Tue, 26 Feb 2008 15:04:34 +0000 (16:04 +0100)]
Rerun make idl. To remove irritating semicolon.

Michael
(This used to be commit 3e1f88c90e4c5721381778062edfe6e681c8eec3)

16 years agoAdd libnet_join.idl to the IDL files to be processed by "make idl".
Michael Adam [Tue, 26 Feb 2008 15:02:47 +0000 (16:02 +0100)]
Add libnet_join.idl to the IDL files to be processed by "make idl".

Michael
(This used to be commit 9b47a7329091b2bfe7cd9b2112ac8fa652ed9f60)

16 years agomake idl: Only compile idl files newer than the output to be generated.
Michael Adam [Tue, 26 Feb 2008 15:01:34 +0000 (16:01 +0100)]
make idl: Only compile idl files newer than the output to be generated.

Fix "if" condition in build_idl.sh to not always evaluate as false.

Michael
(This used to be commit 79c199d16e565eabd9fd971247f8df62689bb92a)

16 years agolibreplace: Add tests for connect and gethostbyname.
Michael Adam [Tue, 26 Feb 2008 12:24:54 +0000 (13:24 +0100)]
libreplace: Add tests for connect and gethostbyname.

Provide dummy replacements when a function isnt found.
The functions are also searched for in certain libraries,
and variables SOCKET_LIBS and NSL_LIBS are set accordingly.

One purpose of this is to fix the getifaddrs tests on
systems where e.g. the socket calls require special libs
for linking.

Michael
(This used to be commit c19f7a0e1004213f95e0bf8db5cd1f6697c7a47b)

16 years agoconfigure: put swat-part of config into m4-include file of its own.
Michael Adam [Mon, 25 Feb 2008 16:42:12 +0000 (17:42 +0100)]
configure: put swat-part of config into m4-include file of its own.

Michael
(This used to be commit 622667c0790c0092bfceced8dc6fb05e781ac5e7)

16 years agoFix build on VOS: socklen_t is needed for rep_inet_ntop: move it up.
Michael Adam [Tue, 26 Feb 2008 10:18:51 +0000 (11:18 +0100)]
Fix build on VOS: socklen_t is needed for rep_inet_ntop: move it up.

Michael
(This used to be commit 7b98620ef16c6969fd21dd9c157aedd4adb117a3)

16 years agoFix some typos.
Karolin Seeger [Tue, 26 Feb 2008 09:26:10 +0000 (10:26 +0100)]
Fix some typos.

Karolin
(This used to be commit 71f05a1f9656c4a50dd4b8b08575be6536e92288)

16 years agoFix build on some systems : don't pass libraries to mkproto.awk
Michael Adam [Mon, 25 Feb 2008 16:24:52 +0000 (17:24 +0100)]
Fix build on some systems : don't pass libraries to mkproto.awk

Currently, some static libraries have gone into object lists
that are also passed to make proto. (This should probably be
changed...) Then some awk versions fail when passed an non-
existing lib/libtdb.a e.g.. This patch changes mkproto.sh to
exclude \.a files from the list of files to process.

Michael
(This used to be commit 826b9ab07b58ca39350cca921002a4213ce7c7c9)

16 years agoFix the build on OpenBSD: ENOTSUP is not always defined.
Michael Adam [Mon, 25 Feb 2008 16:05:21 +0000 (17:05 +0100)]
Fix the build on OpenBSD: ENOTSUP is not always defined.

Michael
(This used to be commit 2e4028162f3a93c677a57b96de8f0cb2f892e73b)

16 years agoFix some warnings
Volker Lendecke [Mon, 25 Feb 2008 14:24:49 +0000 (15:24 +0100)]
Fix some warnings

warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result
(This used to be commit ad37b7b0aee265a3e4d8b7552610f4b9a105434d)

16 years agoCorrectly check return of rename(2)
Volker Lendecke [Mon, 25 Feb 2008 12:00:24 +0000 (13:00 +0100)]
Correctly check return of rename(2)

Bug 5279 -- Thanks to Max Matveev
(This used to be commit 71641f04d4e9a41775e898f2e4ac3c8792783cd3)

16 years agoFix inotify detection
Volker Lendecke [Mon, 25 Feb 2008 11:52:55 +0000 (12:52 +0100)]
Fix inotify detection

Bug 5271 -- thanks to Tiziano Müller
(This used to be commit 4a1a138b0fe0f2200e5a37a0609481e4340a896c)

16 years agomake test: pass --option=torture:sharedelay=100000 to samba4 smbtorture
Stefan Metzmacher [Mon, 25 Feb 2008 10:34:44 +0000 (11:34 +0100)]
make test: pass --option=torture:sharedelay=100000 to samba4 smbtorture

BASE-DEFER_OPEN is now more strict with incorrect timing

metze
(This used to be commit 9b761062df80c45bf2b76af071131d0c78e94a09)

16 years agoDo the formatting change in all 3 places :-)
Volker Lendecke [Mon, 25 Feb 2008 08:55:53 +0000 (09:55 +0100)]
Do the formatting change in all 3 places :-)
(This used to be commit d32066eaef1d09ec41fd5365e18eacd93e485d53)

16 years agoFix confusing error message -- bug 5252
Volker Lendecke [Mon, 25 Feb 2008 08:51:33 +0000 (09:51 +0100)]
Fix confusing error message -- bug 5252

Thanks to Walter Franzini
(This used to be commit 19de47fef1b35c47885acc40760a232e4643079c)

16 years agoAllow "max mux" async i/o requests
Volker Lendecke [Sun, 24 Feb 2008 10:32:22 +0000 (11:32 +0100)]
Allow "max mux" async i/o requests

In the negprot reply, we allowed the client to issued "max mux" concurrent
requests. The OS might allow less, for example AFAIK AIX has a configurable
limit of concurrent AIO requests. We will fall back to sync operation for the
requests that are too many when aio_read/aio_write return an error.

Jeremy, please check!
(This used to be commit 8f86f7f25c4eb71bbdfcc6bf2d12eaaae9a8d9ec)

16 years agoExport aio_request_done()
Volker Lendecke [Sun, 24 Feb 2008 10:39:57 +0000 (11:39 +0100)]
Export aio_request_done()

This is for external modules implementing the Posix AIO API that not
necessarily depend on the signal mechanism to indicate completion.
(This used to be commit 9a069d306bb6f8a2cd51b8ba87b433884942d13f)

16 years agoFix aix-build of libtalloc.so by exporting all necessary symbols.
Michael Adam [Sun, 24 Feb 2008 00:00:39 +0000 (01:00 +0100)]
Fix aix-build of libtalloc.so by exporting all necessary symbols.

Use -bexpfull instead of -bexpall for LDSHFLAGS to also export
symbols starting with "_". This exports all necessary symbols
from libtalloc.so.

Michael
(This used to be commit 213ba3a719e77979c04b872f1d82f68e87287cb0)

16 years agoAIO on streams does not work (yet...)
Volker Lendecke [Sat, 23 Feb 2008 23:01:07 +0000 (00:01 +0100)]
AIO on streams does not work (yet...)
(This used to be commit 1ba223f202a070a695581e0d7161473a3ebf4332)

16 years agoFix typo
Volker Lendecke [Sat, 23 Feb 2008 20:40:39 +0000 (21:40 +0100)]
Fix typo
(This used to be commit 621db68f32f7007de8b2c4d7cf604a5778725615)

16 years agoFix a C++ warning
Volker Lendecke [Sat, 23 Feb 2008 09:52:12 +0000 (10:52 +0100)]
Fix a C++ warning
(This used to be commit c4cab9e1c1f4975d970665f85838b2dea023d5fc)

16 years agoFix a C++ warning
Volker Lendecke [Sat, 23 Feb 2008 09:50:12 +0000 (10:50 +0100)]
Fix a C++ warning
(This used to be commit ac027a9b2e84d319f961ac0e84654a0e48920138)

16 years agoCheck return value of pipe(2)
Volker Lendecke [Sat, 23 Feb 2008 09:49:00 +0000 (10:49 +0100)]
Check return value of pipe(2)
(This used to be commit 49da21c03a1a5801fba4b12837cccf2887e0d8f0)

16 years agoCheck return value of dup(2)
Volker Lendecke [Sat, 23 Feb 2008 09:47:18 +0000 (10:47 +0100)]
Check return value of dup(2)
(This used to be commit d34701d49cf5b30f5b9963dab5643b4b62704413)