Laurentiu Ceausescu wrote:
> On Wed, Feb 2, 2011 at 12:26 PM, Kumaran 
> <[email protected] 
> <mailto:[email protected]>> wrote:
>
>     Hi All,
>              After setting up LDAP and created user with following setting
>                   dn: dc=ttplservices,dc=com
>     objectclass: dcObject
>     objectclass: organization
>     o: TTPL Services
>     dc: ttplservices
>
>     dn: cn=root,dc=ttplservices,dc=com
>     objectclass: organizationalRole
>     cn: root
>
>     dn: o=TTPL QA,dc=ttplservices,dc=com
>     o: TTPL QA
>     objectClass: top
>     objectClass: organization
>     description: TTPL Ezuce
>
>     dn: cn=Venkateshwaran Thiru,o=TTPL QA,dc=ttplservices,dc=com
>     o: TTPL QA
>     cn: Venkateshwaran Thiru
>     objectClass: top
>     objectClass: person
>     objectClass: organizationalPerson
>     objectClass: inetOrgPerson
>     mail: [email protected]
>     <mailto:[email protected]>  "Email"
>     givenName: Kumaran "first name"
>     sn: Thirugnanam  "Lastname"
>     uid: 500 "UserId"
>     ou: Senior "UserGroup"
>     userPassword: 1234 "PIN"
>     pager: 8095982726  "Alias"
>
>     My scenario
>      1.Import the user from LDAP,the user is imported with above details
>     ---- no Problem
>      2.In my user setting,I changed the pager to 54 from 8095982726(alias)
>          Run the cmd "ldapmodify -x -W -D
>     "cn=Manager,dc=ttplservices,dc=com" -f ./user.ldif"
>           Imported the user from Ldap,the Alias is updated 54 from
>     8095982726 for userId 500
>     My second scenario also having no Problem
>      3.  I deleted the user 500 from Config UI and I removed Pager
>     value(alias) from User setting in LDAP
>           After that i run the cmd "ldapmodify -x -W -D
>     "cn=Manager,dc=ttplservices,dc=com" -f ./user.ldif"
>           Then I imported the user from LDAP,the user is imported to
>     sipXecs but with Alias 54 and also in Ldap Preview it showing alias 54
>       I checked the LDAP user by Cmd ldapsearch -x,it showing the user
>     details as follows
>     # Venkateshwaran Thiru, TTPL QA, ttplservices.com
>     <http://ttplservices.com>
>     dn: cn=Venkateshwaran Thiru,o=TTPL QA,dc=ttplservices,dc=com
>     **pager: 54**
>
>
> I wasn't able to reproduce this issue - after I deleted the value for 
> 'pager' atribute in LDAp server and I made a new import, the user 
> doesn't have any alias.
> I think you didn't delete the value for 'pager' attribute.
>  
>
>     o: TTPL QA
>     cn: Venkateshwaran Thiru
>     objectClass: top
>     objectClass: person
>     objectClass: organizationalPerson
>     objectClass: inetOrgPerson
>     mail: [email protected]
>     <mailto:[email protected]>
>     givenName: Kumaran
>     sn: Thirugnanam
>     uid: 420
>     ou:  Senior
>     userPassword:: 1234
>         Why the Pager value is displayed,even I removed Pager value and
>     modify the setting using the cmd "ldapmodify -x -W -D
>     "cn=Manager,dc=ttplservices,dc=com" -f ./user.ldif"
>       Because of this alias is displayed for the user..
>         Please Guide us
>      Rgrds
>       Venkateshwaran T
>
>
 Hi Laurentiu,
                  No,I removed the Pager attributes from the user 
setting in LDAP and saved it ,check the below setting after saving
 dn: cn=Venkateshwaran Thiru,o=TTPL QA,dc=ttplservices,dc=com
o: TTPL QA
cn: Venkateshwaran Thiru
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: inetOrgPerson
mail: [email protected] 
<mailto:[email protected]>  "Email"
givenName: Kumaran "first name"
sn: Thirugnanam  "Lastname"
uid: 500 "UserId"
ou: Senior "UserGroup"
userPassword: 1234 "PIN"
                         
          And I run the command "ldapmodify -x -W -D 
"cn=Manager,dc=ttplservices,dc=com" -f ./user.ldif"
But the pager attributes is present in ldapsearch -x at top of the *"o"* 
attributes as
dn: cn=Venkateshwaran Thiru,o=TTPL QA,dc=ttplservices,dc=com
**pager: 54**
o: TTPL QA
cn: Venkateshwaran Thiru
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: inetOrgPerson
mail: [email protected] 
<mailto:[email protected]> 
givenName: Kumaran
sn: Thirugnanam 
uid: 500
ou: Senior
userPassword: 1234       
 
Observation:
         Not even for Pager,but for every attributes  it is displaying  
in ldapsearch -x.Even if we removed the attributes and saved it ...

Rgrds
  Venkateshwaran T
_______________________________________________
sipx-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev/

Reply via email to