From 32f1dc699c77ae665d8c8e39d8d9c2c3fb497df9 Mon Sep 17 00:00:00 2001 From: Lebedev Vadim Date: Mon, 18 Mar 2013 18:55:58 +0400 Subject: Add implementation join Samba server into Active Directory Conflicts: manifests/server/share.pp --- README.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 4a57fd7..6bb9a79 100644 --- a/README.md +++ b/README.md @@ -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 -- cgit v1.2.3