[Samba] Re: idmap_ad: sid to uid conversion fails

2004-09-22 Thread Luke Howard
The story so far goes like this: Without the line idmap backend = ad:ldap://PDC's FQDN/ in smb.conf, I can successfully do all of: # wbinfo -S $(wbinfo -n some_user | awk '{print $1}') # getent passwd | grep some_user # net ads search '(objectCategory=user)' \ sAMAccountName

[Samba] Re: [Solved] Re: idmap_ad: sid to uid conversion fails

2004-09-22 Thread Luke Howard
It's probably worth noting that for users who are adding idmap_ad over an existing winbind setup, the old mapping has to be deleted as above. Thanks, I'll put this in the README for the next version. regards, -- Luke -- -- To unsubscribe from this list go to the following URL and read the

Plugin API questions

2003-03-29 Thread Luke Howard
(struct auth_context *auth_context, const char *param, auth_methods **auth_method); int auth_paula_init(void) { return smb_register_auth(paula, auth_init, AUTH_INTERFACE_VERSION); } cheers, -- Luke -- Luke Howard | PADL Software Pty Ltd | www.padl.com

Re: Machine account password interoperablity for Samba 3.0secrets.tdb and keytabs

2003-03-25 Thread Luke Howard
that complicated. It is not difficult to enumerate the supported encryption types. Moreover, there's no requirement that SAMBA use the same keytab as other applications, or that keytab support completely replace the secret store. -- Luke -- Luke Howard | PADL Software Pty Ltd | www.padl.com

Re: Machine account password interoperablity for Samba 3.0secrets.tdb and keytabs

2003-03-25 Thread Luke Howard
it is. In that case, perhaps it *is* better just to provide a get/set command line tool for the secret store rather than trying to hook the keytab into SAMBA per se. -- Luke -- Luke Howard | PADL Software Pty Ltd | www.padl.com

Re: Machine account password interoperablity for Samba 3.0secrets.tdb and keytabs

2003-03-21 Thread Luke Howard
would this be a problem? (I mean, I can understand it would be a problem if it happened while SAMBA was running, but keytabs tend to be fairly static...) -- Luke -- Luke Howard | PADL Software Pty Ltd | www.padl.com

Re: The new modules system

2003-03-20 Thread Luke Howard
Will this break compatability with auth plugins? -- Luke -- Luke Howard | PADL Software Pty Ltd | www.padl.com

Re: The new modules system

2003-03-20 Thread Luke Howard
Will the migration to the new format be difficult and/or documented? -- Luke From: Jelmer Vernooij [EMAIL PROTECTED] Subject: Re: The new modules system To: Luke Howard [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Date: Thu, 20 Mar 2003 13:12:39 +0100 On Thu, Mar 20, 2003 at 10:45:04PM +1100, Luke

Re: HEAD pdb_ldap

2003-03-20 Thread Luke Howard
Ah, and another point: This is certainly not race-free. But that is difficult to do with LDAP. This is true. In our code we ended up implementing lazy set accessors that took both a snapshot of the entry and a set of changes as inputs. -- Luke -- Luke Howard | PADL Software Pty Ltd

Re: winbind vs. pam/nss alternatives

2003-03-17 Thread Luke Howard
platform, and is thus unlikely to disappear overnight. Many large organisations have deployed this schema (they are our customers). -- Luke -- Luke Howard | PADL Software Pty Ltd | www.padl.com

Re: winbind vs. pam/nss alternatives

2003-03-17 Thread Luke Howard
aggressively. -- Luke -- Luke Howard | PADL Software Pty Ltd | www.padl.com

Re: New approach for winbind to match Windows to UNIX users and back

2003-03-13 Thread Luke Howard
I hadn't realized that an SID is actually 256 bits and we at best only have 32 bits to work with I I was only thinking about the RIDs). A SID is variable length, really. -- Luke -- Luke Howard | PADL Software Pty Ltd | www.padl.com

Re: HEAD: PDC or BDC?

2003-03-10 Thread Luke Howard
in release branches. -- Luke -- Luke Howard | PADL Software Pty Ltd | www.padl.com

Re: samba + w2k + kerberos + trusted realm

2003-03-01 Thread Luke Howard
What is it that limit samba to root ? When I use samba with afs beeing root will certenly not help samba access files, what else do samba need. SAMBA does need to bind to privileged ports. -- Luke -- Luke Howard | PADL Software Pty Ltd | www.padl.com

Re: [PATCH] Mutual authentication, keytabs, and SMB session keys

2003-02-24 Thread Luke Howard
you the revised patch. :-) -- Luke -- Luke Howard | PADL Software Pty Ltd | www.padl.com

