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

26495 Commits

Author SHA1 Message Date
Volker Lendecke
b82cf75c82 Fix Coverity ID 473
Simo, S4 also has this bug, you might want to merge the fix.
2008-03-21 11:52:34 +01:00
Volker Lendecke
c9add4d59a Fix Coverity ID 506 2008-03-21 11:48:09 +01:00
Volker Lendecke
4ea5798b97 Fix Coverity ID 507 2008-03-21 11:45:57 +01:00
Volker Lendecke
b19ea3635c Fix Coverity ID 537 2008-03-21 11:42:42 +01:00
Volker Lendecke
d69b8b19ae Fix Coverity ID 538 2008-03-21 11:41:15 +01:00
Volker Lendecke
120d8c889f Fix Coverity ID 547
Günther, please check. If r->in.ads==NULL, we can't call ads_leave_realm at
all.

Thanks,

Volker
2008-03-21 10:40:40 +01:00
Volker Lendecke
e2021c5b57 Fix Coverity ID 548
Günther, please check -- in all infolevels we do a comment=talloc_strdup

Thanks,

Volker
2008-03-21 10:28:33 +01:00
Volker Lendecke
1a0aed566b Fix Coverity IDs 553, 552 2008-03-21 10:22:15 +01:00
Günther Deschner
4689057f63 Add my copyright.
Guenther
2008-03-21 04:16:22 +01:00
Günther Deschner
a5f0186f70 Remove remaining old srvsvc client and server rpc code entirely.
Guenther
2008-03-21 04:16:22 +01:00
Günther Deschner
0244734cc5 Remove double RPC_PARSE_OBJ2 from Makefile.
Guenther
2008-03-21 04:16:22 +01:00
Günther Deschner
4e36657275 Move MAX.*ENTRY definitions out of old rpc srvsvc parsing code.
Guenther
2008-03-21 04:16:21 +01:00
Günther Deschner
54554683d6 Remove unused marshalling for SRV_NET_SESS_ENUM.
Guenther
2008-03-21 04:16:21 +01:00
Günther Deschner
5d14938b14 Use pidl for _srvsvc_NetSessEnum().
Guenther
2008-03-21 04:16:21 +01:00
Günther Deschner
a01588d65f Add support for setting resume handle in netsessenum rpcclient command.
Guenther
2008-03-21 04:16:21 +01:00
Günther Deschner
51467443f7 Remove unused marshalling for SRV_NET_CONN_ENUM.
Guenther
2008-03-21 04:16:21 +01:00
Günther Deschner
b8714e03e7 Use pidl for _srvsvc_NetConnEnum().
Guenther
2008-03-21 04:16:21 +01:00
Günther Deschner
f1b93c24fe Allow to set or unset resume_handle in netconnenum in rpcclient.
Guenther
2008-03-21 04:16:21 +01:00
Michael Adam
1a5e5bf38f libsmbconf: reformaat - fix some whispacing/tabs
Michael
2008-03-21 02:29:09 +01:00
Michael Adam
b3f6920ccb libsmbconf: add backend specific init function.
Hide generic init function taking smbconf_ops argument
from public api.

Michael
2008-03-21 02:25:56 +01:00
Michael Adam
acbd1f40e0 libsmbconf: add shutdown handler to smbconf_ops.
Michael
2008-03-21 02:25:56 +01:00
Michael Adam
24f32d9bd9 libsmbconf: fix comments
Michael
2008-03-21 02:25:56 +01:00
Michael Adam
797b26ad3f libsmbconf: rename smbconf_close() to smbconf_shutdown().
Michael
2008-03-21 02:25:56 +01:00
Michael Adam
d7bd9bb8aa libsmbconf: rename smbconf_open() to smbconf_init().
That's more appropriate.

Michael
2008-03-21 02:25:56 +01:00
Michael Adam
77dbdf82ef libsmbconf: add open and close operations to the smbconf_ops.
Note: currently, reg_init_smbconf opens the registry, but does
not close it. This has to be changed. so that it is closed.
And then libsmbconf will need these open/close functions

Michael
2008-03-21 02:25:56 +01:00
Michael Adam
a857f643d1 libsmbconf: introduce a smbconf_ops layer to allow interchangeable backends.
Michael
2008-03-21 02:25:56 +01:00
Michael Adam
f2d605006c libsmbconf: move smbconf_reg_initialize() down to the smbconf operations.
Michael
2008-03-21 02:25:56 +01:00
Michael Adam
d44c2ef0b7 libsmbconf: add existence check for service to smbconf_delete_share().
Michael
2008-03-21 02:25:56 +01:00
Michael Adam
26208d3e96 libsmbconf: add existence check for service to smbconf_get_share().
Michael
2008-03-21 02:25:56 +01:00
Michael Adam
5dac66c82a libsmbconf: add check for NULL servicename to smbconf_share_exists().
Michael
2008-03-21 02:25:56 +01:00
Michael Adam
103a37ac8e libsmbconf: fix a comment 2008-03-21 02:25:56 +01:00
Michael Adam
9448a7a298 libsmbconf: refactor out registry implementation of smbconf operations.
This leaves most of the api functions mere wrappers except for some
common initial checks.

Michael
2008-03-21 02:25:55 +01:00
Michael Adam
aeaf66c064 libsmbconf: refactor autocreation of [global] into a helper function.
Michael
2008-03-21 02:25:55 +01:00
Michael Adam
a99ee5e536 libsmbconf: put the smbconf context struct into a private header.
Michael
2008-03-21 02:25:55 +01:00
Michael Adam
304dba6cb2 libsmbconf: change the API to always take the smbconf_ctx parameter first.
..for consistency. Exception: the open/init function, where the smbconf_ctx
is created from the given talloc context.

Michael
2008-03-21 02:25:55 +01:00
Michael Adam
7460697ea4 libsmbconf: fix indentation.
Michael
2008-03-21 02:25:55 +01:00
Michael Adam
5b6b90900a libsmbconf: change smbconf_get_seqnum() to smbconf_changed().
The former seqnum is hidden inside a struct smbconf_csn.
And the get_seqnum is united with a changed function that
stores the seqnum inside the given csn.

Michael
2008-03-21 02:25:55 +01:00
Michael Adam
e6b60f6cad libsmbconf: fix a comment
Michael
2008-03-21 02:25:55 +01:00
Volker Lendecke
f65cb5d4b5 A level 25 setuserinfo does change the pwdlastset 2008-03-20 23:19:33 +01:00
Michael Adam
008c4bdbe5 smbd: fix session setup with security = share.
Broken by pstring removal in 9ed12bfc48fe7f9b1863a9dd88e881974083053c.
Jeremy, please check.

Thanks to Yannick Bergeron <yaberger@ca.ibm.com> for noting this.

Michael
2008-03-20 17:00:36 +01:00
Volker Lendecke
4cc09ec406 Fix an uninitialized variable warning 2008-03-20 16:54:05 +01:00
root
ddc989886d Port 3c1f1f0797e from 3-0-ctdb
We need to inform ctdb about the client's TCP connection so that after a fail
over ctdbd can trigger the client to reconnect very quickly
2008-03-20 16:54:05 +01:00
Volker Lendecke
df574fd2ee Fix some warnings in the tsmsm module
Alexander, please check!
2008-03-20 16:54:05 +01:00
Michael Adam
7dc64d1021 loadparm: reenable checking files for updates while in registry configuration.
This is necessary now that includes (to files) are enabled from registry.

Michael
2008-03-20 15:01:52 +01:00
Michael Adam
5c3f14e02f loadparm: remove unneeded include.
libnet.h unneeded after separation of libsmbconf from libnet.

Michael
2008-03-20 15:01:52 +01:00
Michael Adam
6bac03a2ec registry: use available string constant in debug statement.
Michael
2008-03-20 15:01:52 +01:00
Michael Adam
27d67365ad registry: in regdb_init, not only complain about INFO/version, store it...
Michael
2008-03-20 15:01:52 +01:00
Michael Adam
11da885f1e registry: reformat regdb_init() slightly, breaking long lines.
Michael
2008-03-20 15:01:52 +01:00
Michael Adam
504058df97 registry: untangle assignment and if-statement in regdb_init().
Michael
2008-03-20 15:01:52 +01:00
Michael Adam
59fdd30c78 registry: separate initialization of registry data from regdb_init().
Leave this to the users (currently registry_init_smbconf() and
init_registry()) to initialize as much of preliminary registry data
as needed.

Michael
2008-03-20 15:01:52 +01:00