1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
Commit Graph

3329 Commits

Author SHA1 Message Date
Michael Adam
f3603d5a5a Convert add_sid_to_array() add_sid_to_array_unique() to return NTSTATUS.
Michael
(This used to be commit 6b2b9a60ef)
2008-01-09 01:47:10 +01:00
Michael Adam
2e3ac4d3fe Add a comment.
Michael
(This used to be commit 3a4bf4b7c3)
2008-01-09 01:35:43 +01:00
Michael Adam
ebb21268df Fix talloctort: move size check after referenced ptr check.
Michael
(This used to be commit 45b219642c)
2008-01-09 01:34:21 +01:00
Volker Lendecke
148f1eee43 Save one popular malloc
(This used to be commit 2150663d9e)
2008-01-09 00:10:43 +01:00
Volker Lendecke
0af2efcdc4 Don't shrink a talloc area if we have less than 1k to gain
(This used to be commit 28a72ebd45)
2008-01-09 00:10:16 +01:00
Volker Lendecke
5274d8cda3 Only realloc the talloc stack if necessary
(This used to be commit c7cb98d486)
2008-01-08 22:18:08 +01:00
Jelmer Vernooij
bfab6ab14b Merge branch 'v3-2-test' of ssh://git.samba.org/data/git/samba into v3-2-test
(This used to be commit ea36c3add5)
2008-01-08 15:43:11 +01:00
Günther Deschner
67f2afe3c4 Correctly free buffers in netdomjoin-gui.
Guenther
(This used to be commit 04d78d4d9a)
2008-01-08 11:59:01 +01:00
Günther Deschner
200bba3ad6 Make name_buffer in NetGetJoinInformation() talloced.
Guenther
(This used to be commit 421905fb60)
2008-01-08 11:59:01 +01:00
Günther Deschner
a01dc30db7 Add NetApiBufferFree() to libnetapi.
Guenther
(This used to be commit c49196954d)
2008-01-08 11:59:01 +01:00
Günther Deschner
ab216a1b4e Fix crash bug when strequal is used too late in libnetapi_free.
Guenther
(This used to be commit ba2b8a310e)
2008-01-08 11:59:01 +01:00
Michael Adam
5921607f26 Remove redundant parameter fd from SMB_VFS_SYS_ACL_SET_FD().
Michael
(This used to be commit 9296e93588)
2008-01-08 01:54:19 +01:00
Michael Adam
62e9d503d8 Remove redundant parameter fd from SMB_VFS_SYS_ACL_GET_FD().
Michael
(This used to be commit 42663e8736)
2008-01-07 23:54:07 +01:00
Günther Deschner
e3ea1e1391 Enable talloc reporting in libnetapi if DEVELOPER compiled.
Guenther
(This used to be commit 01e9151546)
2008-01-07 22:57:30 +01:00
Volker Lendecke
c3c19615c1 make db_tdb_fetch use tdb_parse_record
(This used to be commit 88d82d0623)
2008-01-07 21:18:12 +01:00
Volker Lendecke
6dc988c918 Change db_tdb_fetch_locked to use only one talloc
(This used to be commit 921c8657e2)
2008-01-07 21:18:07 +01:00
Volker Lendecke
8d261ee580 talloc_stackframe only needs 1 talloc
(This used to be commit c0c2084d40)
2008-01-07 21:18:00 +01:00
Günther Deschner
74fc0bf9e5 In libnetapi example, use libnetapi_get_error_string().
Guenther
(This used to be commit b624db92d6)
2008-01-07 20:13:40 +01:00
Günther Deschner
d6659f8ac8 In the local path of NetJoinDomain, try to get error string from libnetjoin.
Guenther
(This used to be commit 0f0f0e1302)
2008-01-07 20:13:26 +01:00
Günther Deschner
751fc874be Add libnetapi_set_error_string and libnetapi_get_error_string.
Guenther
(This used to be commit f8806bad81)
2008-01-07 20:13:18 +01:00
Günther Deschner
1b3520db88 Add krb5 cc env to libnetapi_ctx.
Guenther
(This used to be commit df2b078fa1)
2008-01-07 20:13:02 +01:00
Günther Deschner
1fba8c8019 Let libnetapi use it's own krb5 cred cache in memory if necessary.
Guenther
(This used to be commit 863fb30038)
2008-01-07 20:12:38 +01:00
Günther Deschner
528d253cc8 Rearrange order of libnet join context init.
Guenther
(This used to be commit 89669c66f2)
2008-01-07 19:38:35 +01:00
Günther Deschner
0b92d8bc79 Free libnet_JoinCtx after joining.
Guenther
(This used to be commit 5abae9ef15)
2008-01-07 19:38:22 +01:00
Günther Deschner
cc1982ab1c Close registry in libnetapi_free().
Guenther
(This used to be commit e7258a4408)
2008-01-07 19:38:10 +01:00
Günther Deschner
fa1e5e95d5 Add NET_API_STATUS_SUCCESS define.
Guenther
(This used to be commit a72ad63163)
2008-01-07 19:37:54 +01:00
Günther Deschner
02f67cfcfa Add free_local_machine_name().
Guenther
(This used to be commit f3ebb4f96b)
2008-01-07 14:53:07 +01:00
Günther Deschner
be7df54c39 Fix two memleaks in libnetapi.
Guenther
(This used to be commit d73bde99e8)
2008-01-07 12:48:21 +01:00
Günther Deschner
68ec314277 In gfree_debugsyms() free the format_bufr as well.
Guenther
(This used to be commit 48f09ca376)
2008-01-07 12:48:21 +01:00
Günther Deschner
e6c3ac59c5 Failure while unjoining a domain is non-critical.
Just continue joining to the workgroup in that case.

