jra/samba/.git
16 years agoCurrently we don't SPNEGO negotiate back to NTLMSSP. Note this.
Jeremy Allison [Fri, 15 Feb 2008 02:08:23 +0000 (18:08 -0800)]
Currently we don't SPNEGO negotiate back to NTLMSSP. Note this.
Jeremy.
(This used to be commit 67768fc71f9bd7ff3d61acc50360356b524ae923)

16 years agoCurrently we don't SPNEGO negotiate back to NTLMSSP. Note this.
Jeremy Allison [Fri, 15 Feb 2008 02:07:27 +0000 (18:07 -0800)]
Currently we don't SPNEGO negotiate back to NTLMSSP. Note this.
Jeremy.
(This used to be commit 8cd04b948bfba3896d40c9e314a197f60ad76833)

16 years agoEnsure invalidate_vuid() deletes any ntlmssp state.
Jeremy Allison [Fri, 15 Feb 2008 02:06:16 +0000 (18:06 -0800)]
Ensure invalidate_vuid() deletes any ntlmssp state.
Jeremy.
(This used to be commit b41799c351c72b268ef094047a51766747671280)

16 years agoAllow auth_ntlmssp_end() to ignore null pointers passed in.
Jeremy Allison [Fri, 15 Feb 2008 02:05:37 +0000 (18:05 -0800)]
Allow auth_ntlmssp_end() to ignore null pointers passed in.
Jeremy.
(This used to be commit b7628f3a47166791db4cd6451d52ea3881a45bed)

16 years agoAllow the mechOID to be written separately.
Jeremy Allison [Thu, 14 Feb 2008 19:29:54 +0000 (11:29 -0800)]
Allow the mechOID to be written separately.
Jeremy.
(This used to be commit e3e08c6e7d270e1be7a9d3042b1f36f5a291f90a)

16 years agoRevert "Merge in J.Layton patch and resolve conflict."
Simo Sorce [Thu, 14 Feb 2008 17:03:32 +0000 (12:03 -0500)]
Revert "Merge in J.Layton patch and resolve conflict."

This reverts commit 6b1a118eaaab405eeef0cf3c0488a2747af562ba.

We found that this patch does not play well with currently released cifs.ko
code, so after discussions with Jeff Layton and Steve french we decided it
is best to back it off and re-think a better approach. Jeff will send new
patches later, but for now it is better to just revert to the previous code
(This used to be commit c5b7d538ecfa93377ff20704633ac57dbf8dd530)

16 years agoRemove the regfio objects from the ldb commandlin tools object list - unused.
Michael Adam [Thu, 14 Feb 2008 15:32:25 +0000 (16:32 +0100)]
Remove the regfio objects from the ldb commandlin tools object list - unused.

Michael
(This used to be commit 047c5ba740c6b6c3d6bacf818dcdae8ec0af2292)

16 years agoUse the proper boolean constants.
Michael Adam [Thu, 14 Feb 2008 14:35:07 +0000 (15:35 +0100)]
Use the proper boolean constants.

Michael
(This used to be commit 1c215325d1fb90f92fbe85011ab822892d5c994b)

16 years agoClean up LIBTDB-related Makefile variables a bit
Michael Adam [Thu, 14 Feb 2008 13:21:49 +0000 (14:21 +0100)]
Clean up LIBTDB-related Makefile variables a bit

(removing commented out stuff).

Michael
(This used to be commit 0755785d80f22fe7d8d5be682f4c7bd88c987c3c)

16 years agoRemove unused marshalling for LSA_REMOVE_ACCT_RIGHTS.
Günther Deschner [Thu, 14 Feb 2008 14:29:51 +0000 (15:29 +0100)]
Remove unused marshalling for LSA_REMOVE_ACCT_RIGHTS.

Guenther
(This used to be commit 80e39330bf15cc57f2780a5b900d8a2b14d92fa9)

16 years agoUse rpccli_lsa_RemoveAccountRights() in net and rpcclient.
Günther Deschner [Thu, 14 Feb 2008 14:28:26 +0000 (15:28 +0100)]
Use rpccli_lsa_RemoveAccountRights() in net and rpcclient.

Guenther
(This used to be commit 78200d88924bbef3df7185fc3a0e1753160a592f)

16 years agoUse pidl for _lsa_RemoveAccountRights.
Günther Deschner [Thu, 14 Feb 2008 14:20:18 +0000 (15:20 +0100)]
Use pidl for _lsa_RemoveAccountRights.

Guenther
(This used to be commit 39f8508f5d978a936779fdfd51b90fec4faa4301)

