ira/wip.git
13 years agoIgnore some unneeded autogenerated cli_ and srv_ functions.
Günther Deschner [Wed, 12 Mar 2008 15:17:27 +0000 (16:17 +0100)]
Ignore some unneeded autogenerated cli_ and srv_ functions.

Guenther
(This used to be commit c8ea359c19f2907683d0cd566ef19f09cc6101bf)

13 years agoinit_srv_share_info_ctr: fix counting of services.
Michael Adam [Wed, 12 Mar 2008 01:12:11 +0000 (02:12 +0100)]
init_srv_share_info_ctr: fix counting of services.

The number of services was recorded too early leading to
registry shares not showing up in browse lists.

Guenther - please check.

Michael
(This used to be commit 737e470e02d1233fda51e903f27955e45427e95a)

13 years agoinit_srv_share_info_ctr: Add debug messages.
Michael Adam [Wed, 12 Mar 2008 01:10:35 +0000 (02:10 +0100)]
init_srv_share_info_ctr: Add debug messages.

Michael
(This used to be commit 8b2cc36ffcb3bccb760ec7cb0a22558eab56070d)

13 years agoAdd a debug message.
Michael Adam [Wed, 12 Mar 2008 01:07:37 +0000 (02:07 +0100)]
Add a debug message.

Michael
(This used to be commit a39807044879ad9df7614e010db6ea16b51000a0)

13 years agoloadparm: add a debug message.
Michael Adam [Wed, 12 Mar 2008 00:03:26 +0000 (01:03 +0100)]
loadparm: add a debug message.

Michael
(This used to be commit ce943aeb581027daf813528481b44177d391b61d)

13 years agoloadparm: remove services read from smb.conf when starting over for config backend...
Michael Adam [Tue, 11 Mar 2008 23:56:33 +0000 (00:56 +0100)]
loadparm: remove services read from smb.conf when starting over for config backend registry.

Michael
(This used to be commit b942ff6b7f0be4898e05525558b354533dea312b)

13 years agoloadparm: add convenience wrapper lp_kill_all_services()
Michael Adam [Tue, 11 Mar 2008 23:54:48 +0000 (00:54 +0100)]
loadparm: add convenience wrapper lp_kill_all_services()

Michael
(This used to be commit 32bfd131e33d06be9dfaef02b57f5401d2bc7639)

13 years agoloadparm: add a comment
Michael Adam [Tue, 11 Mar 2008 23:43:19 +0000 (00:43 +0100)]
loadparm: add a comment

Michael
(This used to be commit 05eda1252572f310499b28123d0f9e4211b7d54c)

13 years agoloadparm: fix a comment typo.
Michael Adam [Tue, 11 Mar 2008 23:42:06 +0000 (00:42 +0100)]
loadparm: fix a comment typo.

Michael
(This used to be commit 0a619d4dc476c945130fe47126d98cd47b39c34d)

13 years agoloadparm: add utility function to check for config backend file.
Michael Adam [Tue, 11 Mar 2008 11:41:20 +0000 (12:41 +0100)]
loadparm: add utility function to check for config backend file.

Michael
(This used to be commit 288495ec1a9b0c37bb3f98043f8f8dd946072bac)

13 years agoloadparm: use a function to check for the registry config backend.
Michael Adam [Tue, 11 Mar 2008 11:36:18 +0000 (12:36 +0100)]
loadparm: use a function to check for the registry config backend.

Michael
(This used to be commit 4ac52a5a1dfe8f4f22e960db2e4ca99f9e262427)

13 years agoMerge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
Jeremy Allison [Tue, 11 Mar 2008 22:26:22 +0000 (15:26 -0700)]
Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
(This used to be commit 1de05f1a87fcea598021ca485d3ed87005a3be68)

13 years agoUsing Metze's S4 nttrans rename test, the nttrans rename
Jeremy Allison [Tue, 11 Mar 2008 22:26:02 +0000 (15:26 -0700)]
Using Metze's S4 nttrans rename test, the nttrans rename
behaves the same as the trans2 one.
Jeremy.
(This used to be commit c4fa4917dad97c5047f7336c6675739b44da256b)

13 years agoselftest: samba3 passes RAW-SEARCH now
Stefan Metzmacher [Tue, 11 Mar 2008 21:06:09 +0000 (22:06 +0100)]
selftest: samba3 passes RAW-SEARCH now

As the resume key tests are skipped against samba3.

metze
(This used to be commit c765090871ed68a9ba650bca44f5f3b88997ea14)

13 years agoMetze pointed out this we don't need FILE_ATTRIBUTE_READ here.
Jeremy Allison [Tue, 11 Mar 2008 20:59:04 +0000 (13:59 -0700)]
Metze pointed out this we don't need FILE_ATTRIBUTE_READ here.
Jeremy.
(This used to be commit 923aa9f330cb370221af6b66cf0f237a9bd06f8e)

13 years agoAllow us to pass RAW-RENAME by testing that the connection struct
Jeremy Allison [Tue, 11 Mar 2008 20:38:25 +0000 (13:38 -0700)]
Allow us to pass RAW-RENAME by testing that the connection struct
connection paths are equal, not just the conn structs themselves.
Jeremy.
(This used to be commit 632f3fe66fbcbe3cc25d070c3885177264f5ad65)

13 years agoTry and fix bug #5315, as well as S4 torture tests RAW-OPLOCK BATCH19,
Jeremy Allison [Tue, 11 Mar 2008 20:27:33 +0000 (13:27 -0700)]
Try and fix bug #5315, as well as S4 torture tests RAW-OPLOCK BATCH19,
BATCH20 and RAW-RENAME.
Jeremy.
(This used to be commit 9065792d4bc42522f12f9732de3c0ad82c72a2d3)

13 years agoFix S3 to pass the test_raw_oplock_exclusive3 test.
Jeremy Allison [Tue, 11 Mar 2008 19:37:01 +0000 (12:37 -0700)]
Fix S3 to pass the test_raw_oplock_exclusive3 test.
Jeremy.
(This used to be commit 028302fac53083d66c969b876db1d831e53b8e35)

13 years agoThe attached patch removes some global variables, and make them local to main().
Charles [Tue, 11 Mar 2008 18:49:08 +0000 (19:49 +0100)]
The attached patch removes some global variables, and make them local to main().
(This used to be commit 50cab87d3ee6d701dd8847f4e0a058f5e2d80e0f)

13 years agoAdd some last init_srvsvc_X functions.
Günther Deschner [Tue, 11 Mar 2008 17:19:45 +0000 (18:19 +0100)]
Add some last init_srvsvc_X functions.

Guenther
(This used to be commit 41dc55f1de8590b1bb5572e4adbf9bf960c12a64)

13 years agoConvert mapping_tdb.c to dbwrap
Volker Lendecke [Tue, 11 Mar 2008 13:15:52 +0000 (14:15 +0100)]
Convert mapping_tdb.c to dbwrap

I know, this is not used anymore, but until ldb knows about ctdb which is
blocked by the lack of transactions in ctdb, a tiny patch reactivating
mapping_tdb.c might be needed for cluster setups.
(This used to be commit 8e0fa453a3d0a2c997a935b6940796612c972708)

13 years agoClean up add_mapping_entry slightly
Volker Lendecke [Tue, 11 Mar 2008 11:53:50 +0000 (12:53 +0100)]
Clean up add_mapping_entry slightly
(This used to be commit 38bb69cb316ba605a6d3a4454b986cb63ace3c21)

13 years agoCleanup after pstring removal
Volker Lendecke [Tue, 11 Mar 2008 11:46:36 +0000 (12:46 +0100)]
Cleanup after pstring removal
(This used to be commit 66d2a9c87411be88269bbb3a4d3c0a218a55be06)

13 years agoConvert secrets.c to use dbwrap
Volker Lendecke [Tue, 11 Mar 2008 11:30:46 +0000 (12:30 +0100)]
Convert secrets.c to use dbwrap
(This used to be commit 9d30e5991c6fe77ef5fd505efb756554bbe77256)

13 years agoTrying to fix resume_handling for srvsvc_NetShareEnumAll.
Günther Deschner [Tue, 11 Mar 2008 10:30:55 +0000 (11:30 +0100)]
Trying to fix resume_handling for srvsvc_NetShareEnumAll.

Guenther
(This used to be commit 874a0ffd7dbd993230c00c503ec6b27fbffb7745)

13 years agoAllow to send no resume_handle in rpcclient's NetShareEnum* calls.
Günther Deschner [Tue, 11 Mar 2008 10:29:49 +0000 (11:29 +0100)]
Allow to send no resume_handle in rpcclient's NetShareEnum* calls.

