[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Adding Objectclass account gives object class violation
- To: openldap-technical <openldap-technical@openldap.org>
- Subject: Adding Objectclass account gives object class violation
- From: Shamika Joshi <shamika.joshi@gmail.com>
- Date: Wed, 14 Apr 2010 14:28:45 +0530
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:received:message-id :subject:from:to:content-type; bh=OXxBKpzZfG3uTVNCaG7vaMG6JdszBj2Mx4A8e2dXkUI=; b=oeL6egrSIPgQb+3DQfcZFavvF34r6X0LxdqjAhMAjgezmC06/RUCeNuvvhB/7132tO st7bmxI7P4NXuCBHggiwxtg3dDl4xAgFbx+NrQJL3QAVa1r9reP00TEYM9bnEN9uJlwW 4+bsY5WRnb1a/qSbwBedy9b5rkx+JGzZK3KUs=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=EA6SfU/Ip9LSTpyxBMpOCJwifJrQvwCmOT1AhDwu2ontD7tmzL6MGnfK2nfABzcdDC 3hl2Ew+UndNDg/FxXl0en5vmCtIB9nLujarU6UVmM1dDwt8iwUgNtlA82Hg1+lazfiWv MGg20Xy5pyuSlPFiXgNAP5znAMLPuNSCEanOs=
I'm using samba-openldap on Ubuntu 9.10 Server. I have created following user:rick using smbldap-tools which use default samba.schema.eg shown below.
Now I also want to use "Host based authentication" using pam_filter where I need to mention host entry which has to be present in that user record.
pam_filter |(host=cms2)(host=cms3)
However "host" attribute appears only if I add "objectclass:account". If I go ahead to add that here for user:rick it gives me objectclass violation. What could be the way out of it? Any inputs would be highly appreciated
cn: rick
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: inetOrgPerson
objectClass: posixAccount
objectClass: shadowAccount
objectClass: sambaSamAccount
sn: rick
givenName: rick
uid: rick
uidNumber: 30003
gidNumber: 513
homeDirectory: /home/rick
loginShell: /bin/bash
gecos: System User
sambaLogonTime: 0
sambaLogoffTime: 2147483647
sambaKickoffTime: 2147483647
sambaPwdCanChange: 0
sambaPwdMustChange: 2147483647
displayName: rick
sambaAcctFlags: [UX]
sambaSID: S-1-5-21-1045966857-3925637060-4258372004-61006
sambaPrimaryGroupSID: S-1-5-21-1045966857-3925637060-4258372004-513
sambaLogonScript: logon.bat
sambaProfilePath: \\x6\profiles\rick
sambaHomePath: \\x6\rick
sambaHomeDrive: H:
sambaLMPassword: 01FC5A6BE7BC6929AAD3B435B51404EE
sambaNTPassword: 0CB6948805F797BF2A82807973B89537
sambaPwdLastSet: 1271227877
userPassword: test
Thanks
Shamika