need help with samba-windoz network
I just installed fedora 8 (had fc7)
now I cant connect to my windoz machines it worked fine with fedora 7 |
Make sure smb and nmb are started in system services.
|
its running
|
What do these get you? (press enter when prompted for password)
smbclient -L <nameofwindowscomputer> Mine: [glenn@toshiba ~]$ smbclient -L dad Password: Anonymous login successful Domain=[JOHNSON] OS=[Unix] Server=[Samba 3.0.27a-0.fc8] Sharename Type Comment --------- ---- ------- homes Disk Home Directories temp Disk Public Stuff IPC$ IPC IPC Service (Samba Server Version 3.0.27a-0.fc8) Anonymous login successful Domain=[JOHNSON] OS=[Unix] Server=[Samba 3.0.27a-0.fc8] Server Comment --------- ------- DAD Samba Server Version 3.0.27a-0.fc8 LONGBOTTOM Neville's Old Computer TOSHIBA Samba Server Version 3.0.28-0.fc8 Workgroup Master --------- ------- JOHNSON DAD smbtree Mine: [glenn@toshiba ~]$ smbtree Password: JOHNSON \\TOSHIBA Samba Server Version 3.0.28-0.fc8 \\TOSHIBA\IPC$ IPC Service (Samba Server Version 3.0.28-0.fc8) \\TOSHIBA\temp Public Stuff \\LONGBOTTOM Neville's Old Computer \\LONGBOTTOM\C$ Default share \\LONGBOTTOM\ADMIN$ Remote Admin \\LONGBOTTOM\temp \\LONGBOTTOM\My Pictures \\LONGBOTTOM\D \\LONGBOTTOM\C \\LONGBOTTOM\D$ Default share \\LONGBOTTOM\IPC$ Remote IPC \\LONGBOTTOM\My Documents \\DAD Samba Server Version 3.0.27a-0.fc8 \\DAD\IPC$ IPC Service (Samba Server Version 3.0.27a-0.fc8) \\DAD\temp Public Stuff \\DAD\homes Home Directories |
[cuda@localhost ~]$ smbclient -L cyclone
Connection to cyclone failed (Error NT_STATUS_BAD_NETWORK_NAME) [cuda@localhost ~]$ [cuda@localhost ~]$ smbtree Password: [cuda@localhost ~]$ I get a whole bunch of nothing |
Quote:
|
[cuda@localhost ~]$ rpm -q samba, chkconfig --list smb
package samba, is not installed /etc/alternatives /etc/init.d /etc/rc.d/init.d /etc/rc.d/rc0.d /etc/rc.d/rc1.d /etc/rc.d/rc2.d /etc/rc.d/rc3.d /etc/rc.d/rc4.d /etc/rc.d/rc5.d /etc/rc.d/rc6.d /etc/rc0.d /etc/rc1.d /etc/rc2.d /etc/rc3.d /etc/rc4.d /etc/rc5.d /etc/rc6.d /sbin/chkconfig /usr/sbin/alternatives /usr/sbin/update-alternatives /usr/share/doc/chkconfig-1.3.36 /usr/share/doc/chkconfig-1.3.36/COPYING /usr/share/locale/ar/LC_MESSAGES/chkconfig.mo /usr/share/locale/as/LC_MESSAGES/chkconfig.mo /usr/share/locale/be/LC_MESSAGES/chkconfig.mo /usr/share/locale/bg/LC_MESSAGES/chkconfig.mo /usr/share/locale/bn/LC_MESSAGES/chkconfig.mo /usr/share/locale/bn_IN/LC_MESSAGES/chkconfig.mo /usr/share/locale/bs/LC_MESSAGES/chkconfig.mo /usr/share/locale/ca/LC_MESSAGES/chkconfig.mo /usr/share/locale/cs/LC_MESSAGES/chkconfig.mo /usr/share/locale/cy/LC_MESSAGES/chkconfig.mo /usr/share/locale/da/LC_MESSAGES/chkconfig.mo /usr/share/locale/de/LC_MESSAGES/chkconfig.mo /usr/share/locale/el/LC_MESSAGES/chkconfig.mo /usr/share/locale/en_GB/LC_MESSAGES/chkconfig.mo /usr/share/locale/es/LC_MESSAGES/chkconfig.mo /usr/share/locale/et/LC_MESSAGES/chkconfig.mo /usr/share/locale/fi/LC_MESSAGES/chkconfig.mo /usr/share/locale/fr/LC_MESSAGES/chkconfig.mo /usr/share/locale/gl/LC_MESSAGES/chkconfig.mo /usr/share/locale/gu/LC_MESSAGES/chkconfig.mo /usr/share/locale/he/LC_MESSAGES/chkconfig.mo /usr/share/locale/hi/LC_MESSAGES/chkconfig.mo /usr/share/locale/hr/LC_MESSAGES/chkconfig.mo /usr/share/locale/hu/LC_MESSAGES/chkconfig.mo /usr/share/locale/hy/LC_MESSAGES/chkconfig.mo /usr/share/locale/id/LC_MESSAGES/chkconfig.mo /usr/share/locale/is/LC_MESSAGES/chkconfig.mo /usr/share/locale/it/LC_MESSAGES/chkconfig.mo /usr/share/locale/ja/LC_MESSAGES/chkconfig.mo /usr/share/locale/ka/LC_MESSAGES/chkconfig.mo /usr/share/locale/kn/LC_MESSAGES/chkconfig.mo /usr/share/locale/ko/LC_MESSAGES/chkconfig.mo /usr/share/locale/ku/LC_MESSAGES/chkconfig.mo /usr/share/locale/lo/LC_MESSAGES/chkconfig.mo /usr/share/locale/lv/LC_MESSAGES/chkconfig.mo /usr/share/locale/mk/LC_MESSAGES/chkconfig.mo /usr/share/locale/ml/LC_MESSAGES/chkconfig.mo /usr/share/locale/mr/LC_MESSAGES/chkconfig.mo /usr/share/locale/ms/LC_MESSAGES/chkconfig.mo /usr/share/locale/my/LC_MESSAGES/chkconfig.mo /usr/share/locale/nb/LC_MESSAGES/chkconfig.mo /usr/share/locale/nl/LC_MESSAGES/chkconfig.mo /usr/share/locale/nn/LC_MESSAGES/chkconfig.mo /usr/share/locale/or/LC_MESSAGES/chkconfig.mo /usr/share/locale/pa/LC_MESSAGES/chkconfig.mo /usr/share/locale/pl/LC_MESSAGES/chkconfig.mo /usr/share/locale/pt/LC_MESSAGES/chkconfig.mo /usr/share/locale/pt_BR/LC_MESSAGES/chkconfig.mo /usr/share/locale/ro/LC_MESSAGES/chkconfig.mo /usr/share/locale/ru/LC_MESSAGES/chkconfig.mo /usr/share/locale/si/LC_MESSAGES/chkconfig.mo /usr/share/locale/sk/LC_MESSAGES/chkconfig.mo /usr/share/locale/sl/LC_MESSAGES/chkconfig.mo /usr/share/locale/sq/LC_MESSAGES/chkconfig.mo /usr/share/locale/sr/LC_MESSAGES/chkconfig.mo /usr/share/locale/sr@Latn/LC_MESSAGES/chkconfig.mo /usr/share/locale/sv/LC_MESSAGES/chkconfig.mo /usr/share/locale/ta/LC_MESSAGES/chkconfig.mo /usr/share/locale/te/LC_MESSAGES/chkconfig.mo /usr/share/locale/tr/LC_MESSAGES/chkconfig.mo /usr/share/locale/uk/LC_MESSAGES/chkconfig.mo /usr/share/locale/ur/LC_MESSAGES/chkconfig.mo /usr/share/locale/vi/LC_MESSAGES/chkconfig.mo /usr/share/locale/zh_CN/LC_MESSAGES/chkconfig.mo /usr/share/locale/zh_TW/LC_MESSAGES/chkconfig.mo /usr/share/man/man8/alternatives.8.gz /usr/share/man/man8/chkconfig.8.gz /usr/share/man/man8/update-alternatives.8.gz /var/lib/alternatives package smb is not installed [cuda@localhost ~]$ chkconfig --list nmb bash: chkconfig: command not found [cuda@localhost ~]$ smbd (pid 2349 2334) is running... so ho could it be running if it isnt installed |
samba is installed i didnt change samba in any way an I have 2 windoz boxes and both have shared files they talk to each
other and fc7 did to |
Check the "workgroup = " line in your smb.conf file. You may not have changed it from the default.
Also, check the samba log. It may give a non-generic error message pinpointing the problem. You might also want to look at this thread: http://www.linuxquestions.org/questi...pgrade-335899/ |
Each one of those commands were meant to be run one at a time. If samba is not installed then install it with yum install samba. Afterwards, as jschiwal says, edit the workgroup line in /etc/samba/smb.conf. It needs to reflect the name of your workgroup. Then chkconfig --level 35 smb on and chkconfig --level 35 nmb on. Now browse for your windows share. smbtree should also show cyclone.
|
I did do them one at a time
and the workgroup matches windows and chkconfig: command not found [root@localhost cuda]# yum install samba livna 100% |=========================| 2.1 kB 00:00 fedora 100% |=========================| 2.1 kB 00:00 updates 100% |=========================| 2.3 kB 00:00 Setting up Install Process Parsing package install arguments Package samba - 3.0.28-0.fc8.i386 is already installed. Nothing to do under system/services/smb and/nmb are running |
and smbtree
[cuda@localhost ~]$ smbtree Password: WORKGROUP MYGROUP \\LOCALHOST Samba Server Version 3.0.28-0.fc8 \\LOCALHOST\IPC$ IPC Service (Samba Server Version 3.0.28-0.fc8) \\LOCALHOST\Music \\CYCLONE cli_start_connection: failed to connect to CYCLONE<20> (0.0.0.0). Error NT_STATUS_BAD_NETWORK_NAME |
OK, change /etc/samba/smb.conf so the workgroup says whatever your workgroup is. Mine is JOHNSON, my last name. Here's my smb.conf:
Code:
[glenn@toshiba ~]$ cat /etc/samba/smb.conf |
my windows workgroup is MYGROUP
they match do you think could be the same reason the chkconfig isnt working if I go to my network I can see my windows box and in windows I can see my linux box just cant access them the windows error message is cant access might not have permission in linux Sorry, couldn't display all the contents of "Windows Network: cyclone". |
Try /sbin/chkconfig. If that doesn't work try it as root.
|
All times are GMT -5. The time now is 10:34 PM. |