-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all

I may be overlooking something here, but from what I can gather, the
value in the ipa config of "Default e-mail domain for new users" should
automatically create the mail attribute for said user upon creation?

Do I need to do an additional step or something to activate the mail
attribute or is it missing?

Any pointers on what I'm missing to mail-enable a user in ldap?


Running RHEL 6.2 x86_64 with ipa-server 2.1.3-9.el6

Output from ipa server as follows

[root@ds01 ~]# ipa config-show
  Max. username length: 32
  Home directory base: /home
  Default shell: /bin/bash
  Default users group: ipausers
  Default e-mail domain for new users: example.com
  Search time limit: 2
  Search size limit: 100
  User search fields: uid,givenname,sn,telephonenumber,ou,title
  Group search fields: cn,description
  Enable migration mode: FALSE
  Certificate Subject base: O=EXAMPLE.COM
  Password Expiration Notification (days): 4
[root@ds01 ~]#



[root@ds01 ~]# ldapsearch -x -b dc=example,dc=com -P 3 -b
"uid=testuser,cn=users,cn=accounts,dc=example,dc=com"
# extended LDIF
#
# LDAPv3
# base <uid=testuser,cn=users,cn=accounts,dc=example,dc=com> with scope
subtree
# filter: (objectclass=*)
# requesting: ALL
#

# testuser, users, accounts, example.com
dn: uid=testuser,cn=users,cn=accounts,dc=example,dc=com
displayName: testuser 1
cn: testuser 1
objectClass: top
objectClass: person
objectClass: organizationalperson
objectClass: inetorgperson
objectClass: inetuser
objectClass: posixaccount
objectClass: krbprincipalaux
objectClass: krbticketpolicyaux
objectClass: ipaobject
objectClass: mepOriginEntry
loginShell: /bin/bash
sn: 1
gecos: testuser 1
homeDirectory: /home/testuser
krbPwdPolicyReference:
cn=global_policy,cn=EXAMPLE.COM,cn=kerberos,dc=example,
 dc=com
krbPrincipalName: testu...@example.com
givenName: testuser
uid: testuser
initials: t1
uidNumber: 1668600004
gidNumber: 1668600004
ipaUniqueID: 0d620620-acfd-11e1-943c-52540025e829
mepManagedEntry: cn=testuser,cn=groups,cn=accounts,dc=example,dc=com
krbPasswordExpiration: 20120831215158Z
krbLastPwdChange: 20120602215158Z
krbExtraData:: AAL+ispPdGVzdHVzZXJARVhBTVBMRS5DT00A
krbExtraData:: AAgBAA==
krbLastSuccessfulAuth: 20120602215703Z
krbLoginFailedCount: 0

# search result
search: 2
result: 0 Success

# numResponses: 2
# numEntries: 1
[root@ds01 ~]#


Thanks all


Dale



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJPzdTpAAoJEAJsWS61tB+qR10QAKjseNaPocrJ91JhLBzWpA6G
fwMp4PzLDrKHSaKIeA/ir36ckOGWgLk0g6VQ+xzSoC+h1CJdUy0h9BfMkPXY5TTG
yVJzvWnbIFJo+RsN/oR1sIBh9ME0AyS5D6iFCKpXIhXvQnW+u+T2Bd+4bzbzejVG
KS99k8kBVl/Djf9oOXBN9tPe5riNfuXVp+5xLQ2TEzMlbHQj3IuUYQrKpDKAJFK6
WQftM7/kLVeZ9AxGemBXF3LYtmP42aafSPtJhq2l3v4WVrtGkKBetxds5ErsmxFk
58g/QHXc/XNwpzkT49kE+PvEK9kW+fOtJUoy441gaq2LgqYASlPkMEKGa9Hm1KfL
U1PB2IxfQOi10NEsfU+iyXH87Y9cpkt3x1sTwCEqL+gcoNqFSirrhmwEtOQegN76
60Py3RBgPrlW5YFlgkKgApO9zV9g+fL7VUtlcxDAJFUZcjvp8TAY9bccosZbxRin
GWKZyVzQbAYL7z6lRtp++f2Wri9Z183dyEIBCGZRkYu5+d49nlHMRld0fIlTb72H
8hLuRfqPm9f7H3gspSGxxmVkHzBALLJmizfDvcd3J8LiUGY/8YenFRf/39YVEjbC
7Aun++FKMPwpeMmxb7Qwo/SozZyjzu0VnkktYJnXNxY8QHIZgdMu/H8+mubWPdkR
GseH0Hf4mKzHYURtIupg
=79q/
-----END PGP SIGNATURE-----

Attachment: 0xB5B41FAA.asc
Description: application/pgp-keys

Attachment: 0xB5B41FAA.asc.sig
Description: PGP signature

_______________________________________________
Freeipa-users mailing list
Freeipa-users@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-users

Reply via email to