nivanova/samba-autobuild/.git
16 years agoMerge branch 'v3-2-test' of git://git.samba.org/samba into v3-2-test
James Peach [Sat, 22 Dec 2007 22:01:44 +0000 (14:01 -0800)]
Merge branch 'v3-2-test' of git://git.samba.org/samba into v3-2-test
(This used to be commit 30cb2d215f1a4a440d5ecaab3f898daa714eee2b)

16 years agoCache the underlying filesystem capabilities at connection time.
James Peach [Sat, 22 Dec 2007 22:01:25 +0000 (14:01 -0800)]
Cache the underlying filesystem capabilities at connection time.

This change alters the Samba connection code to cache the filesystem
capabilities when a new client connects. This can be used to enable
filesystem specific optimisations is a general manner.
(This used to be commit de3c5b808a941ac8e9ebe7169536d8290067eef5)

16 years agoRemove redundant connection_struct from check_magic() parameter list.
Michael Adam [Sat, 22 Dec 2007 01:13:02 +0000 (02:13 +0100)]
Remove redundant connection_struct from check_magic() parameter list.

Michael
(This used to be commit cebaa483e62910ac3f87cd135b2aff18dc880416)

16 years agoRemove redundant connection_struct from fd_close() parameter list.
Michael Adam [Sat, 22 Dec 2007 01:01:26 +0000 (02:01 +0100)]
Remove redundant connection_struct from fd_close() parameter list.

Michael
(This used to be commit 3611cc8561cf837adea83fc7c16ca7535f188466)

16 years agoRemove redundant connection_struct from fd_close_posix() parameter list.
Michael Adam [Sat, 22 Dec 2007 00:49:29 +0000 (01:49 +0100)]
Remove redundant connection_struct from fd_close_posix() parameter list.

Michael
(This used to be commit f3365b74ac016eaee1e82eef769dd618af5df201)

16 years agoAdd NT error to debug to try and track this down.
Jeremy Allison [Sat, 22 Dec 2007 00:43:02 +0000 (16:43 -0800)]
Add NT error to debug to try and track this down.
Jermey.
(This used to be commit a1482b09150f4d292965c77bc73d47fb14f5eb85)

16 years agoFix the build of cifs.spnego.
Günther Deschner [Sat, 22 Dec 2007 00:13:53 +0000 (01:13 +0100)]
Fix the build of cifs.spnego.

Guenther
(This used to be commit b4a4a2b2933d693876b67231f747e1e232936054)

16 years agoFix net_dom_join & net_dom_unjoin.
Günther Deschner [Fri, 21 Dec 2007 23:34:30 +0000 (00:34 +0100)]
Fix net_dom_join & net_dom_unjoin.

Guenther
(This used to be commit 6dd17e4840ee6c4bf0df3c3f76f9b232b3674d55)

16 years agoFix uninitialized error code in do_unjoin_modify_vals_config().
Günther Deschner [Fri, 21 Dec 2007 23:12:59 +0000 (00:12 +0100)]
Fix uninitialized error code in do_unjoin_modify_vals_config().

Guenther
(This used to be commit c890ebc3cad7222007e62227ec1f28d978310cbf)

16 years agoCorrect netapi header filename. Thanks Jeremy.
Günther Deschner [Fri, 21 Dec 2007 23:02:45 +0000 (00:02 +0100)]
Correct netapi header filename. Thanks Jeremy.

Guenther
(This used to be commit f192737ec8140aa6570bfb49a165b31890d63b16)

16 years agoFix install - it was trying to install libnetapi.h whereas
Jeremy Allison [Fri, 21 Dec 2007 22:38:52 +0000 (14:38 -0800)]
Fix install - it was trying to install libnetapi.h whereas
the actual file is netapi.h. Guenther please check which
name this should be !
Jeremy.
(This used to be commit 035fadaa596e893b7eeac09bc587ad3b73f77d0b)

16 years agoUntil we better understand the WKSSVC_JOIN_FLAGS_JOIN_DC_ACCOUNT make sure we are
Günther Deschner [Fri, 21 Dec 2007 22:04:26 +0000 (23:04 +0100)]
Until we better understand the WKSSVC_JOIN_FLAGS_JOIN_DC_ACCOUNT make sure we are
not joining as a DC.

Guenther
(This used to be commit bf3ffbb5d2e8588e0041f0b890b590c58f8fcecf)