16 years agoRe-run make idl.
Günther Deschner [Thu, 14 Feb 2008 14:21:54 +0000 (15:21 +0100)]
Re-run make idl.

Guenther
(This used to be commit 3436a54662fad1c69cfd1211f1afaa5a9d3d6d36)

16 years agoFix IDL for lsa_RemoveAccountRights.
Günther Deschner [Thu, 14 Feb 2008 14:20:47 +0000 (15:20 +0100)]
Fix IDL for lsa_RemoveAccountRights.

Guenther
(This used to be commit d65b2504de6e433e1ca3ea8aa839b4209dd1b99a)

16 years agoRemove unused marshalling for LSA_ENUM_ACCT_RIGHTS.
Günther Deschner [Thu, 14 Feb 2008 14:11:35 +0000 (15:11 +0100)]
Remove unused marshalling for LSA_ENUM_ACCT_RIGHTS.

Guenther
(This used to be commit 34c0e64026b7f5f223c7d7f1d7e162b5659f3bd3)

16 years agoUse rpccli_lsa_EnumAccountRights in net and rpcclient.
Günther Deschner [Thu, 14 Feb 2008 14:09:21 +0000 (15:09 +0100)]
Use rpccli_lsa_EnumAccountRights in net and rpcclient.

Guenther
(This used to be commit 6e9195329d9f2b26c959f64485902c032f140ec8)

16 years agoFix IDL for lsa_EnumAccountRights.
Günther Deschner [Thu, 14 Feb 2008 14:02:59 +0000 (15:02 +0100)]
Fix IDL for lsa_EnumAccountRights.

Guenther
(This used to be commit ef9b65dd115591d8976f0248cf1c639fd05c03d7)

16 years agoUse pidl for _lsa_EnumAccountRights().
Günther Deschner [Thu, 14 Feb 2008 14:02:31 +0000 (15:02 +0100)]
Use pidl for _lsa_EnumAccountRights().

Guenther
(This used to be commit cb6a84712cf91d104206356f0ac256a071868d66)

16 years agoRemove unused marshalling for LSA_ADD_ACCT_RIGHTS.
Günther Deschner [Thu, 14 Feb 2008 13:35:27 +0000 (14:35 +0100)]
Remove unused marshalling for LSA_ADD_ACCT_RIGHTS.

Guenther
(This used to be commit 15b97d1aafd6c8ad936944b611188154b191167f)

16 years agoUse rpccli_lsa_AddAccountRights in net and rpcclient.
Günther Deschner [Thu, 14 Feb 2008 13:34:10 +0000 (14:34 +0100)]
Use rpccli_lsa_AddAccountRights in net and rpcclient.

Guenther
(This used to be commit e94ded74d6541d1d8954cfbbbd577ca0c83ecd4c)

16 years agoUse pidl for _lsa_AddAccountRights().
Günther Deschner [Thu, 14 Feb 2008 13:21:49 +0000 (14:21 +0100)]
Use pidl for _lsa_AddAccountRights().

Guenther
(This used to be commit 253cf1523871f2218e9e59b0a01f47b8bc745ac9)

16 years agoRe-run make idl.
Günther Deschner [Thu, 14 Feb 2008 13:36:30 +0000 (14:36 +0100)]
Re-run make idl.

Guenther
(This used to be commit 5137ebe068c32ce7cb204cff049ba7f7f2d86abc)

16 years agoFix IDL for lsa_AddAccountRights.
Günther Deschner [Thu, 14 Feb 2008 13:22:25 +0000 (14:22 +0100)]
Fix IDL for lsa_AddAccountRights.

Guenther
(This used to be commit 7319986a3e9a640ea2d605dc7a2104f43f74f8a2)

16 years agoCreate symbols to export in libtdb dynamically from tdb.h.
Michael Adam [Thu, 14 Feb 2008 13:15:07 +0000 (14:15 +0100)]
Create symbols to export in libtdb dynamically from tdb.h.

This adds a general mechanism to create version-scripts for
linking shared libraries from one or several header files,
similar to mkproto.sh/awk.

Michael
(This used to be commit 65817703c49a7410f4f0c8b46494ede6169d9fa6)

16 years agoAdd support for building and using shared and static libtdb library.
Michael Adam [Thu, 14 Feb 2008 12:29:44 +0000 (13:29 +0100)]
Add support for building and using shared and static libtdb library.

This should work with m4_include(lib/tdb/libtdb.m4) like already
done with talloc, but currently this does not work (yet) - tdb
code has to be merged from s4 before that.

Michael
(This used to be commit e92fdf6b202bd67a9bb6fcc1ced56513a2d0bd3f)

