jra/samba/.git
15 years agoRefactoring: Make get_schannel_session_key return NTSTATUS
Volker Lendecke [Sun, 20 Jul 2008 14:33:26 +0000 (16:33 +0200)]
Refactoring: Make get_schannel_session_key return NTSTATUS
(This used to be commit a0793cc853d3bd43df2fc49df193a5fead6b01ab)

15 years agoRefactoring: Make get_schannel_session_key_common return NTSTATUS
Volker Lendecke [Sun, 20 Jul 2008 14:27:45 +0000 (16:27 +0200)]
Refactoring: Make get_schannel_session_key_common return NTSTATUS
(This used to be commit 513e69507676fc2227424362d24d8ea9615ea758)

15 years agoRefactoring: Change calling conventions for cli_rpc_pipe_open_ntlmssp
Volker Lendecke [Sun, 20 Jul 2008 09:04:31 +0000 (11:04 +0200)]
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 a13f0599551609394904b99e4014d580ec65c506)

15 years agoRefactoring: Change calling conventions for cli_rpc_pipe_open_noauth
Volker Lendecke [Sun, 20 Jul 2008 09:04:31 +0000 (11:04 +0200)]
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 9abc9dc4dc13bd3e42f98eff64eacf24b51f5779)

15 years agoRefactoring: Change calling conventions for cli_rpc_pipe_open
Volker Lendecke [Sun, 20 Jul 2008 09:04:31 +0000 (11:04 +0200)]
Refactoring: Change calling conventions for cli_rpc_pipe_open

Pass in ndr_syntax_id instead of pipe_idx, return NTSTATUS
(This used to be commit 6c122457ff3f22e20dbb595dc6d5fb49689f4d61)

15 years agoRefactoring: Change calling conventions for rpc_pipe_open_np
Volker Lendecke [Sun, 20 Jul 2008 08:56:36 +0000 (10:56 +0200)]
Refactoring: Change calling conventions for rpc_pipe_open_np

Pass in ndr_syntax_id instead of pipe_idx, return NTSTATUS
(This used to be commit 9249fe9e917982c8b9ca25933b716e8ac0aa40cd)

15 years agoAllocate rpc_cli->dc in rpccli_netlogon_setup_creds()
Volker Lendecke [Sun, 20 Jul 2008 08:40:43 +0000 (10:40 +0200)]
Allocate rpc_cli->dc in rpccli_netlogon_setup_creds()

The general cli_pipe routines should not have to know about this NETLOGON
speciality.
(This used to be commit d30237598d0c55b73e202c1de3a020194b67a7e6)

15 years agoStore copies of the syntax ids in rpc_pipe_client
Volker Lendecke [Sun, 20 Jul 2008 08:21:14 +0000 (10:21 +0200)]
Store copies of the syntax ids in rpc_pipe_client
(This used to be commit 848a3497e385090b4b21837c8d0e0313f5c062e5)

15 years agoSimplify pipe_names: we only do ndr_transfer_syntax anyway
Volker Lendecke [Sun, 20 Jul 2008 08:00:46 +0000 (10:00 +0200)]
Simplify pipe_names: we only do ndr_transfer_syntax anyway
(This used to be commit b808403af55a37f2ec0e87e60450505ddfc2edda)

15 years agoFix link for Using Samba
Alexander Bokovoy [Sat, 19 Jul 2008 20:11:50 +0000 (00:11 +0400)]
Fix link for Using Samba
(This used to be commit 2810dc9e40a0729bc1769c00b51ef24fb5e4ea90)

15 years agoThe PIPE_ pipename macros are only used in cli_pipe.c
Volker Lendecke [Sat, 19 Jul 2008 19:07:14 +0000 (21:07 +0200)]
The PIPE_ pipename macros are only used in cli_pipe.c
(This used to be commit 03f7af26f255476d84a375a95fbccfce24db9de8)

15 years agoMake the pipe_names[] array static to cli_pipe.c
Volker Lendecke [Sat, 19 Jul 2008 18:40:27 +0000 (20:40 +0200)]
Make the pipe_names[] array static to cli_pipe.c
(This used to be commit ab7ab350591bf16717744a0c252d3a9d185bcb77)

15 years agoIntroduce is_known_pipename
Volker Lendecke [Sat, 19 Jul 2008 18:27:56 +0000 (20:27 +0200)]
Introduce is_known_pipename

