[Samba] generate keytab

Clodonil Trigo clodonil at nisled.org
Thu Dec 20 06:47:13 MST 2012


Hi,

What is the best way to generate the keytab in Samba4 to squid and http?

I've used these commands without success:

$ samba-tool user add proxy-service
$ samba-tool user setexpiry proxy-service  -noexpiry
$ samba-tool user add proxy-user
$ samba-tool user setexpiry proxy-user -noexpiry
$ samba-tool spn add http/proxy-user proxy.nisled.org
$ samba-tool domain exportkeytab /etc/proxy.keytab --principal=http/
proxy.nisled.org

I also used this command:

$ Msktutil -c-b "CN = ​​COMPUTERS"-s HTTP/proxy.nisled.org -h -k
proxy.nisled.org proxy.keytab - computer-name proxy -upn
HTTP/proxy-service.nisle.dorg --server pdc.nisled.org - verbose

Can you help me generate this keytab?

Clodonil


More information about the samba mailing list