[Samba] Re: [3.0.25] bug: net ignors kerberos tickets
Bernd Schubert
bs at q-leap.de
Wed Jul 18 23:28:49 GMT 2007
On Wed, Jul 18, 2007 at 08:29:32PM +0200, Bernd Schubert wrote:
> On Wednesday 18 July 2007 16:35:42 Bernd Schubert wrote:
> > On Wednesday 18 July 2007 12:14:38 Bernd Schubert wrote:
> > > [2007/07/18 12:12:07, 2] libads/ldap.c:ldap_open_with_timeout(70)
> > > Could not open LDAP connection to ads-2k3.ads2k3.q-leap.de:389: No such
> >
> > This could be solved by adding ads-2k3.ads2k3.q-leap.de to the /etc/hosts,
> > the problem is probably due to a windows misconfiguration. I just wonder
> > why it hasn't been a problem with samba-3.0.22
> >
> > Still, our main problems remains.
> >
> >
> > 255 ha-test-1(new):/var/lock# net ads join
> > Password:
> >
>
> Well, it works now by just pressing enter, I had to add another entry
> to /etc/hosts. How can I convince it that no password is required?
Seems to be a bug in samba, I think it always asks for a password ignoring
already available kerberos tickets.
I get it working by just commenting out the password request
in source/utils/net.c: connect_to_ipc_krb5()
// if (!opt_password && !opt_machine_pass) {
// char *pass = getpass("Password:");
// if (pass) {
// opt_password = SMB_STRDUP(pass);
// }
// }
Bernd
More information about the samba
mailing list