aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorLebedev Vadim <abraham1901@gmail.com>2013-03-18 18:55:58 +0400
committerAdam Jahn <ajjahn@gmail.com>2013-03-19 21:14:30 -0400
commit32f1dc699c77ae665d8c8e39d8d9c2c3fb497df9 (patch)
tree6b2edbb451b76b18c3bbc3a49d591e91e24e2b06 /README.md
parentd612151695cb9121d4aebcdb8a39c0ee87f7c612 (diff)
downloadpuppet-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.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