LDAP users

How do I create a user and make him administrator, while using LDAP
auth?

It seems I somehow messed up my setup, and when I tried to reinstall
from scratch, users/groups are just never enabled, unless I enable
LDAP.
When I enable LDAP, I can login with my account, but my account is not
marked as "Administrator", and I can not change that.

Second question… I see a user called "admin", who is indeed
administrator… how do I login as "admin" ?

Thanks a lot.
Mohamed.

Hi,

In the current version (0.1-5) all users have the same permissions (or lack
of), once feature http://theforeman.org/issues/show/366 is merged, then
there would be fine grained permissions.

the admin user is a local account (in recent features, local non ldap
accounts are also supported).

Sorry for the confusion,
Ohad

··· On Wed, Oct 13, 2010 at 7:54 PM, Mohamed wrote:

How do I create a user and make him administrator, while using LDAP
auth?

It seems I somehow messed up my setup, and when I tried to reinstall
from scratch, users/groups are just never enabled, unless I enable
LDAP.
When I enable LDAP, I can login with my account, but my account is not
marked as “Administrator”, and I can not change that.

Second question… I see a user called “admin”, who is indeed
administrator… how do I login as “admin” ?

Thanks a lot.
Mohamed.


You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To post to this group, send email to foreman-users@googlegroups.com.
To unsubscribe from this group, send email to
foreman-users+unsubscribe@googlegroups.comforeman-users%2Bunsubscribe@googlegroups.com
.
For more options, visit this group at
http://groups.google.com/group/foreman-users?hl=en.

Can I login as user "admin"? whats its default password?

Thanks a lot.
Mohamed.

··· On Oct 13, 2:56 pm, Ohad Levy wrote: > Hi, > > In the current version (0.1-5) all users have the same permissions (or lack > of), once featurehttp://theforeman.org/issues/show/366is merged, then > there would be fine grained permissions. > > the admin user is a local account (in recent features, local non ldap > accounts are also supported). > > Sorry for the confusion, > Ohad > > > > On Wed, Oct 13, 2010 at 7:54 PM, Mohamed wrote: > > How do I create a user and make him administrator, while using LDAP > > auth? > > > It seems I somehow messed up my setup, and when I tried to reinstall > > from scratch, users/groups are just never enabled, unless I enable > > LDAP. > > When I enable LDAP, I can login with my account, but my account is not > > marked as "Administrator", and I can not change that. > > > Second question... I see a user called "admin", who is indeed > > administrator.. how do I login as "admin" ? > > > Thanks a lot. > > Mohamed. > > > -- > > You received this message because you are subscribed to the Google Groups > > "Foreman users" group. > > To post to this group, send email to foreman-users@googlegroups.com. > > To unsubscribe from this group, send email to > > foreman-users+unsubscribe@googlegroups.com > > . > > For more options, visit this group at > >http://groups.google.com/group/foreman-users?hl=en.

changeme :slight_smile:

··· On Wed, Oct 13, 2010 at 9:30 PM, Mohamed wrote:

Can I login as user “admin”? whats its default password?

Thanks a lot.
Mohamed.

On Oct 13, 2:56 pm, Ohad Levy ohadl...@gmail.com wrote:

Hi,

In the current version (0.1-5) all users have the same permissions (or
lack
of), once featurehttp://theforeman.org/issues/show/366is merged, then
there would be fine grained permissions.

the admin user is a local account (in recent features, local non ldap
accounts are also supported).

Sorry for the confusion,
Ohad

On Wed, Oct 13, 2010 at 7:54 PM, Mohamed lrh...@gmail.com wrote:

How do I create a user and make him administrator, while using LDAP
auth?

It seems I somehow messed up my setup, and when I tried to reinstall
from scratch, users/groups are just never enabled, unless I enable
LDAP.
When I enable LDAP, I can login with my account, but my account is not
marked as “Administrator”, and I can not change that.

Second question… I see a user called “admin”, who is indeed
administrator… how do I login as “admin” ?

Thanks a lot.
Mohamed.


You received this message because you are subscribed to the Google
Groups

“Foreman users” group.
To post to this group, send email to foreman-users@googlegroups.com.
To unsubscribe from this group, send email to
foreman-users+unsubscribe@googlegroups.comforeman-users%2Bunsubscribe@googlegroups.com
<foreman-users%2Bunsubscribe@goog legroups.com>

.
For more options, visit this group at
http://groups.google.com/group/foreman-users?hl=en.


You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To post to this group, send email to foreman-users@googlegroups.com.
To unsubscribe from this group, send email to
foreman-users+unsubscribe@googlegroups.comforeman-users%2Bunsubscribe@googlegroups.com
.
For more options, visit this group at
http://groups.google.com/group/foreman-users?hl=en.

For some reason that default password is not working… or maybe
something else is not.
The log of my login attempt is bellow…

I now see that when logged in a normal LDAP account, I am indeed
admin, I can change anything…
How do I reset the pass for user "admin"… the drop down box for
"Authorized by" only shows my LDAP directory, no "Local account"
option and no "resetting password" option.

