Re: [Samba] Smbpasswd -m -x not working, "object class violation" error

2006-02-18 Thread Fermin Molina
On Thu, 2006-02-16 at 11:43 -0300, Andrés Yacopino wrote: > This time i add values to cn , the object class inetOrgPerson and a value > for sn. > After that i try to delete the machine account and it works. > Apparently it needs this object class as you said. > How can i do to add this class automa

Re: [Samba] Smbpasswd -m -x not working, "object class violation" error

2006-02-16 Thread Andrés Yacopino
This time i add values to cn , the object class inetOrgPerson and a value for sn. After that i try to delete the machine account and it works. Apparently it needs this object class as you said. How can i do to add this class automatically when a add a machine account using smbpasswd? Thanks. Andres

Re: [Samba] Smbpasswd -m -x not working, "object class violation" error

2006-02-16 Thread Andrés Yacopino
I see the attribute displayName(as allowed attribute) in these user object classes: -pabperson -sambasamaccount -smabagroupmapping The user account has only this classes: sambaSamAccount account top Is this wrong?, the attribute could be in some classes at the same time? Thanks, Andres. 2006/2

Re: [Samba] Smbpasswd -m -x not working, "object class violation" error

2006-02-15 Thread Daniel Wilson
What object class is the displayName in and does the user account have that object class ? Im sure you need to have the object class before you can add/remove the attribute assigned to the object classs. Attributes belong to and are grouped in objectclasses. Regards Daniel Wilson Systems Mana

Re: [Samba] Smbpasswd -m -x not working, "object class violation" error

2006-02-14 Thread Andrés Yacopino
Thanks for replying Daniel, i execute :grep -il displayName *.ldif and i obtain: 00core.ldif 50ns-admin.ldif 50ns-iabs.ldif 99samba-schema-netscapeds5.x.ldif 99user.ldif And also see the configuration in the console and i see: Standard Attribute(Read Only): Name: displayName OID: 2.16.840.1.11

Re: [Samba] Smbpasswd -m -x not working, "object class violation" error

2006-02-14 Thread Daniel Wilson
Im sure this means that its trying to delete the displayName attribute which is more than likely not in your LDAP schema. Look in "/slapd-/config/schema/" directory for your schema To see if "displayName" is part of any object classes in your LDAP schema search the schema files: bash# grep

Re: [Samba] Smbpasswd -m -x not working, "object class violation" error

2006-02-14 Thread Andrés Yacopino
Daniel, check the log as you said and i hit this: [14/Feb/2006:14:19:10 +0300] - ERROR<5897> - Schema - conn=-1 op=-1 msgId=-1 - User error: Entry "uid=aprueba$,ou=computers,o=acasalud.com.ar ,dc=acasalud,dc=c om,dc=ar", attribute "displayName" is not allowed What does it means? Thanks, Andrés

Re: [Samba] Smbpasswd -m -x not working, "object class violation" error

2006-02-14 Thread Daniel Wilson
Have you checkes the Sun LDAP errors.log file for the specific object class violation? Usually at /slapd-/logs/errors.log Daniel Wilson Systems Manager Student and Learning Support University of Sunderland Tel: 0191 515 2695 Andrés Yacopino wrote: I have deployed a samba server with Sun Jav

[Samba] Smbpasswd -m -x not working, "object class violation" error

2006-02-14 Thread Andrés Yacopino
I have deployed a samba server with Sun Java Ldap Directory. I sucessfully create users and deleted them when ldap delete dn=yes in smb.conf, but when ldap delete dn=no i obtain this error when i issue a smbpasswd -m -x command: ldapsam_delete_entry: Could not delete attributes for uid=aprueba$,o