Echowell Zone-7
|
|
Bookmark Echowell Zone-7 |
About Echowell Zone-7Here you can find all about Echowell Zone-7 like manual and other informations. For example: review.
Echowell Zone-7 manual (user guide) is ready to download for free.
On the bottom of page users can write a review. If you own a Echowell Zone-7 please write about it to help other people. [ Report abuse or wrong photo | Share your Echowell Zone-7 photo ]
Manual
Preview of first few manual pages (at low quality). Check before download. Click to enlarge.
Download
(English)Echowell Zone-7, size: 439 KB |
Related manuals Echowell Zone-7 Autre Notice |
Echowell Zone-7
User reviews and opinions
| REDale |
11:33am on Saturday, September 25th, 2010 ![]() |
| Not like the old customer service My family was very excited to upgrade from the Playstation 2 console to all the great things that can be done with a... Disk Read problem 2 months After Warranty Expiration This was a very exciting game system for my son. Bought 1 year and 2 months ago. Possibly a must-own device to have in your home! Having upgraded to the latest PlayStation 3 Slim. | |
| geckoface |
6:32am on Wednesday, September 1st, 2010 ![]() |
| Good Graphics. Sports, Great Graphics, Lots of Game Choices, Fun For All Ages Older Models can freeze, Online not as good xbox the ps3250 is just plain awesomethis.[...]it just doesnt get any better than this.t[...] Fun For All Ages, Great Graphics, Easy To Set Up. | |
| bobsuruncle |
4:43pm on Sunday, August 29th, 2010 ![]() |
| A review from someone who owns all three next gen consoles I own all three next gen consoles and have nothing bad to say about any of them at all. | |
| Mary Hinck |
12:45am on Tuesday, July 13th, 2010 ![]() |
| Nice looking in its new sleeker format. Excellent features, though it does take time to explore and understand all of the PS3 features | |
| Xmucane |
2:41pm on Wednesday, May 26th, 2010 ![]() |
| Its nice and does what it says. This is very nice the remote is universal and works with other items as well was easy to set up and we were able to get this online to play games and ... My son says it is a great gameing system, and has blue ray also. Performs great. Came with remote and hdmi cable, a plus. | |
| niam |
2:34pm on Sunday, May 23rd, 2010 ![]() |
| I dont know how I got a long in life without my Sony Playstation 3. Purchased this ps3 to go along with the lg 55lh55 lcd that I ordered from Vanns. The ps3 deffinately lives up to its billing It Only Does Everything! This console is great! Im not much on gaming but I use the Bluray portion of the console alot. The picture and sound quality are awesome! this was an excellent buy i was very satisfied great tv | |
Comments posted on www.ps2netdrivers.net are solely the views and opinions of the people posting them and do not necessarily reflect the views or opinions of us.
Documents

