LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Samba works in CLI but not using KDE or SMB4K (https://www.linuxquestions.org/questions/linux-software-2/samba-works-in-cli-but-not-using-kde-or-smb4k-315634/)

enryfox 04-21-2005 05:44 AM

Samba works in CLI but not using KDE or SMB4K
 
Hi,

my company has a network set up with active directory and many servers with shared folders.
To mount a share under CLI I simply enter :

smbmount //server/share ~/shares -o username=NT_DOMAIN\\nt_login

I am asked the password (the same I use to login to windowsXP) and everything works fine.

On the other hand using konqueror or smb4k, I can browse the share just entering

smb://server/share

but then i am asked to autheticate and it doesn't work (keep aksing me to authenticate).
I've tried every possible variant of my username and domain:

NT_DOMAIN\\nt_login
NT_DOMAIN\nt_login
NT_DOMAIN//nt_login
NT_DOMAIN/nt_login
nt_login

but none works.
Whst's wrong ?

thanks

ps: i'm using mandriva 2005LE (aka mandrakelinux 10.2) with kde 3.3.2

winsnomore 04-21-2005 09:15 AM

Do you have the share listed in the fstab ? if so .. is marked with user option.

mount calls smbmount to do the mounting for windows fs .. smbmount will mount a fs for a users even if it's not marked as such .. mount won't.
I am not sure what konquerer uses ... try after modifying /etc/fstab such ..
//windown/share /linux/mount_point smbfs noauto,user 0 0
and see if works.

enryfox 04-21-2005 09:52 AM

Hi,
thanks for your reply.

Both konqueror and smb4k should behave as smbmount, that is mount windows share for a user without sudo or su.

If for every share i should add a line in fstab it would be madness :) I think the problem is related to the authentication process, because i can actually browse the shares with smb4k. Other people seems to have a similar problem with smb4k, and the only solution suggested is "use CLI and smbmount".

enrico

{BBI}Nexus{BBI} 04-21-2005 05:36 PM

I've been having a lot of problems with smb4k recently so I switched to using LinNeighborhood. Problem solved :-)


All times are GMT -5. The time now is 08:21 PM.