Guenther
(This used to be commit 7e178a3dc970f55ddb30b4fc467aaaa06ef35b0f)

13 years agoregistry shares: prevent creating regular share called "global".
Michael Adam [Tue, 11 Mar 2008 01:02:27 +0000 (02:02 +0100)]
registry shares: prevent creating regular share called "global".

This is a first quick fix.
Registry shares should be rewritten to use libnet_conf.

Michael
(This used to be commit 71bd0bd0ea018e8c5033bbf904333c596330855a)

13 years agoFix return of reg values below HKLM/SOFTWARE/MICROSOFT/WINDOWSNT/CURRENTVERSION.
Günther Deschner [Tue, 11 Mar 2008 09:51:20 +0000 (10:51 +0100)]
Fix return of reg values below HKLM/SOFTWARE/MICROSOFT/WINDOWSNT/CURRENTVERSION.

Michael, please check.

Guenther
(This used to be commit 29ccc0e233bae160f7a6e1b0ff6b6cdda4d0f4ee)

13 years agoUse pidl for _srvsvc_NetDiskEnum.
Günther Deschner [Tue, 11 Mar 2008 09:48:52 +0000 (10:48 +0100)]
Use pidl for _srvsvc_NetDiskEnum.

Guenther
(This used to be commit 933d546f86b48bfd9f84045ec21efc1c362b4d93)

13 years agoFix netdiskenum call in rpcclient.
Günther Deschner [Tue, 11 Mar 2008 03:52:46 +0000 (04:52 +0100)]
Fix netdiskenum call in rpcclient.

Guenther
(This used to be commit dcbfdd1330cf1c7e8d1b4ebc051db139ed6a0053)

13 years agoUse a separate tdb for mutexes
Volker Lendecke [Mon, 10 Mar 2008 20:08:29 +0000 (21:08 +0100)]
Use a separate tdb for mutexes

Another preparation to convert secrets.c to dbwrap: The dbwrap API does not
provide a sane tdb_lock_with_timeout abstraction. In the clustered case the DC
mutex is needed per-node anyway, so it is perfectly fine to use a local mutex
only.
(This used to be commit f94a63cd8f94490780ad9331da229c0bcb2ca5d6)

13 years agoConvert secrets_lock_trust_account_password to talloc
Volker Lendecke [Mon, 10 Mar 2008 14:48:04 +0000 (15:48 +0100)]
Convert secrets_lock_trust_account_password to talloc

This is preparing the conversion of secrets.c to ctdb
(This used to be commit 1307f0130c47b8d740d2b7afe7a5d8d1a655e2a2)

13 years agoAdd dbwrap_trans_store and dbwrap_trans_delete
Volker Lendecke [Mon, 10 Mar 2008 12:27:27 +0000 (13:27 +0100)]
Add dbwrap_trans_store and dbwrap_trans_delete
(This used to be commit e66e502bee65fe44944d325ebeeaa3bf56169eb8)

13 years agoAdd transactions to the dbwrap API
Volker Lendecke [Mon, 10 Mar 2008 09:17:05 +0000 (10:17 +0100)]
Add transactions to the dbwrap API

Only filled in for tdb so far, for rbt it's pointless, and ctdb itself needs to
be extended
(This used to be commit 0a55e018dd68af06d84332d54148bbfb0b510b22)

13 years agoadd dbwrap_change_int32_atomic
Volker Lendecke [Sun, 9 Mar 2008 10:15:10 +0000 (11:15 +0100)]
add dbwrap_change_int32_atomic
(This used to be commit 4ee21a98bc3d1c41a6d8868e98118c58372b2d1a)

13 years agoAdd netconnenum to rpcclient.
Günther Deschner [Mon, 10 Mar 2008 17:34:50 +0000 (18:34 +0100)]
Add netconnenum to rpcclient.

Guenther
(This used to be commit 627688c7bac4d3afcc846164c2fefebdbbc10d68)

13 years agoRe-run make idl.
Günther Deschner [Mon, 10 Mar 2008 16:35:34 +0000 (17:35 +0100)]
Re-run make idl.

Guenther
(This used to be commit 0bc389272f7ca3cfbd8f5eeeba116f68eadd4c9f)

13 years agoFix IDL for srvsvc_NetConnEnum.
Günther Deschner [Mon, 10 Mar 2008 16:35:07 +0000 (17:35 +0100)]
Fix IDL for srvsvc_NetConnEnum.

