Stefan Metzmacher
bfbd74f059
libwbclient: remove prototype of non existing wbcDomainSequenceNumbers()
...
metze
(This used to be commit 7a4de23aa318bd24948e576a5582a5c74d335154)
2008-03-28 15:11:41 +01:00
Stefan Metzmacher
eb98b08ccb
libwbclient: add wbcListUsers() and wbcListGroups()
...
metze
(This used to be commit df127f0b40d36ea8ee605c24ea88558c7d40a7fe)
2008-03-28 15:11:41 +01:00
Stefan Metzmacher
f58ca063bb
libwbclient: add wbcLookupUserSids()
...
metze
(This used to be commit 38007a387a1f1b53877ef9ea518f83ecf026f4f3)
2008-03-28 15:11:41 +01:00
Günther Deschner
14b6e9d46b
Add Support for DOMAIN\DCNAME syntax in libnetjoin.
...
This format is used by Windows to enforce joining to a specific DC.
Guenther
(This used to be commit cc654892c0d76dea001cd8f7bd6f50cf9e89e9c9)
2008-03-28 14:15:20 +01:00
Günther Deschner
ed27b352ef
Let libnetjoin find the dc in wkssvc NetrJoinDomain2/UnjoinDomain2.
...
Guenther
(This used to be commit 9e7d673ac44f500863bcbd0198452adc7c5027f9)
2008-03-28 14:15:20 +01:00
Günther Deschner
33a8e9b537
Check for buffer in decode_wkssvc_join_password_buffer.
...
Guenther
(This used to be commit 2134d80c05fd7a37f44317335b40d7961c429c7b)
2008-03-28 14:15:20 +01:00
Volker Lendecke
bfb001526f
Fix a segfault
...
(This used to be commit 40d1d64c6a2ae128eb3fce0e7f5351b0c5942f30)
2008-03-28 14:12:34 +01:00
Volker Lendecke
2aa7dc8bc6
Fix a confusing variable name
...
(This used to be commit 32c992e9573c9af34cd142393287e2f3538d2dd9)
2008-03-28 13:44:30 +01:00
Volker Lendecke
83947f0f6e
Fix a memory leak
...
(This used to be commit ce1bd43cdae63ff05aefaded419388e7b9e3ba9a)
2008-03-28 13:44:30 +01:00
Volker Lendecke
26fead2c6e
Make some fns static
...
(This used to be commit e04fc36f223d8d905a930c077a6cf6c48ee57af7)
2008-03-28 13:44:30 +01:00
Volker Lendecke
afa682943c
printclose has only 1 vwv
...
(This used to be commit 99d980125054cbfef8ec85a31e83aa18a6e0bce3)
2008-03-28 13:44:30 +01:00
Günther Deschner
7f1a0a5cdf
Remove unneeded pack_dsdcinfo/unpack_dsdcinfo.
...
Guenther
(This used to be commit 34dd8f32e1b7fe256ab5dfde5ef5bb8abeec121a)
2008-03-28 13:37:25 +01:00
Günther Deschner
76a819c9c0
Use NDR for netr_DsRGetDCNameInfo un-/marshalling in dsgetdcname.
...
Guenther
(This used to be commit 7fa53911054a39681df3f08d19aad92f60d59e28)
2008-03-28 13:36:31 +01:00
Günther Deschner
67ba3cd67e
Re-run make idl.
...
Guenther
(This used to be commit f8835462f2b88daa687edc79378511ffcb30905d)
2008-03-28 13:31:40 +01:00
Günther Deschner
b7951cc2b6
Make netr_DsRGetDCNameInfo public.
...
Guenther
(This used to be commit 62c876080c1f3afdd143d1f7f66529827b0f2990)
2008-03-28 13:30:13 +01:00
Günther Deschner
fae5873cad
Fix blob used in pull_netr_AcctLockStr().
...
Thanks metze.
Guenther
(This used to be commit 565a30ac3208d89de617b28f4553911484033253)
2008-03-28 09:59:01 +01:00
Günther Deschner
06634a883e
Re-run make idl.
...
Guenther
(This used to be commit 3219ed785330bbfac39aa738e8fc9cb0d7165f58)
2008-03-28 09:55:18 +01:00
Günther Deschner
dffef22c2f
Rename string to array in lsa_BinaryString.
...
Guenther
(This used to be commit a4ffaff2e177a09b4f44a30f322dd9668ccbd380)
2008-03-28 09:53:37 +01:00
Jeremy Allison
f57489a372
Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
...
(This used to be commit 64d4f290cf0aad962a0a3356473632a58e0e34df)
2008-03-27 16:48:44 -07:00
Jeremy Allison
7752494cf1
Fix up the comments on security=share to explain we're
...
ignoring passwords.
Jeremy.
(This used to be commit e7b6ea46532a26611dfd9d9e2727d52ba6a9cf50)
2008-03-27 16:08:39 -07:00
Günther Deschner
4c17fce8dc
Make sure to zero the returned handle in _svcctl_CloseServiceHandle().
...
Guenther
(This used to be commit 84a079af490cb135dd557091932ea079e1d7ff5b)
2008-03-27 23:31:54 +01:00
Jeremy Allison
f3d4cb5efa
Fix for termination problems when no interfaces found - bug #5267 .
...
Jeremy.
(This used to be commit 4b03f4eb2da7a523967ace3d13e79406ade07d47)
2008-03-27 14:23:20 -07:00
Günther Deschner
48e238de9b
Remove last reference to rpc_netlogon.h.
...
Guenther
(This used to be commit 085887eed71ed1ffdb30100d83763e671ea10eee)
2008-03-27 22:18:04 +01:00
Günther Deschner
de34a7d303
Remove unused marshalling for Netlogon Lockout String.
...
Guenther
(This used to be commit d87133d0516294e7d5f123e3bb2e93c179c72677)
2008-03-27 21:58:11 +01:00
Günther Deschner
3d62b269c5
Re-add support for display and vampire of account policies in "net".
...
Guenther
(This used to be commit c61499ce02355f5969fa0475ed6e3c278995ecdb)
2008-03-27 21:55:42 +01:00
Günther Deschner
20d77db81f
Minor fix for net rpc samdump.
...
Guenther
(This used to be commit 2f5e25be276135e9cb4cc0c44ec573d466def66e)
2008-03-27 21:04:31 +01:00
Günther Deschner
3fe908448e
re-run make idl.
...
Guenther
(This used to be commit e048780163f95fb7c2d337606794e1aa3c8b4b79)
2008-03-27 21:02:10 +01:00
Günther Deschner
fb30efac15
Fill in netr_AcctLockStr and use lsa_BinaryString in netlogon delta.
...
Guenther
(This used to be commit f98e7909238bd253436076377a7e6b8fb1cb49a9)
2008-03-27 21:02:09 +01:00
Günther Deschner
e85f241d28
Add lsa_BinaryString.
...
Guenther
(This used to be commit c73ff43e8f68600d6bd67c875d40bec2ec02b6dd)
2008-03-27 21:02:09 +01:00
Michael Adam
f8fdc36fdb
regdb: use == 0 (instead of != -1) as indicator for success of dbwrap_trans_[delete|store]()
...
Michael
(This used to be commit 7dcd0c1e539df9ff1768a9c878b6687b9e1bfeac)
2008-03-27 18:14:57 +01:00
Michael Adam
04ae7b85ea
dbwrap: fix dbwrap_trans_[delete|store]() to stop when transaction_start() failed.
...
Michael
(This used to be commit ab0aaed907fef233998ff0841d30eabef3263ee8)
2008-03-27 18:14:57 +01:00
Michael Adam
c86d10ae83
regdb: use != 0 instead of == -1 check for transaction_[commit|cancel]
...
Michael
(This used to be commit b6ceeaabae94b86fe79d6a60e497fb472ca23021)
2008-03-27 18:14:57 +01:00
Stefan Metzmacher
dbd2e3860d
pdb_tdb: use db_open_trans()
...
metze
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(This used to be commit 9925cc01a2a4739d6cde5991eb0d0b79ae13353b)
2008-03-27 18:14:57 +01:00
Stefan Metzmacher
7d413b8bee
pdb_tdb: use db_sam->transaction_start(db_sam) != 0 consistent
...
metze
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(This used to be commit 3bf9ab640e9a79157fcfee0b5d0cde5badc92755)
2008-03-27 18:14:57 +01:00
Stefan Metzmacher
4b2ce410a5
passdb/secrets: use db_open_trans()
...
metze
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(This used to be commit b61b8ca4944f399216d8e67a48ea7d259258b432)
2008-03-27 18:14:57 +01:00
Stefan Metzmacher
3b0592bc15
passdb/secrets: it's enough to use traverse_read() in secrets_trusted_domains()
...
metze
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(This used to be commit 729f7b9ff30e81537a7257daeaa1728c7ae96853)
2008-03-27 18:14:56 +01:00
Stefan Metzmacher
5439f5f710
regdb: use db_open_trans()
...
metze
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(This used to be commit a77b5b91dd439b5965fef17f2b2ff98fefd77dbb)
2008-03-27 18:14:56 +01:00
Stefan Metzmacher
618f22409a
regdb: use regdb->transaction_start(regdb) != 0 consistent
...
metze
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(This used to be commit 093c3bced96c934419af69cc065a240368027dcf)
2008-03-27 18:14:56 +01:00
Stefan Metzmacher
2a95f3f874
regdb: use dbwrap->fetch() instead of fetch_locked() for readonly access
...
metze
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(This used to be commit 4e2be189e97f653b75bd88135a631ce0f42db267)
2008-03-27 18:14:56 +01:00
Stefan Metzmacher
d9de61341c
regdb: use dbwrap_trans_store_int32
...
metze
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(This used to be commit 9620696083473e3a98b46dd90b3b4aa287580940)
2008-03-27 18:14:56 +01:00
Stefan Metzmacher
474916b70c
dbwrap: add db_open_trans()
...
This should be used when transactions are wanted.
For now it's just a wrapper of db_open(), but this
will change.
metze
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(This used to be commit 74a070b8a24fea1009e557f711b76fc14e8961dc)
2008-03-27 18:14:56 +01:00
Stefan Metzmacher
32e7cc5193
dbwrap: add dbwrap_trans_store_int32()
...
metze
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(This used to be commit f05e889bc05a816aef5b9ce4f22267e977dade01)
2008-03-27 18:14:56 +01:00
Günther Deschner
1b9c4763ee
Fix typo.
...
Guenther
(This used to be commit fed644372916a5e565e4f5352aab61b39a3a42a0)
2008-03-27 18:05:02 +01:00
Günther Deschner
3057c40dbe
Ndr pull and push errors are worth to be logged with 1 at least.
...
Guenther
(This used to be commit 3426f13f3bbcb5cae3f2e6aac9e2d04174e5bdc0)
2008-03-27 18:04:01 +01:00
Gerald W. Carter
0a4f742f0a
Only add WBFLAG_PAM_CONTACT_TRUSTDOM when performing a krb5 auth request.
...
NTLM logons must go against our DC.
(This used to be commit 2e24f7c0243c67a00102c11258cfa6f61caf499f)
2008-03-27 11:57:26 -05:00
Gerald W. Carter
9c169e9e42
Don't fill password policy structure for any domain other than our own.
...
The samr connects will fail. This is not independent of the CONTACT_TRUSTDOM
flag neede by krb5 logins.
(This used to be commit 4de4949e3bfcfb2169c329f19cb76936d9043d50)
2008-03-27 11:56:29 -05:00
Volker Lendecke
2198058624
Fix wbinfo -a trusted\\user%password on a Samba DC with trusts
...
Winbind can't be allowed to connect to the local smbd.
(This used to be commit 0d617f639a3c9c52e4327aed4bd02d9e8e7312a2)
2008-03-27 13:11:10 +01:00
Günther Deschner
9d9a9e2353
Remove unused DS_DOMAIN_CONTROLLER_INFO struct.
...
Guenther
(This used to be commit 7eb4f6f6f9f27cda3d512f4042e36d70d0b26b6b)
2008-03-27 13:06:43 +01:00
Günther Deschner
b1198fc9fd
Fix samlogon rpc client & server.
...
Guenther
(This used to be commit 0aaf975560dce3b4e58ab71687c3412c0c2a72cf)
2008-03-27 13:06:43 +01:00
Günther Deschner
463975f937
Re-run make idl.
...
Guenther
(This used to be commit 3f5fa596632077b0ffed1046d0a2fb6a011b16ea)
2008-03-27 13:06:43 +01:00