Thanks a lot.
Mohamed.

Processing UsersController#login (for 10.212.129.236 at 2010-10-13
16:06:33) [POST]
Parameters: {"action"=>"login",
"authenticity_token"=>"mzu1gKxaiW0Kpw8Ui2xtLknOGswazNkqusliTkHLO6w=",
"controller"=>"users", "login"=>{"password"=>"[FILTERED]",
"login"=>"admin"}}
User Load (0.1ms) SELECT * FROM users WHERE (login='admin')
LIMIT 1
Redirected to https://puppet/users/login
Completed in 2ms (DB: 2) | 302 Found [https://puppet/users/login]

Processing UsersController#login (for 10.212.129.236 at 2010-10-13
16:06:33) [GET]
Parameters: {"action"=>"login", "controller"=>"users"}
Rendering template within layouts/standard
Rendering users/login
Rendered home/_topbar (0.3ms)
Rendered home/_menu (0.4ms)

I'm guessing you have different options on the newer RPM ?

Ohad

··· On Wed, Oct 13, 2010 at 10:12 PM, Mohamed wrote:

For some reason that default password is not working… or maybe
something else is not.
The log of my login attempt is bellow…

I now see that when logged in a normal LDAP account, I am indeed
admin, I can change anything…
How do I reset the pass for user “admin”… the drop down box for
"Authorized by" only shows my LDAP directory, no "Local account"
option and no “resetting password” option.

Thanks a lot.
Mohamed.

Processing UsersController#login (for 10.212.129.236 at 2010-10-13
16:06:33) [POST]
Parameters: {“action”=>“login”,
“authenticity_token”=>“mzu1gKxaiW0Kpw8Ui2xtLknOGswazNkqusliTkHLO6w=”,
“controller”=>“users”, “login”=>{“password”=>"[FILTERED]",
“login”=>“admin”}}
User Load (0.1ms) SELECT * FROM users WHERE (login=‘admin’)
LIMIT 1
Redirected to https://puppet/users/login
Completed in 2ms (DB: 2) | 302 Found [https://puppet/users/login]

Processing UsersController#login (for 10.212.129.236 at 2010-10-13
16:06:33) [GET]
Parameters: {“action”=>“login”, “controller”=>“users”}
Rendering template within layouts/standard
Rendering users/login
Rendered home/_topbar (0.3ms)
Rendered home/_menu (0.4ms)


You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To post to this group, send email to foreman-users@googlegroups.com.
To unsubscribe from this group, send email to
foreman-users+unsubscribe@googlegroups.comforeman-users%2Bunsubscribe@googlegroups.com
.
For more options, visit this group at
http://groups.google.com/group/foreman-users?hl=en.

Yes. Thanks a lot. It looks complete in this version… don't change it :slight_smile:

Mohamed.

··· On Thu, Oct 14, 2010 at 1:44 PM, Ohad Levy wrote: > I'm guessing you have different options on the newer RPM ? > Ohad > > On Wed, Oct 13, 2010 at 10:12 PM, Mohamed wrote: >> >> For some reason that default password is not working... or maybe >> something else is not. >> The log of my login attempt is bellow.... >> >> I now see that when logged in a normal LDAP account, I am indeed >> admin, I can change anything... >> How do I reset the pass for user "admin"... the drop down box for >> "Authorized by" only shows my LDAP directory, no "Local account" >> option and no "resetting password" option. >> >> Thanks a lot. >> Mohamed. >> >> >> Processing UsersController#login (for 10.212.129.236 at 2010-10-13 >> 16:06:33) [POST] >> Parameters: {"action"=>"login", >> "authenticity_token"=>"mzu1gKxaiW0Kpw8Ui2xtLknOGswazNkqusliTkHLO6w=", >> "controller"=>"users", "login"=>{"password"=>"[FILTERED]", >> "login"=>"admin"}} >> User Load (0.1ms) SELECT * FROM `users` WHERE (login='admin') >> LIMIT 1 >> Redirected to https://puppet/users/login >> Completed in 2ms (DB: 2) | 302 Found [https://puppet/users/login] >> >> >> Processing UsersController#login (for 10.212.129.236 at 2010-10-13 >> 16:06:33) [GET] >> Parameters: {"action"=>"login", "controller"=>"users"} >> Rendering template within layouts/standard >> Rendering users/login >> Rendered home/_topbar (0.3ms) >> Rendered home/_menu (0.4ms) >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Foreman users" group. >> To post to this group, send email to foreman-users@googlegroups.com. >> To unsubscribe from this group, send email to >> foreman-users+unsubscribe@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/foreman-users?hl=en. >> > > -- > You received this message because you are subscribed to the Google Groups > "Foreman users" group. > To post to this group, send email to foreman-users@googlegroups.com. > To unsubscribe from this group, send email to > foreman-users+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/foreman-users?hl=en. >


" Logic merely sanctions the conquests of the intuition."
Jacques Hadamard