From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <46541632.6010807@altlinux.org> Date: Wed, 23 May 2007 14:23:46 +0400 From: Alexander Bokovoy User-Agent: Thunderbird 1.5.0.10 (X11/20070403) MIME-Version: 1.0 To: ALT Linux Sisyphus discussion list References: <4653FE68.6040605@eva.dp.ua> <46540A74.6000104@altlinux.org> <46541014.50203@eva.dp.ua> In-Reply-To: <46541014.50203@eva.dp.ua> X-Enigmail-Version: 0.94.2.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 8bit Subject: Re: [sisyphus] =?koi8-r?b?0M/Mwc3BzMHT2CBzYW1iYQ==?= X-BeenThere: sisyphus@lists.altlinux.org X-Mailman-Version: 2.1.9rc1 Precedence: list Reply-To: ALT Linux Sisyphus discussion list List-Id: ALT Linux Sisyphus discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 May 2007 10:24:58 -0000 Archived-At: List-Archive: List-Post: Тимощенков Павел Васильевич пишет: >> Так а что же в /var/lib/samba? >> >> > > Для чистоты эксперимента сделал следующее: - apt-get remove ^samba; - > руками удалил все оставшиеся конфиги и каталоги; - apt-get install > samba; - root@piton /var/lib # ls /var/lib/samba messages.tdb > netlogon profiles winbindd_privileged - root@piton /var/lib # > service smb restart Shutting down CIFS services: Samba server, > NetBIOS over TCP/IP server [FAILED] Starting CIFS > services: NetBIOS over TCP/IP server, Samba server > [FAILED] - tdb(/var/lib/samba/ntforms.tdb): tdb_reopen: open failed > (No such file or directory) :( > На x86_64, прямо сейчас (самба не была установлена, это пустой виртуальный сервер): [root@vab64 ~]# apt-get install samba Reading Package Lists... Done Building Dependency Tree... Done The following extra packages will be installed: libkrb5 libldap2.3 libsasl2 samba-common The following NEW packages will be installed: libkrb5 libldap2.3 libsasl2 samba samba-common 0 upgraded, 5 newly installed, 0 removed and 0 not upgraded. Need to get 0B/12.9MB of archives. After unpacking 30.7MB of additional disk space will be used. Do you want to continue? [Y/n] y Committing changes... Preparing... ########################################### [100%] 1: libkrb5 ########################################### [ 20%] 2: libsasl2 ########################################### [ 40%] 3: libldap2.3 ########################################### [ 60%] 4: samba-common ########################################### [ 80%] 5: samba ########################################### [100%] Done. [root@vab64 ~]# ls -l /var/lib/samba total 0 drwxrwxr-x 2 root root 6 May 14 17:45 netlogon drwxrwxr-x 2 root root 6 May 14 17:45 profiles drwxr-x--- 2 root winbind 6 May 14 17:45 winbindd_privileged [root@vab64 ~]# service smb start Starting CIFS services: NetBIOS over TCP/IP server, Samba server [ DONE ] [root@vab64 ~]# ps axf PID TTY STAT TIME COMMAND 1 ? S 0:00 init [3] 18295 ? Ss 0:00 /sbin/minilogd 18304 ? Ss 0:00 /usr/sbin/sshd 8673 ? Ss 0:00 \_ sshd: ab [priv] 8677 ? S 0:00 \_ sshd: ab@pts/10 8678 pts/10 Ss 0:00 \_ -bash 8685 pts/10 S 0:00 \_ su - 8688 pts/10 S 0:00 \_ -bash 9754 pts/10 R+ 0:00 \_ ps axf 9741 ? Ss 0:00 /usr/sbin/nmbd -D 9743 ? Ss 0:00 /usr/sbin/smbd -D 9745 ? S 0:00 \_ /usr/sbin/smbd -D [root@vab64 ~]# apt-get install samba-client Reading Package Lists... Done Building Dependency Tree... Done The following extra packages will be installed: libsmbclient samba-client-control The following NEW packages will be installed: libsmbclient samba-client samba-client-control 0 upgraded, 3 newly installed, 0 removed and 0 not upgraded. Need to get 0B/6424kB of archives. After unpacking 15.6MB of additional disk space will be used. Do you want to continue? [Y/n] y Committing changes... Preparing... ############################################################################ [100%] 1: libsmbclient ############################################################################ [ 33%] 2: samba-client-control ############################################################################ [ 66%] 3: samba-client ############################################################################ [100%] Done. [root@vab64 ~]# smbclient -L localhost -U% Domain=[ALTDOMAIN] OS=[Unix] Server=[Samba 3.0.25] Sharename Type Comment --------- ---- ------- IPC$ IPC IPC Service (Samba server on vab64 (v. 3.0.25)) Domain=[ALTDOMAIN] OS=[Unix] Server=[Samba 3.0.25] Server Comment --------- ------- VAB64 Samba server on vab64 (v. 3.0.25) Workgroup Master --------- ------- ALTDOMAIN -- / Alexander Bokovoy Samba Team http://www.samba.org/ ALT Linux Team http://www.altlinux.org/ Midgard Project Ry http://www.midgard-project.org/