On Wednesday, 4 July 2007, Marcin Giedz wrote:
Gavin Henry napisaÅ(a):
Answer is quite simple. I need to have different aliases and virtual<quote who="Marcin Giedz">
Is there any way to do something like this without copying all data many times.
1) there is entry: uid=user1,ou=people,dc=xx,dc=x The entry has objectClass = person, posixAccount etc.. So there is attribute userPassword.
2) there are entries:
mail=user1@dom1,ou=domains,dc=xx,dc=x
mail=user1@dom2,ou=domains,dc=xx,dc=x
mail=user1@dom3,ou=domains,dc=xx,dc=x,
I think your design is a bit strange. Why not have these mail attributes as part of the user entry like:
mail: ghenry@suretec.org mail: ghenry@suretecsystems.com
And then do your search. You then only need one userPassword.
accounts for different virtual domains. So basically I need to split
domains and add email accounts respectively to them.
This requirement doesn't preclude the solution Gavin proposed. In fact, I have a system running similar to this (however using mailAlternateAddress).
Can you explain why you can't just effectively have multiple aliases which span multiple domains on one entry ? Is it some limitation in your MTA, or your configuration ?
For example, if the only reason you can't use this is because you are using mail as the naming attribute ... maybe you should select a different naming attribute?
Really thanks for your help.
Regards, Marcin
Regards, Buchan
-- ARISE M.Giedz, T.ÅebruÅ sp.j. http: www.arise.pl mail: giedz@arise.pl tel: +48 502 537 157