16 years agoFix make test by adding winbind libs to vlp.
Jeremy Allison [Fri, 21 Dec 2007 21:42:47 +0000 (13:42 -0800)]
Fix make test by adding winbind libs to vlp.
Jeremy.
(This used to be commit abba6717b5da709ae9cf3097042228ddbe630cca)

16 years agoMerge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
Jeremy Allison [Fri, 21 Dec 2007 21:14:59 +0000 (13:14 -0800)]
Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test

Conflicts:

source/library-versions.in
(This used to be commit 11acca7d3884731491709dd09b7de2edc8bb5811)

16 years agoGenerate pkgconfig files for at least lib{smbclient,smbsharemodes,netapi}.
Günther Deschner [Fri, 21 Dec 2007 21:05:17 +0000 (22:05 +0100)]
Generate pkgconfig files for at least lib{smbclient,smbsharemodes,netapi}.

Guenther
(This used to be commit ad87786c91709d62ee2cbd02c87e59b855e050cc)

16 years agoActually fix the merge.
Jeremy Allison [Fri, 21 Dec 2007 20:50:39 +0000 (12:50 -0800)]
Actually fix the merge.
Jeremy.
(This used to be commit c855de0c05e2e271e2610de67a6d7e3aba52390f)

16 years agoMerge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
Jeremy Allison [Fri, 21 Dec 2007 20:44:31 +0000 (12:44 -0800)]
Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test

Conflicts:

source/Makefile.in
(This used to be commit 351df194a927371600824f4c03d8a24b95fbef64)

16 years agoMake sure libnet/libnet_proto.h exists.
Günther Deschner [Fri, 21 Dec 2007 20:25:39 +0000 (21:25 +0100)]
Make sure libnet/libnet_proto.h exists.

Guenther
(This used to be commit d6703f6d4e6a5256980188f6a840e6aaf07bc607)

16 years agoFix build failure if symlink already exists.
Jeremy Allison [Fri, 21 Dec 2007 20:18:35 +0000 (12:18 -0800)]
Fix build failure if symlink already exists.
Jeremy.
(This used to be commit b8310f427277640c7b2526d0c5cd84deecfd3e99)

16 years agoFix const warning.
Jeremy Allison [Fri, 21 Dec 2007 20:18:17 +0000 (12:18 -0800)]
Fix const warning.
Jeremy.
(This used to be commit 5159f897ddaad1878fff629cc074dd71b2b3f4ab)

16 years agoFix initialization warnings.
Jeremy Allison [Fri, 21 Dec 2007 20:11:23 +0000 (12:11 -0800)]
Fix initialization warnings.
Jeremy.
(This used to be commit 832c093830cb3978641be3d87670fa900105da25)

16 years agoFix making the new proto file after a distclean.
Jeremy Allison [Fri, 21 Dec 2007 20:06:37 +0000 (12:06 -0800)]
Fix making the new proto file after a distclean.
Jeremy.
(This used to be commit 35a450b59501c6545083efc9f913cb626188f329)

16 years agoFix "make test" using the LD_LIBRARY_PATH for selftest script so
Gerald (Jerry) Carter [Fri, 21 Dec 2007 19:50:13 +0000 (13:50 -0600)]
Fix "make test" using the LD_LIBRARY_PATH for selftest script so
smbd can locate the libwbclient library (if neccessary).
(This used to be commit 481cc9ab6a6608e13710c93783ea4e62363e78be)

16 years agoCompile fix: Correct use of wbcDomainInfo() after function signature change.
Gerald (Jerry) Carter [Fri, 21 Dec 2007 19:47:45 +0000 (13:47 -0600)]
Compile fix: Correct use of wbcDomainInfo() after function signature change.

Also fixes a doxygen warngin about an undocumented parameter in the same
function.
(This used to be commit 290ab64e9e5fb2a28e14a5f344f22119d5304563)

16 years agoDe-couple smbd from staticly linking against winbindd client files.
Gerald (Jerry) Carter [Fri, 21 Dec 2007 17:59:56 +0000 (11:59 -0600)]
De-couple smbd from staticly linking against winbindd client files.

Implements a wrapper layer in winbind_util.c which are just stubs
if compiled --without-winbind.  When building with winbindd, it
is now required to build the libwbclient DSO first (in the Makefile)
and then either set LD_LIBRARY_PATH or /etc/ld.so.conf to pick up the
library PATH.
(This used to be commit 42787bccff4fcffafc7aae6a678e792604ecaaa5)

