Paul J Stevens wrote: > >> Did you specify field_nid=dbmailuid in dbmail.conf? >
Yes, of course! Here's field my dbmail.conf: ..... BIND_DN = uid=dbmail,ou=systemusers,dc=isp,dc=nsc,dc=ru BIND_PW = ****** SCOPE = SubTree USER_OBJECTCLASS = top,person,organizationPerson,inetOrgPerson,dbmailUser FORW_OBJECTCLASS = top,person,organizationPerson,inetOrgPerson,dbmailUser CN_STRING = uid FIELD_PASSWD = userPassword FIELD_UID = uid FIELD_NID = dbmailUID MIN_NID = 5 MAX_NID = 1000 FIELD_CID = dbmailGID MIN_CID = 3 MAX_CID = 1000 FIELD_MAIL = mail FIELD_QUOTA = mailQuota FIELD_FWDTARGET = mailForwardingAddress ..... Paul J Stevens wrote: > > Myself, I always use uidNumber on the posixUser objectClass, but > dbmailUid should work just the same. > > Do you create your ldap users with dbmail-users, or some tool of your own? > I use JXplorer (for administration) editing LDAP and a webform for users to edit their profile (in LDAP). Each user belongs to the object classes: top, person, organizationPerson, inetOrgPerson, dbmailUser The schem in my organization (in brackets LDAP attributes are specified): 1. Employees hired 2. Manager fills in the webform (name and surname (cn, sn, givenName), position (title), unit (ou), telephone number (phoneNumber), etc.) 3. Immediately by the staff member fills out a form password (userPassword) and login (uid, mail) 4. Manager confirms the web-form 5. All OK! Further it is created ldap the LDAP-container and a message is sent to new email of employee. And at this point (the message is processing by dbmail), I was hoping that dbmail fill field dbmailUID... But it doesn't do it! dbmail-users, since doesn't fill all necessary fields: # dbmail-users -a test -p md5 -w testpassword -g 1000 -s [email protected] ..... Jan 09 13:14:52 mydomain.ru dbmail-users[76414]: Debug:[auth] authldap.c,dm_ldap_get_freeid(+423): return free id [15] Jan 09 13:14:52 mydomain.ru dbmail-users[76414]: Debug:[auth] authldap.c,auth_adduser(+1028): Adding user with DN of [uid=test,ou=mydomain,dc=ru] Jan 09 13:14:52 mydomain.ru dbmail-users[76414]: Error:[auth] authldap.c,auth_adduser(+1079): could not add user: Object class violation Failed: unable to create user Command failed. # -- View this message in context: http://old.nabble.com/NOT-is-created-dbmailUID-attribute-in-LDAP-tp30551801p30625157.html Sent from the dbmail users mailing list archive at Nabble.com. _______________________________________________ DBmail mailing list [email protected] http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail
