1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-31 01:48:16 +03:00

23177 Commits

Author SHA1 Message Date
Michael Adam
90fd5082a2 loadparm: add convenience wrapper lp_kill_all_services()
Michael
(This used to be commit 32bfd131e33d06be9dfaef02b57f5401d2bc7639)
2008-03-12 02:12:34 +01:00
Michael Adam
a3eae3039d loadparm: add a comment
Michael
(This used to be commit 05eda1252572f310499b28123d0f9e4211b7d54c)
2008-03-12 02:12:34 +01:00
Michael Adam
e14e348d06 loadparm: fix a comment typo.
Michael
(This used to be commit 0a619d4dc476c945130fe47126d98cd47b39c34d)
2008-03-12 02:12:33 +01:00
Michael Adam
62c9c6be22 loadparm: add utility function to check for config backend file.
Michael
(This used to be commit 288495ec1a9b0c37bb3f98043f8f8dd946072bac)
2008-03-12 02:12:33 +01:00
Michael Adam
4f739abea5 loadparm: use a function to check for the registry config backend.
Michael
(This used to be commit 4ac52a5a1dfe8f4f22e960db2e4ca99f9e262427)
2008-03-12 02:12:33 +01:00
Jeremy Allison
2e2302259f Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
(This used to be commit 1de05f1a87fcea598021ca485d3ed87005a3be68)
2008-03-11 15:26:22 -07:00
Jeremy Allison
7d2c9c67fd Using Metze's S4 nttrans rename test, the nttrans rename
behaves the same as the trans2 one.
Jeremy.
(This used to be commit c4fa4917dad97c5047f7336c6675739b44da256b)
2008-03-11 15:26:02 -07:00
Stefan Metzmacher
5d3a31fbe1 selftest: samba3 passes RAW-SEARCH now
As the resume key tests are skipped against samba3.

metze
(This used to be commit c765090871ed68a9ba650bca44f5f3b88997ea14)
2008-03-11 22:08:24 +01:00
Jeremy Allison
792c972538 Metze pointed out this we don't need FILE_ATTRIBUTE_READ here.
Jeremy.
(This used to be commit 923aa9f330cb370221af6b66cf0f237a9bd06f8e)
2008-03-11 13:59:04 -07:00
Jeremy Allison
b7a014a6ee 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)
2008-03-11 13:38:25 -07:00
Jeremy Allison
bac7b5b19e 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)
2008-03-11 13:27:33 -07:00
Jeremy Allison
380fcfa600 Fix S3 to pass the test_raw_oplock_exclusive3 test.
Jeremy.
(This used to be commit 028302fac53083d66c969b876db1d831e53b8e35)
2008-03-11 12:37:01 -07:00
Charles
3634d98784 The attached patch removes some global variables, and make them local to main().
(This used to be commit 50cab87d3ee6d701dd8847f4e0a058f5e2d80e0f)
2008-03-11 19:49:08 +01:00
Günther Deschner
b83234cf40 Add some last init_srvsvc_X functions.
Guenther
(This used to be commit 41dc55f1de8590b1bb5572e4adbf9bf960c12a64)
2008-03-11 18:23:34 +01:00
Volker Lendecke
27c07c9861 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)
2008-03-11 17:21:28 +01:00
Volker Lendecke
0e5d6c0d27 Clean up add_mapping_entry slightly
(This used to be commit 38bb69cb316ba605a6d3a4454b986cb63ace3c21)
2008-03-11 17:09:20 +01:00
Volker Lendecke
41bea30dd8 Cleanup after pstring removal
(This used to be commit 66d2a9c87411be88269bbb3a4d3c0a218a55be06)
2008-03-11 17:09:19 +01:00
Volker Lendecke
28244425b2 Convert secrets.c to use dbwrap
(This used to be commit 9d30e5991c6fe77ef5fd505efb756554bbe77256)
2008-03-11 17:09:19 +01:00
Günther Deschner
2a40d67041 Trying to fix resume_handling for srvsvc_NetShareEnumAll.
Guenther
(This used to be commit 874a0ffd7dbd993230c00c503ec6b27fbffb7745)
2008-03-11 11:33:07 +01:00
Günther Deschner
45a3c8275f Allow to send no resume_handle in rpcclient's NetShareEnum* calls.
Guenther
(This used to be commit 7e178a3dc970f55ddb30b4fc467aaaa06ef35b0f)
2008-03-11 11:33:07 +01:00
Michael Adam
67536eddc3 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)
2008-03-11 11:15:50 +01:00
Günther Deschner
2b4378d0c5 Fix return of reg values below HKLM/SOFTWARE/MICROSOFT/WINDOWSNT/CURRENTVERSION.
Michael, please check.

