1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-05 21:57:51 +03:00

23180 Commits

Author SHA1 Message Date
Michael Adam
a398070448 Add a debug message.
Michael
2008-03-12 02:12:34 +01:00
Michael Adam
ce943aeb58 loadparm: add a debug message.
Michael
2008-03-12 02:12:34 +01:00
Michael Adam
b942ff6b7f loadparm: remove services read from smb.conf when starting over for config backend registry.
Michael
2008-03-12 02:12:34 +01:00
Michael Adam
32bfd131e3 loadparm: add convenience wrapper lp_kill_all_services()
Michael
2008-03-12 02:12:34 +01:00
Michael Adam
05eda12525 loadparm: add a comment
Michael
2008-03-12 02:12:34 +01:00
Michael Adam
0a619d4dc4 loadparm: fix a comment typo.
Michael
2008-03-12 02:12:33 +01:00
Michael Adam
288495ec1a loadparm: add utility function to check for config backend file.
Michael
2008-03-12 02:12:33 +01:00
Michael Adam
4ac52a5a1d loadparm: use a function to check for the registry config backend.
Michael
2008-03-12 02:12:33 +01:00
Jeremy Allison
1de05f1a87 Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test 2008-03-11 15:26:22 -07:00
Jeremy Allison
c4fa4917da Using Metze's S4 nttrans rename test, the nttrans rename
behaves the same as the trans2 one.
Jeremy.
2008-03-11 15:26:02 -07:00
Stefan Metzmacher
c765090871 selftest: samba3 passes RAW-SEARCH now
As the resume key tests are skipped against samba3.

metze
2008-03-11 22:08:24 +01:00
Jeremy Allison
923aa9f330 Metze pointed out this we don't need FILE_ATTRIBUTE_READ here.
Jeremy.
2008-03-11 13:59:04 -07:00
Jeremy Allison
632f3fe66f Allow us to pass RAW-RENAME by testing that the connection struct
connection paths are equal, not just the conn structs themselves.
Jeremy.
2008-03-11 13:38:25 -07:00
Jeremy Allison
9065792d4b Try and fix bug #5315, as well as S4 torture tests RAW-OPLOCK BATCH19,
BATCH20 and RAW-RENAME.
Jeremy.
2008-03-11 13:27:33 -07:00
Jeremy Allison
028302fac5 Fix S3 to pass the test_raw_oplock_exclusive3 test.
Jeremy.
2008-03-11 12:37:01 -07:00
Charles
50cab87d3e The attached patch removes some global variables, and make them local to main(). 2008-03-11 19:49:08 +01:00
Günther Deschner
41dc55f1de Add some last init_srvsvc_X functions.
Guenther
2008-03-11 18:23:34 +01:00
Volker Lendecke
8e0fa453a3 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.
2008-03-11 17:21:28 +01:00
Volker Lendecke
38bb69cb31 Clean up add_mapping_entry slightly 2008-03-11 17:09:20 +01:00
Volker Lendecke
66d2a9c874 Cleanup after pstring removal 2008-03-11 17:09:19 +01:00
Volker Lendecke
9d30e5991c Convert secrets.c to use dbwrap 2008-03-11 17:09:19 +01:00
Günther Deschner
874a0ffd7d Trying to fix resume_handling for srvsvc_NetShareEnumAll.
Guenther
2008-03-11 11:33:07 +01:00
Günther Deschner
7e178a3dc9 Allow to send no resume_handle in rpcclient's NetShareEnum* calls.
Guenther
2008-03-11 11:33:07 +01:00
Michael Adam
71bd0bd0ea registry shares: prevent creating regular share called "global".
This is a first quick fix.
Registry shares should be rewritten to use libnet_conf.

Michael
2008-03-11 11:15:50 +01:00
Günther Deschner
29ccc0e233 Fix return of reg values below HKLM/SOFTWARE/MICROSOFT/WINDOWSNT/CURRENTVERSION.
Michael, please check.

Guenther
2008-03-11 10:52:32 +01:00
Günther Deschner
933d546f86 Use pidl for _srvsvc_NetDiskEnum.
Guenther
2008-03-11 10:48:52 +01:00
Günther Deschner
dcbfdd1330 Fix netdiskenum call in rpcclient.
Guenther
2008-03-11 04:52:46 +01:00
Volker Lendecke
f94a63cd8f 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.
2008-03-10 21:08:45 +01:00
Volker Lendecke
1307f0130c Convert secrets_lock_trust_account_password to talloc
This is preparing the conversion of secrets.c to ctdb
2008-03-10 21:08:45 +01:00
Volker Lendecke
e66e502bee Add dbwrap_trans_store and dbwrap_trans_delete 2008-03-10 21:08:44 +01:00
Volker Lendecke
0a55e018dd 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
2008-03-10 21:08:44 +01:00
Volker Lendecke
4ee21a98bc add dbwrap_change_int32_atomic 2008-03-10 21:08:44 +01:00
Günther Deschner
627688c7ba Add netconnenum to rpcclient.
Guenther
2008-03-10 18:54:18 +01:00
Günther Deschner
0bc389272f Re-run make idl.
Guenther
2008-03-10 18:54:18 +01:00
Günther Deschner
03a3b8b0ed Fix IDL for srvsvc_NetConnEnum.
Guenther
2008-03-10 18:54:18 +01:00
Günther Deschner
3ef4d6b524 Add netdiskenum to rpcclient.
Guenther
2008-03-10 18:54:18 +01:00
Michael Adam
f12259d9c4 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
2008-03-10 17:22:41 +01:00
Michael Adam
ab70e781b2 loadparm: replace typedef struct {} global/service by struct global/struct service.
Michael
2008-03-10 17:22:40 +01:00
Michael Adam
10ab0681e6 loadparm: fix whitespaces in global and service parameter structs.
Michael
2008-03-10 17:22:40 +01:00
Michael Adam
91aab823fc loadparm: fix spacing in parm_table (training spaces and empty lines).
Michael
2008-03-10 17:22:40 +01:00
Michael Adam
869a17f1a9 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
2008-03-10 17:22:40 +01:00
Michael Adam
728723dea3 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
2008-03-10 17:22:40 +01:00
Günther Deschner
e4b52133d6 Remove rpccli_srvsvc_net_file_enum() and cli_srvsvc.c with it.
Guenther
2008-03-10 17:14:11 +01:00
Günther Deschner
348af272f7 Use rpccli_srvsvc_NetFileEnum in net and rpcclient.
Guenther
2008-03-10 17:08:55 +01:00
Günther Deschner
fd878d7923 Re-run make idl.
Guenther
2008-03-10 17:07:37 +01:00
Günther Deschner
01c73aa967 Fix IDL for srvsvc_NetFileEnum.
Guenther
2008-03-10 17:07:05 +01:00
Günther Deschner
3bb9ec441a Remove unused marshalling for SRV_NET_SESS_DEL.
Guenther
2008-03-10 16:50:27 +01:00
Günther Deschner
e13b9325d2 Remove unused marshalling for SRV_NET_SHARE_{ENUM,ADD,SETINFO,GETINFO}
Guenther
2008-03-10 16:26:56 +01:00
Günther Deschner
3b21ee3738 Convert "net" to use rpccli_srvsvc_NetShare* interfaces everywhere.
Guenther
2008-03-10 16:19:25 +01:00
Günther Deschner
6686d97617 Use rpccli_srvsvc_NetShareAdd in net.
Guenther
2008-03-10 14:46:27 +01:00