Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 07-09-2004, 12:13 PM   #1
LQ Newbie
Registered: Jun 2004
Location: Iowa
Distribution: Fedora Core 2
Posts: 16

Rep: Reputation: 0
Samba and Novell

I'm trying to mount a smb share on my fedora core 2 machine from a novell server. but I keep getting the following error
root@pc10-107 /]# mount -t smbfs //tester-w/ /root/ -o ip=(tester-w's ip)
6961: protocol negotiation failed
SMB connection failed
[root@pc10-107 /]#

I'm using Novell Netware v6.5
A fully updated version of Fedora Core 2
and I downloaded and installed the newest version of samba 3.0.5

the strange thing is that the error code is not always 6961 in fact I is always a different number. My smb.conf file is as follows (I deleted a all the commented out parts):

# This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed
# here. Samba has a huge number of configurable options (perhaps too
# many!) most of which are not shown in this example
# Any line which starts with a ; (semi-colon) or a # (hash)
# is a comment and is ignored. In this example we will use a #
# for commentry and a ; for parts of the config file that you
# may wish to enable
# NOTE: Whenever you modify this file you should run the command "testparm"
# to check that you have not made any basic syntactic errors.

# workgroup = NT-Domain-Name or Workgroup-Name
workgroup = MYGROUP

# server string is the equivalent of the NT Description field
server string = tester-w

# if you want to automatically load your printer list rather
# than setting them up individually then you'll need this
printcap name = /etc/printcap
load printers = yes

# all information in one file
log file = /var/log/samba/log.smbd

# Put a capping on the size of the log files (in Kb).
max log size = 50

# Security mode. Most people will want user level security. See
# security_level.txt for details.
security = user

# Most people will find that this option gives better performance.
# See speed.txt and the manual pages for details
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

# DNS Proxy - tells Samba whether or not to try to resolve NetBIOS names
# via DNS nslookups. The built-in default for versions 1.9.17 is yes,
# this has been changed in version 1.9.18 to no.
dns proxy = no

comment = Home Directories
browseable = no
writable = yes

# NOTE: If you have a BSD-style print system there is no need to
# specifically define each individual printer
comment = All Printers
path = /var/spool/samba
browseable = no
# Set public = yes to allow user 'guest account' to print
guest ok = no
writable = no
printable = yes

So now for my question: what is wrong? who did I annoy to have this evil problem?
Old 07-09-2004, 01:39 PM   #2
LQ Newbie
Registered: Apr 2004
Location: Princeton
Distribution: Red Hat Linux ES 3
Posts: 8

Rep: Reputation: 0
Novell Client for Linux

To my knowledge, Samba does not handle Novell files systems. Samba after all is an open source implementation of Microsoft network file systems (CIFS,SMB, NetBIOS). You will need to get Netware specific tools. See here:
Old 07-23-2004, 08:45 AM   #3
LQ Newbie
Registered: Jun 2004
Location: Iowa
Distribution: Fedora Core 2
Posts: 16

Original Poster
Rep: Reputation: 0
It's all in the syntax and CIFS

I was able to get Novell mounted with smbmount. A thing I didn't mention before is that I am using CIFS on the Novell server. It was very tricky and I still have some problems with it. Just to clear some information up:

[root@pc10-107 etc]# smbclient -L //tester-w -N
Anonymous login successful
Domain=[WORKGROUP] OS=[NetWare 6.5] Server=[NetWare 6.5]

Sharename Type Comment
--------- ---- -------
Users Disk users
Anonymous login successful
Domain=[WORKGROUP] OS=[NetWare 6.5] Server=[NetWare 6.5]

Server Comment
--------- -------

Workgroup Master
--------- -------
[root@pc10-107 etc]#

The Users share is on the sys volume and is where the users home directory's are located. I don't know what the Server, Comment, Workgroup and Master part do but I hope to eventually find out.

the command I used to get samba to mount on my machine is:

[root@pc10-107 etc]# smbmount //tester-w/users /test -o username=josh
[root@pc10-107 etc]#

I kept hung up on 2 main spots first do not i repeat do not put a / after the directories. ie: //tester-w/users is NOT the same as //tester-w/users/ smbmount will complain and will not mount. It is a simple thing up I felt stupid when I figured it out by accident. Second and now comes my second and current problem. I can only mount with users that are in the base tree (o=baseTree) or people with dn of cn=josh,o=baseTree but not users who have a dn like so cn=dan,ou=someGroup,o=baseTree so the attempted mount command like so would work:

[root@pc10-107 etc]# smbmount //tester-w/users /test -o username=cn=josh,o=baseTree
[root@pc10-107 etc]#

but the attempted mount as dan would fail.

[root@pc10-107 etc]# smbmount //tester-w/users /test -o username=cn=dan,ou=someGroup,o=baseTree
30104: session setup failed: ERRSRV - ERRbadpw (Bad password - name/password pair in a Tree Connect or Session Setup are invalid.)
SMB connection failed
[root@pc10-107 etc]#

even the following would fail

[root@pc10-107 etc]# smbmount //tester-w/users /test -o username=dan
30464: session setup failed: ERRSRV - ERRbadpw (Bad password - name/password pair in a Tree Connect or Session Setup are invalid.)
SMB connection failed
[root@pc10-107 etc]#

I want to be able to mount the users share as a user like dan but I don't know where the problem is. To me I would think that it is a change I would have to make on the server or console oneor is a problem with my syntax. Any Ideas or suggestions would be welcome.


Last edited by Mordeth_0; 07-23-2004 at 04:08 PM.


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
Samba login using XP on Novell idot Linux - Networking 5 03-23-2005 03:00 AM
Novell E-Directory Available to SAMBA treedstang Linux - General 1 02-23-2005 05:19 PM
What do you think is next for Novell? THEHERO General 2 11-22-2003 10:42 AM
novell bought suse, now novell may be bought out ronss Linux - Distributions 3 11-17-2003 08:51 AM
Novell Client on Yopper. (Server running Novell 5 SP6) C++freak Linux - Networking 0 06-03-2003 02:22 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:28 AM.

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