You are not logged in.
hi
i have installed a GLPI 0.72.4 in a ubuntu workstation in a sbs 2008 domain envirement and problam is cant sysinc the users from DC.
following are the setings i userd for ldap
name: Dimain name
server : DOMAIN.LOCAL
LDAP port:389
rootdn:CN=name,OU=SBSUsers,OU=Users,OU=MyBusiness,DC=domain,DC=local
Base dn : OU=MyBusiness,DC=domain,DC=local
i used the Filter to search in groups as in the manul
(&(objectClass=user)(objectCategory=person)(mail=*)(userprincipalname=*@domian.local))
when i test the connection it works but cant synic the ad users it says
''No users to be imported''
is there any setting i need to edit php file i
if some one knows any blog that have detaild configuration please post
Thanks !
Last edited by thushara (2010-04-02 13:57:08)
Offline
the problem is with the search filter,
try with a less restrictive filter, for example:
conection filter: (&(objectCategory=Person)(objectClass=user))
with this change it should work.
regards.
P.D. please try to open only one post about the same issue, as you have at least 3 dicferent post about ad sync.
Last edited by faasa (2010-04-07 13:29:29)
Prod : W2003 R2 - IIS 6.0 - php 5.1.2 - MySQL 5.0.45 - GLPI 0.72.1
MCSE
Offline
hi
thanks for the reply and it works.:)
in the configuration i have change the server name to just to the computer name not the FQDN in the server then only the groups were able to import.
now the problem is that cant import users the filter you have provided is only import groups and cant log in with the domain user name to glpi.
any idea for that.
thanks !
Offline
Hmm,
that is strange, i have two installs and both of them work his way i even can autologin.
please update all your config, and i´ll check against mine.
regards.
Prod : W2003 R2 - IIS 6.0 - php 5.1.2 - MySQL 5.0.45 - GLPI 0.72.1
MCSE
Offline
thanks for the reply and following are the config
domain name = exam.local
user name = test user01
logi name = tst
server : exam-srv01
Basedn : OU=MyBusiness,DC=exam,DC=local
rootdn : CN=test user01,OU=SBSUsers,OU=Users,OU=MyBusiness,DC=exam,DC=local
Log in Field : tst
Connection filter : (objectClass=user)
Use TLS :No
How LDAP aliases should be handled : Naver Dereferenced (Default)
search type : Users and Groups
Filter to search in groups : (objectClass=group)
User attribute containing its groups : memberof
Group attribute containing its users : member
Use DN in the search : Yes
surname :test user01
first name : tst (login name)
email:tst@exam.local
i have tryed using the search filter that u have given but didn't work, from this able to import just the groups but cant log in to glpi with domain users
thanks!
Last edited by thushara (2010-04-09 08:51:41)
Offline
Ok,
the problem is the following setting, where you have
Log in Field : tst
loginfield: samaccountname (this is where the username is in ldap)
if you search in internet you can find a list of what the diferent fields of ldap are for:
First name: givenname
Surname: sn
e-mail: mail
phone: telephonenumber
etc.
hope this helps.
Prod : W2003 R2 - IIS 6.0 - php 5.1.2 - MySQL 5.0.45 - GLPI 0.72.1
MCSE
Offline
Did this work??
Prod : W2003 R2 - IIS 6.0 - php 5.1.2 - MySQL 5.0.45 - GLPI 0.72.1
MCSE
Offline
Please do not use reports to ask questions.
MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI : Support Contribute References Freshmeat
Offline
hi sorry for the late reply i was on leave for the last week because of the Sinhalese & Tamil new year in Sri lanka.
and still the issue is there cant import users have checked with AD explorer 1.3 and add the values still the issue is same
groups can import but not the users i have tried with a 2008 dc (not a SBS 2008) also still the same
thanks !
Last edited by thushara (2010-04-20 11:01:24)
Offline