Bluehost.com Web Hosting $6.95

[Samba] cifs and kerberos

This is a discussion on [Samba] cifs and kerberos within the Samba forums, part of the Networking and Network Related category; Hi, when I try to mount a windows share with a valide kerberos ticket : mount.cifs //auberge.iut.lan/install_autocad /...


Go Back   Usenet Forums > Networking and Network Related > Samba

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-02-2008
Brice Rouanet
 
Posts: n/a
Default [Samba] cifs and kerberos

Hi,

when I try to mount a windows share with a valide kerberos ticket :

mount.cifs //auberge.iut.lan/install_autocad /mnt/test/ -o
user='IUT\Administrateur',password=toto,sec=krb5i

I get this error :


Jun 2 12:32:51 brice-deb kernel: fs/cifs/cifs_spnego.c: key
description =
ver=0x1;host=auberge.iut.lan;ip4=10.31.0.12;sec=kr b5;uid=0x0
Jun 2 12:32:51 brice-deb cifs.spnego: keyctl_describe_alloc failed:
Invalid argument
Jun 2 12:32:51 brice-deb kernel: fs/cifs/sess.c: ssetup freeing
small buf ffff8100229c9140
Jun 2 12:32:51 brice-deb kernel: CIFS VFS: Send error in SessSetup = -126
Jun 2 12:32:51 brice-deb kernel: fs/cifs/connect.c: No session or bad tcon
Jun 2 12:32:51 brice-deb kernel: fs/cifs/connect.c: CIFS VFS:
leaving cifs_mount (xid = 10) rc = -126
Jun 2 12:32:51 brice-deb kernel: CIFS VFS: cifs_mount failed
w/return code = -126


Any idea ?

Regards,
Brice.


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba

Reply With Quote
  #2 (permalink)  
Old 06-02-2008
Lukasz Szybalski
 
Posts: n/a
Default Re: [Samba] cifs and kerberos

On Mon, Jun 2, 2008 at 5:33 AM, Brice Rouanet
<brice.rouanet@iut-tlse3.fr> wrote:
> Hi,
>
> when I try to mount a windows share with a valide kerberos ticket :
>
> mount.cifs //auberge.iut.lan/install_autocad /mnt/test/ -o
> user='IUT\Administrateur',password=toto,sec=krb5i
>


have u tried different command:

mount -t cifs -o
UID=lucas,username=administrator,password=password ,domain=mydomainname
//windowsservername/folder /home/lucas/somefolder
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba

Reply With Quote
  #3 (permalink)  
Old 06-02-2008
Helmut Hullen
 
Posts: n/a
Default Re: [Samba] cifs and kerberos

Hallo, Lukasz,

Du (szybalski) meintest am 02.06.08:

>> when I try to mount a windows share with a valide kerberos ticket :
>>
>> mount.cifs //auberge.iut.lan/install_autocad /mnt/test/ -o
>> user='IUT\Administrateur',password=toto,sec=krb5i



> have u tried different command:


> mount -t cifs -o
> UID=lucas,username=administrator,password=password ,domain=mydomainnam
> e //windowsservername/folder /home/lucas/somefolder


"mount -t cifs" needs another syntax than "mount.cifs".

Viele Gruesse!
Helmut
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba

Reply With Quote
  #4 (permalink)  
Old 06-02-2008
Brice Rouanet
 
Posts: n/a
Default Re: [Samba] cifs and kerberos

Hi,

this command don't use kerberos, if I use password authentification,
it works fine, but I need to use kerberos.

Brice.

> On Mon, Jun 2, 2008 at 5:33 AM, Brice Rouanet
> <brice.rouanet@iut-tlse3.fr> wrote:
>> Hi,
>>
>> when I try to mount a windows share with a valide kerberos ticket :
>>
>> mount.cifs //auberge.iut.lan/install_autocad /mnt/test/ -o
>> user='IUT\Administrateur',password=toto,sec=krb5i
>>

>
> have u tried different command:
>
> mount -t cifs -o
> UID=lucas,username=administrator,password=password ,domain=mydomainname
> //windowsservername/folder /home/lucas/somefolder
>
>




