1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00
Commit Graph

23482 Commits

Author SHA1 Message Date
Günther Deschner
9e328fe942 Zero initial return_authenticator in net rpc samdump.
Guenther
(This used to be commit 73ead752c5)
2008-03-29 00:49:09 +01:00
Günther Deschner
4ce88f719e Don't let winbind getgroups crash when we have no gids in the token.
Guenther
(This used to be commit 6a576cfe9b)
2008-03-29 00:47:42 +01:00
Günther Deschner
25da02554b Re-run make idl.
Guenther
(This used to be commit 58018ad7f6)
2008-03-28 23:46:26 +01:00
Günther Deschner
3fac37d0ff Fill in netr_NegotiateFlags.
Guenther
(This used to be commit 1cd1c27a0e)
2008-03-28 23:44:43 +01:00
Günther Deschner
921bdec52d Add some paranoia fixes for _wkssvc_NetrJoinDomain2/UnjoinDomain2.
Guenther
(This used to be commit 72101a7d08)
2008-03-28 23:43:31 +01:00
Stefan Metzmacher
e191b0edd5 mapping_ldb: fix memory leak in group enumeration
metze
(This used to be commit 235c056a0e)
2008-03-28 19:48:42 +01:00
Jeremy Allison
d1e99642f7 Fix bug #5326 - OS/2 servers give strange "high word" replies for print jobs.
Jeremy.
(This used to be commit d090d25cb7)
2008-03-28 10:12:07 -07:00
Günther Deschner
8b29c8f634 Support "net ads join" format while joining to a specific ou.
libnetjoin now supports Computers/Servers/Unix as well as
ou=Computers,ou=Servers,ou=Unix,dc=ber,dc=realm,dc=com.

Guenther
(This used to be commit c0be84c96d)
2008-03-28 16:43:59 +01:00
Günther Deschner
33a3766f03 Add ads_check_ou_dn().
Guenther
(This used to be commit 380e9d26db)
2008-03-28 16:43:59 +01:00
Michael Adam
9644b6cb50 Add a talloc context parameter to current_timestring() to fix memleaks.
current_timestring used to return a string talloced to talloc_tos().
When called by DEBUG from a TALLOC_FREE, this produced messages
"no talloc stackframe around, leaking memory". For example when
used from net conf.

This also adds a temporary talloc context to alloc_sub_basic().
For this purpose, the exit strategy is slightly altered: a common
exit point is used for success and failure.

Michael
(This used to be commit 16b5800d4e)
2008-03-28 16:34:51 +01:00
Michael Adam
cc2f5fd1b5 srv_winreg: add a debug message to _winreg_CreateKey().
Michael
(This used to be commit 971f6749ed)
2008-03-28 16:19:35 +01:00
Michael Adam
fb6fb69966 net: add a "net registry" subcommand to locally access the registry.
The interface is like that of net rpc registry.
Access is direct local access to the registry tdb through reg_api.

Michael
(This used to be commit 3250068eb9)
2008-03-28 16:19:35 +01:00
Volker Lendecke
8f6b03b673 More ssize_t->SMB_OFF_T
(This used to be commit 8dd6458049)
2008-03-28 15:32:02 +01:00
Stefan Metzmacher
5273f05b89 libreplace(samba4): let LIBREPLACE depend on LIBREPLACE_NETWORK for now
This should fix the build on solaris.
Later this needs better fixing...

metze
(cherry picked from commit 89b7955733)
(This used to be commit fcb497951a)
2008-03-28 15:17:54 +01:00
Stefan Metzmacher
0f4446d6b2 wbinfo: use wbcDomainInfo()
metze
(This used to be commit 7714f92321)
2008-03-28 15:11:42 +01:00
Stefan Metzmacher
b6e3a9b8e5 wbinfo: use wbcGetgrnam()
metze
(This used to be commit 8945dce4a1)
2008-03-28 15:11:42 +01:00
Stefan Metzmacher
8686d47bad wbinfo: use wbcListUsers() and wbcListGroups()
metze
(This used to be commit 5a0ae1ad0c)
2008-03-28 15:11:42 +01:00
Stefan Metzmacher
87ea917e5d wbinfo: use wbcLookupUserSids()
metze
(This used to be commit ff16b66631)
2008-03-28 15:11:41 +01:00
Stefan Metzmacher
bfbd74f059 libwbclient: remove prototype of non existing wbcDomainSequenceNumbers()
metze
(This used to be commit 7a4de23aa3)
2008-03-28 15:11:41 +01:00
Stefan Metzmacher
eb98b08ccb libwbclient: add wbcListUsers() and wbcListGroups()
metze
(This used to be commit df127f0b40)
2008-03-28 15:11:41 +01:00
Stefan Metzmacher
f58ca063bb libwbclient: add wbcLookupUserSids()
metze
(This used to be commit 38007a387a)
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 cc654892c0)
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 9e7d673ac4)
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 2134d80c05)
2008-03-28 14:15:20 +01:00
Volker Lendecke
bfb001526f Fix a segfault
(This used to be commit 40d1d64c6a)
2008-03-28 14:12:34 +01:00
Volker Lendecke
2aa7dc8bc6 Fix a confusing variable name
(This used to be commit 32c992e957)
2008-03-28 13:44:30 +01:00
Volker Lendecke
83947f0f6e Fix a memory leak
(This used to be commit ce1bd43cda)
2008-03-28 13:44:30 +01:00
Volker Lendecke
26fead2c6e Make some fns static
(This used to be commit e04fc36f22)
2008-03-28 13:44:30 +01:00
Volker Lendecke
afa682943c printclose has only 1 vwv
(This used to be commit 99d9801250)
2008-03-28 13:44:30 +01:00
Günther Deschner
7f1a0a5cdf Remove unneeded pack_dsdcinfo/unpack_dsdcinfo.
Guenther
(This used to be commit 34dd8f32e1)
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 7fa5391105)
2008-03-28 13:36:31 +01:00
Günther Deschner
67ba3cd67e Re-run make idl.
Guenther
(This used to be commit f8835462f2)
2008-03-28 13:31:40 +01:00
Günther Deschner
b7951cc2b6 Make netr_DsRGetDCNameInfo public.
Guenther
(This used to be commit 62c876080c)
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 565a30ac32)
2008-03-28 09:59:01 +01:00
Günther Deschner
06634a883e Re-run make idl.
Guenther
(This used to be commit 3219ed7853)
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 a4ffaff2e1)
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 64d4f290cf)
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 e7b6ea4653)
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 84a079af49)
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 4b03f4eb2d)
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 085887eed7)
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 d87133d051)
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 c61499ce02)
2008-03-27 21:55:42 +01:00
Günther Deschner
20d77db81f Minor fix for net rpc samdump.
Guenther
(This used to be commit 2f5e25be27)
2008-03-27 21:04:31 +01:00
Günther Deschner
3fe908448e re-run make idl.
Guenther
(This used to be commit e048780163)
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 f98e790923)
2008-03-27 21:02:09 +01:00
Günther Deschner
e85f241d28 Add lsa_BinaryString.
Guenther
(This used to be commit c73ff43e8f)
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 7dcd0c1e53)
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 ab0aaed907)
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 b6ceeaabae)
2008-03-27 18:14:57 +01:00