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
Volker Lendecke
3ac4f935c0
Make use of talloc_asprintf_strupper_m in secrets.c
2008-03-10 09:52:08 +01:00
Volker Lendecke
8725dbc888
Avoid some pointless checks
...
secrets_init() makes sure that the tdb is initialized
2008-03-10 09:51:58 +01:00
Volker Lendecke
27065382d9
Use talloc_tos() in secrets_init
2008-03-10 09:51:51 +01:00
Günther Deschner
2ce76ce2bc
Use rpccli_srvsvc_NetShareGetInfo in 2 places in "net".
...
Guenther
2008-03-10 05:17:09 +01:00
Günther Deschner
0cf761f604
Use rpccli_srvsvc_NetShareEnumAll in smbtree.
...
Guenther
2008-03-10 05:05:37 +01:00
Günther Deschner
6aad05f3f1
Use rpccli_srvsvc_NetShareEnumAll in libsmbclient.
...
Guenther
2008-03-10 04:58:43 +01:00
Günther Deschner
8216310e9f
Remove insane amount of whitespace.
...
Guenther
2008-03-10 04:35:31 +01:00
Günther Deschner
1121633652
Use rpccli_srvsvc_NetShareEnumAll in smbclient.
...
Guenther
2008-03-10 04:33:06 +01:00
Günther Deschner
8168fd583c
Add some srvsvc_NetSessInfo init functions.
...
Guenther
2008-03-10 03:43:40 +01:00
Günther Deschner
f90306bd24
Add netsessenum command to rpcclient.
...
Guenther
2008-03-10 03:43:40 +01:00
Günther Deschner
692626c1ef
Re-run make idl.
...
Guenther
2008-03-10 03:43:39 +01:00
Günther Deschner
35089b53b8
Fix IDL for srvsvc_NetSessEnum().
...
Guenther
2008-03-10 03:43:39 +01:00
Günther Deschner
5e112ff3d7
Add netsessdel command to rpcclient.
...
Guenther
2008-03-10 03:43:39 +01:00
Günther Deschner
8a10bc13ae
Use pidl for _srvsvc_NetSessDel().
...
Guenther
2008-03-10 03:43:39 +01:00
Charles
98b6433660
Fix return code.
2008-03-09 19:52:29 +01:00
Jelmer Vernooij
09e5c6adde
Merge branch 'v3-2-test' of ssh://git.samba.org/data/git/samba into v3-2-test
2008-03-09 13:51:52 +01:00
Charles
c430b7831d
smbget: Make global variables static.
2008-03-09 13:50:56 +01:00
Volker Lendecke
c2401811aa
Fix Coverity ID 551
...
Correctly return if we can't create the temporary krb5.conf
Jeremy, please check!
2008-03-08 23:48:12 +01:00
Günther Deschner
776e21075b
Remove unused marshalling for SRV_NET_FILE_SET_SECDESC and SRV_R_NET_FILE_GET_SECDESC.
...
Guenther
2008-03-08 23:07:00 +01:00
Günther Deschner
8b016efeb0
Use pidl for _srvsvc_NetGetFileSecurity.
...
Guenther
2008-03-08 23:07:00 +01:00
Günther Deschner
64a121c147
Use pidl for _srvsvc_NetSetFileSecurity.
...
Guenther
2008-03-08 23:07:00 +01:00