[Samba] Samba python connect using ldaps
Thiago Luiz Parolin
tlparolin at gmail.com
Wed Mar 30 18:20:03 UTC 2022
Hi Rowland, thank you for your attention.
Can you give more details on how to work with kerberos using my python code
Sorry, I am lost in this field.
Em qua., 30 de mar. de 2022 às 12:13, Rowland Penny via samba <
samba at lists.samba.org> escreveu:
> On Wed, 2022-03-30 at 11:04 -0300, Thiago Luiz Parolin via samba wrote:
> > Hi,
> > I am trying to connect to our samba4 AD DS server (zentyal) using
> > ldaps://
> > and python code like:
> > lp = LoadParm()
> > creds = Credentials()
> > creds.guess(lp)
> > creds.set_username('myuser')
> > creds.set_password('mypass')
> > url_server = 'ldaps://myserver.mycompany.com:636'
> You use port 389 and it changes to 636, but I suggest you use kerberos
> instead, it is more secure.
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/options/samba
More information about the samba