Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: ProvisioningApiError: **Error on 'quota' argument: must be an integer #10

Open
GoogleCodeExporter opened this issue May 15, 2015 · 4 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Mapping the GoogleQuota attribute to None
2. Use the command syncOneUser add that user
3.

What is the expected output? What do you see instead?

I see this output:

Command: syncOneUser (uid=ivan)
The user record for uid=ivan,ou=personas,dc=cyc,dc=ull,dc=es is now:
Now looking up 'ivan' in Google Apps for Your Domain...
User 'ivan' not found
The recommended action for this user is to
treat user as having been: added

Proceed with that action (y/n) y
03-16 19:30 root         ERROR    error: ProvisioningApiError: **Error 
on 'quota' argument: must be an integer
03-16 19:30 root         ERROR    failure to handle 'added' on 
uid=ivan,ou=personas,dc=cyc,dc=ull,dc=es: ProvisioningApiError: **Error 
on 'quota' argument: must be an integer

What version of the product are you using? On what operating system?

Google Apps LDAP Sync v1.2. Linux

Please provide any additional information below.


Original issue reported on code.google.com by aplatan...@gulic.org on 16 Mar 2008 at 7:34

@GoogleCodeExporter
Copy link
Author

It works if the GoogleQuota attribute is mapped to None by changing directly 
the 
configuration file. For example:

mapping = 
{'GoogleUsername': 'uid', 'GooglePassword': "Password", 'GoogleFirstName': 
'givenName', 'GoogleLastName': 'sn', 'GoogleQuota': 
None, 'GoogleApplyIPWhitelist': False}

The testFilter and mapGoogleAttribute commands map the attribute to 'None'. For 
example:

mapping = 
{'GoogleUsername': 'uid', 'GooglePassword': "Password", 'GoogleFirstName': 
'givenName', 'GoogleLastName': 'sn', 'GoogleQuota': 'None', 
'GoogleApplyIPWhitelist': 
False}

And that causes the exception.

Original comment by aplatan...@gulic.org on 16 Mar 2008 at 8:25

@GoogleCodeExporter
Copy link
Author

[deleted comment]

1 similar comment
@GoogleCodeExporter
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

I attach a patch. I think it solves this problem.

Original comment by aplatan...@gulic.org on 19 Mar 2008 at 12:30

Attachments:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant