correctly. If you have not already installed Samba4, please refer to
section 2 for further information.
-Under your root account, provision the server from the samba4/source
-directory:
+Under your root account, provision the server. Starting from the openchange source
+directory, do the following steps (replacing the domain, realm and adminpass
+arguments with appropriate entries):
-# cd samba4/source4
-# ./setup/provision --domain=OPENCHANGE --realm=OPENCHANGE.LOCAL \
+# samba4/source4/setup/provision --domain=OPENCHANGE --realm=OPENCHANGE.LOCAL \
--adminpass=0Chas7secret --server-role='domain controller'
-If you need to add a user, run the following command from the samba4 directory
- (replacing <username> and <password> with appropriate entries):
-
-# cd ..
-# ./bin/samba-tool newuser <username> <password>
-
-If you are using a Samba4 alpha13 or earlier release, use:
-# ./bin/net newuser <username> <password>
+If you need to add a user, run the following command (replacing <username> and
+<password> with appropriate entries):
+# samba4/bin/samba-tool newuser <username> <password>
[0x5b] Extending Samba AD schema
================================