Last Updated: April 02, 2009 Copyright 2009 - Adam G. Sweeney - All Rights Reserved Get this Document as a PDF File
MSI Software Distribution
Install MSI/EXE, Patch Mgmt, Asset Mgmt & Remote Control. Free Trial
Full Data Encryption
Protect Data Across the Enterprise Try SafeGuard Easy for Free!
Automated Samba + LDAP Installation For FreeBSD 7.1 Overview
The following is a description of the automated Samba + LDAP installation script I have put together for FreeBSD 7.1. The script automates the process of setting up a Samba v3 server with an OpenLDAP v2.4 backend as a Primary Domain Controller with as little interaction as possible. During the scripted installation you will be prompted for your root password three times and asked to hit ok twice. The entire process should take approximately 30 minutes from start to finish depending on the speed of your internet connection. Yes folks, you read that right. The current revision of the script can be found at: { https://svn.sourceforge.net/svnroot/autosambaldap/MAINSCRIPT/gen_setup.sh } Once installed you can add users via the command-line (see: /root/adduser_example.txt) or with Microsoft User Manager for Domains (USRMGR.exe) from the Windows 2003 Resource Kit. { http://download.microsoft.com/download/a/8/b/a8bc2027f25c-438e-b763-bbef1dbdbf4b/usrmgr.msi }
Prerequisites
A fresh installation of FreeBSD 7.1 (Minimal Installation) with a configured network and a working internet connection. A "/home" directory that will be used for the storage of user data.
Disk Layout
This script assumes that you will have a mount-point /home/ that will be used as the location of your user data storage. The system software will fit on a partition of < 1GiB. On my own system I am using a 1GiB Solid State Disk for this and the operating system uses 652MB on a fully configured system. For my /home/ I am using a pair of 160GiB SATA disks in a ZFS mirror. I will have to look into some logging issues at some point in the near future with this configuration because as we all know log files can and will eat up a lot of space. For my testing I have a bootable USB thumb drive with an installation of FreeBSD that I "dd" to my SSD each time rather than reinstalling for each test.
#!/bin/sh /bin/dd if=/dev/da0 of=/dev/ad0 bs=1M /sbin/fsck /dev/ad0s1a /sbin/mount /dev/ad0s1a /mnt /usr/bin/sed -e 's/da0s1a/ad0s1a/g' /mnt/etc/fstab >> /mnt/etc/fstab.new /bin/mv /mnt/etc/fstab.new /mnt/etc/fstab /sbin/halt
I setup my /home/ with the following script that is not part of the installation script that is being discussed in this document. This is why the script has some ZFS specific settings included in it.
#!/bin/sh
/bin/rm -rf /home /sbin/zpool import home /sbin/zpool destroy home /sbin/zpool create home mirror ad4 ad6 /sbin/zpool status /bin/chmod 0777 /home exit 0
Network Setup
You must configure your new server with a three part name. { i.e. hostname.domain.root } This is required because of the way that I wrote the automated install script and how it handles the configuration files. You should also assign a static IPv4 address to your new server. Instructions on how to properly configure your network are beyond the scope of this document.
Installed Software
The following is a list of packages that will be installed with this setup script: ( pkg_info |awk '{print $1}' )
bind9-9.3.5.2 cups-base-1.3.9_2 db46-4.6.21.1 gettext-0.17_1 gnutls-2.4.2_1 ja-p5-Jcode-2.07 jpeg-6b_7 krb5-1.6.3_5 libexecinfo-1.1_2 libgcrypt-1.4.1_1 libgpg-error-1.6_1 libiconv-1.11_1 libltdl-1.5.26 libxml2-2.6.32 lighttpd-1.4.19_3 nss_ldap-1.257 openldap-client-2.4.11 openldap-server-2.4.11_1 openssh-portable-5.0.p1,1 openssl-0.9.8h_1 p5-Authen-SASL-2.12 p5-Convert-ASN1-0.21 p5-Crypt-SmbHash-0.12 p5-Digest-HMAC-1.01 p5-Digest-MD5-2.36_1 p5-Digest-SHA1-2.11 p5-GSSAPI-0.26 p5-IO-Socket-SSL-1.15 p5-Net-SSLeay-1.35 p5-Text-Iconv-1.7 p5-URI-1.37 p5-Unicode-Map-0.112 p5-Unicode-Map8-0.12 p5-Unicode-MapUTF8-1.11 p5-Unicode-String-2.09 p5-XML-Filter-BufferText-1.01 p5-XML-NamespaceSupport-1.09_1 p5-XML-SAX-0.96 p5-XML-SAX-Writer-0.50 p5-perl-ldap-0.36 pam_ldap-1.8.4 pcre-7.7_1 perl-5.8.8_1 php5-5.2.8 php5-gettext-5.2.8 php5-ldap-5.2.8 pkg-config-0.23_1 png-1.2.32 popt-1.7_5 samba-3.0.32_2,1 smbldap-tools-0.9.5 tiff-3.8.2_2 wget-1.11.2_1
The Auto Install Script
In this section I will briefly explain each section of the script and what it does to your server. We start off by getting information about our current configuration. We will use this information as variables in our script later.
# INSTALLER VERSION NUMBER # VersionInfo="040209.1_GENERIC" # # SET DEFAULT VARIABLES FROM CURRENT HOST CONFIGURATION. # myDomainHost=`hostname -f | awk '{gsub(/\./," ");print $1}'` myDomainSub=`hostname -f | awk '{gsub(/\./," ");print $2}'` myDomainRoot=`hostname -f | awk '{gsub(/\./," ");print $3}'` myInterface=`/usr/bin/netstat -inW -f link | grep -E "<Link#1>" | awk '{print $1}'` myNetwork=`ifconfig |grep -E 'inet.[0-9]' |grep -v '127.0.0.1' |awk '{print $6}'| sed 's/'255'//'` myDNSNet=`ifconfig |grep -E 'inet.[0-9]' |grep -v '127.0.0.1' |awk '{print $6}'| sed 's/'255'/0\/24/'` shortName=`hostname -s` myNETBIOSName=`hostname -s |awk '{gsub("[A-Z]","_&"); print }' | tr '[a-z]' '[A-Z]'` myWorkGroupName=`hostname -f | awk '{gsub(/\./," ");print $2}'|awk ' { gsub("[A-Z]","_&"); print }' | tr '[a-z]' '[A-Z]'` longName=`hostname -f` myIP=`ifconfig | grep -E 'inet.[0-9]' | grep -v '127.0.0.1' | awk '{ print $2}'` domainName=`echo "$longName" |sed 's/'$shortName'//'` currentUser=`/usr/bin/whoami` #
Run a few basic checks to ensure that you should be running this script in the first place.
# CHECK TO MAKE SURE THAT THE CURRENT USER IS THE ROOT USER # if [ "$currentUser" != "root" ]; then echo "You must run this Script as \"root\"" exit 0 else clear echo "Starting Scripted Setup." sleep.3 clear fi #
Next we check to see that the user has configured the server with a proper three part naming scheme. Note: The naming scheme is important to us because later on in the script we have to set values for the LDAP server configuration that rely on the existence of the second and third parts of the FQDN.
# CHECK FOR PROPER FQDN NAME - BAIL IF NOT CORRECT # clear DIALOG=${DIALOG=/usr/bin/dialog} fqdnstring=`hostname -f | awk '{gsub(/\./," ");print}'` mynum="0" for _name in $fqdnstring; do mynum=`expr $mynum + 1` done if [ "$mynum" != "3" ]; then $DIALOG --title "ERROR" \ --msgbox "YOU DO NOT HAVE A PROPER FQDN\n\ THIS SCRIPT REQUIRES A THREE PART PATTERN\n\ EXAMPLE: THIS_HOST.DOMAIN.ROOT" -1 -1 exit 3 fi #
As out last test, we check to see if our "setup.log" file exists in the /root/ directory. We create this log file during setup and although the user may have deleted it, it is a simple check to see if the script has been run already. I had considered looking at the output of pkg_info to see that no packages had been installed which would insure that this was a virgin machine and I may at some point choose to go that direction.
# CHECK TO MAKE SURE THAT THE SCRIPT HAS NOT ALREADY BEEN RUN ON THIS MACHINE # (CHECK FOR THE EXISTANCE OF THE SETUP LOG WE CREATE) # if [ -f /root/setup.log ] ; then clear
echo echo echo echo echo exit fi #
"SETUP HAS ALREADY RUN ON THIS MACHINE" "*************************************" "YOU CAN NOT RE-RUN THE SCRIPT - IT WILL FAIL" "AND LEAVE YOUR MACHINE IN AN UNUSABLE STATE." 20
Display a dialog prompting the user to continue - this is the last chance that the user has to bail out of this scripted setup.
# BEGIN INSTALLATION PROCESS # $DIALOG --title "SCRIPTED FILE SERVER SETUP" --clear \ --yesno "THIS SCRIPT WILL INSTALL AND CONFIGURE YOUR SERVER\n\ AS A SAMBA FILE SERVER WITH A LDAP BACKEND. \n\n \ ARE YOU SURE YOU WANT TO DO THIS?" -1 -1 case $? in 0) clear echo "STARTING AUTOMATED SETUP.";; 1) clear echo "EXITING SETUP NOW." exit 1;; 255) clear echo "ESC HAS BEEN PRESSED" echo "EXITING SETUP NOW." exit 1;; esac #
Next we setup the /etc/hosts file with our system information.
$DIALOG --title "RUNNING AUTOMATED SETUP" \ --infobox "SETTING UP HOSTS FILE" -1 -1 # Setup echo echo echo echo up our hosts file based on current configuration of the network. "::1 localhost localhost$domainName" >/etc/hosts "127.0.0.1 localhost localhost$domainName" >>/etc/hosts "$myIP $longName $shortName" >>/etc/hosts "$myIP $longName." >>/etc/hosts
It is finally time to start installing packages. These are a few that we need to add early on.
# Get some essential stuff. $DIALOG --title "RUNNING AUTOMATED SETUP" \ --infobox "INSTALLING wget" -1 -1 stty -echo pkg_add -r wget >/root/setup.log 2>&1 $DIALOG --title "RUNNING AUTOMATED SETUP" \ --infobox "INSTALLING libxml2" -1 -1 stty -echo pkg_add -r libxml2 >>/root/setup.log 2>&1 # INSTALL db46 EARLY OR DEPS WILL INSTALL db41 and db46 $DIALOG --title "RUNNING AUTOMATED SETUP" \ --infobox "INSTALLING db46" -1 -1 stty -echo pkg_add -r db46 >>/root/setup.log 2>&1 # Must have "pcre" for things to compile correctly later. $DIALOG --title "RUNNING AUTOMATED SETUP" \ --infobox "INSTALLING pcre" -1 -1 stty -echo pkg_add -r pcre >>/root/setup.log 2>&1
$DIALOG --title "RUNNING AUTOMATED SETUP" \ --infobox "INSTALLING openssh-portable" -1 -1 stty -echo pkg_add -r openssh-portable >>/root/setup.log 2>&1
Now it is time to install BIND v9 - the DNS server. We will install it, and configure it with a simple configuration using the information that we already know about our system. This is just enough configuration so that the machine will be able to resolve its own name on the LAN. You may want to do some reading and change these settings more to your liking.
########################## # Create named.conf file # ########################## mynamedConf="/etc/namedb/named.conf" echo '// Generated by AUTOMATED SETUP' >$mynamedConf echo ' '>>$mynamedConf echo 'options {'>>$mynamedConf echo ' // Relative to the chroot directory, if any'>>$mynamedConf echo ' directory "/etc/namedb";'>>$mynamedConf echo ' pid-file "/var/run/named/pid";'>>$mynamedConf echo ' dump-file "/var/dump/named_dump.db";'>>$mynamedConf echo ' statistics-file "/var/stats/named.stats";'>>$mynamedConf echo ''>>$mynamedConf echo '};'>>$mynamedConf echo ''>>$mynamedConf echo '// RFC 1912'>>$mynamedConf echo 'zone "localhost" { type master; file "master/localhost-forward.db"; };'>>$mynamedConf echo 'zone "127.in-addr.arpa" { type master; file "master/localhost-reverse.db"; };'>>$mynamedConf echo 'zone "255.in-addr.arpa" { type master; file "master/empty.db"; };'>>$mynamedConf echo ''>>$mynamedConf echo '// RFC 1912-style zone for IPv6 localhost address'>>$mynamedConf echo 'zone "0.ip6.arpa" { type master; file "master/localhost-reverse.db"; };'>>$mynamedConf echo ''>>$mynamedConf echo '// "This" Network (RFCs 1912 and 3330)'>>$mynamedConf echo 'zone "0.in-addr.arpa" { type master; file "master/empty.db"; };'>>$mynamedConf echo ''>>$mynamedConf echo '// Private Use Networks (RFC 1918)'>>$mynamedConf echo 'zone "10.in-addr.arpa" { type master; file "master/empty.db"; };'>>$mynamedConf echo 'zone "16.172.in-addr.arpa" { type master; file "master/empty.db"; };'>>$mynamedConf echo 'zone "17.172.in-addr.arpa" { type master; file "master/empty.db"; };'>>$mynamedConf echo 'zone "18.172.in-addr.arpa" { type master; file "master/empty.db"; };'>>$mynamedConf echo 'zone "19.172.in-addr.arpa" { type master; file "master/empty.db"; };'>>$mynamedConf echo 'zone "20.172.in-addr.arpa" { type master; file "master/empty.db"; };'>>$mynamedConf echo 'zone "21.172.in-addr.arpa" { type master; file "master/empty.db"; };'>>$mynamedConf echo 'zone "22.172.in-addr.arpa" { type master; file "master/empty.db"; };'>>$mynamedConf echo 'zone "23.172.in-addr.arpa" { type master; file "master/empty.db"; };'>>$mynamedConf echo 'zone "24.172.in-addr.arpa" { type master; file "master/empty.db"; };'>>$mynamedConf echo 'zone "25.172.in-addr.arpa" { type master; file "master/empty.db"; };'>>$mynamedConf echo 'zone "26.172.in-addr.arpa" { type master; file "master/empty.db"; };'>>$mynamedConf echo 'zone "27.172.in-addr.arpa" { type master; file "master/empty.db"; };'>>$mynamedConf echo 'zone "28.172.in-addr.arpa" { type master; file "master/empty.db"; };'>>$mynamedConf echo 'zone "29.172.in-addr.arpa" { type master; file "master/empty.db"; };'>>$mynamedConf echo 'zone "30.172.in-addr.arpa" { type master; file "master/empty.db"; };'>>$mynamedConf echo 'zone "31.172.in-addr.arpa" { type master; file "master/empty.db"; };'>>$mynamedConf echo 'zone "168.192.in-addr.arpa" { type master; file "master/empty.db"; };'>>$mynamedConf echo ''>>$mynamedConf echo '// Link-local/APIPA (RFCs 3330 and 3927)'>>$mynamedConf echo 'zone "254.169.in-addr.arpa" { type master; file "master/empty.db"; };'>>$mynamedConf echo ''>>$mynamedConf echo '// TEST-NET for Documentation (RFC 3330)'>>$mynamedConf echo 'zone "2.0.192.in-addr.arpa" { type master; file "master/empty.db"; };'>>$mynamedConf echo ''>>$mynamedConf echo '// Router Benchmark Testing (RFC 3330)'>>$mynamedConf echo 'zone "18.198.in-addr.arpa" { type master; file "master/empty.db"; };'>>$mynamedConf echo 'zone "19.198.in-addr.arpa" { type master; file "master/empty.db"; };'>>$mynamedConf echo ''>>$mynamedConf echo '// IANA Reserved - Old Class E Space'>>$mynamedConf echo 'zone "240.in-addr.arpa" { type master; file "master/empty.db"; };'>>$mynamedConf echo 'zone "241.in-addr.arpa" { type master; file "master/empty.db"; };'>>$mynamedConf echo 'zone "242.in-addr.arpa" { type master; file "master/empty.db"; };'>>$mynamedConf echo 'zone "243.in-addr.arpa" { type master; file "master/empty.db"; };'>>$mynamedConf echo 'zone "244.in-addr.arpa" { type master; file "master/empty.db"; };'>>$mynamedConf echo 'zone "245.in-addr.arpa" { type master; file "master/empty.db"; };'>>$mynamedConf echo 'zone "246.in-addr.arpa" { type master; file "master/empty.db"; };'>>$mynamedConf echo 'zone "247.in-addr.arpa" { type master; file "master/empty.db"; };'>>$mynamedConf echo 'zone "248.in-addr.arpa" { type master; file "master/empty.db"; };'>>$mynamedConf echo 'zone "249.in-addr.arpa" { type master; file "master/empty.db"; };'>>$mynamedConf echo 'zone "250.in-addr.arpa" { type master; file "master/empty.db"; };'>>$mynamedConf echo 'zone "251.in-addr.arpa" { type master; file "master/empty.db"; };'>>$mynamedConf echo 'zone "252.in-addr.arpa" { type master; file "master/empty.db"; };'>>$mynamedConf echo 'zone "253.in-addr.arpa" { type master; file "master/empty.db"; };'>>$mynamedConf echo 'zone "254.in-addr.arpa" { type master; file "master/empty.db"; };'>>$mynamedConf
echo ''>>$mynamedConf echo '// IPv6 Unassigned Addresses (RFC 4291)'>>$mynamedConf echo 'zone "1.ip6.arpa" { type master; file "master/empty.db"; echo 'zone "3.ip6.arpa" { type master; file "master/empty.db"; echo 'zone "4.ip6.arpa" { type master; file "master/empty.db"; echo 'zone "5.ip6.arpa" { type master; file "master/empty.db"; echo 'zone "6.ip6.arpa" { type master; file "master/empty.db"; echo 'zone "7.ip6.arpa" { type master; file "master/empty.db"; echo 'zone "8.ip6.arpa" { type master; file "master/empty.db"; echo 'zone "9.ip6.arpa" { type master; file "master/empty.db"; echo 'zone "a.ip6.arpa" { type master; file "master/empty.db"; echo 'zone "b.ip6.arpa" { type master; file "master/empty.db"; echo 'zone "c.ip6.arpa" { type master; file "master/empty.db"; echo 'zone "d.ip6.arpa" { type master; file "master/empty.db"; echo 'zone "e.ip6.arpa" { type master; file "master/empty.db"; echo 'zone "0.f.ip6.arpa" { type master; file "master/empty.db"; echo 'zone "1.f.ip6.arpa" { type master; file "master/empty.db"; echo 'zone "2.f.ip6.arpa" { type master; file "master/empty.db"; echo 'zone "3.f.ip6.arpa" { type master; file "master/empty.db"; echo 'zone "4.f.ip6.arpa" { type master; file "master/empty.db"; echo 'zone "5.f.ip6.arpa" { type master; file "master/empty.db"; echo 'zone "6.f.ip6.arpa" { type master; file "master/empty.db"; echo 'zone "7.f.ip6.arpa" { type master; file "master/empty.db"; echo 'zone "8.f.ip6.arpa" { type master; file "master/empty.db"; echo 'zone "9.f.ip6.arpa" { type master; file "master/empty.db"; echo 'zone "a.f.ip6.arpa" { type master; file "master/empty.db"; echo 'zone "b.f.ip6.arpa" { type master; file "master/empty.db"; echo 'zone "0.e.f.ip6.arpa" { type master; file "master/empty.db"; echo 'zone "1.e.f.ip6.arpa" { type master; file "master/empty.db"; echo 'zone "2.e.f.ip6.arpa" { type master; file "master/empty.db"; echo 'zone "3.e.f.ip6.arpa" { type master; file "master/empty.db"; echo 'zone "4.e.f.ip6.arpa" { type master; file "master/empty.db"; echo 'zone "5.e.f.ip6.arpa" { type master; file "master/empty.db"; echo 'zone "6.e.f.ip6.arpa" { type master; file "master/empty.db"; echo 'zone "7.e.f.ip6.arpa" { type master; file "master/empty.db"; echo ''>>$mynamedConf echo '// IPv6 ULA (RFC 4193)'>>$mynamedConf echo 'zone "c.f.ip6.arpa" { type master; file "master/empty.db"; echo 'zone "d.f.ip6.arpa" { type master; file "master/empty.db"; echo ''>>$mynamedConf echo '// IPv6 Link Local (RFC 4291)'>>$mynamedConf echo 'zone "8.e.f.ip6.arpa" { type master; file "master/empty.db"; echo 'zone "9.e.f.ip6.arpa" { type master; file "master/empty.db"; echo 'zone "a.e.f.ip6.arpa" { type master; file "master/empty.db"; echo 'zone "b.e.f.ip6.arpa" { type master; file "master/empty.db"; echo ''>>$mynamedConf echo '// IPv6 Deprecated Site-Local Addresses (RFC 3879)'>>$mynamedConf echo 'zone "c.e.f.ip6.arpa" { type master; file "master/empty.db"; echo 'zone "d.e.f.ip6.arpa" { type master; file "master/empty.db"; echo 'zone "e.e.f.ip6.arpa" { type master; file "master/empty.db"; echo 'zone "f.e.f.ip6.arpa" { type master; file "master/empty.db"; echo ''>>$mynamedConf echo '// IP6.INT is Deprecated (RFC 4159)'>>$mynamedConf echo 'zone "ip6.int" { type master; file "master/empty.db"; echo ''>>$mynamedConf cat /etc/namedb/rndc.key >> /etc/namedb/named.conf echo ''>>$mynamedConf # Customize this section with variables. echo 'zone "'$myDomain'" {'>>$mynamedConf echo ' type master;'>>$mynamedConf echo ' allow-update {'>>$mynamedConf echo ' key "rndc-key";'>>$mynamedConf echo ' };'>>$mynamedConf echo ' file "master/'$myDomain'.db";'>>$mynamedConf echo '};'>>$mynamedConf
};'>>$mynamedConf };'>>$mynamedConf };'>>$mynamedConf };'>>$mynamedConf };'>>$mynamedConf };'>>$mynamedConf };'>>$mynamedConf };'>>$mynamedConf };'>>$mynamedConf };'>>$mynamedConf };'>>$mynamedConf };'>>$mynamedConf };'>>$mynamedConf };'>>$mynamedConf };'>>$mynamedConf };'>>$mynamedConf };'>>$mynamedConf };'>>$mynamedConf };'>>$mynamedConf };'>>$mynamedConf };'>>$mynamedConf };'>>$mynamedConf };'>>$mynamedConf };'>>$mynamedConf };'>>$mynamedConf };'>>$mynamedConf };'>>$mynamedConf };'>>$mynamedConf };'>>$mynamedConf };'>>$mynamedConf };'>>$mynamedConf };'>>$mynamedConf };'>>$mynamedConf };'>>$mynamedConf };'>>$mynamedConf };'>>$mynamedConf };'>>$mynamedConf };'>>$mynamedConf };'>>$mynamedConf };'>>$mynamedConf };'>>$mynamedConf };'>>$mynamedConf };'>>$mynamedConf };'>>$mynamedConf
# Create our initial ZONE file for this server epochserial=`date +%s` myRealm=`hostname | awk '{gsub(/\./," ");print $2"."$3}'|awk ' { gsub("[A-Z]","_&"); print }' | tr '[a-z]' '[A-Z]'` mydnsDB="/etc/namedb/master/$myDomain.db" echo '; echo echo echo echo echo echo echo echo echo echo echo echo echo echo echo BIND db file for '$myRealm >$mydnsDB ' '>>$mydnsDB '$TTL 86400'>>$mydnsDB ' '>>$mydnsDB '@ IN SOA '$longName'. root'$domainName'. ('>>$mydnsDB ' '$epochserial' ; serial number'>>$mydnsDB ' 28800 ; Refresh'>>$mydnsDB ' 7200 ; Retry'>>$mydnsDB ' 864000 ; Expire'>>$mydnsDB ' 86400 ; Min TTL'>>$mydnsDB ' )'>>$mydnsDB ' '>>$mydnsDB ' NS '$longName'.'>>$mydnsDB ' '>>$mydnsDB '$ORIGIN '$myDomain'. '>>$mydnsDB '; Domain Host Records '>>$mydnsDB
echo echo echo echo echo echo echo echo echo echo echo echo
''>>$mydnsDB 'localhost $shortName' IN 'kerberos ''>>$mydnsDB ';Kerberos Records'>>$mydnsDB ''>>$mydnsDB '_kerberos._udp IN '_kerberos._tcp IN '_kpasswd._udp '_kerberos-adm._tcp IN '_kerberos
IN A IN
A CNAME
127.0.0.1'>>$mydnsDB '$myIP >>$mydnsDB '$shortName >>$mydnsDB
SRV SRV IN SRV
88 kerberos'$domainName'.'>>$mydnsDB 88 kerberos'$domainName'.'>>$mydnsDB SRV 464 kerberos'$domainName'.'>>$mydnsDB 749 kerberos'$domainName'.'>>$mydnsDB IN TXT '$myRealm >>$mydnsDB
After that last bit you may start to see why I am automating this.
Next on the list of things to do is set the appropriate permissions on the home directory and create a temporary working directory. This step is especially important if you have created a ZFS storage pool as you location for the user data.
$DIALOG --title "RUNNING AUTOMATED SETUP" \ --infobox "SETTING PERMISSIONS ON \"HOME\"" -1 -1 stty -echo chmod a+rwx /home mkdir /home/temp cd /home/temp
Install a few more packages, do some minimal configuration to Kerberos (this is not really needed), and create the directory for the smbldap-tools package because it is broken and will not install right if we don't.
$DIALOG --title "RUNNING AUTOMATED SETUP" \ --infobox "INSTALLING openldap24-client" -1 -1 stty -echo pkg_add -r openldap24-client $DIALOG --title "RUNNING AUTOMATED SETUP" \ --infobox "INSTALLING pam_ldap" -1 -1 stty -echo pkg_add -r pam_ldap >>/root/setup.log 2>&1 $DIALOG --title "RUNNING AUTOMATED SETUP" \ --infobox "INSTALLING KERBEROS v5" -1 -1 stty -echo pkg_add -r krb5 >>/root/setup.log 2>&1 # Create /etc/krb5.conf echo '[libdefaults]' >/etc/krb5.conf echo ' default_realm = '$myRealm >>/etc/krb5.conf # More Configuration Needed Here ^^^^^ $DIALOG --title "RUNNING AUTOMATED SETUP" \ --infobox "FETCHING SAMBA PACKAGES\n\ FROM REMOTE SERVERS" -1 -1 $DIALOG --title "RUNNING AUTOMATED SETUP" \ --infobox "INSTALLING SAMBA3-ADS" -1 -1 stty -echo pkg_add -r samba3 # OpenLDAP Server Specific Stuff $DIALOG --title "RUNNING AUTOMATED SETUP" \ --infobox "INSTALLING openldap24-server" -1 -1 stty -echo pkg_add -r openldap24-server $DIALOG --title "RUNNING AUTOMATED SETUP" \ --infobox "INSTALLING nss_ldap" -1 -1 stty -echo pkg_add -r nss_ldap $DIALOG --title "RUNNING AUTOMATED SETUP" \ --infobox "INSTALLING smbldap-tools" -1 -1 stty -echo # Fix smbldap-tools package installation errors by creating the directory first mkdir /usr/local/etc/smbldap-tools
pkg_add -r smbldap-tools
>>/root/setup.log 2>&1
Run FreeBSD update (there is no need to run this after we are finished because we do not have anymore updates after this point).
$DIALOG --title "RUNNING AUTOMATED SETUP" \ --infobox "RUNNING FREEBSD UPDATE" -1 -1 stty -echo freebsd-update fetch >>/root/setup.log 2>&1 freebsd-update install >>/root/setup.log 2>&1
Now we install PHP5 and setup the php.ini file for it to suit our needs.
$DIALOG --title "RUNNING AUTOMATED SETUP" \ --infobox "INSTALLING WEB PROGRAMS AND UTILITIES" -1 -1 stty -echo $DIALOG --title "RUNNING AUTOMATED SETUP" \ --infobox "INSTALLING PHP5 LANGUAGE SUPPORT" -1 -1 stty -echo pkg_add -r php5 >>/root/setup.log 2>&1 pkg_add -r php5-gettext >>/root/setup.log 2>&1 pkg_add -r php5-ldap >>/root/setup.log 2>&1 ##### PHP.INI ##### $DIALOG --title "RUNNING AUTOMATED SETUP" \ --infobox "CREATING CUSTOM PHP.INI FILE" -1 -1 stty -echo myPHPINI="/usr/local/etc/php.ini" echo 'magic_quotes_gpc = Off' > $myPHPINI echo 'magic_quotes_runtime = Off' >> $myPHPINI echo 'max_execution_time = 0' >> $myPHPINI echo 'max_input_time = 180' >> $myPHPINI echo 'register_argc_argv = Off' >> $myPHPINI echo 'file_uploads = On' >> $myPHPINI echo 'upload_tmp_dir = /ftmp' >> $myPHPINI echo 'upload_max_filesize = 256M' >> $myPHPINI echo 'post_max_size = 256M' >> $myPHPINI echo 'html_errors = Off' >> $myPHPINI echo 'include_path = ".:/etc/inc:/usr/local/www"' >> $myPHPINI ##### END PHP.INI #####
In this section we install lighttpd, touch the access and error logs, generate a web site password, create a PHP test page, download and install the "status page", create our configuration file and enable it at startup.
$DIALOG --title "RUNNING AUTOMATED SETUP" \ --infobox "INSTALLING LIGHTTPD WWW SERVER" -1 -1 stty -echo pkg_add -r lighttpd >>/root/setup.log 2>&1 $DIALOG --title "RUNNING AUTOMATED SETUP" \ --infobox "CREATING LIGHTTPD LOG FILES" -1 -1 stty -echo touch /var/log/lighttpd.access.log chmod a+rw /var/log/lighttpd.access.log touch /var/log/lighttpd.error.log chmod a+rw /var/log/lighttpd.error.log $DIALOG --title "RUNNING AUTOMATED SETUP" \ --infobox "CREATING DEFAULT WEB PAGE" -1 -1 stty -echo # SETUP the.htaccess file and create an index file to test the setup is working. $DIALOG --title "RUNNING AUTOMATED SETUP" \ --infobox "GENERATING WEBSITE PASSWORD" -1 -1 stty -echo myPHPGENPW=`echo -n "admin:ADMINISTRATION:"$myPassword | md5 | cut -b -32` echo "admin:ADMINISTRATION:"$myPHPGENPW > /usr/local/www/.htpasswd $DIALOG --title "RUNNING AUTOMATED SETUP" \ --infobox "GENERATING WEBSITE PHP TEST PAGE" -1 -1 stty -echo echo '<?php' > /usr/local/www/phptest.php echo 'phpinfo();' >> /usr/local/www/phptest.php echo '?>' >> /usr/local/www/phptest.php
echo echo echo echo echo echo echo
' )))' >>/$myLighttpConf 'auth.require = ( "/" => (' >>/$myLighttpConf ' "method" => "basic",' >>/$myLighttpConf ' "realm" => "ADMINISTRATION",' >>/$myLighttpConf ' "require" => "valid-user"' >>/$myLighttpConf ' ),' >>/$myLighttpConf ')' >>/$myLighttpConf
##### END LIGHTTPD.CONF ##### $DIALOG --title "RUNNING AUTOMATED SETUP" \ --infobox "ENABLING LIGHTTPD AT STARTUP" -1 -1 echo '# LIGHTTPD SERVER' >>/etc/rc.conf echo 'lighttpd_enable="YES"' >>/etc/rc.conf
Now it is time to configure SLAPD.
$DIALOG --title "RUNNING AUTOMATED SETUP" \ --infobox "CONFIGURING SLAPD" -1 -1 stty -echo ############### ##SLAPD STUFF## ############### mkdir /var/db/openldap-data cp /usr/local/etc/openldap/DB_CONFIG.example /var/db/openldap-data/DB_CONFIG chmod 700 /var/db/openldap-data chown ldap:ldap /var/db/openldap-data cp /usr/local/share/examples/samba/LDAP/samba.schema /usr/local/etc/openldap/schema/samba.schema # Setup Logging for SLAPD in /etc/syslog.conf echo "!slapd" >> /etc/syslog.conf echo "*.* touch /var/log/slapd.log /etc/rc.d/syslogd restart # Insert into /etc/rc.conf echo "#SLAPD STARTUP" >> /etc/rc.conf echo 'slapd_enable="YES"' >>/etc/rc.conf slapFlag1="'-h " slapURL='"ldapi://%2fvar%2frun%2fopenldap%2fldapi/ ldap://0.0.0.0/ ldap://127.0.0.1/"' slapCloseQ="'" echo 'slapd_flags='$slapFlag1$slapURL$slapCloseQ >>/etc/rc.conf echo 'slapd_sockets="/var/run/openldap/ldapi"'>>/etc/rc.conf rm -f /usr/local/etc/openldap/slapd.conf slapConfig="/usr/local/etc/openldap/slapd.conf" mySlapPass=`/usr/local/sbin/slappasswd -s $myPassword` echo '#########################################################' >$slapConfig echo '# See slapd.conf(5) for details on configuration options.' >>$slapConfig echo '# This file should NOT be world readable.' >>$slapConfig echo '#' >>$slapConfig echo 'include /usr/local/etc/openldap/schema/core.schema' >>$slapConfig echo 'include /usr/local/etc/openldap/schema/cosine.schema' >>$slapConfig echo 'include /usr/local/etc/openldap/schema/inetorgperson.schema' >>$slapConfig echo 'include /usr/local/etc/openldap/schema/misc.schema' >>$slapConfig echo 'include /usr/local/etc/openldap/schema/nis.schema' >>$slapConfig echo 'include /usr/local/etc/openldap/schema/openldap.schema' >>$slapConfig echo 'include /usr/local/etc/openldap/schema/samba.schema' >>$slapConfig echo '#' >>$slapConfig echo 'pidfile /var/run/openldap/slapd.pid' >>$slapConfig echo 'argsfile /var/run/openldap/slapd.args' >>$slapConfig echo '#' >>$slapConfig echo '# Load dynamic backend modules:' >>$slapConfig echo 'modulepath /usr/local/libexec/openldap' >>$slapConfig echo 'moduleload back_bdb' >>$slapConfig echo '#' >>$slapConfig echo '#######################################################################' >>$slapConfig echo '# BDB database definitions' >>$slapConfig echo '#######################################################################' >>$slapConfig echo '#' >>$slapConfig echo 'database bdb' >>$slapConfig echo 'suffix "dc='$myDomainSub',dc='$myDomainRoot'"' >>$slapConfig echo 'rootdn "cn=Manager,dc='$myDomainSub',dc='$myDomainRoot'"' >>$slapConfig echo 'rootpw ' $mySlapPass >>$slapConfig echo 'directory /var/db/openldap-data' >>$slapConfig echo '# Indices to maintain' >>$slapConfig echo 'index objectClass eq' >>$slapConfig
/var/log/slapd.log" >> /etc/syslog.conf
echo 'index cn pres,sub,eq' >>$slapConfig echo 'index sn pres,sub,eq' >>$slapConfig echo 'index uid pres,sub,eq' >>$slapConfig echo 'index displayName pres,sub,eq' >>$slapConfig echo 'index uidNumber eq' >>$slapConfig echo 'index gidNumber eq' >>$slapConfig echo 'index memberUID eq' >>$slapConfig echo 'index sambaSID eq' >>$slapConfig # Added sambaSIDList because slapd.log was showing an error about it not being indexed. echo 'index sambaSIDList eq' >>$slapConfig echo 'index sambaPrimaryGroupSID eq' >>$slapConfig # Added sambaGroupType because slapd.log was showing an error about it not being indexed. echo 'index sambaGroupType eq' >>$slapConfig echo 'index sambaDomainName eq' >>$slapConfig echo 'index default sub' >>$slapConfig stty echo
Configure NSS_LDAP to work with our setup.
$DIALOG --title "RUNNING AUTOMATED SETUP" \ --infobox "CONFIGURING NSS_LAPD" -1 -1 stty -echo ####################### ##NSS_LDAP.CONF STUFF## ####################### nssConfig="/usr/local/etc/nss_ldap.conf" echo '# nss_ldap.conf /usr/local/etc/nss_ldap.conf' >$nssConfig echo ' ' >>$nssConfig echo 'base dc='$myDomainSub',dc='$myDomainRoot >>$nssConfig echo ' ' >>$nssConfig echo 'bind_policy soft' >>$nssConfig echo 'bind_timelimit 10' >>$nssConfig echo ' ' >>$nssConfig echo 'host localhost' >>$nssConfig echo 'idle_timelimit 3600' >>$nssConfig echo 'ldap_version 3' >>$nssConfig echo ' ' >>$nssConfig echo 'nss_base_group ou=Groups,dc='$myDomainSub',dc='$myDomainRoot'?one' >>$nssConfig echo 'nss_base_passwd ou=People,dc='$myDomainSub',dc='$myDomainRoot'?one' >>$nssConfig echo 'nss_base_passwd ou=Computers,dc='$myDomainSub',dc='$myDomainRoot'?one' >>$nssConfig echo 'nss_base_shadow ou=People,dc='$myDomainSub',dc='$myDomainRoot'?one' >>$nssConfig echo ' ' >>$nssConfig echo 'nss_connect_policy oneshot' >>$nssConfig echo 'nss_paged_results yes' >>$nssConfig echo '' >>$nssConfig echo 'pagesize 1000' >>$nssConfig echo 'port 389' >>$nssConfig echo 'scope one' >>$nssConfig echo 'timelimit 30' >>$nssConfig rm -f /usr/local/etc/openldap/ldap.conf >>/root/setup.log ln -s /usr/local/etc/nss_ldap.conf /usr/local/etc/openldap/ldap.conf >>/root/setup.log ln -s /usr/local/etc/nss_ldap.conf /usr/local/etc/ldap.conf >>/root/setup.log stty echo
Now it is time to configure SAMBA to work with our LDAP back end and to create the directories that we will be using for our user data.
$DIALOG --title "RUNNING AUTOMATED SETUP" \ --infobox "CONFIGURING SAMBA" -1 -1 stty -echo ################ ## SAMBA STUFF## ################ mkdir /usr/local/samba echo "root = administrator" >/usr/local/samba/usermap rm /usr/local/etc/smb.conf touch /usr/local/etc/smb.conf mySMBConfig="/usr/local/etc/smb.conf" echo echo echo echo echo '################################################## ' >>$mySMBConfig '#CREATED:' `date` >>$mySMBConfig '################################################## ' >>$mySMBConfig '# Global parameters' >>$mySMBConfig '[global]' >>$mySMBConfig
echo echo echo echo echo echo echo echo echo echo echo echo echo echo echo echo echo echo echo echo echo echo echo echo echo echo echo echo echo echo echo echo echo echo echo echo echo echo echo echo echo echo echo echo echo echo echo echo echo echo echo echo echo echo echo echo echo echo echo echo echo echo echo echo echo echo echo echo echo echo echo echo echo echo echo echo echo echo echo echo echo echo echo echo echo echo echo echo
' workgroup = '$myWorkGroupName >>$mySMBConfig ' server string = '$longName >>$mySMBConfig ' netbios name = '$myNETBIOSName >>$mySMBConfig ' hosts allow = '$myNetwork' 127. 10.0.1.' >>$mySMBConfig ' interfaces = '$myInterface', lo' >>$mySMBConfig ' bind interfaces only = Yes' >>$mySMBConfig ' ' >>$mySMBConfig ' encrypt passwords = yes' >>$mySMBConfig ' passdb backend = ldapsam:ldap://'$longName'/' >>$mySMBConfig ' enable privileges = yes' >>$mySMBConfig ' pam password change= Yes' >>$mySMBConfig ' passwd program = /usr/bin/passwd %u' >>$mySMBConfig ' passwd chat = *New*UNIX*password* %nn *ReType*new*UNIX*password* %nn * passwd:*all*authentication*tokens*updated*s ' unix password sync = Yes' >>$mySMBConfig '' >>$mySMBConfig ' log level = 1' >>$mySMBConfig ' log file = /var/log/samba/%m' >>$mySMBConfig ' max log size = 50' >>$mySMBConfig ' syslog = 0' >>$mySMBConfig '' >>$mySMBConfig ' name resolve order = wins bcast host' >>$mySMBConfig '' >>$mySMBConfig ' timeserver = Yes' >>$mySMBConfig ' socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192' >>$mySMBConfig ' use sendfile = yes' >>$mySMBConfig ' veto files = /*.eml/*.nws/*.{*}/' >>$mySMBConfig ' veto oplock files = /*.doc/*.xls/*.mdb/' >>$mySMBConfig ' deadtime = 120' >>$mySMBConfig '' >>$mySMBConfig '# Dos-Attribute' >>$mySMBConfig ' map hidden = No' >>$mySMBConfig ' map system = No' >>$mySMBConfig ' map archive = No' >>$mySMBConfig ' map read only = No' >>$mySMBConfig ' store dos attributes = Yes' >>$mySMBConfig '' >>$mySMBConfig '' >>$mySMBConfig ' load printers = Yes' >>$mySMBConfig ' printcap name = CUPS' >>$mySMBConfig ' printing = cups' >>$mySMBConfig ' cups options = Raw' >>$mySMBConfig ' show add printer wizard = No' >>$mySMBConfig '' >>$mySMBConfig '# Scripts Invoked By Samba' >>$mySMBConfig ' add user script = /usr/local/sbin/smbldap-useradd -m "%u"' >>$mySMBConfig ' delete user script = /usr/local/sbin/smbldap-userdel "%u"' >>$mySMBConfig ' add group script = /usr/local/sbin/smbldap-groupadd -p "%g"' >>$mySMBConfig ' delete group script = /usr/local/sbin/smbldap-groupdel "%g"' >>$mySMBConfig ' add user to group script = /usr/local/sbin/smbldap-groupmod -m "%u" "%g"' >>$mySMBConfig ' delete user from group script = /usr/local/sbin/smbldap-groupmod -x "%u" "%g"' >>$mySMBConfig ' set primary group script = /usr/local/sbin/smbldap-usermod -g "%g" "%u"' >>$mySMBConfig ' add machine script = /usr/local/sbin/smbldap-useradd -w "%m"' >>$mySMBConfig '' >>$mySMBConfig '' >>$mySMBConfig '# LDAP-Configuration' >>$mySMBConfig ' ldap delete dn = Yes' >>$mySMBConfig ' ldap ssl = off' >>$mySMBConfig ' ldap passwd sync = Yes' >>$mySMBConfig ' ldap suffix = dc='$myDomainSub',dc='$myDomainRoot >>$mySMBConfig ' ldap machine suffix = ou=Computers' >>$mySMBConfig ' ldap user suffix = ou=People' >>$mySMBConfig ' ldap group suffix = ou=Groups' >>$mySMBConfig ' ldap idmap suffix = ou=Idmap' >>$mySMBConfig ' ldap admin dn = cn=Manager,dc='$myDomainSub',dc='$myDomainRoot >>$mySMBConfig ' idmap backend = ldap:ldap://'$longName >>$mySMBConfig ' idmap uid = 10000-20000' >>$mySMBConfig ' idmap gid = 10000-20000' >>$mySMBConfig '' >>$mySMBConfig '# Logon Options' >>$mySMBConfig ' logon script = logon.bat' >>$mySMBConfig ' logon path = \\%L\profiles\%U' >>$mySMBConfig ' logon home = \\%L\%U' >>$mySMBConfig ' logon drive = Z:' >>$mySMBConfig '' >>$mySMBConfig '# Setting up as domain controller' >>$mySMBConfig ' username map = /usr/local/samba/usermap' >>$mySMBConfig ' preferred master = Yes' >>$mySMBConfig ' wins support = Yes' >>$mySMBConfig ' domain logons = Yes' >>$mySMBConfig ' domain master = Yes' >>$mySMBConfig ' local master = Yes' >>$mySMBConfig ' os level = 64' >>$mySMBConfig ' map acl inherit = Yes' >>$mySMBConfig ' unix charset = UTF8' >>$mySMBConfig '' >>$mySMBConfig '#============================ Share Definitions ==============================' >>$mySMBConfig '' >>$mySMBConfig '[netlogon]' >>$mySMBConfig
If all went well you should see "Joined {Your Domain Name} Domain"
Here in the step we are setting up the system be a Time Server on your network and to use a Time Server to set its' own time. You can obviously use whatever time servers you want to. I put in an IP address for the Apple time server because I was getting a few errors on boot about NTPDate not being able to find a suitable server to set the time from.
echo "Setting up Time Server" echo "# Apple Time Server IP Address" >/etc/ntp.conf echo "server 17.151.16.23" >>/etc/ntp.conf echo "# NIST Time Servers" >>/etc/ntp.conf echo "server time-a.nist.gov" >>/etc/ntp.conf echo "server time.nist.gov" >>/etc/ntp.conf echo " " >>/etc/ntp.conf echo "driftfile /var/db/ntp.drift" >>/etc/ntp.conf echo "restrict "$myNetwork"0 nomodify notrap" >>/etc/ntp.conf echo '' >>/etc/rc.conf echo '# NTPD SERVER STARTUP' >>/etc/rc.conf echo 'ntpdate_enable="YES"' >>/etc/rc.conf echo 'ntpd_enable="YES"' >>/etc/rc.conf clear
Here we are creatign the "Version" file that we will be using for data on our web status page.
echo "Setting up Version file" # Create version.inf file for use by the system administration website. # echo $VersionInfo >/etc/version.inf clear
I noticed an issue where on a Mac client after the first time I mounted a share and copied data it would disappear. It was there, but there was a permission error and it wouldn't let me read the data I just wrote until after I disconnected from the share and reconnected. It never happens again, but is still annoying. This step fixes that issue, which does not seem to affect Windows users.
echo "Creating place holder files in /etc/skel and /home/shared_data" # This next step fixes an issue where on a MAC you have to remount the share to see the files you have added. # It only happens the first time, but this fixes it so it never happens. echo "PLACEHOLDER - OKAY TO DELETE" >/etc/skel/PLACEHOLDER.txt chmod a+rw /etc/skel/PLACEHOLDER.txt echo "PLACEHOLDER - OKAY TO DELETE" >/home/shared_data/PLACEHOLDER.txt chmod a+rw /home/shared_data/PLACEHOLDER.txt clear
I wanted to add an example file that would help to explain how to add users from the command line by showing you what needs to be done. Once you have rebooted your server you will find this file in your /root/ directory. I am downloading the example file and changing the "Server Name" to match your server name. All you need to do is edit your user information and after you have you will be able to "sh adduser_example.txt" and you will be prompted for the users new password.
echo "Fetching add user example file" # Fetch and modify the add user example file cd /root/ fetch https://svn.sourceforge.net/svnroot/autosambaldap/MAINSCRIPT/adduser_example.txt sed -e 's/SERVERNAME/'$myNETBIOSName'/g' /root/adduser_example.txt >> /root/adduser_example.tmp cat /root/adduser_example.tmp >/root/adduser_example.txt rm -f /root/adduser_example.tmp #
The final steps are to adjust the message of the day file (/etc/motd), echo the stop time into the setup.log, copy it to the website root (so you can view it from the a browser), and prompt the user to to reboot.
echo "This server has automatically been configured!" >/etc/motd echo "Server Configuration Was Completed on: `date`" >>/etc/motd echo "You should now be able to access shares with your administrator user/password" >>/etc/motd echo " ">>/etc/motd echo 'Review the file "/root/adduser_example.txt" for an example on how to add users from the command line.' >>/etc/motd echo " ">>/etc/motd echo " ">>/etc/motd echo "Please report Success or Failure to {EMAIL REMOVED}" >>/etc/motd # # Thanks Elizabeth for making me check my work again and finding the typo on Line 1159. # echo "Stop Time: " `date` >>/root/setup.log cp /root/setup.log /usr/local/www/setup.txt $DIALOG --title "!!! NOTICE !!!" --msgbox "BINDv9 HAS BEEN INSTALLED, BUT NOT FULLY CONFIGURED\n\ YOUR WEBSERVER USERNAME IS: admin\n\ YOUR WEBSERVER PASSWORD IS: $myPassword\n\n\ ONCE YOURSYSTEM HAS REBOOTED, GO TO: http://$myIP/index.php\n\ PRESS OKAY TO REBOOT" -1 -1 reboot exit 0
That's all folks!!!
You now have a fully functional file server. You can immediately connect to the server once it has rebooted with your administrator credentials (administrator/your-secret-password).
You can add users via the command line as you will see in the adduser_example.txt file or you can use the Microsoft User Manager for Domains that we discussed at the start of this document. It probably took longer for you to read this than it would have taken to setup your first server.
Not what you are looking for?? Go to the forums.
Tags
KX-TC1743G Cordless1500 Extensa-5200 FS-85USB Pocket PC CHC-TB10 GXT850 PA2xpro HBH-PV770 Finepix A220 HT-C553 Simon Wagon 96 Optoma DV10 PC160 IC-303 RX-DT75 Review TA-DA7000ES DVD-HR730 FJ-686 8 Cnip ZOB550XL CDX-FM657 FLS499C Junod PDA-V100HD BM450 FX-100W WD-1074FB Helixboard24firewire 68000K-MN MD 2774 VPC-CA9GX 8150 DN F1247 MT 975 DVD-R119 Watch 6870 F1030 CR-D90 Premium 200 VSA-AX10i-S Scale EZ-EG Mobile Cube CLS 222 N93I-1 H6365 Enduro 2 ES300 L60800 KX-TG7120FX HF25M260 Illion A1 YG6600DE Cyber-shot C510 N GO Yashica FX-3 Fusion 2007 Recorder 260LX AE 4585 WRT55AG Guide GS516T DG 6145 2 1 Touring Lights WD-10150NUP TME-M680 Butcher BAY EWF16250 Printer MW89M-S Digital Sony Create 8120 USB BOY 71 SF-R10 Fostex X-14 R-775 785 Chronicles M51GM ESF235 QG3020 LE55A956 Samsung F309 6100 Bike DS6121 HP-3700 Braun 320 XR-P770F PSC 2353 QB960W CMT-EH20DAB Doorbell 20-1930 Movie-making PM-G4500
manuel d'instructions, Guide de l'utilisateur | Manual de instrucciones, Instrucciones de uso | Bedienungsanleitung, Bedienungsanleitung | Manual de Instruções, guia do usuário | инструкция | návod na použitie, Užívateľská príručka, návod k použití | bruksanvisningen | instrukcja, podręcznik użytkownika | kullanım kılavuzu, Kullanım | kézikönyv, használati útmutató | manuale di istruzioni, istruzioni d'uso | handleiding, gebruikershandleiding
Sitemap
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101





