Login problem to novell-cifs share

I have problem with connecting to a novell-cifs server (SLES10 SP4/OES2
SP3) with both nautilus and konqueror running on SLED11 SP1 i686. After
the password prompt it might take minutes until the connection is
established or finally refused. Opening the share on the command line
with smbclient works instantly, however.

Options set on the server:

novcifs -o


Server Operational Parameters:

Server - “TEST”
Comment - “CIFS Server”
Authentication - “Local”
File Flush - Disabled
LMCompatibilityLevel - 5
Oplocks - Enabled
DFS - Disabled
Unicode - Enabled
Domain Add-on - Disabled
Cross Protocol Lock - Enabled
Auditing - Disabled
Guest Login - Disabled
Subtree Search - Disabled
Maximum Cached Subdirectories Per Volume - 102400
Maximum Cached Files Per Subdirectory - 10240
Maximum Cached Files Per Volume - 256000
Range Lock Masking - Enabled
csc - 0
SMB Signatures - Mandatory

Option set on the client in /etc/samba/smb.conf:
[global]
client ntlmv2 auth = yes

My wild guess is that nautilus tries whatever version of LM before
starting the negotiate the correct NTLMv2 dialog. Any comments on this?
How can this be configured in Gnome oder KDE4?

Günther

I think Nautilus does such mounts using gvfs-mount so you could try using that on command line, see if there’s any useful output.

$ gvfs-mount smb://what/ever/

Also have a look see if there’s any debug or verbose options available. You could also try launching nautilus from a command prompt then doing that map so you can see any output from it or child processes. Also look at ~/.xsession-errors.

SLED 11 SP1 will go end of life soon so it’s worth installing a copy of SLED 11 SP2 and seeing if the problem exists with that.

mikewillis wrote:[color=blue]

I think Nautilus does such mounts using gvfs-mount so you could try
using that on command line, see if there’s any useful output.

Code:

 $ gvfs-mount smb://what/ever/

Also have a look see if there’s any debug or verbose options available.
You could also try launching nautilus from a command prompt then doing
that map so you can see any output from it or child processes. Also look
at ~/.xsession-errors.[/color]

strap@localhost:~> gvfs-mount -i smb://test.mycompany.com/testvol
Für den Speicherort testvol auf test.mycompany.com wird ein Passwort
benötigt
User [strap]:
gs
Domain [WORKGROUP]:

Password:

strap@localhost:~> ls -la .gvfs/
insgesamt 4
dr-x------ 3 strap users 0 30. Apr 10:23 .
drwxr-xr-x 34 strap users 4096 30. Apr 10:24 …
drwx------ 1 strap users 0 30. Jun 2011 testvol auf test.mycompany.com
strap@localhost:~>

Still takes forever, no output to /var/log/messages.

Output form .xsession-errors does not look promising also:

Gtk-Message: (for origin information, set GTK_DEBUG): failed to retrieve
property GtkTreeView::odd-row-color' of type GdkColor’ from rc file
value “((GString*) 0x8199990)” of type `GString’
Connecting to deprecated signal
QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
Nautilus-Share-Message: REFRESHING SHARES
Nautilus-Share-Message: ------------------------------------------
Nautilus-Share-Message: spawn arg “net”
Nautilus-Share-Message: spawn arg “usershare”
Nautilus-Share-Message: spawn arg “info”
Nautilus-Share-Message: end of spawn args; SPAWNING

Nautilus-Share-Message: returned from spawn: SUCCESS:
Nautilus-Share-Message: exit code 255
Nautilus-Share-Message: ------------------------------------------
Nautilus-Share-Message: Called “net usershare info” but it failed: ‘net
usershare’ hat Fehler 255 zurückgegeben: net usershare: usershares are
currently disabled

kdeinit4: preparing to launch /usr/lib/libkdeinit4_kbuildsycoca4.so
(3930)/ KStartupInfo::createNewStartupId:
creating: “localhost;1335775614;61893;3930_TIME0” : “unnamed app”
kbuildsycoca4 running…

(nautilus:3533): Gtk-WARNING **: Refusing to add non-unique action
‘NautilusOpenTerminal::open_terminal’ to action group ‘ExtensionsMenuGroup’
[color=blue]

SLED 11 SP1 will go end of life soon so it’s worth installing a copy of
SLED 11 SP2 and seeing if the problem exists with that.[/color]

SP2 is on the to-do list, but I will not have time to upgrade in short time.

Günther

Strap,

It appears that in the past few days you have not received a response to your
posting. That concerns us, and has triggered this automated reply.

Has your problem been resolved? If not, you might try one of the following options:

  • Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
  • You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)

Be sure to read the forum FAQ about what to expect in the way of responses:
http://forums.novell.com/faq.php

If this is a reply to a duplicate posting, please ignore and accept our apologies
and rest assured we will issue a stern reprimand to our posting bot.

Good luck!

Your Novell Product Support Forums Team
http://forums.novell.com/