[Date Prev][Date Next]
Re: objectclass sambaSamAccount
ok got passed that.
I would now like to enable
passdb backend = ldapsam:ldap://ldap.example.com
each time I add this to the smb.conf file
smb does not restart and I get the following error in my smb.log file.
[2008/09/02 19:01:37, 0] smbd/server.c:main(948)
smbd version 3.0.28-1.el5_2.1 started.
Copyright Andrew Tridgell and the Samba Team 1992-2007
[2008/09/02 19:01:37, 0] services/services_db.c:svcctl_init_keys(420)
svcctl_init_keys: key lookup failed! (WERR_ACCESS_DENIED)
[2008/09/02 19:01:37, 0] smbd/server.c:main(1063)
ERROR: failed to setup guest info.
I am not sure what the ACCESS_DENIED is referring to.
I have run smbpasswd -w xxxxx
and restarted the both ldap and smb, same result.
What else needs to be done?
Michael Ströder wrote:
Laurence Mayer wrote:
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.
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
Every LDAP entry needs at least one STRUCTURAL object class and can have
zero or multiple AUXLIARY object classes. sambaSamAccount is an AUXLIARY
object class. So you have to add at least one other STRUCTURAL object
class which suits your needs, e.g. 'inetOrgPerson' or 'account'.
You could try:
dn: uid=laurence, ou=People,dc=istraresearch,dc=com
Leading to additional MUST attributes off course.
Director of Operations & IT
Istra Research Ltd.