This scans the list of pipes registered via rpc_pipe_register_commands instead
of using static tables.
(This used to be commit 283e6039989adea1c8921b3600b410cb67b6492a)

15 years agoMake use of ndr_syntax_id_equal
Volker Lendecke [Sat, 19 Jul 2008 17:53:01 +0000 (19:53 +0200)]
Make use of ndr_syntax_id_equal
(This used to be commit 3ab3f2610500107c9cff677746365bba143ca9de)

15 years agoOoops, GUID_equal was already around :-)
Volker Lendecke [Sat, 19 Jul 2008 17:50:36 +0000 (19:50 +0200)]
Ooops, GUID_equal was already around :-)
(This used to be commit 9a0bc277f23831124d049301bc7009a285d91a11)

15 years agoFix the build of vfs_zfsacl.c
Volker Lendecke [Fri, 18 Jul 2008 08:01:39 +0000 (10:01 +0200)]
Fix the build of vfs_zfsacl.c
(cherry picked from commit b83beeda44e1c8d485c2ad6bb8ee539cdcbe8bda)
(This used to be commit b46ce28039e8829f5188574ebe84ff3b7d9e65bc)

15 years agonetapi: add caching of samr policy handles.
Günther Deschner [Thu, 17 Jul 2008 20:44:24 +0000 (22:44 +0200)]
netapi: add caching of samr policy handles.

Guenther
(This used to be commit bf8453da9af1be788955204cc581c5143a854072)

15 years agonetapi: let libnetapi_samr_lookup_and_open_alias compose lsa string.
Günther Deschner [Fri, 18 Jul 2008 14:24:02 +0000 (16:24 +0200)]
netapi: let libnetapi_samr_lookup_and_open_alias compose lsa string.

Guenther
(This used to be commit f93090037798ffb4d9b875a4320f970ae10a64b6)

15 years agonetapi: implement NetLocalGroupEnum_r.
Günther Deschner [Fri, 18 Jul 2008 13:11:08 +0000 (15:11 +0200)]
netapi: implement NetLocalGroupEnum_r.

Guenther
(This used to be commit 2cd91e7d4d4847e1daef2585b09da4e6da6c9d11)

15 years agonetapi: add NetLocalGroupEnum example code.
Günther Deschner [Thu, 17 Jul 2008 23:41:30 +0000 (01:41 +0200)]
netapi: add NetLocalGroupEnum example code.

Guenther
(This used to be commit a5a8d03699220e1f237debb84a75cacbbb8899fa)

15 years agonetapi: add NetLocalGroupEnum to public header.
Günther Deschner [Thu, 17 Jul 2008 23:40:34 +0000 (01:40 +0200)]
netapi: add NetLocalGroupEnum to public header.

Guenther
(This used to be commit 151c8fa7901983a3e7a82f1af599c839249b6cd7)

15 years agonetapi: add skeleton for NetLocalGroupEnum().
Günther Deschner [Thu, 17 Jul 2008 23:23:26 +0000 (01:23 +0200)]
netapi: add skeleton for NetLocalGroupEnum().

Guenther
(This used to be commit 71bd0109d6c393d4361729b514e63fab113bf78a)

15 years agore-run make idl.
Günther Deschner [Thu, 17 Jul 2008 23:21:38 +0000 (01:21 +0200)]
re-run make idl.

Guenther
(This used to be commit 4b79d54574722552346bbc17947fd26fc1a0deda)

15 years agonetapi: add NetLocalGroupEnum to IDL.
Günther Deschner [Thu, 17 Jul 2008 23:20:56 +0000 (01:20 +0200)]
netapi: add NetLocalGroupEnum to IDL.

Guenther
(This used to be commit 95432c8b57aac684064a20a7bba0734fb5d27d18)

15 years agonetapi: make map_alias_info_to_buffer suitable for arrays in the buffer.
Günther Deschner [Fri, 18 Jul 2008 13:10:43 +0000 (15:10 +0200)]
netapi: make map_alias_info_to_buffer suitable for arrays in the buffer.

Guenther
(This used to be commit dc0f737bd5e86369b2bbfbef420a095205c2d3cb)

15 years agonetapi: add libnetapi_samr_open_alias_queryinfo.
Günther Deschner [Fri, 18 Jul 2008 13:01:21 +0000 (15:01 +0200)]
netapi: add libnetapi_samr_open_alias_queryinfo.

