-
1. Re: how to create a user in calendar
gohip Jun 9, 2006 2:34 PM (in response to rgjawanda)were any of them able to login to calendar?
i created two users during install, and I know one couldnt login, but forgot to try loggin in second user.
andrew, are users created during install the same users that are allowed access to calendar?
if they are, then Ron, you can add more users, outside of the installer, by adding them to...
E:\JBossMailServer\versions\1.0M5\server\default\deploy\mail.ear\mail.sar\META-INF\jboss-service.xml
in
<!-- StaticUserRepository maintains the user account information as part of
this configuration. You must specify the username and password below.
Each user will be accepted as a local mailbox for any domain in the
local domain group. You should be using JAAS login modules instead (like
the database login module). Using SUR requires a restart for each change.
-->
user_112354
user_254321
user_312345
but, it doesnt seem calendar is using this... -
2. Re: how to create a user in calendar
gohip Jun 9, 2006 2:37 PM (in response to rgjawanda)damn, the forum parser ate that up, its...
<!-- StaticUserRepository maintains the user account information as part of this configuration. You must specify the username and password below. Each user will be accepted as a local mailbox for any domain in the local domain group. You should be using JAAS login modules instead (like the database login module). Using SUR requires a restart for each change. --> <mbean code="org.jboss.mail.userrepository.StaticUserRepository" name="jboss.mail:type=MailServices,name=UserRepository,uimanageable=true"> <attribute name="Users"> <users> <user><id>user_1</id><password>32145</password></user> <user><id>user_2</id><password>54321</password></user> <user><id>user_3</id><password>12345</password></user> </users> </attribute> </mbean>
-
3. Re: how to create a user in calendar
acoliver Jun 9, 2006 2:39 PM (in response to rgjawanda)M5 doesn't set up static user by default. You should be moving to JAAS as static user is deprecated. WebMail, POP, IMAP autoprovision users mailboxes on first login. The default JAAS sets up a property file. There is a link about this from the howto...
-
4. Re: how to create a user in calendar
rgjawanda Jun 10, 2006 2:25 PM (in response to rgjawanda)Thanks for the replies.
Now if I only knew where to find the how-to it would be great. -
5. Re: how to create a user in calendar
aronsogor Jun 13, 2006 7:26 PM (in response to rgjawanda)Sorry about the confusion.
So by default JBoss Calendar uses a JAAS realm named "java:/jaas/jbms"
by default this realm is a property based realm and the property files are in
<where is your install>/server/default/conf
called:
jbms-roles.properties
tom=tom
jerry=jerry
tweety=tweety
jbms-users.properties
tom=calendaruser,adminuser
jerry=calendaruser,adminuser
tweety=calendaruser,adminuser
you do not need them to be adminuser but they must calendaruser.
If you want to you can use any type of realm LDAP/RDBMS
When the user logs in (meaning he is authenticated against the realm) first we check if it has acct in calendar if not it will get created.
I hope this helps -
6. Re: how to create a user in calendar
gohip Jun 14, 2006 10:28 PM (in response to rgjawanda)thnaks for info AronSogor, you any good also with the message queue side of things? I.e. how to get mail server to quit putting messages on queue, that lack the messages body? posted an issue on this in users forum, if you have any ideas
-
7. Re: how to create a user in calendar
aronsogor Jun 21, 2006 12:07 AM (in response to rgjawanda)yeah - recompile :)
I think Andy fixed that in Vegas -
8. Re: how to create a user in calendar
gohip Jun 22, 2006 8:25 PM (in response to rgjawanda)sweet, i try it, unfortunately, were using m4 for production server, not m5, so I may have to continue with my hack, or possibly incorporate andrews code into a fix for m4
Hey, did you guys have fun in vegas? did you get to go, how was the conference? I am only 5 hours away from vegas, but my boss wouldnt let me go...