Guenther
(This used to be commit 03a3b8b0ed504d392b7503dfe988c22c4943ace6)

13 years agoAdd netdiskenum to rpcclient.
Günther Deschner [Mon, 10 Mar 2008 16:30:22 +0000 (17:30 +0100)]
Add netdiskenum to rpcclient.

Guenther
(This used to be commit 3ef4d6b524d26f2c345321d5a8c9f7526e322ccd)

13 years agoloadparm: fix init_globals() to re-init all options event when called 2nd time.
Michael Adam [Mon, 10 Mar 2008 16:16:01 +0000 (17:16 +0100)]
loadparm: fix init_globals() to re-init all options event when called 2nd time.

Up to the globals had only been fully reset when init_globals() was called
for the first time. But a full restart is needed for use with
"config backend = registry". (And should be with "config file = ...", but
in this case the restart is outsourced to the daemons.) This left
some options (like e.g. "realm") set to values that were set in smb.conf
before the occurence of "config backend = registry".

Now this misbehaviour is fixed with this change.

Michael
(This used to be commit f12259d9c4c34b99f5b655cab4b210159cb0e188)

13 years agoloadparm: replace typedef struct {} global/service by struct global/struct service.
Michael Adam [Mon, 10 Mar 2008 13:39:19 +0000 (14:39 +0100)]
loadparm: replace typedef struct {} global/service by struct global/struct service.

Michael
(This used to be commit ab70e781b2d4cc7f8a7f6cf95825f8412d9be2ca)

13 years agoloadparm: fix whitespaces in global and service parameter structs.
Michael Adam [Mon, 10 Mar 2008 13:23:02 +0000 (14:23 +0100)]
loadparm: fix whitespaces in global and service parameter structs.

Michael
(This used to be commit 10ab0681e60e3b91958639a2b0ad359440076c4a)

13 years agoloadparm: fix spacing in parm_table (training spaces and empty lines).
Michael Adam [Mon, 10 Mar 2008 13:10:58 +0000 (14:10 +0100)]
loadparm: fix spacing in parm_table (training spaces and empty lines).

Michael
(This used to be commit 91aab823fc6ec4c38e3461aae57bec0c6a567150)

13 years agoloadparm: Reformat the parm table to use named initializers.
Michael Adam [Mon, 10 Mar 2008 13:03:41 +0000 (14:03 +0100)]
loadparm: Reformat the parm table to use named initializers.

This makes each entry in the parm table much more comprehensible
at first glance (to me). On the other hand, roughly 9 lines are
used instead of one for each entry which makes the overall list
less clearly laid out, one might argue. But we have 400+ lines
of parameter descriptions anyways...

Michael
(This used to be commit 869a17f1a9ba45d30211c230673c6f4482876b29)

13 years agoReformat: Remove indentation of part of pam_smbpass/support.c by one tab.
Michael Adam [Mon, 10 Mar 2008 11:32:56 +0000 (12:32 +0100)]
Reformat: Remove indentation of part of pam_smbpass/support.c by one tab.

The first 120 lines of this source file were indented by one tab.
Sorry, but I could not stand this..

Michael
(This used to be commit 728723dea39b2e978bfc4162ef99e883f3647a4b)

13 years agoRemove rpccli_srvsvc_net_file_enum() and cli_srvsvc.c with it.
Günther Deschner [Mon, 10 Mar 2008 16:14:11 +0000 (17:14 +0100)]
Remove rpccli_srvsvc_net_file_enum() and cli_srvsvc.c with it.

Guenther
(This used to be commit e4b52133d6109ae6cc0378285e2d46f7077812f1)

13 years agoUse rpccli_srvsvc_NetFileEnum in net and rpcclient.
Günther Deschner [Mon, 10 Mar 2008 16:08:55 +0000 (17:08 +0100)]
Use rpccli_srvsvc_NetFileEnum in net and rpcclient.

Guenther
(This used to be commit 348af272f7c0dc0cb316cc06780339dd13eafd0f)

13 years agoRe-run make idl.
Günther Deschner [Mon, 10 Mar 2008 16:07:37 +0000 (17:07 +0100)]
Re-run make idl.

Guenther
(This used to be commit fd878d7923618904cd54b88aa31d59a7bca5a9f9)

13 years agoFix IDL for srvsvc_NetFileEnum.
Günther Deschner [Mon, 10 Mar 2008 16:07:05 +0000 (17:07 +0100)]
Fix IDL for srvsvc_NetFileEnum.