Guenther
(This used to be commit bf9ce2a928)
2008-01-07 12:48:21 +01:00
Jelmer Vernooij
aaa2770666 Merge branch 'v3-2-test' of ssh://git.samba.org/data/git/samba into v3-2-test
(This used to be commit 5a30f6377d)
2008-01-05 23:09:38 +01:00
Jelmer Vernooij
3ba8fbef29 selftest: Use platform-specific equivalents of LD_LIBRARY_PATH for Samba4's smbtorture.
(This used to be commit 64ff1dad86)
2008-01-05 23:09:25 +01:00
Jeremy Allison
3d7a8a9fa1 Fix missing return - should be void.
Jeremy.
(This used to be commit 45ae90b77e)
2008-01-05 01:16:09 -08:00
Jeremy Allison
9baa97a46e Add general '-e' option to enable smb encryption
on tools.
Jeremy.
(This used to be commit 757653966f)
2008-01-05 00:23:35 -08:00
Günther Deschner
395c366237 Do not pass emtpy wkssvc_PasswordBuffers to rpc functions.
Guenther
(This used to be commit fe75e5ccdf)
2008-01-04 23:03:55 +01:00
Jeremy Allison
9254bb4ef1 Refactor the crypto code after a very helpful conversation
with Volker. Mostly making sure we have data on the incoming
packet type, not stored in the smb header.
Jeremy.
(This used to be commit c4e5a50504)
2008-01-04 12:56:23 -08:00
Günther Deschner
28ef4878d9 Rename server_name to dc_name in libnet join structures.
Guenther
(This used to be commit ff5e15b1ba)
2008-01-04 17:43:15 +01:00
Günther Deschner
0399df22f0 In libnet_join finally separate the admin from the machine pwd entirely.
Guenther
(This used to be commit d88bb94f0e)
2008-01-04 17:43:02 +01:00
Günther Deschner
f78c318eb0 Add debug switch to netdomjoin.
Guenther
(This used to be commit 2b221708c0)
2008-01-04 15:21:41 +01:00
Günther Deschner
564a54aa16 Minor cosmetic cleanup for netdomjoin-gui.
Guenther
(This used to be commit 02e3887f39)
2008-01-04 15:21:35 +01:00
Günther Deschner
cf6e59de2b Fix some error strings in netdomjoin-gui.
Guenther
(This used to be commit aaea8f1ed7)
2008-01-04 11:55:08 +01:00
Günther Deschner
be88a67388 Minor libnetapi join cosmetic cleanup.
Guenther
(This used to be commit 4deef80bed)
2008-01-03 18:15:22 +01:00
Michael Adam
5655ae7a24 Rename libnet_smbconf_set_global_param() to libnet_conf_set_global_parameter().
Now all functions are converted to the consistent naming scheme.

Michael
(This used to be commit a559533c0c)
2008-01-03 14:17:49 +01:00
Günther Deschner
6afaafe083 Let DsGetDCName figure out whether domain_name is a flat_name when unjoining.
Guenther
(This used to be commit 75165ba4e7)
2008-01-03 13:41:36 +01:00
Volker Lendecke
149e86b842 Trivial simplification
... things you come across when you review code
(This used to be commit 1e006bcfb1)
2008-01-03 10:24:45 +01:00
Jeremy Allison
cc957c7f6d Convert the little caches in util_sock.c to use
the singleton memcache. Vl please check (passes
make valgrindtest).
Jeremy.
(This used to be commit a4d613cde8)
2008-01-02 17:37:39 -08:00
Gerald (Jerry) Carter
59f5b4c9d7 Merge branch 'work/v3-2-test' into v3-2-test
(This used to be commit 761858312b)
2008-01-02 17:15:10 -06:00
Gerald (Jerry) Carter
23b3b7c2b3 use C99 bool return types (true & false).
(This used to be commit f22c9d6296)
2008-01-02 14:54:25 -06:00
Gerald (Jerry) Carter
701a56a698 Make sure that wbcLookupSid() and wbcLookupRids() use talloc()'d memory.
Follows existing convention that all returned memory should be freed with
wbcFreeMemory() and not directly with free().  Noticed by Volker.  Txs.
(This used to be commit 39c2059f66)
2008-01-02 14:50:59 -06:00
Michael Adam
a5d2449fe1 Use the proper boolean constants.
Michael
(This used to be commit f731fee408)
2008-01-02 17:08:28 +01:00