16 years agoAdd files for new LGPL libwbclient DSO implementing the Winbind client API
Gerald (Jerry) Carter [Fri, 21 Dec 2007 17:57:34 +0000 (11:57 -0600)]
Add files for new LGPL libwbclient DSO implementing the Winbind client API
(based on the winbind_struct_protocol.h).

The API in incomplete, but sufficient to merge.  See wbclienbt.h for the i
interface functions.
(This used to be commit 83d274b46078a9ace77edb822a0e336c79dcf40e)

16 years agoMove gtk app to the correct location. Thanks obnox!
Günther Deschner [Fri, 21 Dec 2007 16:29:15 +0000 (17:29 +0100)]
Move gtk app to the correct location. Thanks obnox!

Guenther
(This used to be commit 740a2b080db56d504c4edd58bf41d72edb3d32ee)

16 years agoMove libnetapi examples into subdirs.
Günther Deschner [Fri, 21 Dec 2007 16:05:55 +0000 (17:05 +0100)]
Move libnetapi examples into subdirs.

Guenther
(This used to be commit 0c3de6f3458419e57daaa71f1dad679897388f5a)

16 years agoGitignore some generated files.
Günther Deschner [Fri, 21 Dec 2007 15:49:33 +0000 (16:49 +0100)]
Gitignore some generated files.

Guenther
(This used to be commit 1e090654320ba3ce94d8114acaf931dbb2557a0c)

16 years agoDeactive remote join code server side until some last issues are resolved.
Günther Deschner [Fri, 21 Dec 2007 15:44:52 +0000 (16:44 +0100)]
Deactive remote join code server side until some last issues are resolved.

Guenther
(This used to be commit 1489870f05695a929902264eb9b95eab886bdaa6)

16 years agoAdd netdomjoin-gui (my first gui application), another libnetapi user.
Günther Deschner [Fri, 21 Dec 2007 15:36:06 +0000 (16:36 +0100)]
Add netdomjoin-gui (my first gui application), another libnetapi user.

Guenther
(This used to be commit cf57ade5ec4a808eccb19a7723d753742fb71ca9)

16 years agoAdd netdomjoin cmd line tool (another libnetapi example).
Günther Deschner [Fri, 21 Dec 2007 15:08:13 +0000 (16:08 +0100)]
Add netdomjoin cmd line tool (another libnetapi example).

Guenther
(This used to be commit c502686f09713a7cf3786c254be6515a7aa23555)

16 years agoMake sure libnetapi has getdcname support.
Günther Deschner [Fri, 21 Dec 2007 15:03:12 +0000 (16:03 +0100)]
Make sure libnetapi has getdcname support.

Guenther
(This used to be commit c527a28c47f42617853cd28772ef46e5e6b058b6)

16 years agoAdd getdc.c, a libnetapi example (incl. Makefile).
Günther Deschner [Fri, 21 Dec 2007 15:02:35 +0000 (16:02 +0100)]
Add getdc.c, a libnetapi example (incl. Makefile).

Guenther
(This used to be commit faedc78fc78527ee3bf05e1177ea43653aea67b2)

16 years agoAdd basic remote NetGetDCName and NetGetAnyDCName versions to libnetapi.
Günther Deschner [Fri, 21 Dec 2007 14:51:00 +0000 (15:51 +0100)]
Add basic remote NetGetDCName and NetGetAnyDCName versions to libnetapi.

Guenther
(This used to be commit 5bc49546a32abb4524133b9f2916cdd51d4eb462)

16 years agoMake libnetapi_errstr use our NTSTATUS and WERROR error string macros.
Günther Deschner [Fri, 21 Dec 2007 14:30:29 +0000 (15:30 +0100)]
Make libnetapi_errstr use our NTSTATUS and WERROR error string macros.

Guenther
(This used to be commit e46aa35d432e930835206b9ce7583f46933015d8)

16 years agoAdd error string for access denied in libnetapi.
Günther Deschner [Thu, 20 Dec 2007 14:06:20 +0000 (15:06 +0100)]
Add error string for access denied in libnetapi.

Guenther
(This used to be commit 4df868e3c366958c64ed8445489c8d1e8a28e50b)