16 years agoFix a typo.
Michael Adam [Wed, 13 Feb 2008 23:31:37 +0000 (00:31 +0100)]
Fix a typo.

This had no negative side effect since currently TALLOC_OBJ
only consists of one object.

Michael
(This used to be commit 9cf3be852024f05a73bf23fe5df6264e5252889b)

16 years agoRemove unused marshalling for LSA_ADDPRIVS and LSA_REMOVEPRIVS.
Günther Deschner [Thu, 14 Feb 2008 13:01:49 +0000 (14:01 +0100)]
Remove unused marshalling for LSA_ADDPRIVS and LSA_REMOVEPRIVS.

Guenther
(This used to be commit 5b700aba1a2e1559c17fec9d82e87312e8a5b15d)

16 years agoUse pidl for _lsa_AddPrivilegesToAccount and _lsa_RemovePrivilegesFromAccount.
Günther Deschner [Thu, 14 Feb 2008 12:50:32 +0000 (13:50 +0100)]
Use pidl for _lsa_AddPrivilegesToAccount and _lsa_RemovePrivilegesFromAccount.

Guenther
(This used to be commit 0c9904864b5c3b893f99abdebb18d9624aa0f560)

16 years agoAdd lsaaddpriv and lsadelpriv commands to rpcclient.
Günther Deschner [Thu, 14 Feb 2008 12:46:39 +0000 (13:46 +0100)]
Add lsaaddpriv and lsadelpriv commands to rpcclient.

Guenther
(This used to be commit e55bb83f84d0d459f4280c2a4bfa4cc14bd3924d)

16 years agoFix IDL for lsa_AddPrivilegesToAccount.
Günther Deschner [Thu, 14 Feb 2008 11:47:04 +0000 (12:47 +0100)]
Fix IDL for lsa_AddPrivilegesToAccount.

Guenther
(This used to be commit 21f82166982784c9685a6403c8db21f421ed0bad)

16 years agoRemove unused marshalling for LSA_LOOKUP_PRIV_VALUE.
Günther Deschner [Thu, 14 Feb 2008 12:31:55 +0000 (13:31 +0100)]
Remove unused marshalling for LSA_LOOKUP_PRIV_VALUE.

Guenther
(This used to be commit 8125d8557fb4b27873f8eabc6ad1019491d18cce)

16 years agoUse rpccli_lsa_LookupPrivValue() in rpcclient.
Günther Deschner [Thu, 14 Feb 2008 12:29:18 +0000 (13:29 +0100)]
Use rpccli_lsa_LookupPrivValue() in rpcclient.

Guenther
(This used to be commit c15243dd1faaa01cd05d6e2f6ae873cc32097397)

16 years agoUse pidl for _lsa_LookupPrivValue().
Günther Deschner [Thu, 14 Feb 2008 12:25:42 +0000 (13:25 +0100)]
Use pidl for _lsa_LookupPrivValue().

Guenther
(This used to be commit 87dc2471d1c2a5be17604399d4f684193a6bba38)

16 years agoFix IDL for lsa_LookupPrivValue.
Günther Deschner [Thu, 14 Feb 2008 12:09:54 +0000 (13:09 +0100)]
Fix IDL for lsa_LookupPrivValue.

Guenther
(This used to be commit 05386f70566e272247ed917b51d712054196ebcb)

16 years agoRemove unused marshalling for LSA_ENUMPRIVSACCOUNT.
Günther Deschner [Thu, 14 Feb 2008 11:15:17 +0000 (12:15 +0100)]
Remove unused marshalling for LSA_ENUMPRIVSACCOUNT.

Guenther
(This used to be commit 004598bc1322b6e2deb62115713768682fee988e)

16 years agoUse rpccli_lsa_EnumPrivsAccount() in rpcclient.
Günther Deschner [Thu, 14 Feb 2008 11:13:13 +0000 (12:13 +0100)]
Use rpccli_lsa_EnumPrivsAccount() in rpcclient.

Guenther
(This used to be commit c28b52dcfedd575f5ae4ed7942857d3853bdd051)

16 years agoRemove white space.
Günther Deschner [Thu, 14 Feb 2008 12:12:28 +0000 (13:12 +0100)]
Remove white space.

Guenther
(This used to be commit a33ed085094b200e153939cb1b02e567f07b1e50)

16 years agoUse pidl for _lsa_EnumPrivsAccount().
Günther Deschner [Thu, 14 Feb 2008 00:53:00 +0000 (01:53 +0100)]
Use pidl for _lsa_EnumPrivsAccount().

Guenther
(This used to be commit d7655932a7cb436f1ee44e443882e2f06d598aa0)