Guenther
(This used to be commit 401d6ce210817d9ab6915ed838e1495ae220559a)

15 years agonetapi: add NetUserSetInfo example code.
Günther Deschner [Fri, 18 Jul 2008 00:23:29 +0000 (02:23 +0200)]
netapi: add NetUserSetInfo example code.

Guenther
(This used to be commit 5000d4c743b09665405776569782f46eeb6c2e36)

15 years agonetapi: add NetUserSetInfo to public header.
Günther Deschner [Thu, 17 Jul 2008 23:40:14 +0000 (01:40 +0200)]
netapi: add NetUserSetInfo to public header.

Guenther
(This used to be commit 0acf8352a3ca7deb2e3465be441f20d455eb802b)

15 years agonetapi: add skeleton for NetUserSetInfo.
Günther Deschner [Wed, 16 Jul 2008 23:00:33 +0000 (01:00 +0200)]
netapi: add skeleton for NetUserSetInfo.

Guenther
(This used to be commit 8cc555602f53f6afaded2eff58ed57f87b915c64)

15 years agore-run make idl.
Günther Deschner [Wed, 16 Jul 2008 22:59:57 +0000 (00:59 +0200)]
re-run make idl.

Guenther
(This used to be commit de9f40ddd08dad821d3242e60a396a771cf16fa0)

15 years agonetapi: add NetUserSetInfo to IDL.
Günther Deschner [Wed, 16 Jul 2008 22:59:13 +0000 (00:59 +0200)]
netapi: add NetUserSetInfo to IDL.

Guenther
(This used to be commit e00d2affbc3bc848e727f60348aebc7ea8548459)

15 years agonetapi: fill in NetUserGetInfo_r().
Günther Deschner [Thu, 17 Jul 2008 20:45:09 +0000 (22:45 +0200)]
netapi: fill in NetUserGetInfo_r().

Guenther
(This used to be commit d282e5eca298c4c45cbe91a93350273d1417a050)

15 years agonetapi: add NetUserGetInfo example code.
Günther Deschner [Wed, 16 Jul 2008 08:59:53 +0000 (10:59 +0200)]
netapi: add NetUserGetInfo example code.

Guenther
(This used to be commit 62cdd66a7e91b986f76f94935f04375591671893)

15 years agonetapi: add NetUserGetInfo to public headers.
Günther Deschner [Wed, 16 Jul 2008 08:50:26 +0000 (10:50 +0200)]
netapi: add NetUserGetInfo to public headers.

Guenther
(This used to be commit 7260fb4dbae556b116e385bdcc240416e8a8cbd2)

15 years agonetapi: add skeleton for NetUserGetInfo().
Günther Deschner [Wed, 16 Jul 2008 08:47:38 +0000 (10:47 +0200)]
netapi: add skeleton for NetUserGetInfo().

Guenther
(This used to be commit 84962bf50d2c3265c0134481f24f6fa34f1dfc99)

15 years agore-run make idl.
Günther Deschner [Wed, 16 Jul 2008 08:45:31 +0000 (10:45 +0200)]
re-run make idl.

Guenther
(This used to be commit 60e646b5b5d8bce5c7a6f8692bba7125075656e2)

15 years agonetapi: add NetUserGetInfo to IDL.
Günther Deschner [Wed, 16 Jul 2008 08:45:11 +0000 (10:45 +0200)]
netapi: add NetUserGetInfo to IDL.

Guenther
(This used to be commit ec5c0153347f3ea37fa3ad65800c0fc408ac8509)

15 years agonetapi: support more infolevels in NetUserEnum.
Günther Deschner [Tue, 1 Jul 2008 18:19:10 +0000 (20:19 +0200)]
netapi: support more infolevels in NetUserEnum.

Guenther
(This used to be commit 22bd3d401e47ffedf1169c0c74a329e9fdcac561)

15 years agonetapi: add support to define info level in NetUserEnum example.
Günther Deschner [Thu, 17 Jul 2008 11:37:06 +0000 (13:37 +0200)]
netapi: add support to define info level in NetUserEnum example.

Guenther
(This used to be commit 7cbc90c3e881fd54c97df553168e089ad7f2294c)