16 years agoRemove doubled cli_set_timeout calls from libnetapi.
Günther Deschner [Thu, 20 Dec 2007 14:03:12 +0000 (15:03 +0100)]
Remove doubled cli_set_timeout calls from libnetapi.

Guenther
(This used to be commit acc5d8e784b706001457ceeeb9bd4961a13d57d2)

16 years agoFix typo.
Günther Deschner [Thu, 20 Dec 2007 11:13:04 +0000 (12:13 +0100)]
Fix typo.

Guenther
(This used to be commit b95801db595109e8eade7cf7c344f281c8684249)

16 years agoKeep libnetapi_NetX calls static for now.
Günther Deschner [Thu, 20 Dec 2007 11:12:06 +0000 (12:12 +0100)]
Keep libnetapi_NetX calls static for now.

Guenther
(This used to be commit c255654c68923aca3e258906e49be82d719d5ccd)

16 years agoMerge all headers into libnetapi.h.
Günther Deschner [Thu, 20 Dec 2007 00:19:26 +0000 (01:19 +0100)]
Merge all headers into libnetapi.h.

Guenther
(This used to be commit a2c5beda2ec98dea8951fb3a37774f5f325410ef)

16 years agoImplement NetServerSetInfo level 1005 in local mode with smbconf registry.
Günther Deschner [Wed, 19 Dec 2007 15:07:40 +0000 (16:07 +0100)]
Implement NetServerSetInfo level 1005 in local mode with smbconf registry.

Guenther
(This used to be commit 15c2bc15f20a677c3c94895150e396275de6ac9b)

16 years agoAdd NetServerGetInfo and NetServerSetInfo (for level 1005).
Günther Deschner [Wed, 19 Dec 2007 14:10:24 +0000 (15:10 +0100)]
Add NetServerGetInfo and NetServerSetInfo (for level 1005).

Guenther
(This used to be commit 1cad549f54563c3a9787624ba7a56b54107ebd57)

16 years agoSplit out local and remote paths for NetGetJoinInformation.
Günther Deschner [Wed, 19 Dec 2007 12:52:51 +0000 (13:52 +0100)]
Split out local and remote paths for NetGetJoinInformation.

Guenther
(This used to be commit d1e4f9dd5cde79f915e3e0f652621d966aa850e8)

16 years agoAdd libnetapi_errstr().
Günther Deschner [Wed, 19 Dec 2007 11:09:08 +0000 (12:09 +0100)]
Add libnetapi_errstr().

Guenther
(This used to be commit 465e61a3599a277366ada6ecda3a1e6ddb1f2490)

16 years agoAdd support for remote and local unjoining in libnetapi.
Günther Deschner [Wed, 19 Dec 2007 10:03:45 +0000 (11:03 +0100)]
Add support for remote and local unjoining in libnetapi.

Guenther
(This used to be commit 74048fe7cfbd05994d533bea4a477d6ca93449d9)

16 years agoAdd libnet_Unjoin(), libnet_UnjoinCtx and friends.
Günther Deschner [Wed, 19 Dec 2007 10:02:39 +0000 (11:02 +0100)]
Add libnet_Unjoin(), libnet_UnjoinCtx and friends.

Guenther
(This used to be commit 89e8abb1163984eed358a4da9be4699a8e3a43f9)

16 years agoRemove unrequired TALLOC_CTX from libnetapi_NetJoinDomain & friends.
Günther Deschner [Wed, 19 Dec 2007 09:55:52 +0000 (10:55 +0100)]
Remove unrequired TALLOC_CTX from libnetapi_NetJoinDomain & friends.

Guenther
(This used to be commit 96ebdca45b998da7e6137973dea717bf3ac76328)

16 years agoFix NetJoinDomainLocal.
Günther Deschner [Wed, 19 Dec 2007 09:52:45 +0000 (10:52 +0100)]
Fix NetJoinDomainLocal.

Guenther
(This used to be commit 24605c9175fb313c9c888783817da755cd8ce594)

16 years agoUse DsGetDcName in local libnetapi join to find a dc.
Günther Deschner [Wed, 19 Dec 2007 01:25:15 +0000 (02:25 +0100)]
Use DsGetDcName in local libnetapi join to find a dc.

Guenther
(This used to be commit fbc60c1648ff8b1fa0ae33c09237e41232f9769c)

