LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 12-11-2007, 04:57 PM   #1
cuda
Member
 
Registered: Jan 2007
Posts: 43

Rep: Reputation: 15
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
 
Old 12-11-2007, 05:53 PM   #2
Glennzo
Member
 
Registered: May 2003
Location: Salem, Mass USA
Distribution: Fedora
Posts: 393

Rep: Reputation: 47
Make sure smb and nmb are started in system services.
 
Old 12-12-2007, 12:50 PM   #3
cuda
Member
 
Registered: Jan 2007
Posts: 43

Original Poster
Rep: Reputation: 15
its running
 
Old 12-12-2007, 01:04 PM   #4
Glennzo
Member
 
Registered: May 2003
Location: Salem, Mass USA
Distribution: Fedora
Posts: 393

Rep: Reputation: 47
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
 
Old 12-13-2007, 08:27 AM   #5
cuda
Member
 
Registered: Jan 2007
Posts: 43

Original Poster
Rep: Reputation: 15
[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
 
Old 12-13-2007, 08:33 AM   #6
Glennzo
Member
 
Registered: May 2003
Location: Salem, Mass USA
Distribution: Fedora
Posts: 393

Rep: Reputation: 47
Quote:
Originally Posted by cuda View Post
[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
I assume that cyclone is the Windows box? Please post the output of rpm -q samba, chkconfig --list smb and chkconfig --list nmb . Also, have you done any editing to /etc/samba/smb.conf? Are you positive that the Windows folder is shared?
 
Old 12-13-2007, 11:19 AM   #7
cuda
Member
 
Registered: Jan 2007
Posts: 43

Original Poster
Rep: Reputation: 15
[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
 
Old 12-13-2007, 12:11 PM   #8
cuda
Member
 
Registered: Jan 2007
Posts: 43

Original Poster
Rep: Reputation: 15
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
 
Old 12-13-2007, 12:27 PM   #9
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
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/
 
Old 12-13-2007, 03:40 PM   #10
Glennzo
Member
 
Registered: May 2003
Location: Salem, Mass USA
Distribution: Fedora
Posts: 393

Rep: Reputation: 47
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.
 
Old 12-13-2007, 08:10 PM   #11
cuda
Member
 
Registered: Jan 2007
Posts: 43

Original Poster
Rep: Reputation: 15
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
 
Old 12-13-2007, 08:14 PM   #12
cuda
Member
 
Registered: Jan 2007
Posts: 43

Original Poster
Rep: Reputation: 15
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
 
Old 12-14-2007, 03:26 AM   #13
Glennzo
Member
 
Registered: May 2003
Location: Salem, Mass USA
Distribution: Fedora
Posts: 393

Rep: Reputation: 47
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
#======================= Global Settings =====================================
[global]
        workgroup = JOHNSON
        server string = Samba Server Version %v
        netbios name = TOSHIBA
        log file = /var/log/samba/log.%m
        max log size = 50
        security = user

#============================ Share Definitions ==============================
[homes]
        Comment = Home Directories
        browseable = no
        writable = yes

[temp]
        Comment = Public Stuff
        path = /tmp
        public = yes
        writable = yes
        printable = no
        browseable = yes
After you make the change restart smb and nmb. Since you can't seem to use chkconfig try /sbin/service smb restart and /sbin/service nmb restart. Next time, with chkconfig, use the full path /sbin/chkconfig. /sbin/chkconfg --list smb for example.
 
Old 12-14-2007, 09:48 AM   #14
cuda
Member
 
Registered: Jan 2007
Posts: 43

Original Poster
Rep: Reputation: 15
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".
 
Old 12-14-2007, 11:47 AM   #15
Glennzo
Member
 
Registered: May 2003
Location: Salem, Mass USA
Distribution: Fedora
Posts: 393

Rep: Reputation: 47
Try /sbin/chkconfig. If that doesn't work try it as root.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
network to windoz cuda Fedora 2 11-05-2007 07:22 PM
Windoz setup w/ Linux himm Linux - General 3 12-04-2004 10:37 AM
X Server for Windoz? jspenguin General 5 05-10-2004 12:58 PM
FYI Windoz & Doz network users: new patch time! witeshark General 0 02-10-2004 08:18 PM
windoz can see but denies share laminapoo Linux - Networking 2 10-21-2003 08:13 AM


All times are GMT -5. The time now is 01:19 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration