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
Günther Deschner
0f64ce0179
Use rpccli_srvsvc_NetShareGetInfo in 2 places in "net".
...
Guenther
(This used to be commit 2ce76ce2bccefb4a072bed039a4837ae334dea55)
2008-03-10 05:17:09 +01:00
Günther Deschner
d09f0d281c
Use rpccli_srvsvc_NetShareEnumAll in smbtree.
...
Guenther
(This used to be commit 0cf761f604975930f38213233e4bbf48d7ae7283)
2008-03-10 05:05:37 +01:00
Günther Deschner
a6fa0ca321
Use rpccli_srvsvc_NetShareEnumAll in libsmbclient.
...
Guenther
(This used to be commit 6aad05f3f12fd6b3276486f60c10f5b3fd3fa17c)
2008-03-10 04:58:43 +01:00
Günther Deschner
d185fb48fb
Remove insane amount of whitespace.
...
Guenther
(This used to be commit 8216310e9f0d7dcccfe761a184a014b7b2ce03c5)
2008-03-10 04:35:31 +01:00
Günther Deschner
251a16c900
Use rpccli_srvsvc_NetShareEnumAll in smbclient.
...
Guenther
(This used to be commit 1121633652ffb77dce8df9cc91b7dfc2d55fd348)
2008-03-10 04:33:06 +01:00
Günther Deschner
032d4fa8ea
Add some srvsvc_NetSessInfo init functions.
...
Guenther
(This used to be commit 8168fd583cfc2ad64e5c1aa67047d8c3c607993a)
2008-03-10 03:43:40 +01:00
Günther Deschner
28d5307034
Add netsessenum command to rpcclient.
...
Guenther
(This used to be commit f90306bd24bc243c8f30a16c0414031d69d05c03)
2008-03-10 03:43:40 +01:00
Günther Deschner
4c67f6c542
Re-run make idl.
...
Guenther
(This used to be commit 692626c1ef46cd27c0df34e2c206d21c929587f4)
2008-03-10 03:43:39 +01:00
Günther Deschner
7ff8d9ddd2
Fix IDL for srvsvc_NetSessEnum().
...
Guenther
(This used to be commit 35089b53b81d8a8aa117d6c1972ccb938170a2b3)
2008-03-10 03:43:39 +01:00
Günther Deschner
64adc15e66
Add netsessdel command to rpcclient.
...
Guenther
(This used to be commit 5e112ff3d7984c278949833a00349a9f523d4b23)
2008-03-10 03:43:39 +01:00
Günther Deschner
ca354276ca
Use pidl for _srvsvc_NetSessDel().
...
Guenther
(This used to be commit 8a10bc13aee7c34f466fa69773694be97f0e7d85)
2008-03-10 03:43:39 +01:00
Charles
ad7c3455ff
Fix return code.
...
(This used to be commit 98b643366044f471ad69c9e5aac06022f30742d9)
2008-03-09 19:52:29 +01:00
Jelmer Vernooij
acc63121ac
Merge branch 'v3-2-test' of ssh://git.samba.org/data/git/samba into v3-2-test
...
(This used to be commit 09e5c6adde5564afc0d1be25f297fbfd284d559f)
2008-03-09 13:51:52 +01:00
Charles
5b8823e49a
smbget: Make global variables static.
...
(This used to be commit c430b7831d5dc6f81cfd18ee2bf24bc3f276fe5d)
2008-03-09 13:50:56 +01:00
Volker Lendecke
87805819f1
Fix Coverity ID 551
...
Correctly return if we can't create the temporary krb5.conf
Jeremy, please check!
(This used to be commit c2401811aa3d02a9e27969687b9ea035407000c3)
2008-03-08 23:48:12 +01:00
Günther Deschner
7192e40dee
Remove unused marshalling for SRV_NET_FILE_SET_SECDESC and SRV_R_NET_FILE_GET_SECDESC.
...
Guenther
(This used to be commit 776e21075b31db605e45f91b6ccefd11412d7773)
2008-03-08 23:07:00 +01:00