Yubico Forum

...visit our web-store at store.yubico.com
It is currently Tue Jan 30, 2018 3:05 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Thu Jul 26, 2012 3:29 pm 
Offline

Joined: Thu Jul 26, 2012 3:14 pm
Posts: 3
We've got 2 YRVA which are in sync, but on both YRVA the scheduled User Import is not working.
When i create a new user in AD, and wait an hour the new user is not in the userlist on the YRVA.
When i do the user import manual by clicking import users under the Users Import tab the new user shows up.

Below the settings used under the Users Import tab:
Use Secure Connection?
No
LDAP/AD Server Address or Host Name
xxxx.ppg.lan
Backup LDAP/AD Server Address or Host Name (optional; for user authentication only)
yyyy.ppg.lan
Port (use 0 or blank to use the default port)
389
Directory Type
Active Directory
LDAP Version
3
Base DN
DC=ppg,DC=lan
User DN
CN=readonly,CN=Users,DC=ppg,DC=lan
Password
***************
Schedule
Hourly
Timeout (Seconds)
0
Filter
(objectClass=person)
Notes
Empty
Login Name Identifier
sAMAccountName


How can i get the scheduled user import working? Or how can i debug why it's is not working?

Thanks,
Remco Bierings


Last edited by remcobierings on Thu Aug 09, 2012 3:38 pm, edited 1 time in total.

Top
 Profile  
Reply with quote  

Share On:

Share on Facebook FacebookShare on Twitter TwitterShare on Tumblr TumblrShare on Google+ Google+

PostPosted: Thu Jul 26, 2012 3:50 pm 
Offline

Joined: Thu Jul 26, 2012 3:14 pm
Posts: 3
I've solved the problem.
In /var/log/syslog there was an entry:
Code:
Jul 26 14:08:00 yubico01 anacron[1086]: Job `cron.daily' terminated (exit status: 1) (mailing output)
Jul 26 14:08:00 yubico01 anacron[1086]: Normal exit (1 job run)


I did try to execute the command manual and get the error below:
Code:
root@yubico01:/etc/cron.hourly# /usr/share/webmin/yubico-RoP/ykrop2_ldap_user_import.pl 1
bash: /usr/share/webmin/yubico-RoP/ykrop2_ldap_user_import.pl: Permission denied


The /usr/share/webmin/yubico-RoP/ykrop2_ldap_user_import.pl perlscript did not have execute rights.

I made it executable with:
Code:
chmod a+x /usr/share/webmin/yubico-RoP/ykrop2_ldap_user_import.pl


After i did this the scheduled user import is working.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group