Hi Laurence,
What does your sldap.conf file look like? You are probably not including the proper samba schema file.
Scott
On Sep 2, 2008, at 6:47 AM, Laurence Mayer wrote:
Hi,
OS: Linux Redhat x86_64 OpenLdap 2.3.27
I am trying to add an objectclass sambaSamAccount to my ou=People. My goal would be to have both samba and posix account for each user.
I have included the samba schema to the slapd.conf file.
I tried adding this to a file and running ldapadd:
dn: uid=laurence, ou=People,dc=istraresearch,dc=com sambaLogonTime: 0 displayName: Laurence Mayer sambaLMPassword: xxxxx sambaPrimaryGroupSID: S-1-5-21-2447931902-1787058256-3961074038-1201 objectClass: sambaSamAccount sambaAcctFlags: [UX ] gidNumber: 100 sambaKickoffTime: 2147483647 sambaPwdLastSet: 1010179230 sambaSID: S-1-5-21-2447931902-1787058256-3961074038-5004 sambaPwdCanChange: 0 sambaPwdMustChange: 2147483647 sambaNTPassword: xxxx
However I received the error: adding new entry "uid=laurence, ou=People,dc=istraresearch,dc=com" ldap_add: Internal (implementation specific) error (80) additional info: no structuralObjectClass operational attribute
Please can you tell me what I need to do to achieve this.
Thanks in advance
Laurence