1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-16 09:57:47 +03:00

25556 Commits

Author SHA1 Message Date
Günther Deschner
badc46d16e net: use netapi function to list users.
Guenther
(This used to be commit 6bc8e229192f0bdd1154c6dd0901e4c739647c90)
2008-08-29 13:57:58 +02:00
Günther Deschner
da843841be netapi: support level 1014 in NetUserSetInfo.
Guenther
(This used to be commit 38178965a2f641978b666452f86fdcd258e8709b)
2008-08-29 13:57:57 +02:00
Günther Deschner
502036e730 netapi: support level 1024 in NetUserSetInfo.
Guenther
(This used to be commit 84bc7bf1adcde270ad20bba67345c0beed0b1d66)
2008-08-29 13:57:57 +02:00
Günther Deschner
4874a8b3b8 netapi: support level 1051 in NetUserSetInfo.
Guenther
(This used to be commit 8da3b1cacb4ffa7ce8932dc0e9ceb78395d49b98)
2008-08-29 13:57:57 +02:00
Günther Deschner
3077047a17 netapi: support level 1053 in NetUserSetInfo.
Guenther
(This used to be commit 039904f601755678fcbdef7d6bdc1c6da0082b83)
2008-08-29 13:57:57 +02:00
Günther Deschner
49db2e0ae1 netapi: support level 1052 in NetUserSetInfo.
Guenther
(This used to be commit ff8dede3b369d39ec5638eec8a73bd6397e3d94b)
2008-08-29 13:57:56 +02:00
Günther Deschner
58d56de1b1 re-run make idl.
Guenther
(This used to be commit 3235ac063bca3805b749ee7ce27028a6828af3e9)
2008-08-29 13:57:56 +02:00
Günther Deschner
965f947e27 netapi: add usriX_profile/usriX_home_dir_drive/usriX_primary_group_id to USER_INFO_X in IDL.
Guenther
(This used to be commit 59e27519adebd45cbd5207cfa5df212d11ca648b)
2008-08-29 13:57:56 +02:00
Günther Deschner
daf162ce0c netapi: support level 1006 in NetUserSetInfo.
Guenther
(This used to be commit 9c5ea4e8e8deb0a2be5f894fb5de96f0dea48120)
2008-08-29 13:57:56 +02:00
Günther Deschner
3029122f5e netapi: support level 1012 in NetUserSetInfo.
Guenther
(This used to be commit db650e9b6ead70152b2640415477bb26d0b16097)
2008-08-29 13:57:56 +02:00
Günther Deschner
f1ce72a80b netapi: fix acct_flags handling in convert_USER_INFO_X_to_samr_user_info21.
Guenther
(This used to be commit d3625b321f666bd506603b7c58ee89cd6b902d86)
2008-08-29 13:57:55 +02:00
Günther Deschner
bd450a7c3a netapi: support level 1009 in NetUserSetInfo.
Guenther
(This used to be commit 3a6c784284c8eb7e2b05afa6db16b27ee26ff352)
2008-08-29 13:57:55 +02:00
Günther Deschner
fac81ffb42 netapi: support level 1011 in NetUserSetInfo.
Guenther
(This used to be commit b3680c0482ae05b32e9cf9fbddea57f0dd6e2bd3)
2008-08-29 13:57:55 +02:00
Günther Deschner
41fa94363f netapi: fix convert_USER_INFO_X_to_samr_user_info21.
Guenther
(This used to be commit 3f726952eb9a1fed0f4a990c82a2c47a5c0775be)
2008-08-29 13:57:55 +02:00
Günther Deschner
a5fc8ee457 netapi: support level 1003 in NetUserSetInfo.
Guenther
(This used to be commit 863827eb2d5210350011055dda4319070bd1c520)
2008-08-29 13:57:55 +02:00
Günther Deschner
870944ca97 netapi: process level 1003 in construct_USER_INFO_X as well.
Guenther
(This used to be commit cf381b9f08cae32b62d7bd6f7dfe5210e732eeb2)
2008-08-29 13:57:54 +02:00
Günther Deschner
64d06eadb7 netapi: make set_user_info_USER_INFO_X a separate function.
Guenther
(This used to be commit 529dd675bde3ac944ca69e4dbe2fc4beeeb9aab8)
2008-08-29 13:57:54 +02:00
Günther Deschner
220e01e5e0 netapi: add more infolevels to NetUserSetInfo example.
Guenther
(This used to be commit 5ad217be7a12211a8340052f7f4481cf2f239f8d)
2008-08-29 13:57:54 +02:00
Günther Deschner
ab6fc34ebc netapi: add ENCRYPTED_PWLEN to public header.
Guenther
(This used to be commit 7010230c4af667b4197c9bd58685dc5a0b2b7c4f)
2008-08-29 13:57:54 +02:00
Günther Deschner
e5cf44ab31 re-run make idl.
Guenther
(This used to be commit 77058447f2a61e8830763866c46db71dadf1a82a)
2008-08-29 13:57:54 +02:00
Günther Deschner
93c10333c5 netapi: fix ENCRYPTED_PWLEN in IDL.
Guenther
(This used to be commit 2c6b3208d3bf3d44b58248e9068924657897c917)
2008-08-29 13:57:53 +02:00
Günther Deschner
2e8b0006b1 netapi: add all USER_INFO structs to public header.
Guenther
(This used to be commit d19c06d7d055e4b1e8e47cc2df1a192a0a19eb14)
2008-08-29 13:57:53 +02:00
Günther Deschner
eefd04212c net: use netapi for rpc_user_rename.
Guenther
(This used to be commit fe28ea1afd4024673f847fc8880910b1f7f0385a)
2008-08-29 13:57:53 +02:00
Günther Deschner
ea0686e64a kerberos: fix HAVE_KRB5 related build issue.
Guenther
(This used to be commit 7d7ba8397743af52a74d00fd717bdeb5e3e12a28)
2008-08-29 11:38:02 +02:00
Günther Deschner
bff20e14c3 kerberos: use KRB5_KT_KEY macro where appropriate.
Guenther
(This used to be commit a042dffd7121bda3dbc9509f69fcfae06ed4cc22)
2008-08-29 11:01:34 +02:00
Günther Deschner
87ea8f3fae kerberos: add KRB5_KT_KEY abstraction macro.
Guenther
(This used to be commit be846d5383ef31136cca6b11eb6181736fb2e29d)
2008-08-29 11:01:34 +02:00
Günther Deschner
0380fe9d82 kerberos: move the KRB5_KEY* macros to header file.
Guenther
(This used to be commit c28fa17ffffee3e6fd4897c9c6b4937388a19600)
2008-08-29 10:59:28 +02:00
Jeremy Allison
d4818c70eb Clarify usage of "force create mode".
Jeremy.
(This used to be commit 1d252ffd313e0cd6fcb3d7cb2c99f2daf56728c1)
2008-08-28 16:06:23 -07:00
Volker Lendecke
f294f51bf0 Remove cli_request_get()
req->private_data==NULL at this point is definitely a bug.
(This used to be commit ce3dc9f616cafc1289a94ac7cae0beca967d836e)
2008-08-28 18:22:49 +02:00
Volker Lendecke
228a12681b Add async smbecho client support
(This used to be commit c1d645fbe39433541d8bfe6b818c855cee318dc5)
2008-08-28 18:16:00 +02:00
Volker Lendecke
bb0fc9cfce Add cli_request->recv_helper
Necessary for requests with multiple replies
(This used to be commit cb2e338eb33dfb4627f9b43456af0c86d7d268c6)
2008-08-28 18:15:59 +02:00
Volker Lendecke
b054f14111 Activate code to enable chained requests
Add the CHAIN1 torture test
(This used to be commit 82992d74a99b056bbfe90e1b79190e0b7c0bf2bd)
2008-08-28 18:15:59 +02:00
Volker Lendecke
65dcdf9c32 This adds the code to allow chained requests in libsmb/
This is not compiled yet, but it makes the patches much easier to read if it is
add in bulk.
(This used to be commit b4c539ba041bab8856c83816f08a35b5f5b21740)
2008-08-28 18:15:58 +02:00
Volker Lendecke
77d1b29e25 Move "struct cli_request" from client.h to async_smb.h
Also add some comments
(This used to be commit 2ecc311f785317caf5b60051147dcd085c80d64f)
2008-08-28 17:53:37 +02:00
Volker Lendecke
128524930d Add cli_pull_reply
Along the lines of cli_request_send this abstracts away the smb-level buffer
handling when parsing replies we got from the server.
(This used to be commit 253134d3aaa359fdfb665709dd5686f69af7f8fd)
2008-08-28 17:53:37 +02:00
Volker Lendecke
2650207d4a Remove cli->event_ctx, pass it explicitly
Storing the event_context as permanent state in struct cli_state creates more
complex code than necessary IMO.
(This used to be commit debb37f703075008e5ea7d34d214cfa4d0f8f916)
2008-08-28 17:53:37 +02:00
Volker Lendecke
de9fcfc795 Add async open&x
(This used to be commit faf353edd60967efac4d5c222db14fa730866273)
2008-08-28 17:53:36 +02:00
Volker Lendecke
8f408a676e Add async cli_close
(This used to be commit f84a2b5dbf8a072a9e356fa39523f65d042a2643)
2008-08-28 17:53:36 +02:00
Volker Lendecke
58aa97c0d9 Refactoring: Add the routine cli_request_send()
cli_request_send() is supposed to bundle all generic SMB-header handling. This
makes cli_request_new static to async_smb.c.
(This used to be commit 7e73dd4e7622db64d30d48ba106892e0895fc188)
2008-08-28 17:53:36 +02:00
Günther Deschner
52e23fe460 winbindd: fix invalid sid copy (hit when enumerating sibling domains).
Guenther
(This used to be commit 5eee7423351ffd05486e33ff8eb905babcbc9422)
2008-08-28 12:29:52 +02:00
Jeremy Allison
29af730964 Fix the wcache_invalidate_samlogon calls.
Jeremy.
(This used to be commit 7c820899ed1364fdaeb7b49e8ddd839e67397ec0)
2008-08-27 17:29:10 -07:00
Ephi Dror
1d26beb708 Correct the netsamlogon_clear_cached_user function.
(This used to be commit bb13312d9d53b1e048b3a0bfeeca088f9db84cd3)
2008-08-27 17:28:34 -07:00
Jeremy Allison
1cae2ac905 Add st_birthtime and friends for accurate create times on systems that support it (*BSD and MacOSX).
Should have done this ages ago, sorry.
Jeremy.
(This used to be commit 4c3a9558906f213948c3bdc081be73f8fed148cb)
2008-08-27 15:06:14 -07:00
Steve French
34c073c351 mount.cifs: unclear error message with "credentials"
Thanks to Christophe Curis for the suggestion
(This used to be commit 3b5ad9190d2ad6d2ca0a569194bdff9003bda13b)
2008-08-27 17:00:00 -05:00
Jeremy Allison
e588f0bc36 Be explicit about setting perms for the ldb. Helps others who may use this api.
Jeremy.
(This used to be commit f0ea0f3502037db878238942ee0729f6940e0b01)
2008-08-27 11:28:18 -07:00
Karolin Seeger
dee5f09357 ldb: Fix permissions of new ldg files.
This one fixes together with 2eaf4ed62 bug #5715 and CVE-2008-3789.