[PATCH] Check for ENCTYPE_ARCFOUR_HMAC_MD5 (Heimdal) in libads

2003-02-24 Thread Luke Howard
) + ENCTYPE_ARCFOUR_HMAC_MD5, #endif ENCTYPE_DES_CBC_MD5, ENCTYPE_NULL}; -- Luke Howard | PADL Software Pty Ltd | www.padl.com

Re: [PATCH] Mutual authentication, keytabs, and SMB session keys

2003-02-23 Thread Luke Howard
patch later today... cheers, -- Luke -- Luke Howard | PADL Software Pty Ltd | www.padl.com

Re: [PATCH] Mutual authentication, keytabs, and SMB session keys

2003-02-23 Thread Luke Howard
--- libads/kerberos_verify.c19 Feb 2003 01:16:40 - 1.6 +++ libads/kerberos_verify.c24 Feb 2003 06:04:26 - @@ -3,7 +3,7 @@ kerberos utility library Copyright (C) Andrew Tridgell 2001 Copyright (C) Remus Koos 2001 - + Copyright (C) Luke Howard 2003

[PATCH] Mutual authentication, keytabs, and SMB session keys

2003-02-22 Thread Luke Howard
kerberos utility library Copyright (C) Andrew Tridgell 2001 Copyright (C) Remus Koos 2001 - + Copyright (C) Luke Howard 2003 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by -29,14

Re: Samba 3.0alpha21, Windows XP SP1 and Kerberos authentication

2003-02-14 Thread Luke Howard
,w3svc,iisadmin -- Luke -- Luke Howard | PADL Software Pty Ltd | www.padl.com

RE: Samba 3.0alpha21, Windows XP SP1 and Kerberos authentication

2003-02-04 Thread Luke Howard
like this should work: Interesting. According to Microsoft documentation, the servicePrincipalName can never be modified over LDAP, only over RPC. -- Luke -- Luke Howard | PADL Software Pty Ltd | www.padl.com

RE: Samba 3.0alpha21, Windows XP SP1 and Kerberos authentication

2003-02-04 Thread Luke Howard
On Tue, 4 Feb 2003, Luke Howard wrote: I created it with OpenLDAP's ldapmodify after I joined the machine to the domain. An LDIF like this should work: Interesting. According to Microsoft documentation, the servicePrincipalName can never be modified over LDAP, only over RPC. Well, what can

Re: heimdal didn't have AP_OPTS_USE_SUBKEY

2003-02-03 Thread Luke Howard
Also, if you are going to support specific enctypes, note that Heimdal defines ENCTYPE_ARCFOUR_HMAC_MD5 rather than ENCTYPE_ARCFOUR_HMAC. -- Luke -- Luke Howard | PADL Software Pty Ltd | www.padl.com

Re: heimdal didn't have AP_OPTS_USE_SUBKEY

2003-02-02 Thread Luke Howard
- @@ -3,7 +3,7 @@ kerberos utility library Copyright (C) Andrew Tridgell 2001 Copyright (C) Remus Koos 2001 - + Copyright (C) Luke Howard 2003 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License

Re: heimdal didn't have AP_OPTS_USE_SUBKEY

2003-02-01 Thread Luke Howard
) Remus Koos 2001 - + Copyright (C) Luke Howard 2003 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -29,15 +29,14 @@ authorization_data if available */ NTSTATUS ads_verify_ticket