16 years agoRe-run make idl.
Günther Deschner [Thu, 14 Feb 2008 00:55:22 +0000 (01:55 +0100)]
Re-run make idl.

Guenther
(This used to be commit e75283178dee42a64ec3963f64652c202f0dbd0b)

16 years agoFix IDL for lsa_EnumPrivsAccount.
Günther Deschner [Thu, 14 Feb 2008 00:51:15 +0000 (01:51 +0100)]
Fix IDL for lsa_EnumPrivsAccount.

Guenther
(This used to be commit 369df93875c501af460d87b67bb5e919f7741a69)

16 years agoFix typo.
Günther Deschner [Thu, 14 Feb 2008 00:53:42 +0000 (01:53 +0100)]
Fix typo.

Guenther
(This used to be commit 4e3357ac3a1b0adac1744a71f997e3442e0e4209)

16 years agoRemove accidential commit.
Günther Deschner [Thu, 14 Feb 2008 00:45:07 +0000 (01:45 +0100)]
Remove accidential commit.

Guenther
(This used to be commit 2ab1167e156e989f4b60fcb4dbc7d7eefc64bed0)

16 years agoRemove unused marshalling for LSA_ENUM_ACCOUNTS.
Günther Deschner [Thu, 14 Feb 2008 00:34:34 +0000 (01:34 +0100)]
Remove unused marshalling for LSA_ENUM_ACCOUNTS.

Guenther
(This used to be commit 8c476ad51622f76bf8f03f6255369b8e19f24a72)

16 years agoUse rpccli_lsa_EnumAccounts() in net and rpcclient.
Günther Deschner [Thu, 14 Feb 2008 00:32:56 +0000 (01:32 +0100)]
Use rpccli_lsa_EnumAccounts() in net and rpcclient.

Guenther
(This used to be commit bdbcfa4419a54b98ea577b0052894ddaa06890ce)

16 years agoUse pidl for _lsa_EnumAccounts.
Günther Deschner [Thu, 14 Feb 2008 00:16:03 +0000 (01:16 +0100)]
Use pidl for _lsa_EnumAccounts.

Guenther
(This used to be commit 07e5138ad960bce8569ea593ca9a1b4fbf2b1048)

16 years agoRe-run make idl.
Günther Deschner [Thu, 14 Feb 2008 00:07:54 +0000 (01:07 +0100)]
Re-run make idl.

Guenther
(This used to be commit debf51aa966d1f243894d458069346a60c76714b)

16 years agoFix IDL for lsa_EnumAccounts.
Günther Deschner [Thu, 14 Feb 2008 00:08:40 +0000 (01:08 +0100)]
Fix IDL for lsa_EnumAccounts.

Guenther
(This used to be commit d4744fe33fa99152f414e6e3a048eb9479f3d2b2)

16 years agoTry and fix the Darwin build with dynamic libs.
Michael Adam [Wed, 13 Feb 2008 23:09:17 +0000 (00:09 +0100)]
Try and fix the Darwin build with dynamic libs.

Golly gosh, this one took me quite some time to figure out!
Hopefully, I did not introduce any typos copying...

Michael
(This used to be commit 85ca2c9edb9ac54d3fa18d6b343a73dda1d48040)

16 years agoRemove unused marshalling for NET_LOGON_CTRL and NET_LOGON_CTRL2.
Günther Deschner [Wed, 13 Feb 2008 22:12:42 +0000 (23:12 +0100)]
Remove unused marshalling for NET_LOGON_CTRL and NET_LOGON_CTRL2.

Guenther
(This used to be commit c94538e742e469e4afc6e30d9d99951fda6dd219)

16 years agoUse pidl for _netr_LogonControl2.
Günther Deschner [Wed, 13 Feb 2008 22:06:09 +0000 (23:06 +0100)]
Use pidl for _netr_LogonControl2.

Guenther
(This used to be commit 4bd02aa6cdfdfd8f3b678fc81a0a1bd70cef9a67)

16 years agoAdd some netr_NETLOGON_INFO init functions.
Günther Deschner [Wed, 13 Feb 2008 21:55:44 +0000 (22:55 +0100)]
Add some netr_NETLOGON_INFO init functions.

Guenther
(This used to be commit f0c66688588a4e62c4a250b0d21a0fe14bbc5099)

16 years agoFix logonctrl2 command in rpcclient.
Günther Deschner [Wed, 13 Feb 2008 21:54:43 +0000 (22:54 +0100)]
Fix logonctrl2 command in rpcclient.

Guenther
(This used to be commit c58be24cd43092e5ebf7aa84f167a5cc8344edfc)