15 years agonetapi: add new USER_INFO_X structures to public headers.
Günther Deschner [Thu, 17 Jul 2008 11:37:50 +0000 (13:37 +0200)]
netapi: add new USER_INFO_X structures to public headers.

Guenther
(This used to be commit 4439edb0465630091e53fdcc2d647acc7abf1045)

15 years agore-run make idl.
Günther Deschner [Thu, 17 Jul 2008 09:21:43 +0000 (11:21 +0200)]
re-run make idl.

Guenther
(This used to be commit 075fad24f787c7b40769870170f2b8c02a7d6ff8)

15 years agonetapi: add more USER_INFO_X structures to IDL.
Günther Deschner [Thu, 17 Jul 2008 09:21:28 +0000 (11:21 +0200)]
netapi: add more USER_INFO_X structures to IDL.

Guenther
(This used to be commit fd7c1d01648d9434a3cdd77b7c026a09ba2437b4)

15 years agonetapi: add libnetapi_samr_free().
Günther Deschner [Thu, 17 Jul 2008 17:06:02 +0000 (19:06 +0200)]
netapi: add libnetapi_samr_free().

Guenther
(This used to be commit 3228088a0954ac25584d06a681f4e0615dee425c)

15 years agonetapi: use private samr structure in libnetapi_samr_open_builtin().
Günther Deschner [Thu, 17 Jul 2008 18:16:10 +0000 (20:16 +0200)]
netapi: use private samr structure in libnetapi_samr_open_builtin().

Guenther
(This used to be commit 538ac493b71b4c880bb6fb0fc5fc2f15e1a19f95)

15 years agonetapi: use private samr structure in libnetapi_samr_open_domain().
Günther Deschner [Thu, 17 Jul 2008 17:43:34 +0000 (19:43 +0200)]
netapi: use private samr structure in libnetapi_samr_open_domain().

Guenther
(This used to be commit 3c63ebfc00cda0334802bff1883ebbc3138a70f1)

15 years agonetapi: add libnetapi_samr_close_builtin_handle().
Günther Deschner [Thu, 17 Jul 2008 17:56:25 +0000 (19:56 +0200)]
netapi: add libnetapi_samr_close_builtin_handle().

Guenther
(This used to be commit 05cad0d8b4205c052c607b1d36c121bb4c226ab1)

15 years agonetapi: add libnetapi_samr_close_domain/connect_handle.
Günther Deschner [Thu, 17 Jul 2008 17:47:59 +0000 (19:47 +0200)]
netapi: add libnetapi_samr_close_domain/connect_handle.

Guenther
(This used to be commit b042787ec61bb5cb98f882ac7be8df1691a78921)

15 years agonetapi: add libnetapi_private_ctx and init function.
Günther Deschner [Tue, 1 Jul 2008 18:14:36 +0000 (20:14 +0200)]
netapi: add libnetapi_private_ctx and init function.

Guenther
(This used to be commit 45fff2d37ae21c76d100f66d9154f6add446f380)

15 years agonetapi: fix NetGroupGetInfo() against NT4.
Günther Deschner [Thu, 17 Jul 2008 23:11:32 +0000 (01:11 +0200)]
netapi: fix NetGroupGetInfo() against NT4.

Guenther
(This used to be commit c0fea9c4d0d3d297972c052c17b9be6d0530e098)

15 years agonetapi: fix NetGroupDel() against NT4.
Günther Deschner [Thu, 17 Jul 2008 23:11:08 +0000 (01:11 +0200)]
netapi: fix NetGroupDel() against NT4.

Guenther
(This used to be commit 55035d7240bd163abb155239029a03f399c8f41f)

15 years agonetapi: fix NetUserAdd() against NT4.
Günther Deschner [Thu, 17 Jul 2008 23:10:31 +0000 (01:10 +0200)]
netapi: fix NetUserAdd() against NT4.

Guenther
(This used to be commit 42c44d18eeb4d37e7c2e1209c421b3ec3a07ae28)

15 years agonetapi: typo in NetGroupEnum example code.
Günther Deschner [Thu, 17 Jul 2008 23:39:27 +0000 (01:39 +0200)]
netapi: typo in NetGroupEnum example code.

Guenther
(This used to be commit b0c44d7e6cf321f84bd7b9cdb25635304bbfea81)

15 years agonetapi: fix build warning for ConvertSidToStringSid().
Günther Deschner [Fri, 18 Jul 2008 14:42:07 +0000 (16:42 +0200)]
netapi: fix build warning for ConvertSidToStringSid().

