[Samba] cifs and kerberos

Brice Rouanet brice.rouanet at iut-tlse3.fr
Mon Jun 2 18:45:52 GMT 2008


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 at DOMAIN.COM.BR
>
>   Issued           Expires          Principal
> Jan 20 14:31:06  Jan 21 12:44:26 
> krbtgt/DOMAIN.COM.BR at DOMAIN.COM.BR
> JAN 20 14:31:09  JAN 21 12:44:26 
> CIFS/SERVER.DOMAIN.COM.BR at 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 at iut-tlse3.fr\"><brice.rouanet at 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.




More information about the samba mailing list