16 years agoMove some lsa init routines around.
Günther Deschner [Wed, 13 Feb 2008 16:57:57 +0000 (17:57 +0100)]
Move some lsa init routines around.

Guenther
(This used to be commit 8d3e7e8bb067b9e0aab79bc460647e8a6176102e)

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

Guenther
(This used to be commit a111167062f0bee9477b5988a3ce796af81407fc)

16 years agoFix IDL for netr_ServerPasswordSet.
Günther Deschner [Wed, 13 Feb 2008 15:46:23 +0000 (16:46 +0100)]
Fix IDL for netr_ServerPasswordSet.

Guenther
(This used to be commit da951e278c5253b0d23145790c817b2f01ac47ef)

16 years agoRemove --enable-libwbclient-shared , use --with-static-libs=libwbclient instead.
Michael Adam [Wed, 13 Feb 2008 13:53:34 +0000 (14:53 +0100)]
Remove --enable-libwbclient-shared , use --with-static-libs=libwbclient instead.

Use the more general mechanism.
The enable_developer-check is preserved, of course.

Michael
(This used to be commit 4321d5aba7ec808aee473c1123027f14bfa19f19)

16 years agoUse --with-static-libs=libtalloc instead of --with-static-libs=talloc
Michael Adam [Wed, 13 Feb 2008 14:10:53 +0000 (15:10 +0100)]
Use --with-static-libs=libtalloc instead of --with-static-libs=talloc

for consistency (and similar for all other examples).

Michael
(This used to be commit 198768a83242cca3f03d839598200d794bb11606)

16 years agoLink in libnetapi as shared or static library (same mechanism as talloc).
Michael Adam [Wed, 13 Feb 2008 13:43:56 +0000 (14:43 +0100)]
Link in libnetapi as shared or static library (same mechanism as talloc).

This, too, can be turned to static linking by providing the configure
parameter --with-static-libs=netapi.

Michael
(This used to be commit a4c773de0fbd303f633e120e817b4c88fcff2064)

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

Guenther
(This used to be commit 782ad12e3c100cf74ca0bc353379efe90da69b98)

16 years agoFix IDL for netr_LogonControl2.
Günther Deschner [Wed, 13 Feb 2008 11:29:24 +0000 (12:29 +0100)]
Fix IDL for netr_LogonControl2.

Guenther
(This used to be commit d16af5105d307ebb88190176d7f89971d0f40351)

16 years agoUse pidl for _netr_ServerReqChallenge.
Günther Deschner [Wed, 13 Feb 2008 13:08:59 +0000 (14:08 +0100)]
Use pidl for _netr_ServerReqChallenge.

Guenther
(This used to be commit ef424319410b7a29ecdfefca53b7e9704beb6139)

16 years agoPure cosmetics: remove trailing whitespace in netlogon server.
Günther Deschner [Wed, 13 Feb 2008 11:24:56 +0000 (12:24 +0100)]
Pure cosmetics: remove trailing whitespace in netlogon server.

Guenther
(This used to be commit 983ac0a6762b52945a784ccbc371f4df99a0a52b)

16 years agoRemove const on policy handle in net rpc.
Günther Deschner [Wed, 13 Feb 2008 13:10:10 +0000 (14:10 +0100)]
Remove const on policy handle in net rpc.

Volker, are you ok with that?

Guenther
(This used to be commit f1c7fa19e43d720f0d42e6d1999130462d5979da)

16 years agoOnly use the needed objects for libnetapi.a
Michael Adam [Wed, 13 Feb 2008 13:10:06 +0000 (14:10 +0100)]
Only use the needed objects for libnetapi.a

Michael
(This used to be commit 4ffc73d90883491b9d4dc6d0249e1d859939670b)

16 years agoAdd -L./bin to LDFLAGS when building shared libs.
Michael Adam [Wed, 13 Feb 2008 12:48:00 +0000 (13:48 +0100)]
Add -L./bin to LDFLAGS when building shared libs.

Formerly this was only needed for libwbclient, but now that we start
using more shared libs internally, this is needed more globally
to support linking internal libs dynamically on systemy without winbindd.

Michael
(This used to be commit ec793572187228deda7210dab02882e4e09f1972)

16 years agoauth_winbind: use wbcAuthenticateUserEx()
Stefan Metzmacher [Mon, 4 Feb 2008 17:18:36 +0000 (18:18 +0100)]
auth_winbind: use wbcAuthenticateUserEx()

smbd doesn't need $(WBCOMMON_OBJ) anymore,
it works with any libwbclient.so now
and may talk to an older winbindd.

metze
(This used to be commit e3435930a307cff3066fe2047ed8c5c48911f001)