Guenther
(This used to be commit 5136daec0a35e7f099477409009672ddd960b684)

15 years agokerberos: make smb_krb5_kt_add_entry() static.
Günther Deschner [Fri, 18 Jul 2008 14:41:34 +0000 (16:41 +0200)]
kerberos: make smb_krb5_kt_add_entry() static.

Guenther
(This used to be commit 04b1847f87d166819dfe0f8c27c8cd9fc062544f)

15 years agolibads: add prototype for ads_connect_gc().
Günther Deschner [Fri, 18 Jul 2008 14:39:24 +0000 (16:39 +0200)]
libads: add prototype for ads_connect_gc().

Guenther
(This used to be commit 0122e4941db33f149a64d7e17286c0ba81247a19)

15 years agolibnetjoin: make libnet_join_rollback() static.
Günther Deschner [Fri, 18 Jul 2008 14:29:05 +0000 (16:29 +0200)]
libnetjoin: make libnet_join_rollback() static.

Guenther
(This used to be commit f1cc39e3759357344cb7abcb6bfa9d3e3f4969e6)

15 years agoFix typos.
Karolin Seeger [Fri, 18 Jul 2008 13:31:36 +0000 (15:31 +0200)]
Fix typos.

the user have -> has

Karolin
(This used to be commit 1ee2ad1051e6076709ef8ed2f45bebff10b0c3cf)

15 years agoUse LDAP macros instead of attribute names.
Karolin Seeger [Fri, 18 Jul 2008 11:15:05 +0000 (13:15 +0200)]
Use LDAP macros instead of attribute names.

Karolin
(This used to be commit 7dae8b04f126d0ac86a452dcf373a690ee687ead)

15 years agorpcclient: add ability to fetch single objects with dsgetncchanges command
Michael Adam [Fri, 18 Jul 2008 13:10:51 +0000 (15:10 +0200)]
rpcclient: add ability to fetch single objects with dsgetncchanges command

call as "dsgetncchanges <object_dn> single"

after calling "seal"

Michael
(This used to be commit c9ab2953c5af0dd3cddbe6c4cdd2b8da2734aa84)

15 years agoSimplify the RPC servers: remove get_pipe_fns
Volker Lendecke [Tue, 15 Jul 2008 22:03:49 +0000 (00:03 +0200)]
Simplify the RPC servers: remove get_pipe_fns

The per-server xxx_get_pipe_fns functions can go once all the RPC servers are
converted
(This used to be commit 6aa2391cbe1cbda8269ded767117f53d83b243e1)

15 years agorpcclient: use level 5 or level 8 in dsgetncchanges command based on bind-info.
Michael Adam [Thu, 17 Jul 2008 21:27:38 +0000 (23:27 +0200)]
rpcclient: use level 5 or level 8 in dsgetncchanges command based on bind-info.

Michael
(This used to be commit 3ab2e7fada1f31e87337065b5bc30a7b92a6d117)

15 years agonet rpc vampire: eliminate missing proto warning by making rpc_vampire_keytab_ds_inte...
Michael Adam [Thu, 17 Jul 2008 11:06:46 +0000 (13:06 +0200)]
net rpc vampire: eliminate missing proto warning by making rpc_vampire_keytab_ds_internals static.

Michael
(This used to be commit 772a76ceb3cd1c041db3ebb5abe449ac6180070e)

15 years agodssync: fix missing prototype warning by including the proper header.
Michael Adam [Wed, 16 Jul 2008 23:03:57 +0000 (01:03 +0200)]
dssync: fix missing prototype warning by including the proper header.

Michael
(This used to be commit 7d7b63e89bb2a067783362a24d81e44e0d67e2ec)

15 years agoDocument the streams modules
Volker Lendecke [Fri, 18 Jul 2008 09:18:04 +0000 (11:18 +0200)]
Document the streams modules
(This used to be commit ff158a11263fd9fd46131d3451293d8d92fa0cca)

15 years agoChange the directory parameter in streams_depot to become consistent
Volker Lendecke [Fri, 18 Jul 2008 09:17:33 +0000 (11:17 +0200)]
Change the directory parameter in streams_depot to become consistent

