Koozali.org: home of the SME Server

User creation problems

prez

User creation problems
« on: October 07, 2004, 06:54:08 PM »
Hi all,

I'm experiencing problems creating a new user on Mitel server 5.6.

When I try and create a new user via the web interface, it creates the user, visibly, but the log files suggest otherwise :

Oct  7 18:50:23 jhbmail /etc/e-smith/web/panels/manager/cgi-bin/useraccounts[3433]: /home/e-smith/accounts: OLD peanut=(undefined)
Oct  7 18:50:23 jhbmail /etc/e-smith/web/panels/manager/cgi-bin/useraccounts[3433]: /home/e-smith/accounts: NEW peanut=
Oct  7 18:50:23 jhbmail /etc/e-smith/web/panels/manager/cgi-bin/useraccounts[3433]: /home/e-smith/accounts: OLD peanut=
Oct  7 18:50:23 jhbmail /etc/e-smith/web/panels/manager/cgi-bin/useraccounts[3433]: /home/e-smith/accounts: NEW peanut=user|City|xxxxx|Company|xxxxx|Dept||EmailForward|local|FirstName|Peanut|ForwardAddress||Gid|5102|LastName|Jones|PasswordSet|no|Phone||Street||Uid|5102
Oct  7 18:50:23 jhbmail /etc/e-smith/web/panels/manager/cgi-bin/useraccounts[3433]: /home/e-smith/accounts: OLD peanut.jones=(undefined)
Oct  7 18:50:23 jhbmail /etc/e-smith/web/panels/manager/cgi-bin/useraccounts[3433]: /home/e-smith/accounts: NEW peanut.jones=pseudonym|Account|peanut
Oct  7 18:50:23 jhbmail /etc/e-smith/web/panels/manager/cgi-bin/useraccounts[3433]: /home/e-smith/accounts: OLD peanut_jones=(undefined)
Oct  7 18:50:23 jhbmail /etc/e-smith/web/panels/manager/cgi-bin/useraccounts[3433]: /home/e-smith/accounts: NEW peanut_jones=pseudonym|Account|peanut
Oct  7 18:50:23 jhbmail e-smith[3435]: Processing event: user-create peanut
Oct  7 18:50:23 jhbmail e-smith[3435]: Running event handler: /etc/e-smith/events/user-create/S15user-create-unix
Oct  7 18:50:23 jhbmail e-smith[3435]: useradd: unknown group 5102
Oct  7 18:50:23 jhbmail e-smith[3435]: Failed to create account peanut.

I have even gone so far as to create the group manually, specifying an available GID (looked up in /etc/group, and then tried to manually add the user, using the same flags and variables as exist in /etc/e-smith/events/actions/user-create-unix, but to no avail. It merely reports that no such group exists.

I don't understand what could have caused this.

Any help would be appreciated,
Thanks in advance.