16 years agowbinfo: use wbcAuthenticateUserEx()
Stefan Metzmacher [Tue, 29 Jan 2008 15:21:14 +0000 (16:21 +0100)]
wbinfo: use wbcAuthenticateUserEx()

metze
(This used to be commit 923cb37837d508d5355038e95ed1ac09c5869a89)

16 years agolibwbclient: add wbcAuthenticateUserEx() function
Stefan Metzmacher [Thu, 24 Jan 2008 13:05:59 +0000 (14:05 +0100)]
libwbclient: add wbcAuthenticateUserEx() function

This function will be used by auth_winbind.c.

metze
(This used to be commit 72af96a320a97ce1a730d6e33d01950123d6a97c)

16 years agowinbindd: add rids and other_sids arrays in WBFLAG_PAM_INFO3_TEXT mode
Stefan Metzmacher [Fri, 18 Jan 2008 07:43:45 +0000 (08:43 +0100)]
winbindd: add rids and other_sids arrays in WBFLAG_PAM_INFO3_TEXT mode

metze
(This used to be commit c5e6dd1ca9611e2830ff773875998c01bf779a64)

16 years agoOnly export talloc related symbols in libtalloc.so.
Michael Adam [Wed, 13 Feb 2008 11:41:00 +0000 (12:41 +0100)]
Only export talloc related symbols in libtalloc.so.

Michael
(This used to be commit 60a4c8411b71f9f17956b51fd882f71273f5b0ca)

16 years agoUse pidl for _netr_LogonControl.
Günther Deschner [Wed, 13 Feb 2008 10:56:24 +0000 (11:56 +0100)]
Use pidl for _netr_LogonControl.

Guenther
(This used to be commit ec4947525e0881bfcde661f906ccd1f66fe54f5a)

16 years agoUse rpccli_netr_LogonControl() in rpcclient.
Günther Deschner [Wed, 30 Jan 2008 22:43:57 +0000 (23:43 +0100)]
Use rpccli_netr_LogonControl() in rpcclient.

Guenther
(This used to be commit d54456f3c42f123af5516c6f75c87b279fdc775f)

16 years agoRemove redundant (and unused) set of samr opcodes.
Günther Deschner [Wed, 13 Feb 2008 10:43:45 +0000 (11:43 +0100)]
Remove redundant (and unused) set of samr opcodes.

Guenther
(This used to be commit 46d5989562bb771b3dcb2fdd197d2f90c3ff8653)

16 years agoAdd libreplace objects to libtalloc.so.
Michael Adam [Wed, 13 Feb 2008 10:54:41 +0000 (11:54 +0100)]
Add libreplace objects to libtalloc.so.

Michael
(This used to be commit a84bf0786f269b8514e0a08e32fa429cefabe1d3)

16 years agoGoodbye parse_samr.c, rest in peace - but never come back!
Günther Deschner [Wed, 13 Feb 2008 10:36:17 +0000 (11:36 +0100)]
Goodbye parse_samr.c, rest in peace - but never come back!

Guenther
(This used to be commit 8a8c5826e7a55742169e60d2145a7fe4d5786a23)

16 years agoRemove unused marshalling for SAMR_ENUM_DOM_ALIASES.
Günther Deschner [Wed, 13 Feb 2008 10:17:40 +0000 (11:17 +0100)]
Remove unused marshalling for SAMR_ENUM_DOM_ALIASES.

Guenther
(This used to be commit 7e1f33436adb0625662969f52b501c57d4a4bc87)

16 years agoConvert last caller (in winbindd) to rpccli_samr_EnumDomainAliases.
Günther Deschner [Wed, 13 Feb 2008 10:15:40 +0000 (11:15 +0100)]
Convert last caller (in winbindd) to rpccli_samr_EnumDomainAliases.

Guenther
(This used to be commit 33a97b447c1875bf1cd5a703871a84a7fb359fec)

16 years agoRemove unused marshalling for SAMR_ENUM_DOM_GROUPS.
Günther Deschner [Wed, 13 Feb 2008 10:11:34 +0000 (11:11 +0100)]
Remove unused marshalling for SAMR_ENUM_DOM_GROUPS.

Guenther
(This used to be commit 6f269ec8c0ad18bd0c04d5fc459fa80ab72dba63)

16 years agoConvert last caller (in winbindd) to rpccli_samr_EnumDomainGroups.
Günther Deschner [Wed, 13 Feb 2008 10:08:49 +0000 (11:08 +0100)]
Convert last caller (in winbindd) to rpccli_samr_EnumDomainGroups.

