Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#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:


-        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 10 years ago by Andras Korn

Resolution: duplicate
Status: newclosed

Sorry, duplicate of #10581.

comment:2 Changed 10 years ago by Ryan J Ollos

Well, it should have been fixed a long time ago anyway. I'll push the change again now.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain branson.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.