On Thu, 10 May 2001, Patrizia Canton wrote: > If you are running the stable version of Debian > ask for samba 2.2.0 to the responsible for samba debian package. > You can find the e-mail address at the bottom of the page > http://packages.debian.org/stable/net/samba.html. > I did in this way, and I am running samba 2.2.0 on the stable dist > of Debian. > cheers > Patrizia > On Thu, 10 May 2001, Gary Wilson wrote: > > > Yes, they can be found at this link. But if you are running the stable > > version of Debian, these packages in unstable won't work. > > > > ----- Original Message ----- > > From: "Patrizia Canton" <[EMAIL PROTECTED]> > > To: "Atwal, Steve" <[EMAIL PROTECTED]> > > Cc: <[EMAIL PROTECTED]> > > Sent: Thursday, May 10, 2001 3:03 AM > > Subject: Re: Debian Package for Samba 2.2.0 > > > > > > > > http://packages.debian.org/unstable/net/samba > > http://packages.debian.org/unstable/net/samba-common > > > > > > > Can anyone tell us if there is a Samba install package for the new version > > 2.2.0 ? > > > > > > Thanks > > > Steve
Elroy, Is this correct? A lot of us would like to run 2.2.0 on our stable systems this side of Xmas. Can we have URL to both the debs and the source for potato? If you have Jeremy's %U patch[1] in there it will make my day. Regards, Lindsay [1] >From [EMAIL PROTECTED] Fri May 11 08:13:48 2001 Date: Wed, 25 Apr 2001 12:27:54 -0400 From: Jeremy Allison <[EMAIL PROTECTED]> To: Matthew Keller <[EMAIL PROTECTED]> Cc: Samba-NT-Domain List <[EMAIL PROTECTED]> Subject: Re: %U and %u functionality change in 2.2?? Resent-Date: Sat, 28 Apr 2001 08:02:08 +0800 (WST) Resent-From: Lindsay Allen <[EMAIL PROTECTED]> Resent-To: [EMAIL PROTECTED] Resent-Subject: Re: %U and %u functionality change in 2.2?? Matthew Keller wrote: > > I've been using %U macros within "include" statements in Samba 2.0 for > years now. 2.2 doesn't seem to like them anyore. Has this functionality > changed? I checked the smb.conf man page, but it doesn't seem to say > anything different. I'm really hurting without this functionality > (including different conf files depending on user name). Any help would > be most appreciated. Yes, we broke this by accident in 2.2.0. The intent is to fix this for 2.2.1 and make %U map to the incoming username (enforced lowercase). Here is the patch that will be in 2.2.1. Sorry for the problem, Jeremy. Index: lib/substitute.c =================================================================== RCS file: /data/cvs/samba/source/lib/substitute.c,v retrieving revision 1.8.2.5 diff -u -r1.8.2.5 substitute.c --- lib/substitute.c 2001/04/08 20:22:51 1.8.2.5 +++ lib/substitute.c 2001/04/25 18:24:31 @@ -172,9 +172,21 @@ fstring pidstr; for (s=str; (p=strchr(s, '%'));s=p) { + fstring tmp_str; + int l = sizeof(pstring) - (int)(p-str); switch (*(p+1)) { + case 'U' : + fstrcpy(tmp_str, sam_logon_in_ssb?samlogon_user:current_user_info.smb_name); + strlower(tmp_str); + string_sub(p,"%U",tmp_str,l); + break; + case 'D' : + fstrcpy(tmp_str, current_user_info.domain); + strupper(tmp_str); + string_sub(p,"%D", tmp_str,l); + break; case 'I' : string_sub(p,"%I", client_addr(),l); break; case 'L' : string_sub(p,"%L", local_machine,l); break; case 'M' : string_sub(p,"%M", client_name(),l); break; @@ -212,7 +224,6 @@ int l = sizeof(pstring) - (int)(p-str); switch (*(p+1)) { - case 'U' : string_sub(p,"%U",sam_logon_in_ssb?samlogon_user:current_user_info.smb_name,l); break; case 'G' : if ((pass = Get_Pwnam(user,False))!=NULL) { string_sub(p,"%G",gidtoname(pass->pw_gid),l); @@ -220,7 +231,6 @@ p += 2; } break; - case 'D' : string_sub(p,"%D", current_user_info.domain,l); break; case 'N' : string_sub(p,"%N", automount_server(user),l); break; case 'H': if ((home = get_user_home_dir(user))) { -- -------------------------------------------------------- Buying an operating system without source is like buying a self-assembly Space Shuttle with no instructions. -------------------------------------------------------- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Lindsay Allen <[EMAIL PROTECTED]> Perth, Western Australia voice +61 8 9316 2486, 0403 272 564 32.0125S 115.8445E Debian Linux =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=