Guenther
(This used to be commit 01c73aa9676137349590a9f0a6281b6efe8343a7)

13 years agoRemove unused marshalling for SRV_NET_SESS_DEL.
Günther Deschner [Mon, 10 Mar 2008 15:50:27 +0000 (16:50 +0100)]
Remove unused marshalling for SRV_NET_SESS_DEL.

Guenther
(This used to be commit 3bb9ec441ae9702007a5442c52bb9476f928810f)

13 years agoRemove unused marshalling for SRV_NET_SHARE_{ENUM,ADD,SETINFO,GETINFO}
Günther Deschner [Mon, 10 Mar 2008 15:26:56 +0000 (16:26 +0100)]
Remove unused marshalling for SRV_NET_SHARE_{ENUM,ADD,SETINFO,GETINFO}

Guenther
(This used to be commit e13b9325d251777cd9030f34fa98e22766c0bcfe)

13 years agoConvert "net" to use rpccli_srvsvc_NetShare* interfaces everywhere.
Günther Deschner [Mon, 10 Mar 2008 15:19:25 +0000 (16:19 +0100)]
Convert "net" to use rpccli_srvsvc_NetShare* interfaces everywhere.

Guenther
(This used to be commit 3b21ee37388627c47177f79c16f003da06e8fdd9)

13 years agoUse rpccli_srvsvc_NetShareAdd in net.
Günther Deschner [Mon, 10 Mar 2008 13:25:45 +0000 (14:25 +0100)]
Use rpccli_srvsvc_NetShareAdd in net.

Guenther
(This used to be commit 6686d97617cc0a630ea1ab1c30f741943f151db6)

13 years agoMake use of talloc_asprintf_strupper_m in secrets.c
Volker Lendecke [Sun, 9 Mar 2008 10:26:50 +0000 (11:26 +0100)]
Make use of talloc_asprintf_strupper_m in secrets.c
(This used to be commit 3ac4f935c074af768d0b83514f86d010c387817a)

13 years agoAvoid some pointless checks
Volker Lendecke [Sun, 9 Mar 2008 10:21:08 +0000 (11:21 +0100)]
Avoid some pointless checks

secrets_init() makes sure that the tdb is initialized
(This used to be commit 8725dbc8888cf7a1d3d9d1205678fcd3ca3c6350)

13 years agoUse talloc_tos() in secrets_init
Volker Lendecke [Sun, 9 Mar 2008 10:17:48 +0000 (11:17 +0100)]
Use talloc_tos() in secrets_init
(This used to be commit 27065382d9b692b5885265c9d60ffb7ec7748c38)

13 years agoUse rpccli_srvsvc_NetShareGetInfo in 2 places in "net".
Günther Deschner [Mon, 10 Mar 2008 04:17:09 +0000 (05:17 +0100)]
Use rpccli_srvsvc_NetShareGetInfo in 2 places in "net".

Guenther
(This used to be commit 2ce76ce2bccefb4a072bed039a4837ae334dea55)

13 years agoUse rpccli_srvsvc_NetShareEnumAll in smbtree.
Günther Deschner [Mon, 10 Mar 2008 04:05:37 +0000 (05:05 +0100)]
Use rpccli_srvsvc_NetShareEnumAll in smbtree.

Guenther
(This used to be commit 0cf761f604975930f38213233e4bbf48d7ae7283)

13 years agoUse rpccli_srvsvc_NetShareEnumAll in libsmbclient.
Günther Deschner [Mon, 10 Mar 2008 03:58:43 +0000 (04:58 +0100)]
Use rpccli_srvsvc_NetShareEnumAll in libsmbclient.

Guenther
(This used to be commit 6aad05f3f12fd6b3276486f60c10f5b3fd3fa17c)

13 years agoRemove insane amount of whitespace.
Günther Deschner [Fri, 7 Mar 2008 16:37:07 +0000 (17:37 +0100)]
Remove insane amount of whitespace.

Guenther
(This used to be commit 8216310e9f0d7dcccfe761a184a014b7b2ce03c5)

13 years agoUse rpccli_srvsvc_NetShareEnumAll in smbclient.
Günther Deschner [Mon, 10 Mar 2008 03:33:06 +0000 (04:33 +0100)]
Use rpccli_srvsvc_NetShareEnumAll in smbclient.