16 years agoBuild libnetapi shared and static if possible.
Günther Deschner [Tue, 18 Dec 2007 10:24:10 +0000 (11:24 +0100)]
Build libnetapi shared and static if possible.

Guenther
(This used to be commit 11e90dcbf5dd1a91118e6a5cee53735d72767c93)

16 years agoIn libnet join code, try lsa query with level 12 first.
Günther Deschner [Tue, 18 Dec 2007 09:31:12 +0000 (10:31 +0100)]
In libnet join code, try lsa query with level 12 first.

Guenther
(This used to be commit f0e8d744c92d2602722e04be6266196941362d63)

16 years agoMaking do_DomainJoin return NTSTATUS again.
Günther Deschner [Tue, 18 Dec 2007 09:16:40 +0000 (10:16 +0100)]
Making do_DomainJoin return NTSTATUS again.

Guenther
(This used to be commit 91b884989891881b8abea70e11b87c16c574daaa)

16 years agoMove NetJoinDomain and friends to NET_API_STATUS and the static libnetapi_ctx.
Günther Deschner [Tue, 18 Dec 2007 01:54:18 +0000 (02:54 +0100)]
Move NetJoinDomain and friends to NET_API_STATUS and the static libnetapi_ctx.

Guenther
(This used to be commit e640c3a4a7695613e9e619516befbaf3d44ecb10)

16 years agoMissed on instance of external creds.
Günther Deschner [Tue, 18 Dec 2007 01:52:34 +0000 (02:52 +0100)]
Missed on instance of external creds.

Guenther
(This used to be commit 65d50f518766ab0a8115c2599d190e642eb00754)

16 years agoAdd static libnetapi_ctx.
Günther Deschner [Tue, 18 Dec 2007 01:47:01 +0000 (02:47 +0100)]
Add static libnetapi_ctx.

Guenther
(This used to be commit 97449ea341539a709953a57869570cf13be0f44e)

16 years agoUse full string based debug_parse_levels in libnetapi.
Günther Deschner [Tue, 18 Dec 2007 01:43:22 +0000 (02:43 +0100)]
Use full string based debug_parse_levels in libnetapi.

Guenther
(This used to be commit 78d8f0e41aa3db0060596a7b345c2f04261986e0)

16 years agoAdd basic credential functions for libnetapi.
Günther Deschner [Tue, 18 Dec 2007 01:34:07 +0000 (02:34 +0100)]
Add basic credential functions for libnetapi.

Guenther
(This used to be commit 7c38f706b5dc17f15708ac932c84d863a0cc713e)

16 years agoMove basic libnetapi functions to NET_API_STATUS.
Günther Deschner [Tue, 18 Dec 2007 01:29:50 +0000 (02:29 +0100)]
Move basic libnetapi functions to NET_API_STATUS.

Guenther
(This used to be commit 086c55005976b3173e915e465108214876aa5bd6)

16 years agoDefine NET_API_STATUS to be just a uin32_t.
Günther Deschner [Tue, 18 Dec 2007 01:21:38 +0000 (02:21 +0100)]
Define NET_API_STATUS to be just a uin32_t.

Guenther
(This used to be commit a42850926a26a4065a6126affc3754d291a2e178)

16 years agoGetting rid of external credentials in libnetapi.
Günther Deschner [Tue, 18 Dec 2007 01:15:49 +0000 (02:15 +0100)]
Getting rid of external credentials in libnetapi.

Guenther
(This used to be commit c10481dba01a084b0f9c4265f3408a0ec9a8b646)

16 years agoMake sure we also support non-domain join.
Günther Deschner [Fri, 14 Dec 2007 16:37:24 +0000 (17:37 +0100)]
Make sure we also support non-domain join.

Guenther
(This used to be commit c818f5505a124a6f0bb9274a1ba4a6147d2f17b3)

16 years agoSome libnet and netapi build fixes.
Günther Deschner [Fri, 14 Dec 2007 11:22:20 +0000 (12:22 +0100)]
Some libnet and netapi build fixes.

Guenther
(This used to be commit 1d47247283f7bc75291007be3fde72b1d3d95b99)

16 years agoFill in local branch of NetGetJoinInformation().
Günther Deschner [Thu, 13 Dec 2007 15:21:27 +0000 (16:21 +0100)]
Fill in local branch of NetGetJoinInformation().

