diff options
author | Lebedev Vadim <abraham1901@gmail.com> | 2013-03-18 18:55:58 +0400 |
---|---|---|
committer | Adam Jahn <ajjahn@gmail.com> | 2013-03-19 21:14:30 -0400 |
commit | 32f1dc699c77ae665d8c8e39d8d9c2c3fb497df9 (patch) | |
tree | 6b2edbb451b76b18c3bbc3a49d591e91e24e2b06 /README.md | |
parent | d612151695cb9121d4aebcdb8a39c0ee87f7c612 (diff) | |
download | puppet-samba-32f1dc699c77ae665d8c8e39d8d9c2c3fb497df9.tar.gz puppet-samba-32f1dc699c77ae665d8c8e39d8d9c2c3fb497df9.tar.bz2 |
Add implementation join Samba server into Active Directory
Conflicts:
manifests/server/share.pp
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 28 |
1 files changed, 28 insertions, 0 deletions
@@ -43,6 +43,34 @@ Tweak and add the following to your site manifest: } } +If you want join Samba server to Active Directory. Tested on Ubuntu 12.04. + + node 'server.example.com' { + class {'samba::server': + workgroup => 'example', + server_string => "Example Samba Server", + interfaces => "eth0 lo", + security => 'ads' + } + + samba::server::share {'ri-storage': + comment => 'RBTH User Storage', + path => "$smb_share", + browsable => true, + writable => true, + create_mask => 0770, + directory_mask => 0770, + } + + class { 'samba::server::ads': + winbind_acct => $::domain_admin, + winbind_pass => $::admin_password, + realm => 'EXAMPLE.COM', + nsswitch => true, + target_ou => "Nix_Mashine" + } + } + Most configuration options are optional. ## Contributing |