[Samba] Samba 3.0 AD usage problems

Catherine Shen catherineShen at iei.com.tw
Wed Feb 12 11:28:55 GMT 2003


Dear all,

I downloaded samba3.0-alpha21 and followed each step in "ADS-HOWTO.txt".
But mapping a network directory from a Windows client failed (step 4:
Test your server setup).
(Succeeded in other steps.... Including step 5)
Only local users in the samba server can access the share folder.
(Please refer to the smb.conf listed below...)
And "#kadmin -p administrator" fails with the error message:
"kadmin: Database error! Requeired KADM5 principal missing while
initializing kadm in interface"

My configurations are as followed:

Kernel : Linux 2.4.18
Krb5-devel & krb5-lib & krb5-workstation : 1.2.4-1
Openldap-devel : 2.0.23-4

/usr/local/samba/lib/smb.conf --
	[home]
		comment = root directory
		path = /home
		writeable = yes
		browsable = yes
		guest ok = no
		write list = root,administrator	#administrator is a
Win2K user
		read list =

/etc/krb5.conf --
	[libdefaults]
		default_realm = CATHQ.COM.TW
	[realms]
		CATHQ.COM.TW = {
			kdc = 172.16.21.120
			admin_server = 172.16.21.120 
			kpasswd_server = 172.16.21.120 
			default_domain = cathq.com.tw
			v4_realm = cathq
		}
	[domain_realm]
		cathq.com.tw = CATHQ.COM.TW

/etc/hosts --
	172.16.21.120		catad.cathq.com.tw CATAD.CATHQ.COM.TW

My scripts before starting smbd & nmbd are :
	...
	/usr/kerberos/bin/kinit administrator at CATHQ.COM.TW
	net ads join
	....

Executing "#klist -e" result:
	Ticket cache: FILE:/tmp/krb5cc_0
	Default principal: administrator at CATHQ.COM.TW

	Valid starting     Expires            Service principal
	02/12/03 16:08:32  02/13/03 02:07:26
krbtgt/CATHQ.COM.TW at CATHQ.COM.TW
		Etype (skey, tkt): DES cbc mode with RSA-MD5, DES cbc
mode with RSA-MD5 
	02/12/03 16:07:27  02/13/03 02:07:26  ldap/catad at CATHQ.COM.TW
		Etype (skey, tkt): DES cbc mode with RSA-MD5, DES cbc
mode with RSA-MD5 
	02/12/03 16:07:27  02/13/03 02:07:26
kadmin/changepw at CATHQ.COM.TW
		Etype (skey, tkt): DES cbc mode with RSA-MD5, DES cbc
mode with RSA-MD5 

	Kerberos 4 ticket cache: /tmp/tkt0
	klist: You have no tickets cached

Any information I didn't provide??
@@"

Please help me!!
It seems to be easy but I just cannot figure out why!???
Thanks a lot in advance!!

Catherine



More information about the samba mailing list