****************************************
Brice Rouanet
Technicien informatique
Département Genie Chimique
Centre de Ressources Informatiques
****************************************
Tel : 05.62.25.89.97
Tel : 05.62.25.89.19
****************************************
CRI - IUT "A" PAUL SABATIER
137, avenue de Rangueil
BP67701
31077 TOULOUSE CEDEX 04
****************************************

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba

Reply With Quote
  #5 (permalink)  
Old 06-02-2008
Brice Rouanet
 
Posts: n/a
Default Re: [Samba] cifs and kerberos

In the man, I can see :

WARNING: smbmount is deprecated and not maintained any longer.
mount.cifs (mount -t cifs) should be used instead of smbmount.

I use samba 3.2 rc with cifs.spnego upcall helper and not work, why ? :(

Brice.

> Look this example of smbmount with Kerberos:
> ROOT#Â* SMBMOUNT //SERVER/NETLOGON /TMP/NETLOGON/ -O KRB
> Warning: kerberos support will only work for samba servers
>
> ROOT#Â* DF
> Sist. Arq.Â*Â*Â*Â*Â*Â*Â*Â*Â*Â* 1K-blocosÂ*Â*Â*Â*Â* Usad Dispon.Â*Â*
> Uso% Montado em
> ...
> //bioquimik/netlogonÂ*Â* 7305344Â*Â* 1244544Â*Â* 6060800Â* 18%
> /tmp/netlogon
> ...
>
> ROOT#Â* KLIST
> Credentials cache: FILE:/tmp/krb5cc_0
> Â*Â*Â*Â*Â*Â*Â* Principal: eduardo@DOMAIN.COM.BR
>
> Â* IssuedÂ*Â*Â*Â*Â*Â*Â*Â*Â*Â* ExpiresÂ*Â*Â*Â*Â*Â*Â*Â*Â* Principal
> Jan 20 14:31:06Â* Jan 21 12:44:26Â*
> krbtgt/DOMAIN.COM.BR@DOMAIN.COM.BR
> JAN 20 14:31:09Â* JAN 21 12:44:26Â*
> CIFS/SERVER.DOMAIN.COM.BR@DOMAIN.COM.BR
> []`s
>
> Brice Rouanet escreveu: Hi,
>
> this command don't use kerberos, if I use password authentification,
> it works fine, but I need to use kerberos.
>
> Brice.
>
>> On Mon, Jun 2, 2008 at 5:33 AM, Brice Rouanet
>>

> href=\"mailto:brice.rouanet@iut-tlse3.fr\"><brice.rouanet@iut-tlse3.fr>
>> wrote:
>> Hi,
>>
>> when I try to mount a windows share with a valide kerberos ticket :
>>
>>
>> mount.cifs //auberge.iut.lan/install_autocad /mnt/test/ -o
>> user='IUT\Administrateur',password=toto,sec=krb5i

>
> have u tried different command:
>
> mount -t cifs -o
> UID=lucas,username=administrator,password=password ,domain=mydomainname
>
> //windowsservername/folder /home/lucas/somefolder
>
> ****************************************
> Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â* Brice Rouanet
> Â*Â*Â*Â*Â*Â*Â*Â* Technicien informatique
> Â*Â*Â*Â*Â*Â*Â* Département Genie Chimique
> Â*Â*Â* Centre de Ressources Informatiques
> ****************************************
> Â*Â*Â*Â*Â*Â*Â*Â*Â* Tel : 05.62.25.89.97
> Â*Â*Â*Â*Â*Â*Â*Â*Â* Tel : 05.62.25.89.19
> ****************************************
> Â*Â*Â*Â*Â*Â* CRI - IUT "A" PAUL SABATIER
> Â*Â*Â*Â*Â*Â*Â*Â* 137, avenue de Rangueil
> Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â*Â* BP67701
> Â*Â*Â*Â*Â*Â*Â*Â* 31077 TOULOUSE CEDEX 04
> ****************************************
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
>




****************************************
Brice Rouanet
Technicien informatique
Département Genie Chimique
Centre de Ressources Informatiques
****************************************
Tel : 05.62.25.89.97
Tel : 05.62.25.89.19
****************************************
CRI - IUT "A" PAUL SABATIER
137, avenue de Rangueil
BP67701
31077 TOULOUSE CEDEX 04
****************************************

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 09:14 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0