Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-06-2009, 06:14 AM
|
#1
|
Member
Registered: Oct 2006
Posts: 302
Rep:
|
cifs and kerberos
Hallo:
I use kubuntu 8.04 and smb has been replaced by cifs.
Does any know when cifs is going to support kerberos? Is there any way to use kerberos with cifs?
Thanks
|
|
|
04-07-2009, 03:55 PM
|
#2
|
Senior Member
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Rep:
|
CIFS is a Microsoft term for the latest generation of file sharing technology SMB. In linux, we use SAMBA to talk to CIFS and SMB shares on a Windows network. So when you ask:
Quote:
Does any know when cifs is going to support kerberos? Is there any way to use kerberos with cifs?
|
do you mean is Kerberos used by your kubuntu box to talk to a windows network?
There is some information on the SAMBA website which may help you out, and it talks about SAMBA 4 using Kerberos as part of the authentication process for windows clients. However, I should say to you, CIFS is a filesharing protocol, and Kerberos is an authentication protocol/mechanism. So why would CIFS support Kerberos?
|
|
|
04-07-2009, 08:16 PM
|
#3
|
LQ Newbie
Registered: Aug 2007
Distribution: Slackware from 94-09, Debian Since March 09
Posts: 28
Rep:
|
Quote:
Does any know when cifs is going to support kerberos? Is there any way to use kerberos with cifs?
|
At work, I am running Debian on several workstations, and Ubuntu Server on several servers. All of which are integrated as members of our AD domain. Each system is configured to use kerberos for authentication, and all AD file shares are handled using CIFS.
So to answer your questions in short: It already is, and Yes.
The configuration reference I used to set this up:
https://help.ubuntu.com/community/Ac...ryWinbindHowto
As an added bonus, I have several of our AD shares auto-mounted (using CIFS for the file-sharing protocol, and kerberos for authentication) in the user home directory upon logon through implementation of the pam_mount module. A short google query should point you in the right direction if you are interested in that as well...
In addition, manual-mounting of AD shares is accomplished through the use of mount.cifs (or mount -t cifs) and typically works for the users without the need of re-entering credentials thanks to a working kerberos configuration.
The only snag I've run into thus-far is CUPS-based printing to AD shared printers from these systems using kerberos... But that is another story...
Hope this helps some.
|
|
|
04-08-2009, 07:47 AM
|
#4
|
Member
Registered: Oct 2006
Posts: 302
Original Poster
Rep:
|
Thanks:
Finally, I've realized it works fine. The problem was that I was asked for a password and I thought it was not working.
I've solved the problem with:
mount.cifs //server/share mountpoint -o sec=krb5,pass=
Thanks
Last edited by Felipe; 04-08-2009 at 08:01 AM.
|
|
|
04-13-2009, 04:53 AM
|
#5
|
Member
Registered: Oct 2006
Posts: 302
Original Poster
Rep:
|
Sorry:
It really doesn't work.
The previous command:
mount.cifs //server/share mountpoint -o sec=krb5,pass=
isn't working as I thought.
That command works because I already had that share mounted in another mount point with:
mount.cifs //server/share another_mountpoint -o username=my_user,workgroup=dom,password=my_pass
But it that share is not mounted, then I receive this error:
mount.cifs "//server/my_user" /mnt/users/test --verbose -o sec=krb5,pass=
parsing options: sec=krb5,pass=
mount.cifs kernel mount options unc=//server\my_user,ip=10.11.23.123,user=my_user,,,,,,domain=dom,ver=1,sec=krb5,pass=,uid=1643642063,gid= 1643673393
mount error 2 = No such file or directory
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
As I say, this command works find if the share is already mounted in another directory (or if I replace the sec=krb5,pass= by username=my_user,workgroup=dom,password=my_pass).
Any suggestion?
Thanks
|
|
|
All times are GMT -5. The time now is 11:11 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|