Guenther
(This used to be commit 1121633652ffb77dce8df9cc91b7dfc2d55fd348)

13 years agoAdd some srvsvc_NetSessInfo init functions.
Günther Deschner [Sun, 9 Mar 2008 20:28:53 +0000 (21:28 +0100)]
Add some srvsvc_NetSessInfo init functions.

Guenther
(This used to be commit 8168fd583cfc2ad64e5c1aa67047d8c3c607993a)

13 years agoAdd netsessenum command to rpcclient.
Günther Deschner [Sun, 9 Mar 2008 19:55:19 +0000 (20:55 +0100)]
Add netsessenum command to rpcclient.

Guenther
(This used to be commit f90306bd24bc243c8f30a16c0414031d69d05c03)

13 years agoRe-run make idl.
Günther Deschner [Sun, 9 Mar 2008 19:11:07 +0000 (20:11 +0100)]
Re-run make idl.

Guenther
(This used to be commit 692626c1ef46cd27c0df34e2c206d21c929587f4)

13 years agoFix IDL for srvsvc_NetSessEnum().
Günther Deschner [Sun, 9 Mar 2008 19:10:22 +0000 (20:10 +0100)]
Fix IDL for srvsvc_NetSessEnum().

Guenther
(This used to be commit 35089b53b81d8a8aa117d6c1972ccb938170a2b3)

13 years agoAdd netsessdel command to rpcclient.
Günther Deschner [Sun, 9 Mar 2008 19:04:35 +0000 (20:04 +0100)]
Add netsessdel command to rpcclient.

Guenther
(This used to be commit 5e112ff3d7984c278949833a00349a9f523d4b23)

13 years agoUse pidl for _srvsvc_NetSessDel().
Günther Deschner [Sun, 9 Mar 2008 17:01:52 +0000 (18:01 +0100)]
Use pidl for _srvsvc_NetSessDel().

Guenther
(This used to be commit 8a10bc13aee7c34f466fa69773694be97f0e7d85)

13 years agoFix return code.
Charles [Sun, 9 Mar 2008 18:52:29 +0000 (19:52 +0100)]
Fix return code.
(This used to be commit 98b643366044f471ad69c9e5aac06022f30742d9)

13 years agoMerge branch 'v3-2-test' of ssh://git.samba.org/data/git/samba into v3-2-test
Jelmer Vernooij [Sun, 9 Mar 2008 12:51:52 +0000 (13:51 +0100)]
Merge branch 'v3-2-test' of ssh://git.samba.org/data/git/samba into v3-2-test
(This used to be commit 09e5c6adde5564afc0d1be25f297fbfd284d559f)

13 years agosmbget: Make global variables static.
Charles [Sun, 9 Mar 2008 12:50:56 +0000 (13:50 +0100)]
smbget: Make global variables static.
(This used to be commit c430b7831d5dc6f81cfd18ee2bf24bc3f276fe5d)

13 years agoFix Coverity ID 551
Volker Lendecke [Sat, 8 Mar 2008 22:48:12 +0000 (23:48 +0100)]
Fix Coverity ID 551

Correctly return if we can't create the temporary krb5.conf

Jeremy, please check!
(This used to be commit c2401811aa3d02a9e27969687b9ea035407000c3)

13 years agoRemove unused marshalling for SRV_NET_FILE_SET_SECDESC and SRV_R_NET_FILE_GET_SECDESC.
Günther Deschner [Sat, 8 Mar 2008 00:02:54 +0000 (01:02 +0100)]
Remove unused marshalling for SRV_NET_FILE_SET_SECDESC and SRV_R_NET_FILE_GET_SECDESC.

Guenther
(This used to be commit 776e21075b31db605e45f91b6ccefd11412d7773)

13 years agoUse pidl for _srvsvc_NetGetFileSecurity.
Günther Deschner [Fri, 7 Mar 2008 23:57:52 +0000 (00:57 +0100)]
Use pidl for _srvsvc_NetGetFileSecurity.

Guenther
(This used to be commit 8b016efeb0bb4cd5d91928952a258fce1b6f97d0)

13 years agoUse pidl for _srvsvc_NetSetFileSecurity.
Günther Deschner [Fri, 7 Mar 2008 23:42:40 +0000 (00:42 +0100)]
Use pidl for _srvsvc_NetSetFileSecurity.

Guenther
(This used to be commit 64a121c147c825259a06a8cd8de85ec31dd5b4a4)