Guenther
(This used to be commit 29ccc0e233bae160f7a6e1b0ff6b6cdda4d0f4ee)
2008-03-11 10:52:32 +01:00
Günther Deschner
b960bc265b Use pidl for _srvsvc_NetDiskEnum.
Guenther
(This used to be commit 933d546f86b48bfd9f84045ec21efc1c362b4d93)
2008-03-11 10:48:52 +01:00
Günther Deschner
e45b6a595c Fix netdiskenum call in rpcclient.
Guenther
(This used to be commit dcbfdd1330cf1c7e8d1b4ebc051db139ed6a0053)
2008-03-11 04:52:46 +01:00
Volker Lendecke
1ebfc66b2c 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)
2008-03-10 21:08:45 +01:00
Volker Lendecke
d634ab06b3 Convert secrets_lock_trust_account_password to talloc
This is preparing the conversion of secrets.c to ctdb
(This used to be commit 1307f0130c47b8d740d2b7afe7a5d8d1a655e2a2)
2008-03-10 21:08:45 +01:00
Volker Lendecke
fe0e5d292d Add dbwrap_trans_store and dbwrap_trans_delete
(This used to be commit e66e502bee65fe44944d325ebeeaa3bf56169eb8)
2008-03-10 21:08:44 +01:00
Volker Lendecke
541b8dec4e 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)
2008-03-10 21:08:44 +01:00
Volker Lendecke
69d67122b2 add dbwrap_change_int32_atomic
(This used to be commit 4ee21a98bc3d1c41a6d8868e98118c58372b2d1a)
2008-03-10 21:08:44 +01:00
Günther Deschner
0c10ab5cc3 Add netconnenum to rpcclient.
Guenther
(This used to be commit 627688c7bac4d3afcc846164c2fefebdbbc10d68)
2008-03-10 18:54:18 +01:00
Günther Deschner
f3a1b56cfe Re-run make idl.
Guenther
(This used to be commit 0bc389272f7ca3cfbd8f5eeeba116f68eadd4c9f)
2008-03-10 18:54:18 +01:00
Günther Deschner
d18e531e97 Fix IDL for srvsvc_NetConnEnum.
Guenther
(This used to be commit 03a3b8b0ed504d392b7503dfe988c22c4943ace6)
2008-03-10 18:54:18 +01:00
Günther Deschner
aa054bd6f3 Add netdiskenum to rpcclient.
Guenther
(This used to be commit 3ef4d6b524d26f2c345321d5a8c9f7526e322ccd)
2008-03-10 18:54:18 +01:00
Michael Adam
9fa02847b7 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)
2008-03-10 17:22:41 +01:00
Michael Adam
080fedd25e loadparm: replace typedef struct {} global/service by struct global/struct service.
Michael
(This used to be commit ab70e781b2d4cc7f8a7f6cf95825f8412d9be2ca)
2008-03-10 17:22:40 +01:00
Michael Adam
ffb45fd8f8 loadparm: fix whitespaces in global and service parameter structs.
Michael
(This used to be commit 10ab0681e60e3b91958639a2b0ad359440076c4a)
2008-03-10 17:22:40 +01:00
Michael Adam
b99ca19040 loadparm: fix spacing in parm_table (training spaces and empty lines).
Michael
(This used to be commit 91aab823fc6ec4c38e3461aae57bec0c6a567150)
2008-03-10 17:22:40 +01:00
Michael Adam
d4c24fff32 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)
2008-03-10 17:22:40 +01:00
Michael Adam
16b8d9436c 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)
2008-03-10 17:22:40 +01:00
Günther Deschner
7e652a254f Remove rpccli_srvsvc_net_file_enum() and cli_srvsvc.c with it.
Guenther
(This used to be commit e4b52133d6109ae6cc0378285e2d46f7077812f1)
2008-03-10 17:14:11 +01:00
Günther Deschner
cfa16eaca0 Use rpccli_srvsvc_NetFileEnum in net and rpcclient.
Guenther
(This used to be commit 348af272f7c0dc0cb316cc06780339dd13eafd0f)
2008-03-10 17:08:55 +01:00
Günther Deschner
6681274645 Re-run make idl.
Guenther
(This used to be commit fd878d7923618904cd54b88aa31d59a7bca5a9f9)
2008-03-10 17:07:37 +01:00
Günther Deschner
89d209719f Fix IDL for srvsvc_NetFileEnum.
Guenther
(This used to be commit 01c73aa9676137349590a9f0a6281b6efe8343a7)
2008-03-10 17:07:05 +01:00
Günther Deschner
663d147aca Remove unused marshalling for SRV_NET_SESS_DEL.
Guenther
(This used to be commit 3bb9ec441ae9702007a5442c52bb9476f928810f)
2008-03-10 16:50:27 +01:00
Günther Deschner
11e4e58f17 Remove unused marshalling for SRV_NET_SHARE_{ENUM,ADD,SETINFO,GETINFO}
Guenther
(This used to be commit e13b9325d251777cd9030f34fa98e22766c0bcfe)
2008-03-10 16:26:56 +01:00
Günther Deschner
b7b89bf808 Convert "net" to use rpccli_srvsvc_NetShare* interfaces everywhere.
Guenther
(This used to be commit 3b21ee37388627c47177f79c16f003da06e8fdd9)
2008-03-10 16:19:25 +01:00
Günther Deschner
758ceaaaaf Use rpccli_srvsvc_NetShareAdd in net.
Guenther
(This used to be commit 6686d97617cc0a630ea1ab1c30f741943f151db6)
2008-03-10 14:46:27 +01:00
Volker Lendecke
b175ffa702 Make use of talloc_asprintf_strupper_m in secrets.c
(This used to be commit 3ac4f935c074af768d0b83514f86d010c387817a)
2008-03-10 09:52:08 +01:00
Volker Lendecke
2e8d375346 Avoid some pointless checks
secrets_init() makes sure that the tdb is initialized
(This used to be commit 8725dbc8888cf7a1d3d9d1205678fcd3ca3c6350)
2008-03-10 09:51:58 +01:00
Volker Lendecke
c2cd0e3c54 Use talloc_tos() in secrets_init
(This used to be commit 27065382d9b692b5885265c9d60ffb7ec7748c38)
2008-03-10 09:51:51 +01:00