Account creation automation with LDAP

hi all, First, Thanks to all dev team for OTRS. It's the first product I found with a very good and clean code. I use LDAP backend for user and customer. For user I need to have all account set to initialize access right to different queues, groups etc.. Now, I can only set theirs right after the user log into OTRS for the first time (OTRS create the account and set default right...). Is there a way to create all account from the LDAP that is defined in the OTRS config instead of create account when the user login the first time ? Thanks, Yann -- o--------------------------------------------------------------o | Yann Richard ze@nawak-online.org | | #ICQ 295617227 http://www.nawak-online.org/~ze/ | | GPG FingerPrint: | .oO| A2F4 1EFB 66B6 65F8 1093 E11A 3E0A 9DF6 72E7 DE9E | `--------------------------------------------------------------o

Hi Yann, On Wed, Dec 03, 2003 at 04:54:26PM +0100, Yann RICHARD wrote:
First, Thanks to all dev team for OTRS. It's the first product I found with a very good and clean code.
I use LDAP backend for user and customer. For user I need to have all account set to initialize access right to different queues, groups etc.. Now, I can only set theirs right after the user log into OTRS for the first time (OTRS create the account and set default right...).
Is there a way to create all account from the LDAP that is defined in the OTRS config instead of create account when the user login the first time ?
Unfortunately not. Not with OTRS 1.1.x.
Thanks,
Yann
Martin -- ((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg http://www.otrs.de/ :: Manage your communication!

On Wed, Dec 03, 2003 at 04:54:26PM +0100, Yann RICHARD wrote:
First, Thanks to all dev team for OTRS. It's the first product I found with a very good and clean code.
I use LDAP backend for user and customer. For user I need to have all account set to initialize access right to different queues, groups etc.. Now, I can only set theirs right after the user log into OTRS for the first time (OTRS create the account and set default right...).
Is there a way to create all account from the LDAP that is defined in the OTRS config instead of create account when the user login the first time ?
I know this a little inconvenient, but you could script yourself a script which read stuff from ldap and pipes it into the db backend. Unfortunately we still rely on a db backand for users :/ -- Regards, Wiktor Wodecki net mobile AG - 40470 Duesseldorf - Germany 923B DCF8 070C 9FDD 5E05 9AE3 E923 5A35 182C 9783

On Wed, Dec 03, 2003 at 08:25:07PM +0100, Wiktor Wodecki wrote:
I know this a little inconvenient, but you could script yourself a script which read stuff from ldap and pipes it into the db backend. Unfortunately we still rely on a db backand for users :/
Martin, I've got an enthusiastic perl coder sitting here, I think I'm going to give him some work regarding this topic in January. I'll let him evaluate the situation and decide if it's reasonable amount of work to change the complete user handling into the ldap. -- Regards, Wiktor Wodecki net mobile AG - 40470 Duesseldorf - Germany 923B DCF8 070C 9FDD 5E05 9AE3 E923 5A35 182C 9783

Hi Wiktor, On Thu, Dec 04, 2003 at 11:24:59AM +0100, Wiktor Wodecki wrote:
I know this a little inconvenient, but you could script yourself a script which read stuff from ldap and pipes it into the db backend. Unfortunately we still rely on a db backand for users :/
Martin,
I've got an enthusiastic perl coder sitting here, I think I'm going to
Cool! .-)
give him some work regarding this topic in January. I'll let him evaluate the situation and decide if it's reasonable amount of work to change the complete user handling into the ldap.
This would be a topic for the dev mailing list. However, it should be not so easy, because of the database (ftp://ftp.otrs.org/pub/otrs/misc/otrs-1.1-database.png) and the system_user.id reference to all the other tables. But maybe he has a good idea! ;)
Wiktor Wodecki
net mobile AG - 40470 Duesseldorf - Germany 923B DCF8 070C 9FDD 5E05 9AE3 E923 5A35 182C 9783
Martin -- ((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg http://www.otrs.de/ :: Manage your communication!

On Thu, Dec 04, 2003 at 10:02:53PM +0100, Martin Edenhofer wrote:
give him some work regarding this topic in January. I'll let him evaluate the situation and decide if it's reasonable amount of work to change the complete user handling into the ldap.
This would be a topic for the dev mailing list. However, it should be not so easy, because of the database (ftp://ftp.otrs.org/pub/otrs/misc/otrs-1.1-database.png) and the system_user.id reference to all the other tables.
Well, basically he would have to go through each SQL statement and check if the system_user table is joined. If it is, he has to do some magic. If it's not it shouldn't be a problem, since every user in ldap also has an id (well, I assume it has, at least in our setup :-) -- Regards, Wiktor Wodecki net mobile AG - 40470 Duesseldorf - Germany 923B DCF8 070C 9FDD 5E05 9AE3 E923 5A35 182C 9783
participants (3)
-
Martin Edenhofer
-
Wiktor Wodecki
-
Yann RICHARD