Guenther
(This used to be commit 8890bc481f60cd42d96b240b2ed8e34bc3d81f13)

16 years agoChange hand written configure help strings to use AS_HELP_STRING().
Michael Adam [Wed, 13 Feb 2008 10:03:18 +0000 (11:03 +0100)]
Change hand written configure help strings to use AS_HELP_STRING().

Michael
(This used to be commit d950174bcb50ecb70dfef71d4201feec4985c08b)

16 years agoUse AS_HELP_STRING instead of (deprecated) AC_HELP_STRING.
Michael Adam [Wed, 13 Feb 2008 08:34:40 +0000 (09:34 +0100)]
Use AS_HELP_STRING instead of (deprecated) AC_HELP_STRING.

Existence is guaranteed by libreplace.

Michael
(This used to be commit 90bdd0fa2ee09bab8c661c241f5d5fe8fc57016b)

16 years agoRemove unused marshalling for SAMR_LOOKUP_RIDS.
Günther Deschner [Wed, 13 Feb 2008 09:54:56 +0000 (10:54 +0100)]
Remove unused marshalling for SAMR_LOOKUP_RIDS.

Guenther
(This used to be commit c6db963dacb04a9b2ee12705d8cfb29b843c0ea2)

16 years agoConvert last caller (in winbindd) to rpccli_samr_LookupRids.
Günther Deschner [Wed, 13 Feb 2008 09:49:55 +0000 (10:49 +0100)]
Convert last caller (in winbindd) to rpccli_samr_LookupRids.

Guenther
(This used to be commit 34c2566f026dbde4da10e2fc10c6960260eb6044)

16 years agoRemove unused init_sam_entry routine.
Günther Deschner [Wed, 13 Feb 2008 09:54:16 +0000 (10:54 +0100)]
Remove unused init_sam_entry routine.

Guenther
(This used to be commit c19847a02486414117425930367dcd210e911715)

16 years agoFix build: Add missing prerequisites for libwbclient.so
Michael Adam [Wed, 13 Feb 2008 09:52:16 +0000 (10:52 +0100)]
Fix build: Add missing prerequisites for libwbclient.so

Michael
(This used to be commit fa3a78b815e0bcbb4ac08b6277f798593c0458e9)

16 years agolibwbclient: include wb_common.o in libwbclient.a
Stefan Metzmacher [Mon, 11 Feb 2008 17:36:45 +0000 (18:36 +0100)]
libwbclient: include wb_common.o in libwbclient.a

And only link in wb_common.o directly into binaries
which really need it.

Note: It's important that $(WBCOMMON_OBJ) comes before
      @LIBWBCLIENT_STATIC@ overwise we may try to
      link in wb_common.o twice.

metze
(This used to be commit 135d9dd6d830ce6ae5c7917468763aa9a148d76a)

16 years agonsswitch: convert winbind_env_set(), winbind_on() and winbind_off() into macros
Stefan Metzmacher [Mon, 11 Feb 2008 17:35:58 +0000 (18:35 +0100)]
nsswitch: convert winbind_env_set(), winbind_on() and winbind_off() into macros

metze
(This used to be commit 5f623f54a919cc687d0ff16c16038c05a501008d)

16 years agoFix install: Add creation of include dir to installlibtalloc target.
Michael Adam [Wed, 13 Feb 2008 09:36:43 +0000 (10:36 +0100)]
Fix install: Add creation of include dir to installlibtalloc target.

Michael
(This used to be commit 26d012dd3de8ec146eb22656f1ed8eef110e4be6)

16 years agoRemove unused marshalling for NET_TRUST_DOM_LIST.
Günther Deschner [Wed, 13 Feb 2008 09:27:15 +0000 (10:27 +0100)]
Remove unused marshalling for NET_TRUST_DOM_LIST.

Guenther
(This used to be commit 9312755955eac9897c8117773f8cd7d1652b2bca)

16 years agoUse pidl for _netr_NetrEnumerateTrustedDomains().
Günther Deschner [Wed, 13 Feb 2008 09:23:45 +0000 (10:23 +0100)]
Use pidl for _netr_NetrEnumerateTrustedDomains().

This call is completely broken. For now, just make sure that we return the exact same
data as before the conversion to pidl.

Guenther
(This used to be commit 243bdaeea7900ab6a65edfda877e8c225ec7b213)

16 years agoMerge data_blob_talloc_zero() from samba4.
Günther Deschner [Wed, 13 Feb 2008 09:19:06 +0000 (10:19 +0100)]
Merge data_blob_talloc_zero() from samba4.

Guenther
(This used to be commit 9fca3ca37eaf10c24f852e854dd28b7155c3e536)

