Modify ↓
#11306 closed defect (duplicate)
[Patch] make sure scope is passed as an int
| Reported by: | Andras Korn | Owned by: | branson |
|---|---|---|---|
| Priority: | normal | Component: | DirectoryAuthPlugin |
| Severity: | normal | Keywords: | |
| Cc: | Trac Release: |
Description
- res = d.search_s(basedn.encode(self.dir_charset), scope, lfilter, attrs) + res = d.search_s(basedn.encode(self.dir_charset), int(scope), lfilter, attrs)
If I specified scope in the config, the above line threw an error ("integer expected"). This trivial patch seems to fix it.
Attachments (0)
Change History (2)
comment:1 Changed 12 years ago by
| Resolution: | → duplicate |
|---|---|
| Status: | new → closed |
comment:2 Changed 12 years ago by
Well, it should have been fixed a long time ago anyway. I'll push the change again now.
Note: See
TracTickets for help on using
tickets.



Sorry, duplicate of #10581.