method 1: "rsync -avz samba.org::ftp/unpacked/samba_4_0_test/ samba4"
- method 2: "git clone git://git.samba.org/samba.git samba4; cd samba4; git checkout v4-0-test; cd .."
+ method 2: "git clone git://git.samba.org/samba.git samba4; cd samba4 && git checkout -b v4-0-test origin/v4-0-test; cd .."
both methods will create a directory called "samba4" in the current
directory. If you don't have rsync or git then install one of them.
$ cd samba4/source
$ ./configure
- $ make proto all
-
-If you have gcc 3.4 or newer, then substitute "pch" for "proto" to
-greatly speed up the compile process (about 5x faster).
+ $ make
Step 3: install Samba4
----------------------
::
# cd source
- # bin/smbpython ./setup/provision --realm=YOUR.REALM --domain=YOURDOM \
+ # ./setup/provision --realm=YOUR.REALM --domain=YOURDOM \
# --adminpass=SOMEPASSWORD --server-role='domain controller'
-REMINDER: Use the path to smbpython, as the provision command
- will not work with the system python.
-
'YOURDOM' is the NT4 style domain name. 'YOUR.REALM' is your kerberos
realm, which is typically your DNS domain name.
Step 7: testing Samba4
----------------------
-try these commands::
+try this command::
$ smbclient //localhost/test -Uadministrator%SOMEPASSWORD
-or::
-
- $ ./script/tests/test_posix.sh //localhost/test administrator SOMEPASSWORD
-
NOTE about filesystem support
-----------------------------