This is not built by default and not documented in 3.2.0, so I doubt this will
break any setups :-)
(cherry picked from commit ca2dfb372cfd9096407fca67a6b65bceda6f72b6)
(This used to be commit 9393cdda97a886f4bdd187d76461724edeec9ed3)

15 years agosmbldap: Fix typo in debug message.
Karolin Seeger [Fri, 18 Jul 2008 07:38:03 +0000 (09:38 +0200)]
smbldap: Fix typo in debug message.

Karolin
(This used to be commit 6e9e85b897431d7378396aada2c32ae470af0edd)

15 years agoFrom Jim McDonough
Jeremy Allison [Fri, 18 Jul 2008 03:10:18 +0000 (20:10 -0700)]
From Jim McDonough

In reloading the smb.conf, if a "log file" is specified in smb.conf,
winbind children will overwrite the logfile name to be the same as the
parent.

Jeremy.
(This used to be commit 62d319cc1a2ef891866b2ddbd22f3ed0944356af)

15 years agogitignore: ignore the proper genreated library symbol files.
Michael Adam [Thu, 17 Jul 2008 19:01:51 +0000 (21:01 +0200)]
gitignore: ignore the proper genreated library symbol files.

Michael
(This used to be commit 2a45f1a87c7c9a8879c3308d59d92f6c4985954d)

15 years agorpcclient: for testing, add dsgetncchanges command.
Günther Deschner [Thu, 17 Jul 2008 16:53:00 +0000 (18:53 +0200)]
rpcclient: for testing, add dsgetncchanges command.

Guenther
(This used to be commit 54f14b382441491c09daa76960f54a2d090a8bd6)

15 years agoallow SID with 0 in subauthority to be converted properly
Herb Lewis [Thu, 17 Jul 2008 16:23:30 +0000 (09:23 -0700)]
allow SID with 0 in subauthority to be converted properly
from string representation.
(This used to be commit 23f338d1da96fd4ea3283bc96ca7d496b23bf854)

15 years agoUpdate the developers documentation for the new vendor version options.
Andreas Schneider [Thu, 17 Jul 2008 11:37:31 +0000 (13:37 +0200)]
Update the developers documentation for the new vendor version options.

Signed-off-by: Andreas Schneider <anschneider@suse.de>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(This used to be commit 815383a4178c51311f3c81632a0fa1d19e7098f4)

15 years agoUse the macro to call samba_version_string().
Andreas Schneider [Thu, 17 Jul 2008 10:29:02 +0000 (12:29 +0200)]
Use the macro to call samba_version_string().

Signed-off-by: Andreas Schneider <anschneider@suse.de>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(This used to be commit d2682295f55a18d526434062834c033aa18e794b)

15 years agoSimplify samba_version_string.
Andreas Schneider [Thu, 17 Jul 2008 10:25:31 +0000 (12:25 +0200)]
Simplify samba_version_string.

This adds a new macro for a vender version function which will be returned
by the samba_version_string() function if defined.

Signed-off-by: Andreas Schneider <anschneider@suse.de>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(This used to be commit 8b9301fbc73f28c657ec81c605760a0ff7a1973a)

15 years agonetapi: use ConvertSidToStringSid in NetGetGroupInfo query.
Günther Deschner [Wed, 16 Jul 2008 14:42:21 +0000 (16:42 +0200)]
netapi: use ConvertSidToStringSid in NetGetGroupInfo query.

Guenther
(This used to be commit d9d0cf6411a29d456735e980f9ac8ad75f3edfbd)

15 years agonetapi: add NetGroupEnum example code.
Günther Deschner [Tue, 1 Jul 2008 18:12:43 +0000 (20:12 +0200)]
netapi: add NetGroupEnum example code.

Guenther
(This used to be commit 133ea72a996a1eefda1b6351277f415823db55fc)

15 years agonetapi: fill in NetGroupEnum_r().
Günther Deschner [Wed, 16 Jul 2008 23:06:29 +0000 (01:06 +0200)]
netapi: fill in NetGroupEnum_r().

Guenther
(This used to be commit 64700e09ce9417c0b0128cc016abd34ab92f3695)

15 years agonetapi: fix map_group_info_to_buffer for GROUP_INFO_3 change.
Günther Deschner [Wed, 16 Jul 2008 14:14:47 +0000 (16:14 +0200)]
netapi: fix map_group_info_to_buffer for GROUP_INFO_3 change.