Thanks to Steve Langasek <vorlon@debian.org> for reporting!

Karolin
(cherry picked from commit b666d0a4b597218f5f5020bf36d80d84dcbf7259)
(This used to be commit 73f54df7fedc8f0db022f902100fd5eb1b629fb2)
2008-08-27 13:32:09 +02:00
Andrew Tridgell
9a89e30229 ldb: Fix permissions of group_mapping.ldb.
This one fixes bug #5715 and CVE-2008-3789.
(cherry picked from commit a94f44c49f668fcf12f4566777a668043326bf97)
(This used to be commit 2eaf4ed62220246bcc1a9702166b0b4f381fdae3)
2008-08-27 12:08:39 +02:00
Jeremy Allison
dc3f6b0861 Fix bug spotted by Simo - don't use legacy if expired entry.
Jeremy.
(This used to be commit a7bbd33139c5835cf32efdbe0ef187117699e3e4)
2008-08-26 18:05:34 -07:00
Jeremy Allison
d1f140a9ba Don't ask winbindd if we got a -ve cache entry.
Jeremy.
(This used to be commit 91f85d0dcaa917b7a90a77852f3a778a0ad99c4d)
2008-08-26 16:14:25 -07:00
Jeremy Allison
95cc5ee395 Fix the build :-(. Ask winbindd if we find a negative cache entry (or should
we just call the legacy function ?).
Jeremy.
(This used to be commit 566d3b6e76afeca8e862cb36202a5283b86920e4)
2008-08-26 15:51:56 -07:00