Re: More Kerberos-related questions

2003-01-08 Thread Luke Howard
and with the Linux server set up to understand Kerberos credentials. The question here would be if the smbfs client side would understand the kerberos credentials of the user? I think you could do this using delegation. -- Luke -- Luke Howard | PADL Software Pty Ltd | www.padl.com

Re: More Kerberos-related questions

2003-01-08 Thread Luke Howard
and delegation. -- Luke From: Steve Langasek [EMAIL PROTECTED] Subject: Re: More Kerberos-related questions To: Andrew Bartlett [EMAIL PROTECTED] Cc: [EMAIL PROTECTED], Luke Howard [EMAIL PROTECTED], [EMAIL PROTECTED] Date: Wed, 8 Jan 2003 16:08:06 -0600 On Thu, Jan 09, 2003 at 09:03:03AM +1100, Andrew

Re: CIFS and Kerberos question

2002-12-13 Thread Luke Howard
By default, Kerberos is used for SMB authentication only. I thought I had seen some of the new Windows 2000 DCERPC pipes (FRS for example) use Kerberos encryption. Yes (and LDAP too). I meant to refer only to SMB, though. -- Luke -- Luke Howard | PADL Software Pty Ltd | www.padl.com

Re: dynamically loadable named pipe providers

2002-12-12 Thread Luke Howard
form part of the TCB. -- Luke -- Luke Howard | PADL Software Pty Ltd | www.padl.com

Re: dynamically loadable named pipe providers

2002-12-12 Thread Luke Howard
, it is important to note that they are logically distinct from raw DCE RPC over domain sockets (ncalrpc). Non-named pipe clients must make a DCE RPC BIND or ALTER_CONTEXT in order to authenticate themselves to the RPC server. cheers, -- Luke -- Luke Howard | PADL Software Pty Ltd | www.padl.com

Re: dynamically loadable named pipe providers

2002-12-12 Thread Luke Howard
The RPC server listens on ncacn_ip_tcp, ncacn_ip_udp, ncalrpc and Should be ncadg_ip_udp. Whoops. -- Luke -- Luke Howard | PADL Software Pty Ltd | www.padl.com

Re: Finding Domains in the GC (fwd)

2002-12-12 Thread Luke Howard
attribute to determine the trusted domain name, as cn is _just_ a naming attribute. -- Luke -- Luke Howard | PADL Software Pty Ltd | www.padl.com

dynamically loadable named pipe providers

2002-12-11 Thread Luke Howard
I would like to add support for dynamic loading of named pipe providers in rpc_server/srv_pipe_hnd.c. - Is anyone else working on this? - Would such a patch be accepted? -- Luke -- Luke Howard | PADL Software Pty Ltd | www.padl.com

Re: dynamically loadable named pipe providers

2002-12-11 Thread Luke Howard
pipe client looks exactly the same as a client that has authenticated using NTLMSSP, SPNEGO or Kerberos. Code is at http://www.padl.com/~lukeh/XAD/dce_funnel.tar.gz. cheers, -- Luke -- Luke Howard | PADL Software Pty Ltd | www.padl.com

Private AUthentication LAyer authentication support

2002-12-03 Thread Luke Howard
Copyright (C) Luke Howard 2002 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version

uuid_to_string() conflict

2002-11-15 Thread Luke Howard
it with #defines but it would be nice not to. regards, -- Luke -- Luke Howard | PADL Software Pty Ltd | www.padl.com

Re: acctFlags/groupFlags ldap schema

2002-10-18 Thread Luke Howard
.??) it should work. -- Luke -- Luke Howard | PADL Software Pty Ltd | www.padl.com

Re: Atomic RID allocation in LDAP

2002-10-12 Thread Luke Howard
in Active Directory is patented by Microsoft. This is only useful in a multi-master directory, though. -- Luke -- Luke Howard | PADL Software Pty Ltd | www.padl.com

[PATCH] OSF DCE RPC funnel