Guenther
(This used to be commit 46db8754511f915c296771e08e822ba810f804d5)

16 years agoMore minor libnetapi fixes.
Günther Deschner [Wed, 12 Dec 2007 18:00:41 +0000 (19:00 +0100)]
More minor libnetapi fixes.

Guenther
(This used to be commit 9f129c069f9feb357cbe1185058cfe3390609c09)

16 years agoBuild fixes for libnetapi.
Günther Deschner [Wed, 12 Dec 2007 17:14:54 +0000 (18:14 +0100)]
Build fixes for libnetapi.

Guenther
(This used to be commit 07d33557b95106ac57fdef8c767ab86192930a6d)

16 years agoAdd _wkssvc_NetrJoinDomain2() server.
Günther Deschner [Wed, 12 Dec 2007 15:12:14 +0000 (16:12 +0100)]
Add _wkssvc_NetrJoinDomain2() server.

Guenther
(This used to be commit 9b0423e7d918b7b3837ca4ebf997edd80d4da6de)

16 years agoFill in NetJoinDomainLocal().
Günther Deschner [Tue, 11 Dec 2007 20:32:16 +0000 (21:32 +0100)]
Fill in NetJoinDomainLocal().

Guenther
(This used to be commit 4896f22bb50ea9ae0c4807ed9b2dd4283c254364)

16 years agoAdd libnet_Join().
Günther Deschner [Tue, 11 Dec 2007 20:31:44 +0000 (21:31 +0100)]
Add libnet_Join().

Heavily based on existing code in net_ads_join().

Guenther
(This used to be commit fb6315b68b16d64625457881302fd191f90defa0)

16 years agoAdd libnet_JoinCtx structure.
Günther Deschner [Tue, 11 Dec 2007 20:25:41 +0000 (21:25 +0100)]
Add libnet_JoinCtx structure.

Guenther
(This used to be commit 13c46b1407117c93b8f0275cc16ea5aa49596750)

16 years agoSplit NetJoinDomain() into NetJoinDomainRemote() and the unsupported
Günther Deschner [Tue, 11 Dec 2007 20:23:40 +0000 (21:23 +0100)]
Split NetJoinDomain() into NetJoinDomainRemote() and the unsupported
NetJoinDomainLocal().

Guenther
(This used to be commit d2f21ce6727ec9e4df67989db07b48470d0790a4)

16 years agoVery quick conversion of net_conf functions into the libnet_conf layer.
Günther Deschner [Tue, 11 Dec 2007 20:21:17 +0000 (21:21 +0100)]
Very quick conversion of net_conf functions into the libnet_conf layer.
Certainly needs cleanup later.

Guenther
(This used to be commit 2b41ac926de76804a50681bd246b3a20e112853b)

16 years agoFor the fun of it, build netapi.so|.a.
Günther Deschner [Thu, 6 Dec 2007 18:15:30 +0000 (19:15 +0100)]
For the fun of it, build netapi.so|.a.

Guenther
(This used to be commit 8cbc6bdede9e8fc423488c7632546c548234cc0c)

16 years agoAdd NetGetJoinInformation().
Günther Deschner [Thu, 6 Dec 2007 18:04:49 +0000 (19:04 +0100)]
Add NetGetJoinInformation().

Guenther
(This used to be commit d341d251d6e22e9cc1c4596038fd5fe5c7c6c174)

16 years agoAdd get_friendly_werror_msg().
Günther Deschner [Fri, 21 Dec 2007 14:28:01 +0000 (15:28 +0100)]
Add get_friendly_werror_msg().

Guenther
(This used to be commit b1ad3def98911c91ed55a3b7aec7d0894b2dd8fd)

16 years agoKill fstring in getdcname & getanydcname return.
Günther Deschner [Fri, 21 Dec 2007 14:12:40 +0000 (15:12 +0100)]
Kill fstring in getdcname & getanydcname return.

Guenther
(This used to be commit b7383818168863a7ba43c2456f8c44e96e76707a)

16 years agoUse ADS_IGNORE_PRINCIPAL define.
Günther Deschner [Fri, 21 Dec 2007 12:40:11 +0000 (13:40 +0100)]
Use ADS_IGNORE_PRINCIPAL define.

Guenther
(This used to be commit 763e13315fc71237b14a186810bc201e725648f5)