13 years agoAdd netfilegetsec command to rpcclient.
Günther Deschner [Sat, 8 Mar 2008 22:00:09 +0000 (23:00 +0100)]
Add netfilegetsec command to rpcclient.

Guenther
(This used to be commit 8c2c17573c179c774d093d780716e95833cb992f)

13 years agoPrint out the used seed in smbtorture
Volker Lendecke [Sat, 8 Mar 2008 21:29:35 +0000 (22:29 +0100)]
Print out the used seed in smbtorture
(This used to be commit 26d64d22d65938023a4e45c3893e7021e51f4d9c)

13 years agoCorrectly calculate the max read size
Volker Lendecke [Sat, 8 Mar 2008 21:28:01 +0000 (22:28 +0100)]
Correctly calculate the max read size
(This used to be commit f556c9e162e2bc0d16710e994a00edc33a146cd5)

13 years agoMove inbuf handling to before the PDU handling
Volker Lendecke [Fri, 7 Mar 2008 14:03:20 +0000 (15:03 +0100)]
Move inbuf handling to before the PDU handling

In an error case, correctly discard the offending PDU
(This used to be commit 0aa195b5d623e1f26f2a1b9e91323a5ddd3ff282)

13 years agoPass specific packets to build_nmb and build_dgram
Volker Lendecke [Sun, 2 Mar 2008 08:43:19 +0000 (09:43 +0100)]
Pass specific packets to build_nmb and build_dgram

To me it was not clear what parts of struct packet_struct are actually used in
build_packet(). This makes it a bit more clear that only the specific parts are
used.
(This used to be commit eb8b6f2404e49d6a837935c5b411d78fb6ff23ef)

13 years agoFix some typos
Volker Lendecke [Sat, 1 Mar 2008 18:54:17 +0000 (19:54 +0100)]
Fix some typos
(This used to be commit cfa1b838144800c0758969921b8904fd62e46c07)

13 years agoBuild aio_fork by default
Volker Lendecke [Sat, 1 Mar 2008 09:22:04 +0000 (10:22 +0100)]
Build aio_fork by default

... only when --with-aio-support and we can pass file descriptors
(This used to be commit fdf4cd99ccb59e126391253d2091707bc8daee43)

13 years agoRe-run make idl.
Günther Deschner [Fri, 7 Mar 2008 23:28:38 +0000 (00:28 +0100)]
Re-run make idl.

Guenther
(This used to be commit 85007cf3f2e3df67c524cc67442396c114f6b784)

13 years agoFix IDL for srvsvc_NetSetFileSecurity and srvsvc_NetGetFileSecurity.
Günther Deschner [Fri, 7 Mar 2008 23:27:41 +0000 (00:27 +0100)]
Fix IDL for srvsvc_NetSetFileSecurity and srvsvc_NetGetFileSecurity.

Guenther
(This used to be commit 0785acede41301af071db4e8a4c118a44f0454d8)

13 years agoUse pidl for _srvsvc_NetShareAdd.
Günther Deschner [Fri, 7 Mar 2008 23:22:44 +0000 (00:22 +0100)]
Use pidl for _srvsvc_NetShareAdd.

Guenther
(This used to be commit fd3e7728181e7a208706e477905173bec44c982e)

13 years agoRe-run make idl.
Günther Deschner [Fri, 7 Mar 2008 22:55:52 +0000 (23:55 +0100)]
Re-run make idl.

Guenther
(This used to be commit 39e9cfa3018786f176aeb237ea7805da4e576c62)

13 years agoFix IDL for srvsvc_NetShareAdd().
Günther Deschner [Fri, 7 Mar 2008 22:55:01 +0000 (23:55 +0100)]
Fix IDL for srvsvc_NetShareAdd().

Guenther
(This used to be commit 1e7d77766e282c8c20d03d1b1e80346468848ea9)

13 years agoRemove unused marshalling for SRV_NET_NAME_VALIDATE.
Günther Deschner [Fri, 7 Mar 2008 22:50:00 +0000 (23:50 +0100)]
Remove unused marshalling for SRV_NET_NAME_VALIDATE.

Guenther
(This used to be commit 6ffd6c814fafe4112fe72a96a0893d5be06f4380)

13 years agoRemove unused marshalling for SRV_NET_SHARE_DEL.
Günther Deschner [Fri, 7 Mar 2008 22:47:40 +0000 (23:47 +0100)]
Remove unused marshalling for SRV_NET_SHARE_DEL.