Guenther
(This used to be commit f2875677194f440ffebf18e6f5171be948114353)

15 years agore-run make idl.
Günther Deschner [Wed, 16 Jul 2008 14:13:34 +0000 (16:13 +0200)]
re-run make idl.

Guenther
(This used to be commit d9e9e64ad9749361c898d7853906d1aaf2dad59c)

15 years agonetapi: make sid in GROUP_INFO_3 a pointer.
Günther Deschner [Wed, 16 Jul 2008 14:13:14 +0000 (16:13 +0200)]
netapi: make sid in GROUP_INFO_3 a pointer.

Guenther
(This used to be commit 84dc9bb89dedf6b283014307d317a3c4d315340b)

15 years agonetapi: add NetGroupEnum to public headers.
Günther Deschner [Tue, 1 Jul 2008 18:11:38 +0000 (20:11 +0200)]
netapi: add NetGroupEnum to public headers.

Guenther
(This used to be commit 4564581f9aaf4afd6c47c6d5a9a299bc5012244d)

15 years agonetapi: add skeleton for NetGroupEnum().
Günther Deschner [Tue, 1 Jul 2008 18:11:02 +0000 (20:11 +0200)]
netapi: add skeleton for NetGroupEnum().

Guenther
(This used to be commit 21a0d9d254d5c21c4bc9fe305e9df2126476f3f4)

15 years agore-run make idl.
Günther Deschner [Tue, 1 Jul 2008 18:10:00 +0000 (20:10 +0200)]
re-run make idl.

Guenther
(This used to be commit 1ae9ae839e2f9032bb30db377e0022112dee2419)

15 years agonetapi: add NetGroupEnum to IDL.
Günther Deschner [Tue, 1 Jul 2008 18:09:46 +0000 (20:09 +0200)]
netapi: add NetGroupEnum to IDL.

Guenther
(This used to be commit f2240192363e09a8182a468c8743ff031ecee04e)

15 years agonetapi: add ConvertSidToStringSid() for convenience of the callers.
Günther Deschner [Wed, 16 Jul 2008 13:22:04 +0000 (15:22 +0200)]
netapi: add ConvertSidToStringSid() for convenience of the callers.

Guenther
(This used to be commit b7633998ed76c7bb2faa803841fafe9126a39847)

15 years agoutil: add policy_hnd_equal().
Günther Deschner [Tue, 1 Jul 2008 18:09:09 +0000 (20:09 +0200)]
util: add policy_hnd_equal().

Guenther
(This used to be commit 6aca163e898bfeeff824725bb27b2ef4f7b729f9)

15 years agonetapi: fix documentation for NetGroupSetInfo.
Günther Deschner [Wed, 16 Jul 2008 14:20:42 +0000 (16:20 +0200)]
netapi: fix documentation for NetGroupSetInfo.

Guenther
(This used to be commit 7b4f84793b39f2940381bccae27f65275cc39572)

15 years agoThis patchset comprises a number of cleanups for the cifs upcall
Jeremy Allison [Thu, 17 Jul 2008 00:27:05 +0000 (17:27 -0700)]
This patchset comprises a number of cleanups for the cifs upcall
binary. The biggest change is that it renames it from cifs.spnego
to cifs.upcall since the cifs.spnego name really isn't applicable
anymore.

It also fixes a segfault when the program is run without any args
and adds a manpage. Comments and/or suggestions appreciated.

This set should apply cleanly to the 3.3 test branch.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Jeremy.
(This used to be commit c633f10d9e78327664e6bca51f66756bcf0505a6)

15 years agoIn api_pipe_bind_req(), check for the iface id, not the pipe name
Volker Lendecke [Sat, 12 Jul 2008 21:17:23 +0000 (23:17 +0200)]
In api_pipe_bind_req(), check for the iface id, not the pipe name

This requires to store the rpc_interface in "struct rpc_table"
(This used to be commit 654f8de8497aff29f9b1f1822b6a8e734ff329e0)

15 years agoAdd ndr_syntax_id_equal()
Volker Lendecke [Wed, 16 Jul 2008 20:18:43 +0000 (22:18 +0200)]
Add ndr_syntax_id_equal()
(This used to be commit 5fc90908deb417130af122941e084542304a2543)