16 years agoFix the build on Solaris
Volker Lendecke [Fri, 21 Dec 2007 11:53:12 +0000 (12:53 +0100)]
Fix the build on Solaris
(This used to be commit 5f5e52ba7b3862dc72a16d84e07503e98ccbbf8a)

16 years agoSome C++ fixes
Volker Lendecke [Thu, 20 Dec 2007 21:27:01 +0000 (22:27 +0100)]
Some C++ fixes
(This used to be commit 5c392c4c6e277a24d0d477902dc7856b2b46ee53)

16 years agoSome C++ warnings
Volker Lendecke [Thu, 20 Dec 2007 21:17:16 +0000 (22:17 +0100)]
Some C++ warnings
(This used to be commit 5ab82d4f574f2a2e2761e9e414c66a70aeffb05d)

16 years agoFix a C++ warning
Volker Lendecke [Thu, 20 Dec 2007 20:25:00 +0000 (21:25 +0100)]
Fix a C++ warning
(This used to be commit c31c7e3e24875ce75bc18f0ad7529320eab8e50a)

16 years agoFix a C++ warning
Volker Lendecke [Thu, 20 Dec 2007 19:59:44 +0000 (20:59 +0100)]
Fix a C++ warning
(This used to be commit 7e1d9b561f6df233b8c7eaec83d1e4207b5a2fb0)

16 years agoFix a missing prototype warning
Volker Lendecke [Thu, 20 Dec 2007 19:59:27 +0000 (20:59 +0100)]
Fix a missing prototype warning
(This used to be commit 93e5de23e7109432f554745b18c6d630a39f9c2b)

16 years agoRemove some statics from md4.c
Volker Lendecke [Sun, 9 Dec 2007 17:25:34 +0000 (18:25 +0100)]
Remove some statics from md4.c
(This used to be commit 7e193c68b2a7eb16afc12379a4ceed41053d1eeb)

16 years agoAdd a singleton cache
Volker Lendecke [Thu, 20 Dec 2007 15:05:57 +0000 (16:05 +0100)]
Add a singleton cache

First user is yp_default_domain
(This used to be commit c19363eb77fcc3e1bf3341e6373d38f1e91fc08f)

16 years agoMake data_blob_string_const return null terminated strings
Volker Lendecke [Thu, 20 Dec 2007 14:16:25 +0000 (15:16 +0100)]
Make data_blob_string_const return null terminated strings

... nobody was using it, so we're free to change it now :-)
(This used to be commit 4b06c68482247d859ec30b8b1920706e43358989)

16 years agoRemove next_token_nr_talloc and its associated global
Volker Lendecke [Wed, 19 Dec 2007 20:59:28 +0000 (21:59 +0100)]
Remove next_token_nr_talloc and its associated global

Only client.c and clitar.c used this, I think they should carry the static
themselves. Also move the a bit funny routine toktocliplist to clitar.c, the
only place where it is used.
(This used to be commit 86d9412611fd99c21e15c71d30a3f95e35d8535b)

16 years agoConvert the pwnam cache to memcache
Volker Lendecke [Thu, 20 Dec 2007 13:54:33 +0000 (14:54 +0100)]
Convert the pwnam cache to memcache
(This used to be commit 032c5589fe7f9f2fcb0f336e72517a81a720b6ce)

16 years agoAdd memcache_add_talloc
Volker Lendecke [Thu, 20 Dec 2007 13:41:58 +0000 (14:41 +0100)]
Add memcache_add_talloc

The first memcache API only had blobs, but we have quite a few objects that are
more complex talloc'ed structues. The current one I'm looking at is the
getpwnam cache, but there are others around.
(This used to be commit ea0e5ad9a15c848904dee8cb2d3e392b6a894705)

16 years agoAdd a global cache
Volker Lendecke [Thu, 20 Dec 2007 09:55:45 +0000 (10:55 +0100)]
Add a global cache

It hurts, but I think this global variable is necessary for transition, and it
has the potential to remove quite a few other global variables without messing
with APIs too much.
(This used to be commit c131d0dc52ec09c9227eff3d68877369c37aaed5)

16 years agofix dump printout when byte >= 0x80
Herb Lewis [Thu, 20 Dec 2007 22:57:29 +0000 (14:57 -0800)]
fix dump printout when byte >= 0x80
(This used to be commit e18fab269c7370a6670c56eeab60fd90feecf0b2)

