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

329 Commits

Author SHA1 Message Date
Volker Lendecke
3cd8c121dc Fix some type-punned warnings 2009-02-01 14:34:22 +01:00
Volker Lendecke
57de60a83f cli_get_pipe_name_from_interface does not really need a talloc_ctx 2009-02-01 14:34:22 +01:00
Volker Lendecke
0bd92281e4 Make cli_tcon_andx async 2009-01-30 12:47:59 +01:00
Volker Lendecke
3b34486f6a Actually complete 3662c2b... 2009-01-22 12:13:55 +01:00
todd stecher
989ad44d32 Memory leaks and other fixes found by Coverity 2009-01-21 17:13:03 -08:00
Günther Deschner
46f55ef5bc s3-samr: avoid all init_samr_user* functions.
Guenther
2009-01-06 16:02:10 +01:00
Jeremy Allison
07e0094365 Fix all warnings in source3 with gcc4.3.
Jeremy.
2008-12-31 18:06:57 -08:00
Volker Lendecke
bb8ca0fdbf Make cli_negprot return NTSTATUS instead of bool 2008-12-19 10:28:30 +01:00
Günther Deschner
7423b6a4b8 s3-samr: fix SAMR_FIELD_PASSWORD callers.
Guenther
2008-12-05 14:27:03 +01:00
Stefan Metzmacher
2b8f3e253d s3:net: fix password set of 'net rpc trustdom add'
metze
2008-12-04 12:27:57 +01:00
Günther Deschner
4d7485df96 s3-samr: fix init_samr_user_info{23,24} callers.
Guenther
2008-11-28 13:55:38 +01:00
Günther Deschner
9f86dd715a s3-net: add "net rpc vampire passdb" that allows to take arguments.
Guenther
2008-11-18 16:03:05 +01:00
Jelmer Vernooij
ddcab787c4 Rename dos_errstr() to win_errstr() for consistency with Samba 4. 2008-11-01 17:19:26 +01:00
Günther Deschner
f126371f17 s3-samr: remove duplicate copies of Domain Object specific access rights.
Guenther
2008-10-31 21:14:27 +01:00
Günther Deschner
700cece822 s3-samr: remove duplicate copies of SAM server specific access rights.
Guenther
2008-10-31 21:14:26 +01:00
Jeremy Allison
8344e94574 Unify se_access_check with the S4 code. Will make
calculation of SEC_FLAG_MAXIMUM_ALLOWED much easier
for files.
Jeremy.
2008-10-31 10:51:45 -07:00
Jelmer Vernooij
f9fb9436ae Use WERR_FILE_EXISTS which is the equivalent of WERR_ALREADY_EXISTS
previously present in Samba 3.
2008-10-23 15:37:39 +02:00
Jeremy Allison
4e9db0b100 Cope with MAXIMUM_ALLOWED_ACCESS requests when opening handles.
Jeremy.
2008-10-21 18:05:48 -07:00
Günther Deschner
65dc1eeceb s3: fix various samr callers.
Guenther
2008-10-15 17:11:27 +02:00
Jelmer Vernooij
881b36f4cf Share initshutdown.idl. 2008-10-15 16:13:02 +02:00
Kai Blin
694786b23c net: Make share type lookup a function. 2008-09-26 20:52:13 +02:00
Günther Deschner
cf1e3e5579 net: use netapi for NetFileEnum.
Guenther
(This used to be commit f85dcf8112)
2008-09-11 14:38:22 +02:00
Günther Deschner
e10a7af3c6 net: use netapi for NetFileClose.
Guenther
(This used to be commit fd3d130d25)
2008-09-11 14:38:12 +02:00
Günther Deschner
a780ed8970 net: use netapi for NetShareEnum.
Guenther
(This used to be commit f4cb75b1e2)
2008-09-11 14:21:48 +02:00
Kai Blin
5b54781e1c net: share_type is defined in net_rap.c, net_rpc.c needs to use that.
This fixes a crash in net rpc share that Günther Deschner found.
(This used to be commit 50af6d609d)
2008-09-10 12:05:18 +02:00
Günther Deschner
cb2d7aa827 net: use netapi for rpc_sh_share_delete as well.
Guenther
(This used to be commit b56ec0b995)
2008-09-05 12:35:11 +02:00
Günther Deschner
f9294970b4 net: use netapi for deleting shares.
Guenther
(This used to be commit d7b07b6369)
2008-09-05 12:34:58 +02:00
Günther Deschner
d07f0e345e net: use netapi for rpc_sh_share_add as well.
Guenther
(This used to be commit 0c23274256)
2008-09-05 12:32:56 +02:00
Günther Deschner
04e363c961 net: use netapi to add shares.
Guenther
(This used to be commit 95ac480e20)
2008-09-05 12:32:56 +02:00
Günther Deschner
a9a9772b5d net: use netapi for "net rpc user info" to enumerate user group membership.
Guenther
(This used to be commit 77ecfff216)
2008-08-29 13:57:59 +02:00
Günther Deschner
e2945c38f1 net: use netapi function to set user password.
Guenther
(This used to be commit f31fd1e112)
2008-08-29 13:57:58 +02:00
Günther Deschner
badc46d16e net: use netapi function to list users.
Guenther
(This used to be commit 6bc8e22919)
2008-08-29 13:57:58 +02:00
Günther Deschner
eefd04212c net: use netapi for rpc_user_rename.
Guenther
(This used to be commit fe28ea1afd)
2008-08-29 13:57:53 +02:00
Günther Deschner
52a8501515 netapi: when using NetApi functions forward net's kerberos setting.
Guenther
(This used to be commit d46f648d2e)
2008-07-31 15:26:15 +02:00
Günther Deschner
23e9ebb0d4 net: Use NetLocalGroupAdd() for adding aliases.
Guenther
(This used to be commit 2ed4ce0bf1)
2008-07-31 15:15:55 +02:00
Günther Deschner
9294303943 rpc_client: use init_samr_CryptPassword(Ex) in client tools.
Guenther
(This used to be commit 97f7f9f21f)
2008-07-31 13:52:33 +02:00
Volker Lendecke
05cc3fda05 Refactoring: connect_dst_pipe uses ndr_syntax_id instead of pipe_idx
(This used to be commit 0f77746f36)
2008-07-21 14:36:28 +02:00
Volker Lendecke
d86ff59989 Refactoring: net_sh_run uses ndr_syntax_id instead of pipe_idx
(This used to be commit 85c8363d51)
2008-07-21 14:36:28 +02:00
Volker Lendecke
f23567fcb9 Refactoring: run_rpc_command uses ndr_syntax_id instead of pipe_idx
(This used to be commit 850166ec0d)
2008-07-21 14:36:28 +02:00
Volker Lendecke
99526d391d Refactoring: Change calling conventions for cli_rpc_pipe_open_schannel
Pass in ndr_syntax_id instead of pipe_idx, return NTSTATUS
(This used to be commit 1fcfca007f)
2008-07-20 17:37:14 +02:00
Volker Lendecke
e0be03d8d5 Refactoring: Change calling conventions for cli_rpc_pipe_open_ntlmssp
Pass in ndr_syntax_id instead of pipe_idx, return NTSTATUS
(This used to be commit a13f059955)
2008-07-20 17:37:11 +02:00
Volker Lendecke
1335da2a7c Refactoring: Change calling conventions for cli_rpc_pipe_open_noauth
Pass in ndr_syntax_id instead of pipe_idx, return NTSTATUS
(This used to be commit 9abc9dc4dc)
2008-07-20 17:37:11 +02:00
Volker Lendecke
3353565faf Fix the build
(This used to be commit 242077f714)
2008-06-28 10:38:51 +02:00
Jeremy Allison
f083c1f57e Fix bug #5568 net rpc trustdom add broken !
net rpc trustdom add was broken. The default 10second timeout can be too short
to create an account on a Samba DC (calling out to a script), error message
reporting was poor, and more importantly the new marshalling code for
user_info23 was broken (maps onto a user_info21 but doesn't clear the
user_info23 struct before marshalling, leaving an uninitialized size field -
give "alloc failure").
Jeremy.
(This used to be commit e072b3667e)
2008-06-27 17:26:41 -07:00
Jeremy Allison
23e4a41362 Fix usage message for net rpc trustdom add.
Jeremy.
(This used to be commit 20e59faf6e)
2008-06-27 15:28:45 -07:00
Günther Deschner
a8332b91ef net: add basic support for sealed RPC connections (using NET_FLAGS_SEAL).
Guenther
(This used to be commit 7541a0103a)
2008-06-24 23:45:09 +02:00
Günther Deschner
adef1b004b net_vampire: add code to vampire a SAM database to a keytab file.
Guenther
(This used to be commit ee6e422c0e)
2008-06-24 23:40:14 +02:00
Günther Deschner
8049d3aa8e net_vampire: split out rpc_vampire_ldif().
Guenther
(This used to be commit bcc6d3a0eb)
2008-06-13 23:39:09 +02:00
Karolin Seeger
49a81672d2 net: Fix several typos in comments.
-argc -> argv (where argv is meant)
-destoyed -> destroyed
-compleation -> completion
-aquired -> acquired
-Unify spelling of some words like rpc-server -> RPC server.
-Add missing punctuation marks.

Karolin
(This used to be commit f4850c37df)
2008-06-12 10:59:02 +02:00
Kai Blin
255bdb2602 net: Rename functable3 to functable, get rid of old functables
(This used to be commit bb7c5fc4ec)
2008-06-10 09:48:21 +02:00