1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-27 14:04:05 +03:00

21519 Commits

Author SHA1 Message Date
Günther Deschner
1b3520db88 Add krb5 cc env to libnetapi_ctx.
Guenther
(This used to be commit df2b078fa1658bdbff1280f7fe0b062d9eabd60c)
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 863fb30038e384585502f0154a742481594b99d0)
2008-01-07 20:12:38 +01:00
Günther Deschner
d66118629c Add libnet_join_find_machine_acct().
Guenther
(This used to be commit f550ed02ff9e0546c63064ab9dac760eac7e1e16)
2008-01-07 19:39:35 +01:00
Günther Deschner
5b5f17a81d Honor the WKSSVC_JOIN_FLAGS_ACCOUNT_DELETE flag when unjoining from AD.
Guenther
(This used to be commit ed164b523e63c3ebf2c822a00a877ef169738a3a)
2008-01-07 19:39:21 +01:00
Günther Deschner
0bbc04d516 Rearrange libnet join code and add support for account pre-creation in AD.
Guenther
(This used to be commit 18ae8580420c37aa4b189eb5ce53cc65a9827d95)
2008-01-07 19:39:11 +01:00
Günther Deschner
60555e66dd Add ADS_STRUCTs to libnetjoin and -unjoin, with talloc destructors.
Guenther
(This used to be commit 985d45206990988894e05ea6fb0aacc7396a6db4)
2008-01-07 19:38:59 +01:00
Günther Deschner
077eaafed5 Add error_string to libnetjoin and libnetunjoin structures incl. set functions.
Guenther
(This used to be commit 4f9985bb33aa5973e6b685a45039c8e227487db1)
2008-01-07 19:38:48 +01:00
Günther Deschner
528d253cc8 Rearrange order of libnet join context init.
Guenther
(This used to be commit 89669c66f27fb47c9769d1058e29bff83f862752)
2008-01-07 19:38:35 +01:00
Günther Deschner
0b92d8bc79 Free libnet_JoinCtx after joining.
Guenther
(This used to be commit 5abae9ef15fa9884c5c4a0e256274f70f6ecd779)
2008-01-07 19:38:22 +01:00
Günther Deschner
cc1982ab1c Close registry in libnetapi_free().
Guenther
(This used to be commit e7258a4408e40686ff090d0f8e120ce78acbd097)
2008-01-07 19:38:10 +01:00
Günther Deschner
fa1e5e95d5 Add NET_API_STATUS_SUCCESS define.
Guenther
(This used to be commit a72ad63163a8c642ea762087a739e6d63c37647a)
2008-01-07 19:37:54 +01:00
Michael Adam
327cc04da5 Remove redundant parameter fd from SMB_VFS_KERNEL_FLOCK().
Michael
(This used to be commit 195c519377c2fdc655e25760b52bc0694b8dda81)
2008-01-07 17:14:20 +01:00
Michael Adam
f6cac02f00 Fix wrong unused opaque macro for kernel_flock().
Michael
(This used to be commit 5c01309a2b078f08c4f0caf802d81c9b3d53382f)
2008-01-07 16:59:10 +01:00
Michael Adam
edd30e716f Remove redundant parameter fd from SMB_VFS_LOCK().
Michael
(This used to be commit 4f3ab2c406072e0b43581057e7e785e8ad454cfa)
2008-01-07 16:38:23 +01:00
Michael Adam
299d24dbc1 Fix the build: Fix caller of strict_allocate_ftruncate().
Michael
(This used to be commit 20691272a1e2562ab8c6143978d324af0334f871)
2008-01-07 16:12:03 +01:00
Michael Adam
b457b94bb8 Remove redundant parameter fd from SMB_VFS_FTRUNCATE().
Michael
(This used to be commit 2ad66050a0452b8e7e08b1e7a01efa00c72fd451)
2008-01-07 15:59:02 +01:00
Michael Adam
670909cb07 Remove redundant parameter fd from SMB_VFS_FCHOWN().
Michael
(This used to be commit fbb193db3e0dc51cb000ae406a68bc547f31d9ab)
2008-01-07 15:59:02 +01:00
Michael Adam
e614dec27f Remove redundant parameter fd from SMB_VFS_FCHMOD().
Michael
(This used to be commit a54d5604da556d1250ca9948d4acc4a187a9fede)
2008-01-07 15:59:02 +01:00
Michael Adam
87a684f7fc Remove redundant parameter fd from SMB_VFS_FSTAT().
Michael
(This used to be commit 0b86c420be94d295f6917a220b5d699f65b46711)
2008-01-07 15:59:01 +01:00
Michael Adam
8dcce0d236 Remove redundant parameter fd from SMB_VFS_FSYNC().
Michael
(This used to be commit 8f83c9a7b245dbfef28195f9a7f33047a8ba95a0)
2008-01-07 15:59:01 +01:00
Michael Adam
6f657c873e Remove redundant parameter fd from SMB_VFS_LSEEK().
Michael
(This used to be commit df929796f2698698d2875227bda8500589cca2df)
2008-01-07 15:59:01 +01:00
Michael Adam
a56b417809 Remove redundant parameter fd from SMB_VFS_PWRITE().
Michael
(This used to be commit 8c4901a19ae2fd3ee085f9499f33aa7db016d182)
2008-01-07 15:59:01 +01:00
Günther Deschner
cab9aa525d Fix build warning.
Guenther
(This used to be commit 73233a06d6f0f1346c48b465750af4b532cd7306)
2008-01-07 14:53:16 +01:00
Günther Deschner
02f67cfcfa Add free_local_machine_name().
Guenther
(This used to be commit f3ebb4f96bb0364dae9924e798652e759b63bb52)
2008-01-07 14:53:07 +01:00
Günther Deschner
be7df54c39 Fix two memleaks in libnetapi.
Guenther
(This used to be commit d73bde99e8518607bb78b5625ce5fb1991d8e402)
2008-01-07 12:48:21 +01:00
Günther Deschner
c0d33508ff Add secrets_shutdown().
Guenther
(This used to be commit dd3fbd93b6e5fe8b5e3a3727a64a38d5ae46fcbf)
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 48f09ca376f9fc7923309f3466e5d72f7c21a56f)
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 bf9ce2a928e3136d3bfe368f75d5b99273c5b04f)
2008-01-07 12:48:21 +01:00
Günther Deschner
6345220151 Only create machine account in libnetjoin when requested to.
Guenther
(This used to be commit bc025a3860483e8cdbd0f61579689c9edadd3af0)
2008-01-07 12:48:21 +01:00
Michael Adam
d82702c218 Use the proper boolean constants.
Michael
(This used to be commit 6f673b7f10c145d88e6a6d3072b5f8cd98837304)
2008-01-07 11:27:54 +01:00
Michael Adam
0818d41697 Fix a comment.
Michael
(This used to be commit 62d6d4fff2edcce04e793d2a2f877cb3f4fedbdb)
2008-01-07 11:19:27 +01:00
Michael Adam
696cf4d3c0 Make wcache_invalidate_cache() return bool, not int.
Michael
(This used to be commit dba24ceae78ffc49200b647838b6bf3657275add)
2008-01-07 10:59:14 +01:00
Michael Adam
c4d3f1b0f5 Add some braces to if statement.
Michael
(This used to be commit 66fc1db1d19d11792d9506b06ad914d88b7e0663)
2008-01-07 10:41:09 +01:00
Andreas Schneider
18699d003b Prevent winbindd from segfaulting due to corrupted cache tdb.
If we try to flush the caches and due to a corrupted tdb we and have no tdb
context close the tdb and validate it. Initialize the cache afterwards again.
(This used to be commit d0c0f91fb9f3438a18c6f47ed894f525beb75cbf)
2008-01-07 10:24:34 +01:00
Michael Adam
ca275e2549 Remove unneeded parameter fd from SMB_VFS_PREAD().
Michael
(This used to be commit 73e28806ce87d829ea7c38ed3440020845bb13bf)
2008-01-07 00:14:19 +01:00
Michael Adam
05352cf2cb Remove superfluous parameter fd from SMB_VFS_FSET_NT_ACL().
Michael
(This used to be commit 4f2d139a186048f08180378a877b69d2f80ad51f)
2008-01-06 23:08:00 +01:00
Michael Adam
b55171c1d7 Wrap lines for readability.
Michael
(This used to be commit 8fce247bcf7fb27a31a7b8103377681d692d35aa)
2008-01-06 23:08:00 +01:00
Michael Adam
ee24c629a6 Remove superfluous fd parameter from SMB_VFS_FGET_NT_ACL().
Michael
(This used to be commit c0c7c1223da29c68359dac64a340c1c710d5f3d2)
2008-01-06 23:07:59 +01:00
Michael Adam
ac8659232b Remove vlp.o in make clean.
Michael
(This used to be commit 020ed731b17ac00dd490f210f108eae249fb27ad)
2008-01-06 22:50:38 +01:00
Steve French
56a8ef0bbb Merge branch 'v3-2-test' of git://git.samba.org/samba into v3-2-test
(This used to be commit d3b91e494c824a65506ba1bc1cba5bba77000530)
2008-01-05 14:51:23 -06:00
Jeremy Allison
4a413e4bd1 Fix %d / size_t printf arg missmatch.
Jeremy.
(This used to be commit 3e3205309b75edf7d29633525adfdceb5f8856eb)
2008-01-05 01:17:33 -08:00
Jeremy Allison
3d7a8a9fa1 Fix missing return - should be void.
Jeremy.
(This used to be commit 45ae90b77e53cd0cdf50939528dac4d2ca39b5c5)
2008-01-05 01:16:09 -08:00
Jeremy Allison
af2a75ba61 Add -e to smbget.
Jeremy.
(This used to be commit 0475bdcf44d21bbdefb57f15d403c91c44d8d90a)
2008-01-05 00:51:50 -08:00
Jeremy Allison
1be3fcbf2f Add the options smb_encrypt_level to set the requested
encrypt level and smb_encrypt_on to query it.
Jeremy.
(This used to be commit 07d47996f9535731ccdc1792c405c8bee1a082ae)
2008-01-05 00:51:18 -08:00
Jeremy Allison
a41972e801 Fix -e for smbcquotas.
Jeremy.
(This used to be commit f97b1247c1053f47aef64be95ab9b3c3d8702c8a)
2008-01-05 00:50:03 -08:00
Jeremy Allison
722d288d21 Use the common -e option not the custom one.
Jeremy.
(This used to be commit ef1bbcdfb98da185c07005dd7810039f99f0685f)
2008-01-05 00:46:04 -08:00
Jeremy Allison
160fefc71a Fix args to cli_force_encryption.
Jeremy.
(This used to be commit 7b0826aeec284fb129dc1101a5eae2ca96c7cfb6)
2008-01-05 00:41:48 -08:00
Jeremy Allison
9baa97a46e Add general '-e' option to enable smb encryption
on tools.
Jeremy.
(This used to be commit 757653966fc1384159bd2d57c5670cd8af0cae96)
2008-01-05 00:23:35 -08:00
Jeremy Allison
4881ed00ca More logical operation on bool.
Jeremy.
(This used to be commit 7e8e91aeb3795d26ae8591665981bc42d8b6122f)
2008-01-04 23:26:47 -08:00
Jeremy Allison
99e349b35d More logical operations on booleans. IBM checker.
Jeremy.
(This used to be commit e289a0c8592f9e5c58100ddcde2577b452725b88)
2008-01-04 23:24:15 -08:00