Rename smbd -> samba.
authorJelmer Vernooij <jelmer@samba.org>
Sun, 21 Sep 2008 19:26:40 +0000 (21:26 +0200)
committerJelmer Vernooij <jelmer@samba.org>
Sun, 21 Sep 2008 19:26:40 +0000 (21:26 +0200)
21 files changed:
source4/build/smb_build/summary.pm
source4/cldap_server/config.mk
source4/cluster/ctdb/example/cluster_start.sh
source4/dsdb/config.mk
source4/dynconfig/config.mk
source4/kdc/config.mk
source4/ldap_server/config.mk
source4/nbt_server/config.mk
source4/ntp_signd/config.mk
source4/rpc_server/config.mk
source4/selftest/config.mk
source4/selftest/selftest.pl
source4/selftest/target/Samba4.pm
source4/selftest/test_win.sh
source4/smb_server/config.mk
source4/smbd/config.mk
source4/smbd/samba.8.xml [moved from source4/smbd/smbd.8.xml with 92% similarity]
source4/smbd/server.c
source4/web_server/config.mk
source4/winbind/config.mk
source4/wrepl_server/config.mk

index 4ea1ad525e3e0cec2f77ff8000e54db626b44edf..f6c1c5055094d5a2d7ed0ecf1c9102f4eb7ba2a6 100644 (file)
@@ -46,7 +46,7 @@ sub show($$)
 
        print "Summary:\n\n";
        showitem($output, "SSL in SWAT and LDAP", ["GNUTLS"]);
-       showitem($output, "threads in smbd (see --with-pthread)", ["PTHREAD"]);
+       showitem($output, "threads in server (see --with-pthread)", ["PTHREAD"]);
        showitem($output, "intelligent command line editing", ["READLINE"]);
        showitem($output, "changing process titles (see --with-setproctitle)", ["SETPROCTITLE"]);
        showitem($output, "using extended attributes", ["XATTR"]);
index 137a44d0f7931e2c539e78817383e1e0ddf6f517..baf2620f32edd1420a9714e924da921a208869ab 100644 (file)
@@ -4,7 +4,7 @@
 # Start SUBSYSTEM CLDAPD
 [MODULE::CLDAPD]
 INIT_FUNCTION = server_service_cldapd_init
-SUBSYSTEM = smbd
+SUBSYSTEM = samba
 PRIVATE_DEPENDENCIES = \
                LIBCLI_CLDAP LIBNETIF process_model
 # End SUBSYSTEM CLDAPD
index 575d031c95995bbe1a0f655542fb6d905813ee44..825eadb4835862b5792c3f3c40bb30b03a1aeda5 100755 (executable)
@@ -1,12 +1,12 @@
 #!/bin/sh
 
-killall smbd
+killall samba
 sleep 1
-killall -9 smbd
+killall -9 samba
 killall -9 valgrind
 
 type=$1
 
-xterm -e $type bin/smbd -s /home/tridge/samba/samba4.svn/prefix/etc/smb.conf.node1 -M single -i &
-xterm -e $type bin/smbd -s /home/tridge/samba/samba4.svn/prefix/etc/smb.conf.node2 -M single -i &
+xterm -e $type bin/samba -s /home/tridge/samba/samba4.svn/prefix/etc/smb.conf.node1 -M single -i &
+xterm -e $type bin/samba -s /home/tridge/samba/samba4.svn/prefix/etc/smb.conf.node2 -M single -i &
 
