You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django-a...@googlegroups.com
hi
my authentication via django-auth-ldap works perfect, but i don't know how i can get username after authentication...
regards
Rmk
Peter Sagerson
unread,
Sep 16, 2012, 12:24:04 PM9/16/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django-a...@googlegroups.com
Every authentication backend in Django--django-auth-ldap included--ultimately returns a django.contrib.auth.models.User instance when it succeeds. Just look at request.user, like normal. Additionally, request.user.ldap_user.dn will be the LDAP DN we used to authenticate and request.user.ldap_user.attrs will be all of their LDAP attributes.
rmk
unread,
Sep 16, 2012, 2:24:29 PM9/16/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django-a...@googlegroups.com
thx, works very fine.
Di majo
unread,
May 12, 2024, 2:02:43 PM5/12/24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django-auth-ldap
MT103/202 DIRECT WIRE TRANSFER PAYPAL TRANSFER CASHAPP TRANSFER ZELLE TRANSFER LOAN DEAL TRANSFER WISE WESTERN UNION TRANSFER BITCOIN FLASHING BANK ACCOUNT LOADING/FLASHING IBAN TO IBAN TRANSFER MONEYGRAM TRANSFER IPIP/DTC SLBC PROVIDER CREDIT CARD TOP UP DUMPS/ PINS SEPA TRANSFER WIRE TRANSFER BITCOIN TOP UP GLOBALPAY INC US SKRILL USA UNIONPAY RECEIVER
Thanks.
NOTE; ONLY SERIOUS / RELIABLE RECEIVERS CAN CONTACT.