Use of kerberos in python samdb script

William Brown william.e.brown at adelaide.edu.au
Mon May 13 21:12:53 MDT 2013


On Sun, 12 May 2013 10:42:32 PM William Edward Brown wrote:
> > > Any further ideas would be welcome.
> > 
> > One more idea: please try to change
> > sys.path.append('/usr/local/samba/lib64/python2.7/site-packages') into
> > sys.path.insert(0,'/usr/local/samba/lib64/python2.7/site-packages')
> > just in case you have samba packages of different origin around.
> > 
> > Regards
> > 
> > Geza Gemes
> 
> No change. I changed my script to what you suggested, but also checked that
> I only have a single instance of the python libraries anyway. I also
> suspected that it may be due to the fact I have system ldb libraries
> installed, so I added to my SamDB opening call.
> 
> modules_dir='/usr/local/samba/lib/ldb'

I may have solved this.

My system is fedora, so when I login, i'm using a MIT ccache. Isn't this not 
supported? Additionally, the ticket cache is:

Ticket cache: DIR::/run/user/2000/krb5cc/tkt8FKOCB

So, what's the best thing to do with this? Use the system ldb that is built 
against ldap and mit? Or is this unsupported. 

-- 
Sincerely,

William Brown

Research & Teaching, Technology Services
The University of Adelaide, AUSTRALIA 5005

CRICOS Provider Number 00123M
-----------------------------------------------------------------------------
IMPORTANT: This message may contain confidential or legally privileged
information. If you think it was sent to you by mistake, please delete
all
copies and advise the sender. For the purposes of the SPAM Act 2003,
this
email is authorised by The University of Adelaide.

pgp.mit.edu
http://pgp.mit.edu:11371/pks/lookup?op=vindex&search=0x3C0AC6DAB2F928A2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 876 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20130514/5b0aad5d/attachment.pgp>


More information about the samba-technical mailing list