15 years agoIn api_pipe_bind_req(), decode the bind request before checking the pipe
Volker Lendecke [Wed, 16 Jul 2008 20:08:59 +0000 (22:08 +0200)]
In api_pipe_bind_req(), decode the bind request before checking the pipe
(This used to be commit 8be41382ed9bb4fb44a1846fff2c7652388e4f28)

15 years agoAllow %u parameters for print job username - use advanced sub
Jim McDonough [Wed, 16 Jul 2008 16:37:48 +0000 (12:37 -0400)]
Allow %u parameters for print job username - use advanced sub

Based on 3.0 and 3.2 patch from Bo Yang <boyang@novell.com>
Bo, please verify this version works for you.
(This used to be commit 9e6760cfeaf77e80df3b84004090d934f3c2d574)

15 years agoSequel to c10aad9f13: Ignore whitespaces in parametric options
Volker Lendecke [Wed, 16 Jul 2008 14:08:28 +0000 (16:08 +0200)]
Sequel to c10aad9f13: Ignore whitespaces in parametric options

It's a bit difficult to explain why

idmap config backend:FOO = rid

should work while

idmap config backend : FOO = rid

should not. And I doubt we will ever see domain names with whitespaces...
(This used to be commit 0207f99d3f02bd8ff5dadc1574fe13b46c3e09a3)

15 years agoTiny logic simplification: Remove an indentation by using an early return;
Volker Lendecke [Wed, 16 Jul 2008 14:05:46 +0000 (16:05 +0200)]
Tiny logic simplification: Remove an indentation by using an early return;
(This used to be commit 37dba0c192ec7d4105465beae0d6e8598c7dbb7a)

15 years agoRemove a silly "typedef struct _param_opt_struct param_opt_struct"
Volker Lendecke [Wed, 16 Jul 2008 13:49:28 +0000 (15:49 +0200)]
Remove a silly "typedef struct _param_opt_struct param_opt_struct"
(This used to be commit 78801431c896f1e2007d652b611c2ce1108e1023)

15 years agoThe compatibility function also should have a const buffer pointer
Derrell Lipman [Wed, 16 Jul 2008 14:45:09 +0000 (10:45 -0400)]
The compatibility function also should have a const buffer pointer
(This used to be commit b731447ec539d454002300fd755dddcad2351d6c)

15 years agoThe buf in the smbclient write function should be const.
Andreas Schneider [Wed, 16 Jul 2008 10:05:52 +0000 (12:05 +0200)]
The buf in the smbclient write function should be const.

As we try to provide POSIX function, we should use const like all other
POSIX function.

Signed-off-by: Andreas Schneider <anschneider@suse.de>
Signed-off-by: Derrell Lipman <derrell.lipman@unwireduniverse.com>
(This used to be commit 36e5df59544de9df140ca40ad0efd77afd8e1468)

15 years agoMerge branch 'v3-3-test' of ssh://git.samba.org/data/git/samba into v3-3-test
Derrell Lipman [Wed, 16 Jul 2008 13:48:23 +0000 (09:48 -0400)]
Merge branch 'v3-3-test' of ssh://git.samba.org/data/git/samba into v3-3-test
(This used to be commit 11d74fc51c637b8129304b5de85bbe02a86a69ce)

15 years agoStatic libsmbclient library needs to include all objects
Derrell Lipman [Wed, 16 Jul 2008 13:47:06 +0000 (09:47 -0400)]
Static libsmbclient library needs to include all objects

  LIBSMBCLIENT_OBJ0 contains only the libsmb/libsmb_*.o files.  We need the
  more inclusive set of object files defined by LIBSMBCLIENT_OBJ1.

Derrell
(This used to be commit 6c33c620072d641fc19ca0224c16af75f6cd7e9e)

15 years agoFix typos.
Derrell Lipman [Wed, 16 Jul 2008 13:45:02 +0000 (09:45 -0400)]
Fix typos.

  libsmbclient doesn't have bool defined; rather it uses smbc_bool

Derrell
(This used to be commit e1ade80f468e8ed827f9d4fd035d79546fa0ee0a)

15 years agolibnet_dssync: use ctr[1|6]->more_data
Stefan Metzmacher [Wed, 16 Jul 2008 13:30:03 +0000 (15:30 +0200)]
libnet_dssync: use ctr[1|6]->more_data

metze
(This used to be commit 6b7ddb6d664f5f3b62161cdb3abf12633b263a64)