16 years agoAdd linking -ltalloc to libwbclient.so. Noted by Metze.
Michael Adam [Wed, 13 Feb 2008 09:11:43 +0000 (10:11 +0100)]
Add linking -ltalloc to libwbclient.so. Noted by Metze.

Michael
(This used to be commit e904a3dd532d7510ac2393e598b3edcf8e1349e8)

16 years agoAdd forgotten file exports/libtalloc.syms ... Thanks Günther!
Michael Adam [Wed, 13 Feb 2008 08:48:42 +0000 (09:48 +0100)]
Add forgotten file exports/libtalloc.syms ...  Thanks Günther!

Michael
(This used to be commit b1deb11a19f09325449fd30fb364173f9ba9d681)

16 years agoSome minor, cosmetic cleanup in srv_samr_util.c.
Günther Deschner [Tue, 12 Feb 2008 22:30:44 +0000 (23:30 +0100)]
Some minor, cosmetic cleanup in srv_samr_util.c.

Guenther
(This used to be commit cd5bf3449adee7537ae6ca4e3b398e99d34555fd)

16 years agoFix some comment typos.
Michael Adam [Tue, 12 Feb 2008 14:28:51 +0000 (15:28 +0100)]
Fix some comment typos.

Michael
(This used to be commit bc4482cde1571bb1cb2d55106fc8ee22d26efa23)

16 years agoRemove some unneded variables: we always build and install some talloc libs.
Michael Adam [Tue, 12 Feb 2008 14:26:00 +0000 (15:26 +0100)]
Remove some unneded variables: we always build and install some talloc libs.

LIBTALLOC, INSTALL_LIBTALLOC, UNINSTALL_LIBTALLOC

Michael
(This used to be commit 97a60565ad6657af8e4a3b8b38b69b48597e3eec)

16 years agoPut talloc lib targets into variables and uses these.
Michael Adam [Tue, 12 Feb 2008 14:18:56 +0000 (15:18 +0100)]
Put talloc lib targets into variables and uses these.

LIBTALLOC_STATIC_TARGET and LIBTALLOC_SHARED_TARGET.

Michael
(This used to be commit d1bec3882908086747e1176a275617700cada097)

16 years agoSimplify code by moving duplicate assignment to common place.
Michael Adam [Tue, 12 Feb 2008 13:43:20 +0000 (14:43 +0100)]
Simplify code by moving duplicate assignment to common place.

Michael
(This used to be commit dddfdee90ee30d225e08d7f1685409f62fabf7c1)

16 years agoAdd support for linking talloc library statically or dynamically into samba.
Michael Adam [Fri, 8 Feb 2008 13:41:30 +0000 (14:41 +0100)]
Add support for linking talloc library statically or dynamically into samba.

This also establishes a general configure mechanism to control static vs
dynamic linking of internal subsystems built as libraries:
This first simple approach is as follows.

* It applies only to "subsystems" that we build as libraries and for
  that linking samba against the libraries (as opposed to linking in
  the plain object files) has been configured in Makefile.in.

* If we do build the shared library, then we link dynamically by default.

* We only link statically if we don't build shared or if the library
  appears in the new --with-static-libs configure option
  (comma-separated list).

Example (currently only one):
  --with-static-libs=talloc makes use of libtalloc.a instead
  of linking the dynamic variant with -ltalloc.

A possilble way to setup linking against libraries in Makefile.in is this:
For a subsystem, "mylib" say, we build bin/libmylib.a and bin/libmylib.so.
The subsystem usually has a MYLIB_OBJ definition in Makefile.in.  Define
LIBMYLIB_STATIC=bin/libmylib.a and and LIBMYLIB_LIBS=-lmylib in configure.in
as controlled by presence of "mylib" in the list given to --with-static-libs
and change uses of $(MYLIB_OBJ) to @LIBMYLIB_STATIC@ in Makefile.in and
add @LIBMYLIB_LIBS@ to the link targets as needed.

In the example of talloc, which is needed everywhere, I have simply
added @LIBTALLOC_LIBS@ to the definition of "LIBS" in Makefile.in.
For other subsystems, one will have to be more careful.

Michael
(This used to be commit 71b990d9d687b517dec3d4eff67b6a3fe417a12a)

16 years agoUse data from lib/talloc/libtalloc.m4 instead of hard coded data.
Michael Adam [Fri, 8 Feb 2008 16:16:51 +0000 (17:16 +0100)]
Use data from lib/talloc/libtalloc.m4 instead of hard coded data.

Michael
(This used to be commit 880238c65c13c8b280e2f34431aa331a16af4a7b)