Ubuntu 9.10 workstation, windows 2003 domain.
Initially I followed all sorts of examples like this...
https://help.ubuntu.com/community/Ac...ryWinbindHowto
Got samba, kerberos and winbind working so I could log in as a domain user. (win 2003 Domain)
Then using cifs...
mount.cifs //server/windows-share /test -o sec=krb5 --verbose
came up with the "mount error 2 = No such file or directory" issue.
The only scrap of info that looked interesting was reference to keyutils.
As a trial I installed the keyutils package using get-apt install and restarted the machine. (Windows habit.)
Being logged in as root I got a ticket for domain user by running kinit [domain-user x]
Then... mount.cifs //server/windows-share /test -o sec=krb5 --verbose
It worked.
ran umount.cifs /test to disconnect the share.
Logged out of root.
Then I logged in as [domain-user x], for me this was using [domain\username]
Then... mount.cifs //server/windows-share /test -o sec=krb5 --verbose
DID NOT WORK. Even though as root I had obtained a ticket for user x.
Sorry I cannot remember the error but I have it logged at work.
Anyway it transpires or seems that the user running the mount.cifs command must be the same user that obtains the kerberos ticket. Why? I am not sure right now but it is good to know.
I opened a terminal and entered kinit [domain-user x] to obtain a ticket from the KDC for the logged in user [domain-user x].
Then... mount.cifs //server/windows-share /test -o sec=krb5 --verbose
Worked. Yee ha.
So after configuring a machine for kerberos, samba, winbind etc, joining active directory and logging in as the domain user...
keyutils was the final key to the puzzle - so to speak.
I only installed it after everything else was configured and only did so because of cifs did not like [sec=krbf]
I did not configure any files after installing keyutils.
I hope this helps some people navigate part of the minefield trying to make Ubuntu 9.10 workstation play nice in a windows domain.
I would be happy to elaborate further on my setup that worked if anyone is interested.
Oh and to all those people out there who seem to take pride in boasting how they "apparently" managed to get something working, without actually offering up anything useful for others, SHAME ON YOU.
Munta