mirror of
https://github.com/samba-team/samba.git
synced 2025-02-02 09:47:23 +03:00
ca973caa28
This defaults to False, query the User class returns only User instances. User.query(samdb) When set to True, query the User class can return User, Computer, ManagedServiceAccount instances. User.query(samdb, polymorphic=True) If polymorphic is False the same records are still returned but records will always be interpreted as the model that is being queried only, rather than a more specific model that matches that object class. Signed-off-by: Rob van der Linde <rob@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>