Guenther
(This used to be commit 2afae94936d4fbd3b1e804111bff1960c2b852bd)

13 years agoUse rpccli_srvsvc_NetShareDel in net.
Günther Deschner [Fri, 7 Mar 2008 22:45:39 +0000 (23:45 +0100)]
Use rpccli_srvsvc_NetShareDel in net.

Guenther
(This used to be commit 10d457152e8547646353f0f37f51ac92561505ef)

13 years agoUse pidl for _srvsvc_NetNameValidate.
Günther Deschner [Fri, 7 Mar 2008 22:40:00 +0000 (23:40 +0100)]
Use pidl for _srvsvc_NetNameValidate.

Guenther
(This used to be commit 2e1df306785296979ea064006402254e318e946b)

13 years agoAdd netnamevalidate command to rpcclient.
Günther Deschner [Fri, 7 Mar 2008 22:39:34 +0000 (23:39 +0100)]
Add netnamevalidate command to rpcclient.

Guenther
(This used to be commit 140885d3d87ea2de14b3393a7384dff74a4dd44c)

13 years agoconfigure: fix quotation in SMB_LIBRARY for help output.
Michael Adam [Fri, 7 Mar 2008 22:41:05 +0000 (23:41 +0100)]
configure: fix quotation in SMB_LIBRARY for help output.

Michael
(This used to be commit 96f85a48beb7da9c373fc030474020d05c55a18d)

13 years agoUse pidl for _srvsvc_NetShareDel and _srvsvc_NetShareDelSticky.
Günther Deschner [Fri, 7 Mar 2008 22:26:00 +0000 (23:26 +0100)]
Use pidl for _srvsvc_NetShareDel and _srvsvc_NetShareDelSticky.

Guenther
(This used to be commit 73b6587493d9a987a691ece495db9f42ce562efe)

13 years agoUse pidl generated NetShareGet/SetInfo and Enum calls in rpcclient.
Günther Deschner [Fri, 7 Mar 2008 21:55:33 +0000 (22:55 +0100)]
Use pidl generated NetShareGet/SetInfo and Enum calls in rpcclient.

Guenther
(This used to be commit c940c62029fbce5f2b943f0fb06037fc89bfd297)

13 years agoUse pidl for _srvsvc_NetShareGetInfo, _srvsvc_NetShareEnum and srvsvc_NetShareEnumAll.
Günther Deschner [Fri, 7 Mar 2008 15:19:43 +0000 (16:19 +0100)]
Use pidl for _srvsvc_NetShareGetInfo, _srvsvc_NetShareEnum and srvsvc_NetShareEnumAll.

Fixing resume handling while we are there.

Guenther
(This used to be commit 128637bdd7c37ca166a7d478b33b00c39f0ede62)

13 years agoEnable libnetjoin debugging for now but avoid printing passwords.
Günther Deschner [Fri, 7 Mar 2008 17:18:35 +0000 (18:18 +0100)]
Enable libnetjoin debugging for now but avoid printing passwords.

The gen_ndr needs proper fixing still.

Guenther
(This used to be commit 966d7244d7765d285a7026b97e6093fd1f8d83ce)

13 years agoEnable use of Relocations Read-Only, if supported, for enhanced security.
Simo Sorce [Fri, 7 Mar 2008 16:33:26 +0000 (11:33 -0500)]
Enable use of Relocations Read-Only, if supported, for enhanced security.
(This used to be commit c20c5f082162ff6c0c2931f456897334aa002e83)

13 years agoTime to confess...
Michael Adam [Fri, 7 Mar 2008 13:24:53 +0000 (14:24 +0100)]
Time to confess...

Michael
(This used to be commit 4e584c6e3699d8c05b163cc5674af04d106692ba)

13 years agoAdd some more init_srvsvc_NetShareInfoX functions.
Günther Deschner [Fri, 7 Mar 2008 01:59:58 +0000 (02:59 +0100)]
Add some more init_srvsvc_NetShareInfoX functions.

Guenther
(This used to be commit cb3577e695f80d76e4c20f6396d57e3a2047c3c4)

13 years agoRe-run make idl.
Günther Deschner [Fri, 7 Mar 2008 01:59:01 +0000 (02:59 +0100)]
Re-run make idl.

Guenther
(This used to be commit b0cb768287de861f1d1630c9a4c70d9af2a74147)