Hello Saurabh,

According to the CLI, the appropriate value for 0x12adf
allowNonLDAPUserLogin would be either TRUE or FALSE.   I checked in the CLI
on two different users.  One had the value set to Yes in OneClick and the
other set to No. Those corresponded to TRUE and FALSE on the CLI.  These
values are most likely case sensitive, so make sure the values are in the
right case.

>show attributes attr=0x12adf mh=0x400136
Id              Name                              Iid        Value
0x12adf     allowNonLDAPUserLogin               TRUE

>mth=0x10004 | grep LDAP
0x12adf  allowNonLDAPUserLogin Boolean R,W,O,D

I can't help you with the password part.  I'm sure there are some caveats
with password creation. I wrote a similar user creation perl script a couple
years ago.  It simply read in user information from a flat file and then
created the user model with no password. I can share it with you if you
like.

Calvin Lane




On Thu, Sep 1, 2011 at 3:18 PM, Bohra, Saurabh <[email protected]>wrote:

>  Hi all,****
>
> ** **
>
> I am writing a script to create users from CLI with following attributes. I
> am having trouble with two things****
>
> **a.       **Password not getting assigned to user.****
>
> **b.      **Unable to set allowNonLDAPUserLogin filed. I have tried 1,Yes
> and True, however spectrum does not seem to like any of these values.****
>
> ** **
>
> Any ideas from any one?****
>
> ** **
>
> ** **
>
> Static Entries****
>
> 0x11f9a                Security_Password                         spectrum
> (157.1.0.37.67.1.0.4.0.0.0.20.0.0.0.205.85.108.2.29.100.190.27.56.56.177.194.223.161.37.23.32.28.57.245)
> ****
>
> 0x12a7e               MaxOneClickLogins                        1****
>
> 0x12adf                allowNonLDAPUserLogin              ???****
>
> ** **
>
> User Specific entries****
>
> 0x1006e               Model_Name                    j_doe****
>
> 0x10074                User_Full_Name              John Doe****
>
> 0x10075                User_Phone                      123-456-7890****
>
> 0x101f3                User_ID                               j_doe****
>
> 0x12912                User_Email
> [email protected]****
>
> ** **
>
> ** **
>
> ./create model mth=0x10004 attr=0x1006e,val=j_doe attr=0x10074,val="John
> Doe" attr=0x10075,val="123-456-7890" attr=0x101f3,val=j_doe
> attr=0x12912,val="[email protected]"
> attr=0x11f9a,val="157.1.0.37.67.1.0.4.0.0.0.20.0.0.0.205.85.108.2.29.100.190.27.56.56.177.194.223.161.37.23.32.28.57.245"
> attr=0x12a7e,val=1 attr=0x12adf,val=1****
>
> ** **
>
> ** **
>
> ** **
>
> ** **
>
> Saurabh Bohra****
>
> Sr. Network Mgmt Systems Analyst****
>
> ESPN Inc.****
>
> O: 860-766-0842  |  e-mail: [email protected]****
>
> ** **
>
> ** **
>
>    - --To unsubscribe from spectrum, send email to [email protected] with
>    the body: unsubscribe spectrum [email protected]
>
>

---
To unsubscribe from spectrum, send email to [email protected] with the body: 
unsubscribe spectrum [email protected]

Reply via email to