index 63e8a77ce4c96ec79b53c0ac32719098ae599986..8bc8b6e000577608e3ae00bc175c12bf9037168b 100644 (file)
@@ -46,7 +46,7 @@ $(eval $(call proto_header_template,$(dsdbsrcdir)/schema/proto.h,$(SAMDB_SCHEMA_
 # Start SUBSYSTEM DREPL_SRV
 [MODULE::DREPL_SRV]
 INIT_FUNCTION = server_service_drepl_init
-SUBSYSTEM = smbd
+SUBSYSTEM = samba
 PRIVATE_DEPENDENCIES = \
                SAMDB \
                process_model 
index b10018384ff1b8d595c74d7df796d70afd33027a..78deb04f653cfc5c3cef4ca8d5317992a8b97b87 100644 (file)
@@ -3,7 +3,7 @@
 DYNCONFIG_OBJ_FILES = $(dynconfigsrcdir)/dynconfig.o
 
 # set these to where to find various files
-# These can be overridden by command line switches (see smbd(8))
+# These can be overridden by command line switches (see samba(8))
 # or in smb.conf (see smb.conf(5))
 CONFIGFILE = $(sysconfdir)/smb.conf
 PKGCONFIGDIR = $(libdir)/pkgconfig
index 2c96e22cb3866a1e05e62825752a1a862d4bcee9..b3e5bfdb92f102b1fd4a5348eb06adb477de7956 100644 (file)
@@ -4,7 +4,7 @@
 # Start SUBSYSTEM KDC
 [MODULE::KDC]
 INIT_FUNCTION = server_service_kdc_init
-SUBSYSTEM = smbd
+SUBSYSTEM = samba
 PRIVATE_DEPENDENCIES = \
                HEIMDAL_KDC HDB_LDB
 # End SUBSYSTEM KDC
index 65f5b17f9a350956e84e8020aa8866e4dedca8e1..4c35117a72e1693823a8244bcfa5ad5edad500e1 100644 (file)
@@ -4,7 +4,7 @@
 # Start SUBSYSTEM LDAP
 [MODULE::LDAP]
 INIT_FUNCTION = server_service_ldap_init
-SUBSYSTEM = smbd
+SUBSYSTEM = samba
 PRIVATE_DEPENDENCIES = CREDENTIALS \
                LIBCLI_LDAP SAMDB \
                process_model \
index 1121bfc6908ac02613a171067e616bfc27cb87c0..951949a43f9ff3222b58c7b68e1185dd6e49ada4 100644 (file)
@@ -70,7 +70,7 @@ $(eval $(call proto_header_template,$(nbt_serversrcdir)/nbt_server_proto.h,$(NBT
 
 [MODULE::service_nbtd]
 INIT_FUNCTION = server_service_nbtd_init
-SUBSYSTEM = smbd
+SUBSYSTEM = samba
 PRIVATE_DEPENDENCIES = NBT_SERVER process_model
 
 service_nbtd_OBJ_FILES = \
index 96e0de558325871ec040091258c4a3a787a2834f..3b52a200ce4c3feb03dfdb884dd9d55dff351288 100644 (file)
@@ -4,7 +4,7 @@
 # Start SUBSYSTEM NTP_signd
 [MODULE::NTP_SIGND]
 INIT_FUNCTION = server_service_ntp_signd_init
-SUBSYSTEM = smbd
+SUBSYSTEM = samba
 PRIVATE_DEPENDENCIES = \
                SAMDB NDR_NTP_SIGND
 # End SUBSYSTEM NTP_SIGND
index 6b1813544ec4ac77e51869a09be229c7abc60a96..fb697d0c0f11c8e12321b8c5fe87574b6a59859b 100644 (file)
@@ -206,7 +206,7 @@ PUBLIC_HEADERS += $(rpc_serversrcdir)/dcerpc_server.h
 
 [MODULE::DCESRV]
 INIT_FUNCTION = server_service_rpc_init
-SUBSYSTEM = smbd
+SUBSYSTEM = samba
 PRIVATE_DEPENDENCIES = dcerpc_server
 
 DCESRV_OBJ_FILES = $(rpc_serversrcdir)/service_rpc.o
index 5503a42cddf2df542627c7a0d1dd9f7438ef4ca7..2fcb71eb7ae658b8bdeb664ec5350c9cbd94189a 100644 (file)
@@ -52,30 +52,30 @@ testenv:: everything
 valgrindtest:: valgrindtest-all
 
 valgrindtest-quick:: all
-       SMBD_VALGRIND="xterm -n smbd -e $(srcdir)/script/valgrind_run $(LD_LIBPATH_OVERRIDE)" \
+       SMBD_VALGRIND="xterm -n server -e $(srcdir)/script/valgrind_run $(LD_LIBPATH_OVERRIDE)" \
        VALGRIND="valgrind -q --num-callers=30 --log-file=${selftest_prefix}/valgrind.log" \
        $(SELFTEST) $(SELFTEST_QUICK_OPTS) --immediate --socket-wrapper $(TESTS)
 
 valgrindtest-all:: everything
-       SMBD_VALGRIND="xterm -n smbd -e $(srcdir)/script/valgrind_run $(LD_LIBPATH_OVERRIDE)" \
+       SMBD_VALGRIND="xterm -n server -e $(srcdir)/script/valgrind_run $(LD_LIBPATH_OVERRIDE)" \
        VALGRIND="valgrind -q --num-callers=30 --log-file=${selftest_prefix}/valgrind.log" \
        $(SELFTEST) $(SELFTEST_NOSLOW_OPTS) --immediate --socket-wrapper $(TESTS)
 
 valgrindtest-env:: everything
-       SMBD_VALGRIND="xterm -n smbd -e $(srcdir)/script/valgrind_run $(LD_LIBPATH_OVERRIDE)" \
+       SMBD_VALGRIND="xterm -n server -e $(srcdir)/script/valgrind_run $(LD_LIBPATH_OVERRIDE)" \
        VALGRIND="valgrind -q --num-callers=30 --log-file=${selftest_prefix}/valgrind.log" \
        $(SELFTEST) $(SELFTEST_NOSLOW_OPTS) --socket-wrapper --testenv
 
 gdbtest:: gdbtest-all
 
 gdbtest-quick:: all
-       SMBD_VALGRIND="xterm -n smbd -e $(srcdir)/script/gdb_run $(LD_LIBPATH_OVERRIDE)" \
+       SMBD_VALGRIND="xterm -n server -e $(srcdir)/script/gdb_run $(LD_LIBPATH_OVERRIDE)" \
        $(SELFTEST) $(SELFTEST_QUICK_OPTS) --immediate --socket-wrapper $(TESTS)
 
 gdbtest-all:: everything
-       SMBD_VALGRIND="xterm -n smbd -e $(srcdir)/script/gdb_run $(LD_LIBPATH_OVERRIDE)" \
+       SMBD_VALGRIND="xterm -n server -e $(srcdir)/script/gdb_run $(LD_LIBPATH_OVERRIDE)" \
        $(SELFTEST) $(SELFTEST_NOSLOW_OPTS) --immediate --socket-wrapper $(TESTS)
 
 gdbtest-env:: everything
-       SMBD_VALGRIND="xterm -n smbd -e $(srcdir)/script/gdb_run $(LD_LIBPATH_OVERRIDE)" \
+       SMBD_VALGRIND="xterm -n server -e $(srcdir)/script/gdb_run $(LD_LIBPATH_OVERRIDE)" \
        $(SELFTEST) $(SELFTEST_NOSLOW_OPTS) --socket-wrapper --testenv
index 51a354c7a44a5fb96ed1a77bbe5f70b9c49b05d7..92aa67e8d3e2f74a68c6a1ab3b05a59f769fedb7 100755 (executable)
@@ -303,7 +303,7 @@ Target Specific:
  --expected-failures=FILE   specify list of tests that is guaranteed to fail
 
 Samba4 Specific:
- --ldap=openldap|fedora-ds     back smbd onto specified ldap server
+ --ldap=openldap|fedora-ds     back samba onto specified ldap server
 
 Samba3 Specific:
  --bindir=PATH              path to binaries
@@ -809,7 +809,7 @@ if ($opt_testenv) {
 Welcome to the Samba4 Test environment '$testenv_name'
 
 This matches the client environment used in make test
-smbd is pid `cat \$PIDDIR/smbd.pid`
+server is pid `cat \$PIDDIR/samba.pid`
 
 Some useful environment variables:
 TORTURE_OPTIONS=\$TORTURE_OPTIONS
index 992e251c351d55829ea74fed7110ce08fda60639..9364008ee2fc6b70e8413587e406104e7fc5d7cd 100644 (file)
@@ -116,20 +116,20 @@ sub check_or_start($$$)
                if (defined($ENV{SMBD_OPTIONS})) {
                        $optarg.= " $ENV{SMBD_OPTIONS}";
                }
-               my $ret = system("$valgrind $self->{bindir}/smbd $optarg $env_vars->{CONFIGURATION} -M single -i --leak-report-full");
+               my $ret = system("$valgrind $self->{bindir}/samba $optarg $env_vars->{CONFIGURATION} -M single -i --leak-report-full");
                if ($? == -1) {
-                       print "Unable to start smbd: $ret: $!\n";
+                       print "Unable to start samba: $ret: $!\n";
                        exit 1;
                }
                unlink($env_vars->{SMBD_TEST_FIFO});
                my $exit = $? >> 8;
                if ( $ret == 0 ) {
-                       print "smbd exits with status $exit\n";
+                       print "samba exits with status $exit\n";
                } elsif ( $ret & 127 ) {
-                       print "smbd got signal ".($ret & 127)." and exits with $exit!\n";
+                       print "samba got signal ".($ret & 127)." and exits with $exit!\n";
                } else {
                        $ret = $? >> 8;
-                       print "smbd failed with status $exit!\n";
+                       print "samba failed with status $exit!\n";
                }
                exit $exit;
        }
@@ -498,7 +498,7 @@ sub provision($$$$$$)
 {
        my ($self, $prefix, $server_role, $netbiosname, $netbiosalias, $swiface, $password) = @_;
 
-       my $smbd_loglevel = 1;
+       my $server_loglevel = 1;
        my $username = "administrator";
        my $domain = "SAMBADOMAIN";
        my $realm = "SAMBA.EXAMPLE.COM";
@@ -571,7 +571,7 @@ sub provision($$$$$$)
        ldb:nosync = true
 #We don't want to pass our self-tests if the PAC code is wrong
        gensec:require_pac = true
-       log level = $smbd_loglevel
+       log level = $server_loglevel
 
 [tmp]
        path = $tmpdir
@@ -606,7 +606,7 @@ sub provision($$$$$$)
        cifs:server = $netbiosname
        cifs:share = tmp
 #There is no username specified here, instead the client is expected
-#to log in with kerberos, and smbd will used delegated credentials.
+#to log in with kerberos, and the serverwill use delegated credentials.
 
 [simple]
        path = $tmpdir
@@ -828,8 +828,8 @@ sub provision_dc($$)
        $self->add_wins_config("$prefix/private") or 
                die("Unable to add wins configuration");
 
-       $ret->{SMBD_TEST_FIFO} = "$prefix/smbd_test.fifo";
-       $ret->{SMBD_TEST_LOG} = "$prefix/smbd_test.log";
+       $ret->{SMBD_TEST_FIFO} = "$prefix/server_test.fifo";
+       $ret->{SMBD_TEST_LOG} = "$prefix/server_test.log";
        $ret->{SMBD_TEST_LOG_POS} = 0;
        return $ret;
 }
@@ -841,8 +841,8 @@ sub teardown_env($$)
 
        close(DATA);
 
-       if (-f "$envvars->{PIDDIR}/smbd.pid" ) {
-               open(IN, "<$envvars->{PIDDIR}/smbd.pid") or die("unable to open smbd pid file");
+       if (-f "$envvars->{PIDDIR}/samba.pid" ) {
+               open(IN, "<$envvars->{PIDDIR}/samba.pid") or die("unable to open server pid file");
                $pid = <IN>;
                close(IN);
 
@@ -858,7 +858,7 @@ sub teardown_env($$)
                
                # If it is still around, kill it
                if ($count > 20) {
-                   print "smbd process $pid took more than $count seconds to exit, killing\n";
+                   print "server process $pid took more than $count seconds to exit, killing\n";
                    kill 9, $pid;
                }
        }
index bc40620af5108300b5c7d2478819f3f6e8d7c16a..17c09e6b269b6106ce40519a0af6b37f0f12dcf9 100755 (executable)
@@ -32,7 +32,7 @@ name="NET against Windows 2003"
 testit "$name" smb $WINTEST_DIR/wintest_net.sh $SMBTORTURE_REMOTE_HOST \
        $SMBTORTURE_USERNAME $SMBTORTURE_PASSWORD $SMBTORTURE_WORKGROUP
 
-name="Windows 2003 against smbd"
+name="Windows 2003 against samba"
 testit "$name" smb $WINTEST_DIR/wintest_client.sh $SMBTORTURE_REMOTE_HOST
 
 dc_tests="RPC-DRSUAPI ncacn_np ncacn_ip_tcp"
index e11968a1004a28456b33e09bd48c79887842ca04..52c000839db0d5875899bfc8e7720b2a18be28c4 100644 (file)
@@ -2,7 +2,7 @@
 #
 [MODULE::SERVICE_SMB]
 INIT_FUNCTION = server_service_smb_init
-SUBSYSTEM = smbd
+SUBSYSTEM = samba
 PRIVATE_DEPENDENCIES = SMB_SERVER
 
 SERVICE_SMB_OBJ_FILES = $(smb_serversrcdir)/smb_server.o
index e60f444456e40dbc447af3dbd1f20681d8683b09..b5babd4d6999c51b57f9ddc6803e631d772b279d 100644 (file)
@@ -17,9 +17,7 @@ PIDFILE_OBJ_FILES = $(smbdsrcdir)/pidfile.o
 
 $(eval $(call proto_header_template,$(smbdsrcdir)/pidfile.h,$(PIDFILE_OBJ_FILES:.o=.c)))
 
-#################################
-# Start BINARY smbd
-[BINARY::smbd]
+[BINARY::samba]
 INSTALLDIR = SBINDIR
 PRIVATE_DEPENDENCIES = \
                process_model \
@@ -36,8 +34,6 @@ PRIVATE_DEPENDENCIES = \
                share \
                CLUSTER
 
-smbd_OBJ_FILES = $(smbdsrcdir)/server.o
+samba_OBJ_FILES = $(smbdsrcdir)/server.o
 
-MANPAGES += $(smbdsrcdir)/smbd.8
-# End BINARY smbd
-#################################
+MANPAGES += $(smbdsrcdir)/samba.8
similarity index 92%
rename from source4/smbd/smbd.8.xml
rename to source4/smbd/samba.8.xml
index a02c2ce80a50ef140e04120aee9c2fad166dd7d4..e1ec8cabd5da5ed065de148efc653d5e220a4798 100644 (file)
@@ -1,21 +1,21 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
 <!DOCTYPE refentry PUBLIC "-//Samba-Team//DTD DocBook V4.2-Based Variant V1.0//EN" "http://www.samba.org/samba/DTD/samba-doc">
-<refentry id="smbd.8">
+<refentry id="samba.8">
 
 <refmeta>
-       <refentrytitle>smbd</refentrytitle>
+       <refentrytitle>samba</refentrytitle>
        <manvolnum>8</manvolnum>
 </refmeta>
 
 
 <refnamediv>
-       <refname>smbd</refname>
+       <refname>samba</refname>
        <refpurpose>server to provide filesharing- and directory services to clients</refpurpose>
 </refnamediv>
 
 <refsynopsisdiv>
        <cmdsynopsis>
-               <command>smbd</command>
+               <command>samba</command>
                <arg choice="opt">-i</arg>
                <arg choice="opt">-M model</arg>
        </cmdsynopsis>
@@ -26,7 +26,7 @@
        <para>This program is part of the <citerefentry><refentrytitle>samba</refentrytitle>
        <manvolnum>7</manvolnum></citerefentry> suite.</para>
 
-       <para><command>smbd</command> is the server daemon that 
+       <para><command>samba</command> is the server daemon that 
        provides filesharing and directory services to Windows clients. 
        The server provides filespace and directory services to
        clients using the SMB (or CIFS) protocol and other 
@@ -51,8 +51,9 @@
        <manvolnum>5</manvolnum></citerefentry> manual page should be regarded as mandatory reading before 
        proceeding with installation.</para>
 
-       <para>As of Samba 4, smbd also incorporates all the functionality of 
-       nmbd.</para>
+       <para>As of Samba 4, there is a single daemon that incorporates the 
+               functionality of both smbd and nmbd that are present in older versions 
+               of Samba.</para>
 
 </refsect1>
 
@@ -66,7 +67,7 @@
                server to run "interactively", not as a daemon, even if the
                server is executed on the command line of a shell. Setting this
                parameter negates the implicit deamon mode when run from the
-               command line. <command>smbd</command> also logs to standard
+               command line. <command>samba</command> also logs to standard
                output, as if the <command>-S</command> parameter had been
                given.
                </para></listitem>
@@ -75,7 +76,7 @@
                <varlistentry>
                <term>-M model</term>
                <listitem><para>This parameter can be used to specify the 
-               &quot;process model&quot; smbd should use. This determines 
+               &quot;process model&quot; samba should use. This determines 
                how concurrent clients are handled. Available process 
                models include <emphasis>single</emphasis> (everything in 
                a single process), <emphasis>standard</emphasis> (similar 
index 5bd5568913deac99f4607a4166945d81ef051b54..c6332e483416fa279130f31fda4e43889d0403bd 100644 (file)
@@ -199,7 +199,7 @@ static int binary_smbd_main(const char *binary_name, int argc, const char *argv[
        extern NTSTATUS server_service_drepl_init(void);
        extern NTSTATUS server_service_rpc_init(void);
        extern NTSTATUS server_service_ntp_signd_init(void);
-       init_module_fn static_init[] = { STATIC_smbd_MODULES };
+       init_module_fn static_init[] = { STATIC_samba_MODULES };
        init_module_fn *shared_init;
        struct event_context *event_ctx;
        uint16_t stdin_event_flags;
index af3ac5f544546a57e26446eb10c540fc9039387f..e034590111d094ab686280f291c69d57c9b11f47 100644 (file)
@@ -4,7 +4,7 @@
 # Start SUBSYSTEM WEB
 [MODULE::WEB]
 INIT_FUNCTION = server_service_web_init
-SUBSYSTEM = smbd
+SUBSYSTEM = samba
 PRIVATE_DEPENDENCIES = LIBTLS smbcalls process_model LIBPYTHON
 # End SUBSYSTEM WEB
 #######################
index 1837c528910d239637fa112c3fb28835b9df5041..f719f00853d3aa981801ed21e64e785ef8252f2e 100644 (file)
@@ -4,7 +4,7 @@
 # Start SUBSYSTEM WINBIND
 [MODULE::WINBIND]
 INIT_FUNCTION = server_service_winbind_init
-SUBSYSTEM = smbd
+SUBSYSTEM = samba
 PRIVATE_DEPENDENCIES = \
                WB_HELPER \
                IDMAP \
index 235a897503289875f9e5460428d5b18441eaf5c5..c7b5c3e1df16a01b097628aedde8139ba58c57db 100644 (file)
@@ -4,7 +4,7 @@
 # Start SUBSYSTEM WREPL_SRV
 [MODULE::WREPL_SRV]
 INIT_FUNCTION = server_service_wrepl_init
-SUBSYSTEM = smbd
+SUBSYSTEM = samba
 PRIVATE_DEPENDENCIES = \
                LIBCLI_WREPL WINSDB process_model 
 # End SUBSYSTEM WREPL_SRV