16 years agoFix typo in filesystem capabilities bits.
James Peach [Thu, 20 Dec 2007 16:31:27 +0000 (08:31 -0800)]
Fix typo in filesystem capabilities bits.
(This used to be commit 08fee0d28a20648d74c6b03d120eaf628f4de70c)

16 years agoAttempt to fix the build
Volker Lendecke [Thu, 20 Dec 2007 09:33:13 +0000 (10:33 +0100)]
Attempt to fix the build

James, at least on my Linux system neither FILE_CASE_SENSITIVE_SEARCH nor
FILE_CASE_PRESERVING_NAMES seem to be defined anywhere. Is it possible that
this is a MacOS/X specific thing? If so, could you add configure tests for
this?

Thanks,

Volker
(This used to be commit 465fd4385013c95f9778d710d70796feae4eb858)

16 years agoRemove unused variable 'didmsg'.
James Peach [Thu, 20 Dec 2007 06:39:40 +0000 (22:39 -0800)]
Remove unused variable 'didmsg'.
(This used to be commit 5de89dd6e0a8a56a5a0f998e3b1d3538367db7d6)

16 years agoFix a couple of warnings in mDNS registration. One of these is an
James Peach [Thu, 20 Dec 2007 06:33:43 +0000 (22:33 -0800)]
Fix a couple of warnings in mDNS registration. One of these is an
actual bug where we pass a pointer instead of a pointer to a pointer.
(This used to be commit 36db6755103f01cb74bf4194fc81ca6d4b5320e4)

16 years agoAdd filesystem capabilities bitmask to statfs info.
James Peach [Mon, 15 Oct 2007 21:03:40 +0000 (14:03 -0700)]
Add filesystem capabilities bitmask to statfs info.

This patch adds Darwin support for the Samba statfs VFS call. It
also adds a filesystem capabilities bitmask to the information
returned by the call.
(This used to be commit 555173eb3f6511e88798d6ef3d1fed0c219a9921)

16 years agoExpose per-fsp extension talloc context.
James Peach [Mon, 15 Oct 2007 21:01:12 +0000 (14:01 -0700)]
Expose per-fsp extension talloc context.

This patch supplements the fsp extension API with an operation to
retrieve the malloc zone pointer for that fsp.
(This used to be commit d5d9e4084cfb3db3bebff0334b93f376022ef5d3)

16 years agoRelease per-fsp data on file closure.
James Peach [Mon, 15 Oct 2007 20:59:37 +0000 (13:59 -0700)]
Release per-fsp data on file closure.
(This used to be commit 9fead46b54519b3df78a869dbc99207046587d6a)

16 years agoOnly retrieve password policies in pam_auth when WBFLAG_PAM_GET_PWD_POLICY is set.
Michael Adam [Wed, 19 Dec 2007 16:53:14 +0000 (17:53 +0100)]
Only retrieve password policies in pam_auth when WBFLAG_PAM_GET_PWD_POLICY is set.

This essentially re-establishes r14496 (2155bb0535656f294bd054d6a0a7d16a9a71c31b)
which was undone in r17723 (43bd8c00abb38eb23a1497a255d194fb1bbffffb) for
reasons that are unclear to me. Maybe I am being too naive.

Now we do again only retrieve the password policy when called from
the pam_winbind module. This fixes logons delegated to AD trusted
domain controllers: We need to connect to the sam to retrieve the
password policy. But auhtenticated session setup is not possible
when contacting the trusted domain dc and afterwards, SamrConnect
also fails with whatever credentials and method used.

Michael
(This used to be commit 6d765e0de523211a2d0b43a2c4c4117f5f0c662f)

16 years agoChange the prototype of the vfs function get_nt_acl().
Michael Adam [Wed, 5 Dec 2007 08:53:10 +0000 (09:53 +0100)]
Change the prototype of the vfs function get_nt_acl().

Up to now, get_nt_acl() took a files_struct pointer (fsp) and
a file name. All the underlying functions should need and now
do need (after the previous preparatory work), is a connection_struct
and a file name. The connection_struct is already there in the
vfs_handle passed to the vfs functions. So the files_struct
argument can be eliminated.

This eliminates the need of calling open_file_stat in a couple
of places to produce the fsp needed.

Michael
(This used to be commit b5f600fab53c9d159a958c59795db3ba4a8acc63)