~ubuntu-branches/ubuntu/vivid/samba/vivid

« back to all changes in this revision

Viewing changes to source4/dsdb/wscript_build

  • Committer: Package Import Robot
  • Author(s): Chuck Short
  • Date: 2011-12-21 13:18:04 UTC
  • mfrom: (0.39.21 sid)
  • Revision ID: package-import@ubuntu.com-20111221131804-xtlr39wx6njehxxr
Tags: 2:3.6.1-3ubuntu1
* Merge from Debian testing.  Remaining changes:
  + debian/patches/VERSION.patch:
    - set SAMBA_VERSION_SUFFIX to Ubuntu.
  + debian/patches/error-trans.fix-276472:
    - Add the translation of Unix Error code -ENOTSUP to NT Error Code
    - NT_STATUS_NOT_SUPPORTED to prevent the Permission denied error.
  + 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/control:
    - Don't build against or suggest ctdb.
    - Add dependency on samba-common-bin to samba.
  + Add ufw integration:
    - Created debian/samba.ufw.profile
    - debian/rules, debian/samba.dirs, debian/samba.files: install
      profile
    - debian/control: have samba suggest ufw
  + Add apport hook:
    - Created debian/source_samba.py.
    - debian/rules, debian/samba.dirs, debian/samba-common-bin.files: install
  + Switch to upstart:
    - Add debian/samba.{nmbd,smbd}.upstart.
  + debian/samba.logrotate, debian/samba-common.dhcp, debian/samba.if-up:
    - Make them upstart compatible
  + debian/samba.postinst: 
    - Avoid scary pdbedit warnings on first import.
  + debian/samba-common.postinst: Add more informative error message for
    the case where smb.conf was manually deleted
  + debian/patches/fix-debuglevel-name-conflict.patch: don't use 'debug_level'
    as a global variable name in an NSS module 
  + Dropped:
    - debian/patches/error-trans.fix-276472
    - debian/patches/fix-debuglevel-name-conflict.patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/env python
 
2
 
 
3
bld.RECURSE('samdb/ldb_modules')
 
4
 
 
5
bld.SAMBA_LIBRARY('samdb',
 
6
        source='samdb/samdb.c samdb/samdb_privilege.c samdb/cracknames.c repl/replicated_objects.c',
 
7
        pc_files='samdb.pc',
 
8
        autoproto='samdb/samdb_proto.h',
 
9
        public_deps='krb5',
 
10
        vnum='0.0.1',
 
11
        deps='ndr NDR_DRSUAPI NDR_DRSBLOBS auth_system_session LIBCLI_AUTH ndr SAMDB_SCHEMA ldbsamba samdb-common LIBCLI_DRSUAPI LIBCLI_LDAP_NDR samba-util com_err authkrb5 credentials ldbwrap',
 
12
        )
 
13
 
 
14
 
 
15
bld.SAMBA_LIBRARY('samdb-common',
 
16
        source='common/util.c common/util_groups.c common/util_samr.c common/dsdb_dn.c common/dsdb_access.c',
 
17
        autoproto='common/proto.h',
 
18
        private_library=True,
 
19
        deps='ldb NDR_DRSBLOBS UTIL_LDB LIBCLI_AUTH samba-hostconfig samba_socket LIBCLI_LDAP_NDR flag_mapping'
 
20
        )
 
21
 
 
22
 
 
23
bld.SAMBA_SUBSYSTEM('SAMDB_SCHEMA',
 
24
        source='schema/schema_init.c schema/schema_set.c schema/schema_query.c schema/schema_syntax.c schema/schema_description.c schema/schema_convert_to_ol.c schema/schema_inferiors.c schema/schema_prefixmap.c schema/schema_info_attr.c schema/schema_filtered.c schema/dsdb_dn.c',
 
25
        autoproto='schema/proto.h',
 
26
        deps='samdb-common NDR_DRSUAPI NDR_DRSBLOBS ldbsamba tevent'
 
27
        )
 
28
 
 
29
 
 
30
bld.SAMBA_MODULE('service_drepl',
 
31
        source='repl/drepl_service.c repl/drepl_periodic.c repl/drepl_partitions.c repl/drepl_out_pull.c repl/drepl_out_helpers.c repl/drepl_notify.c repl/drepl_ridalloc.c repl/drepl_extended.c repl/drepl_fsmo.c repl/drepl_secret.c repl/drepl_replica.c',
 
32
        autoproto='repl/drepl_service_proto.h',
 
33
        subsystem='service',
 
34
        init_function='server_service_drepl_init',
 
35
        deps='samdb process_model RPC_NDR_DRSUAPI',
 
36
        internal_module=False,
 
37
        )
 
38
 
 
39
 
 
40
bld.SAMBA_MODULE('service_kcc',
 
41
        source='kcc/kcc_service.c kcc/kcc_connection.c kcc/kcc_topology.c kcc/kcc_deleted.c kcc/kcc_periodic.c kcc/kcc_drs_replica_info.c',
 
42
        autoproto='kcc/kcc_service_proto.h',
 
43
        subsystem='service',
 
44
        init_function='server_service_kcc_init',
 
45
        deps='samdb process_model RPC_NDR_IRPC RPC_NDR_DRSUAPI',
 
46
        internal_module=False,
 
47
        )
 
48
 
 
49
 
 
50
bld.SAMBA_MODULE('service_dns_update',
 
51
        source='dns/dns_update.c',
 
52
        subsystem='service',
 
53
        init_function='server_service_dnsupdate_init',
 
54
        deps='samdb UTIL_RUNCMD samba-util ldb samdb-common errors talloc auth_system_session samba-hostconfig',
 
55
        internal_module=False
 
56
        )
 
57
 
 
58
bld.SAMBA_PYTHON('python_dsdb',
 
59
        source='pydsdb.c',
 
60
        # the dependency on dcerpc here is because gensec
 
61
        # depends on dcerpc but the waf circular dependency finder
 
62
        # removes it so we end up with unresolved symbols.
 
63
        deps='samdb pyldb-util dcerpc com_err pyrpc_util',
 
64
        realname='samba/dsdb.so'
 
65
        )