~ubuntu-branches/ubuntu/maverick/samba/maverick-security

« back to all changes in this revision

Viewing changes to source/lib/smbconf/smbconf.h

  • Committer: Bazaar Package Importer
  • Author(s): Andrew Mitchell
  • Date: 2009-05-18 13:26:04 UTC
  • mfrom: (0.28.5 sid)
  • Revision ID: james.westby@ubuntu.com-20090518132604-ebyuqimgymtr3h0k
Tags: 2:3.3.4-2ubuntu1
* Merge from debian unstable, remaining changes:
  + debian/patches/VERSION.patch:
    - setup SAMBA_VERSION_SUFFIX to Ubuntu.
  + debian/smb.conf:
    - add "(Samba, Ubuntu)" to server string.
    - comment out the default [homes] share, and add a comment about
      "valid users = %S" to show users how to restrict access to
      \\server\username to only username.
    - Set 'usershare allow guests', so that usershare admins are
      allowed to create public shares in addition to authenticated
      ones.
    - add map to guest = Bad user, maps bad username to guest access.
  + debian/samba-common.config:
    - Do not change priority to high if dhclient3 is installed.
    - Use priority medium instead of high for the workgroup question.
  + debian/samba-common.postinst: Add more informative error message for
    the case where smb.conf was manually deleted (LP: #312449)
  + debian/mksambapasswd.awk:
    - Do not add user with UID less than 1000 to smbpasswd.
  + debian/control:
    - Make libwbclient0 replace/conflict with hardy's likewise-open.
    - Don't build against ctdb.
    - Add suggests keyutils for smbfs. (LP: #300221)
  + debian/rules:
    - enable "native" PIE hardening.
    - remove --with-ctdb and --with-cluster-support=yes
  + Add ufw integration:
    - Created debian/samba.ufw profile.
    - debian/rules, debian/samba.dirs, debian/samba.files: install 
      profile
    - debian/control: have samba sugguest ufw.
* Dropped patches:
  + debian/patches/fix-upstream-bug-6186.patch: Merged upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
        char **param_values;
35
35
};
36
36
 
37
 
 
38
 
/**
39
 
 * intialization dispatcher function.
40
 
 * takes source string in the form of "backend:path"
41
 
 */
42
 
WERROR smbconf_init(TALLOC_CTX *mem_ctx, struct smbconf_ctx **conf_ctx,
43
 
                    const char *source);
44
 
 
45
 
/**
46
 
 * initialization functions for the available modules
47
 
 */
48
 
 
49
 
WERROR smbconf_init_reg(TALLOC_CTX *mem_ctx, struct smbconf_ctx **conf_ctx,
50
 
                        const char *path);
51
 
 
52
 
WERROR smbconf_init_txt(TALLOC_CTX *mem_ctx,
53
 
                        struct smbconf_ctx **conf_ctx,
54
 
                        const char *path);
55
 
 
56
37
/*
57
38
 * the smbconf API functions
58
39
 */
 
40
bool smbconf_backend_requires_messaging(struct smbconf_ctx *ctx);
 
41
bool smbconf_is_writeable(struct smbconf_ctx *ctx);
59
42
void smbconf_shutdown(struct smbconf_ctx *ctx);
60
43
bool smbconf_changed(struct smbconf_ctx *ctx, struct smbconf_csn *csn,
61
44
                     const char *service, const char *param);
111
94
WERROR smbconf_delete_includes(struct smbconf_ctx *ctx, const char *service);
112
95
WERROR smbconf_delete_global_includes(struct smbconf_ctx *ctx);
113
96
 
 
97
WERROR smbconf_transaction_start(struct smbconf_ctx *ctx);
 
98
WERROR smbconf_transaction_commit(struct smbconf_ctx *ctx);
 
99
WERROR smbconf_transaction_cancel(struct smbconf_ctx *ctx);
 
100
 
114
101
#endif /*  _LIBSMBCONF_H_  */