On Sat, Jan 13, 2007 at 09:27:13PM -0500, Michael Olson wrote:
> Davor Ocelic <[EMAIL PROTECTED]> writes:
> 
> > Let's go this route. Create /etc/keytabs/ and put all 
> > keytabs we'll use there. Each user or service in its own file.
> >
> > So for each user we will do, within kadmin: 
> >
> >   ktadd -k /etc/keytabs/NAME.keytab NAME
> >
> > The file will already have mode 600, we will just have
> > to chown it appropriately.
> 
> I've moved the .keytab files to this new directory, except for
> /etc/krb5.keytab.
> 
> In the process of trying to create a keytab for Debian-exim, I ran
> 
>   ktadd -k -p root/admin /etc/keytabs/exim.keytab Debian-exim

Erm.. ?? Did you even bother to fire up a man page and see
about -k ?

> 
> From the kadmin prompt and noticed that this created a keytab file
> called "-p" in the current directory.  (Aside: I probably should have
> used the path /etc/keytabs/Debian-exim.keytab.)
> 
> After doing this, trying to run "kadmin -k -p root/admin" fails with:
> 
>   Authenticating as principal root/admin with default keytab.
>   kadmin: Incorrect password while initializing kadmin interface
> 
> Did I mess something up, or is something else being done in the
> background?
> 
> -- 
> Michael Olson -- FSF Associate Member #652 -- http://www.mwolson.org/
> Interests: Lisp, text markup, protocols -- Jabber: mwolson_at_hcoop.net
>   /` |\ | | | Projects: Emacs, Muse, ERC, EMMS, Planner, ErBot, DVC
>  |_] | \| |_| Reclaim your digital rights by eliminating DRM.
>       See http://www.defectivebydesign.org/what_is_drm for details.



> _______________________________________________
> HCoop-SysAdmin mailing list
> [email protected]
> http://hcoop.net/cgi-bin/mailman/listinfo/hcoop-sysadmin


_______________________________________________
HCoop-SysAdmin mailing list
[email protected]
http://hcoop.net/cgi-bin/mailman/listinfo/hcoop-sysadmin

Reply via email to