Re: [Samba] winbind problem (?) on samba 3 ADS
--- "Gerald (Jerry) Carter" <[EMAIL PROTECTED]> wrote: --->8 > $ tar zxf samba-3.0.6.tar.gz > $ cd samba-3.0.6/source > $ patch -p0 < filename.patch > $ ./configure && make everything works fine now, thank you. regards, EF = rgrds, EF __ Do you Yahoo!? Yahoo! Mail is new and improved - Check it out! http://promotions.yahoo.com/new_mail -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] winbind problem (?) on samba 3 ADS
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Emir Faisal wrote: | --- "Gerald (Jerry) Carter" <[EMAIL PROTECTED]> wrote: | |>Try this patch (already applied to the 3.0 svn tree. |>cheers, jerry |> |> |>>Index: libads/ldap.c |> | === | |>--- libads/ldap.c (revision 1381) |>+++ libads/ldap.c (revision 2091) |>@@ -2184,13 +2184,19 @@ |> */ |> char *ads_pull_username(ADS_STRUCT *ads, TALLOC_CTX |>*mem_ctx, void *msg) |> { | | ... | ... | ... | | this is new to me, btw. | how to apply/merge this patch ? Save the patche to a file. $ tar zxf samba-3.0.6.tar.gz $ cd samba-3.0.6/source $ patch -p0 < filename.patch $ ./configure && make cheers, jerry -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFBNSqAIR7qMdg1EfYRAjzzAKC+OQKgzJASk0VmuH2/pEVFNhTupQCg8/RM Hu9lXrT3WNwOmxIJxmBBmzo= =yRrV -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] winbind problem (?) on samba 3 ADS
--- "Gerald (Jerry) Carter" <[EMAIL PROTECTED]> wrote: > Try this patch (already applied to the 3.0 svn tree. > cheers, jerry > > > Index: libads/ldap.c > === > --- libads/ldap.c (revision 1381) > +++ libads/ldap.c (revision 2091) > @@ -2184,13 +2184,19 @@ > */ > char *ads_pull_username(ADS_STRUCT *ads, TALLOC_CTX > *mem_ctx, void *msg) > { ... ... ... this is new to me, btw. how to apply/merge this patch ? = rgrds, EF __ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] winbind problem (?) on samba 3 ADS
--- "Gerald (Jerry) Carter" <[EMAIL PROTECTED]> wrote: -->8 > Try this patch (already applied to the 3.0 svn tree. > cheers, jerry -->8 Thank you. I'll let you know the result :) EF = rgrds, EF __ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] winbind problem (?) on samba 3 ADS
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Emir Faisal wrote: | The only thing that I CAN'T do is to access the share | on samba machine. The "wbinfo -u" shows a wrong | combination of "WRKGRP\myloginame.full" instead of our | usual login combination "WRKGRP\myloginame" or | "[EMAIL PROTECTED]" Try this patch (already applied to the 3.0 svn tree. cheers, jerry - - Alleviating the pain of Windows(tm) --- http://www.samba.org GnuPG Key- http://www.plainjoe.org/gpg_public.asc "If we're adding to the noise, turn off this song"--Switchfoot (2003) -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFBNHa6IR7qMdg1EfYRAlD4AJ4p1wikZFw56vSvEHiQoTZuOZ+6SgCfa4Me 7fIpFJwN1YWMbPVWOnf2Se0= =xnB4 -END PGP SIGNATURE- Index: libads/ldap.c === --- libads/ldap.c (revision 1381) +++ libads/ldap.c (revision 2091) @@ -2184,13 +2184,19 @@ */ char *ads_pull_username(ADS_STRUCT *ads, TALLOC_CTX *mem_ctx, void *msg) { +#if 0 /* JERRY */ char *ret, *p; + /* lookup_name() only works on the sAMAccountName to + returning the username portion of userPrincipalName + breaks winbindd_getpwnam() */ + ret = ads_pull_string(ads, mem_ctx, msg, "userPrincipalName"); if (ret && (p = strchr(ret, '@'))) { *p = 0; return ret; } +#endif return ads_pull_string(ads, mem_ctx, msg, "sAMAccountName"); } -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba