You are not logged in.
Hi,
I have followed this wiki.
https://wiki.archlinux.org/index.php/Sa … Controller
but when I am here
Kerberos Client Utilities
The provisioning step above created a perfectly valid krb5.conf file for use with a Samba 4 DC. Install it with the following commands:
mv /etc/krb5.conf{,.default}
cp /var/lib/samba/private/krb5.conf /etc
I didn't found this file on the disk /var/lib/samba/private/krb5.conf.
Can someone helpme ??
Thanks,
Dominique Schaefer
Offline
I have never used samba or krb5 (I barely know what they are) - but I suspect that wiki page is out of date. Pkgfile is a useful tool in situations like these:
$ pkgfile /var/lib/samba/private/krb5.conf
$ pkgfile krb5.conf
core/krb5
extra/samba
$ pkgfile -l krb5 | grep krb5.conf
core/krb5 /etc/krb5.conf
core/krb5 /usr/bin/krb5-config
core/krb5 /usr/share/doc/krb5/examples/krb5.conf
core/krb5 /usr/share/man/man1/krb5-config.1.gz
core/krb5 /usr/share/man/man5/krb5.conf.5.gz
$ pkgfile -l samba | grep krb5.conf
extra/samba /usr/share/samba/setup/krb5.conf
This tells me the file mentioned in the wiki does not exist in any package in the repos (perhaps in the AUR). But there is a file called krb5.conf in each of the krb5 and samba packages. The last two commands show that these files would be /usr/share/doc/krb5/examples/krb5.conf and /usr/share/samba/setup/krb5.conf. I'd next check what is actually in these files: if they are the same, use either of those - if they differ you'll need to wait for other input or see if either of them is likely what the wiki page is referring to.
EDIT: I just reread the wiki - and it seems that page is actively maintained - and the part that refers to this file says it is created by the steps just above. Did you do the steps above that part?
samba-tool domain provision --use-rfc2307 --interactive --use-xattrs=yes
Last edited by Trilby (2014-10-15 12:33:01)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Hi,
Yes I've done it. But perhaps this command doesn't work.
Thanks,
Dominique,
Last edited by dschaefer79 (2014-10-15 12:45:59)
Offline