2002-10-09 Thread Luke Howard
for forwarding NTLM credentials via a temporary file. Thanks to the SAMBA team for making the named pipe API easy to extend! Luke Howard [EMAIL PROTECTED] PADL Software Pty Ltd August 26, 2002 dce_funnel.tar.gz Description: Binary data -- Luke Howard | PADL Software Pty Ltd | www.padl.com

Re: MS's implementation of SPNEGO ...

2002-10-09 Thread Luke Howard
... -- Luke -- Luke Howard | PADL Software Pty Ltd | www.padl.com

Re: MS's implementation of SPNEGO ...

2002-10-08 Thread Luke Howard
implementation include this field, though, except on the NegTokenTarg in which case it includes a copy of the responseToken. -- Luke -- Luke Howard | PADL Software Pty Ltd | www.padl.com

Re: locating NETBIOS name of domain in a win2k domain

2002-10-04 Thread Luke Howard
http://www.samba.org --http://www.plainjoe.org SAMS Teach Yourself Samba in 24 Hours 2ed. ISBN 0-672-32269-2 --I never saved anything for the swim back. Ethan Hawk in Gattaca-- -- Luke Howard | PADL Software Pty Ltd

Re: Heimdal and 3.0

2002-10-01 Thread Luke Howard
, or was it just tweaking compile-time options? -- Luke Howard | PADL Software Pty Ltd | www.padl.com

Re: nmbd cldap patch

2002-09-27 Thread Luke Howard
to these, win2k clients send more variations...it could very easily get out of hand. Jim McDonough IBM Linux Technology Center Samba Team 6 Minuteman Drive Scarborough, ME 04074 USA [EMAIL PROTECTED] [EMAIL PROTECTED] Phone: (207) 885-5565 IBM tie-line: 776-9984 -- Luke

Re: Using winbind with Wine

2002-09-26 Thread Luke Howard
the OSF DCE runtime (actually, FreeDCE), which is BSD-licensed. We are doing a similar thing, except in reverse, so that SAMBA can act as a named pipe front-end to our proprietary DCE RPC services. More information is at http://www.padl.com/Research/XAD.html. -- Luke -- Luke Howard | PADL Software

Re: Using winbind with Wine

2002-09-25 Thread Luke Howard
string API. -- Luke -- Luke Howard | PADL Software Pty Ltd | www.padl.com

RE: unknown RPC opcodes during join+logon

2002-09-19 Thread Luke Howard
it. Isn't that just analagous to presenting different negotiation flags, assuming the IDL code on NT ignores the trailing data? -- Luke -- Luke Howard | PADL Software Pty Ltd | www.padl.com

RE: unknown RPC opcodes during join+logon

2002-09-19 Thread Luke Howard
0x0007bfff from Win2K. regards, -- Luke -- Luke Howard | PADL Software Pty Ltd | www.padl.com

RE: unknown RPC opcodes during join+logon

2002-09-19 Thread Luke Howard
.spinnakernet.com -- Luke -- Luke Howard | PADL Software Pty Ltd | www.padl.com

Re: unknown RPC opcodes during join+logon

2002-09-18 Thread Luke Howard
are ostensibly irrelevant, because the client sends the authenticator before it receives the flags from the server. -- Luke -- Luke Howard | PADL Software Pty Ltd | www.padl.com

Re: Problems with WinXP joining a Samba-head domain (and suggested solutions)

2002-09-11 Thread Luke Howard
turn SignOrSeal back on and get some traces myself :-) cheers, -- Luke -- Luke Howard | lukehoward.com PADL Software | www.padl.com

Re: Problems with WinXP joining a Samba-head domain (and suggested solutions)

2002-09-11 Thread Luke Howard
of view, there are other interoperability hurdles that we need to resolve before we look at finishing our implementation of this (which doesn't use SAMBA anyway, so it's probably off-topic here). regards, -- Luke -- Luke Howard | lukehoward.com PADL Software | www.padl.com

Re: Problems with WinXP joining a Samba-head domain (and suggested solutions)

