aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md28
1 files changed, 28 insertions, 0 deletions
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