2002-09-11 Thread Luke Howard
channel is negotiated over SPNEGO? I haven't seen that before, I'd like to know what OID they use. -- Luke -- Luke Howard | lukehoward.com PADL Software | www.padl.com

Re: unknown RPC opcodes during join+logon

2002-09-11 Thread Luke Howard
the algo ? The return code always follows the last top-level [out] value, but there is an additional [out] ULONG in NetrServerAuthenticate3. The algorithm for calculating credentials is the same. -- Luke -- Luke Howard | lukehoward.com PADL Software | www.padl.com

Re: Problems with WinXP joining a Samba-head domain (and suggested solutions)

2002-09-11 Thread Luke Howard
header of 0x77 0x00 0x7a 0x00 0xff 0xff 0x00 0x00 -- Luke -- Luke Howard | lukehoward.com PADL Software | www.padl.com

Re: Problems with WinXP joining a Samba-head domain (and suggested solutions)

2002-09-11 Thread Luke Howard
What is returned in the bind response? An array of 8 nonce bytes if memory serves well. Hmm, maybe that is used to generate a subkey so the credential chain session key is not over-used. -- Luke -- Luke Howard | lukehoward.com PADL Software | www.padl.com

Re: Any traces with sign and seal and secure channel?

2002-09-10 Thread Luke Howard
. -- Luke -- Luke Howard | lukehoward.com PADL Software | www.padl.com

Re: GSSAPI Kerberos mechanism

2002-09-05 Thread Luke Howard
(KRB_AP_REQ, KRB_AP_REP or KRB_ERROR), preceded by a 2-byte TOK_ID field containing 01 00 for KRB_AP_REQ messages, 02 00 for KRB_AP_REP messages and 03 00 for KRB_ERROR messages. -- Luke Howard | lukehoward.com PADL Software | www.padl.com

Re: [jcifs] Re: Win2K: Primary Domain Fld of Ssn Setup Not Proper ly Zero Term'd

2002-08-27 Thread Luke Howard
. cheers, -- Luke -- Luke Howard | lukehoward.com PADL Software | www.padl.com

Re: [jcifs] Re: Win2K: Primary Domain Fld of Ssn Setup Not Proper ly Zero Term'd

2002-08-27 Thread Luke Howard
the interoperability of the OSF DCE runtime, it's real nice to be able to have all the marshalling and unmarshalling taken care of by an IDL compiler, be able to support RPC directly over IP (as required by Windos 2000) and yet still have SAMBA funnel over named pipe RPCs. :-) -- Luke -- Luke Howard

Re: [jcifs] Re: Win2K: Primary Domain Fld of Ssn Setup Not Proper ly Zero Term'd

2002-08-27 Thread Luke Howard
Oh, and the aforementioned funnel still relies on SAMBA's internal mapping of pipe names to UUIDs. It's a start, though... -- Luke -- Luke Howard | lukehoward.com PADL Software | www.padl.com

Re: SPNEGO and multiple authentication types ...

2002-08-26 Thread Luke Howard
. The next is the real Kerberos OID. Not sure about the one afther that. The final one is NTLMSSP. -- Luke -- Luke Howard | lukehoward.com PADL Software | www.padl.com

Re: unknown RPC opcodes during join+logon

2002-08-15 Thread Luke Howard
). But I'm not sure whether anyone has actually seen this RPC. OTOH while we know the layout of the structures passed to and from 0x1D, the contents are not yet clear. Time to get a new trace with signseal disabled. Yes, please send one if you have it. cheers, -- Luke -- Luke Howard

Re: [FYI] samba_2_2 openLdap 2.1.3 and the auxiliary/structural objects

2002-08-13 Thread Luke Howard
. -- Luke -- Luke Howard | lukehoward.com PADL Software | www.padl.com

Re: New approach to win2k joins...

2002-08-10 Thread Luke Howard
Scarborough, ME 04074 USA [EMAIL PROTECTED] [EMAIL PROTECTED] Phone: (207) 885-5565 IBM tie-line: 776-9984 -- Luke Howard | lukehoward.com PADL Software | www.padl.com