hai, i need following topics for your help give the full articals.pls send . thanks prabhukumar On Mon, 2006-10-02 at 12:03 +0000, samba-request@lists.samba.org wrote:> Send samba mailing list submissions to > samba@lists.samba.org > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.samba.org/mailman/listinfo/samba > or, via email, send a message with subject or body 'help' to > samba-request@lists.samba.org > > You can reach the person managing the list at > samba-owner@lists.samba.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of samba digest..." > > > Today's Topics: > > 1. How to handle domain logout? (DRVTiny) > 2. vfs object recycle: could two shares use the same repository? > (M. Mueller) > 3. [Fwd: Re: [Samba] How to tell Samba not to use the passwd > file] (Michael Gasch) > 4. inverse veto files (Michael Gasch) > 5. slow wan to wan samba connection (scott) > 6. Re: How to handle domain logout? (Ulf Nor?n) > 7. Re: WINS over subnets (Hoggins!) > 8. Re: Re: WINS over subnets (Edmundo Valle Neto) > 9. Samba AD support with openldap and SASL (ShunLei_Pak@emc.com) > 10. How to copy a file from linux to window pc (Indunil Jayasooriya) > 11. Re: How to copy a file from linux to window pc (odi) > 12. Horrible write performance from XP to Samba (Peter Daum) > 13. Re: WINS over subnets (Hoggins!) > 14. fully qualified usernames ?? (Robert Gehr) > 15. Auth Problem (Marian Neagul) > 16. Re: How to copy a file from linux to window pc (Gerard Seibert) > 17. RE: fully qualified usernames ?? (Peter Trifonov) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sun, 01 Oct 2006 16:22:43 +0400 > From: DRVTiny <mudraia@list.ru> > Subject: [Samba] How to handle domain logout? > To: samba@lists.samba.org > Message-ID: <E1GU0LD-000Ics-00.mudraia-list-ru@mx2.mail.ru> > Content-Type: text/plain; charset=US-ASCII > > I need to create a server-side (bash or perl script) handler for domain user logoff event. > Is it possible to do it theoretically and if it is possible, how can i realize this in practice? > > My configuration: PDC running Samba 3.0.23b with 35 workstations under Windows 2000 Pro connected to PDC > Thanks! > > > ------------------------------ > > Message: 2 > Date: Sun, 01 Oct 2006 21:28:27 +0200 > From: "M. Mueller" <malte.mueller@ewetel.net> > Subject: [Samba] vfs object recycle: could two shares use the same > repository? > To: samba@lists.samba.org > Message-ID: <452016DB.4080904@ewetel.net> > Content-Type: text/plain; charset=ISO-8859-15; format=flowed > > Hi, > i use the vfs-object "recycle" on the [homes] share and defined > recycle:repository = /backup/recycle/%G/%U/.recycle. > What happens, when using the same repository path for another share, > e.g. [data]. Could this lead to data loss in the waste bin? > I could of course branch into "/backup/recycle/%G/%U/.recycle/homes" and > "/backup/recycle/%G/%U/.recycle/data" but i would like to avoid that. > > Thanks for any comments, > Malte Mller > > > ------------------------------ > > Message: 3 > Date: Fri, 29 Sep 2006 10:46:10 +0200 > From: Michael Gasch <gasch@eva.mpg.de> > Subject: [Fwd: Re: [Samba] How to tell Samba not to use the passwd > file] > To: "Gerald (Jerry) Carter" <jerry@samba.org> > Cc: samba <samba@lists.samba.org>, dtovey@emergecore.com > Message-ID: <451CDD52.2050204@eva.mpg.de> > Content-Type: text/plain; charset="iso-8859-1" > > hi jerry, > > >> I tested it. I tried several permutations, using "invalid > >> > users" and "valid users" in both the [global] and > >> > [homes] sections. With the "invalid users" line > >> > that you had (in either section), once I login as a > >> > Domain Admin I can then get at all these system > >> > account directories. > > > > Hmmm...ok. Must have gotten broken then. Thanks for > > letting me know. > > > > i did not verified the current state but did you make any progress in > this? just asking :) ... > > greez > -- > Michael Gasch > Max Planck Institute for Evolutionary Anthropology > Department of Human Evolution (IT Staff) > Deutscher Platz 6 > D-04103 Leipzig > Germany > > Phone: 49 (0)341 - 3550 137 > 49 (0)341 - 3550 374 > > Fax: 49 (0)341 - 3550 399 > > ------------------------------ > > Message: 4 > Date: Fri, 29 Sep 2006 11:25:31 +0200 > From: Michael Gasch <gasch@eva.mpg.de> > Subject: [Samba] inverse veto files > To: Jeremy Allison <jra@samba.org> > Cc: samba <samba@lists.samba.org> > Message-ID: <451CE68B.7020108@eva.mpg.de> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > hi jeremy, > > you asked the people requesting an inverse option of "veto files" to > remind you to put this on 3.0.24. > > just to summarize what we want: > - have an option to set files incl. wildcards that are allowed for a > share (inverse of veto parameter), e.g. > allow files = /*.odt/ # allows only odt-files to be stored on a share > > regex would be nice to have but i'm aware of the complexity and possible > performance issues. > > thx! > micha > > > -- > Michael Gasch > Max Planck Institute for Evolutionary Anthropology > Department of Human Evolution (IT Staff) > Deutscher Platz 6 > D-04103 Leipzig > Germany > > Phone: 49 (0)341 - 3550 137 > 49 (0)341 - 3550 374 > > Fax: 49 (0)341 - 3550 399 > > > > ------------------------------ > > Message: 5 > Date: Sun, 01 Oct 2006 14:38:27 -0600 > From: scott <icedutah@comcast.net> > Subject: [Samba] slow wan to wan samba connection > To: samba@lists.samba.org > Message-ID: <45202743.9030204@comcast.net> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > I have a samba file server running as the pdc for a network. There are 5 > different subnets that connect to it over ptp t1 links using cisco > routers. It has ran just fine for years until now. Local traffic to the > file server is flawless. Traffic over the other non-local links has come > to a halt for some reason. You can browse down a few directories but > after that it just kills windows explorer. All the pc's have the samba > server as the WINS server also and DNS server. Any help why the > non-local networks would act like this? > > > ------------------------------ > > Message: 6 > Date: Sun, 1 Oct 2006 22:10:33 +0200 > From: Ulf Nor?n <Ulf.Noren@miun.se> > Subject: Re: [Samba] How to handle domain logout? > To: samba@lists.samba.org > Cc: DRVTiny <mudraia@list.ru> > Message-ID: <200610012210.34193.Ulf.Noren@miun.se> > Content-Type: text/plain; charset="iso-8859-1" > > On Sunday 01 October 2006 14:22, DRVTiny wrote: > > I need to create a server-side (bash or perl script) handler for domain > > user logoff event. Is it possible to do it theoretically and if it is > > possible, how can i realize this in practice? > > > > My configuration: PDC running Samba 3.0.23b with 35 workstations under > > Windows 2000 Pro connected to PDC Thanks! > > A "clean" logoff can be handled through a logout script on the client. That > script could connect to a special share on the server that has a configured > preexec-script. > > I use this teqnique for logging purposes. > > /ULf > > -- > Ulf Norn > IT-avd, Mittuniversitetet > 0660-57899,070-5142781 > > > ------------------------------ > > Message: 7 > Date: Mon, 02 Oct 2006 01:45:52 +0200 > From: "Hoggins!" <hoggins@wheres5.com> > Subject: [Samba] Re: WINS over subnets > To: samba@lists.samba.org > Message-ID: <efpjue$j5g$1@sea.gmane.org> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Edmundo Valle Neto a crit : > > Hoggins! escreveu: > > > > Yes, in that case it should maintain a more complete list. And yes you > > just must have ONE WINS server. > > I think you didnt got the point, domain master, local master, domain > > controllers, wins server, etc are just roles of the same server, > > enabling some options in smb.conf the same server can be all of them at > > the same time. > > BUT, other subnets need local master browsers too, they can be any > > Windows workstation (normally you should not worry about that), this is > > one of the reasons that all of them must use the same single WINS server > > (I am not saying that yours are not), the LMB can be any available > > workstation (the machines in the subnet should elect one automatically), > > so any machine ending up beeing a LMB will use the same WINS server to > > find the DMB and sync. It works that way without you needing to care > > about it. > > > > > > Ok, if the wireless clients can see each others probably that segment > > has an LMB with the browse list of that segment but just isnt passing it > > to the samba server. > > About the LMBs I just said that to make it clear, that the other > > networks dont register themselves directly with samba to be included in > > the browse.dat file, who does that is the LMB of that segment (as > > explained before). > > Thanks, I understand better now how it works. > So the LMB (any Win machine, elected) of the 192.168.3.0/24 segment must > send its browse list to the server, right ? I must check this traffic > with ethereal and/or with debug level 2. Sorry I didn't yet. > > > Yes, it is possible and most of the times the recommended way. > > > > > > Theres some tools and comands to see problems with name resolution on > > the XP clients, like nbtstat or the netbios browsing console. > > > > Putting a log level of 2 in smb.conf, is there any interesting > > information about elections in the nmbd log? Whould help if you include > > your smb.conf here too. > > Yes, I put debug level to 2, and I saw that the server was always > elected as the master. And also that the machines successfully > registered to the server. > My smb.conf (a bit modified since my first post, but the symptoms are > the same though) : > > [global] > display charset = ASCII > workgroup = BOUFFARD > netbios aliases = hgsserver > server string = PARTAGES > interfaces = eth0 > security = SHARE > map to guest = Bad User > root directory = / > pam password change = Yes > passwd program = /usr/bin/passwd %u > passwd chat debug = Yes > username map = /etc/samba/smbusers > unix password sync = Yes > # log level = 2 > # syslog = 3 > # syslog only = Yes > log file = /var/log/samba/%m.log > max log size = 50 > debug timestamp = No > time server = Yes > server signing = auto > socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192 > printcap name = /etc/printcap > os level = 32 > lm announce = Yes > preferred master = Yes > domain master = Yes > local master = no > dns proxy = No > wins support = Yes > ldap ssl = no > remote announce = 192.168.3.255/BOUFFARD > remote browse sync = 192.168.3.255 224.0.0.1 > usershare path > winbind enum users = Yes > winbind enum groups = Yes > winbind use default domain = Yes > guest ok = Yes > hosts allow = 192.168.2.0/24, 192.168.3.0/24 > cups options = raw > > [...] (some shares declarations) > > I'll come with more results on benchmarks ASAP. Thanks for your help and > patience. > > Regards, > > Hoggins! > > > > ------------------------------ > > Message: 8 > Date: Sun, 01 Oct 2006 23:38:55 -0300 > From: Edmundo Valle Neto <edmundo.valle@terra.com.br> > Subject: Re: [Samba] Re: WINS over subnets > To: "Hoggins!" <hoggins@wheres5.com> > Cc: samba@lists.samba.org > Message-ID: <45207BBF.4050901@terra.com.br> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > ... > > Yes, I put debug level to 2, and I saw that the server was always > > elected as the master. And also that the machines successfully > > registered to the server. > > My smb.conf (a bit modified since my first post, but the symptoms are > > the same though) : > > > > [global] > > display charset = ASCII > > workgroup = BOUFFARD > > netbios aliases = hgsserver > > server string = PARTAGES > > interfaces = eth0 > > security = SHARE > > map to guest = Bad User > > root directory = / > > pam password change = Yes > > passwd program = /usr/bin/passwd %u > > passwd chat debug = Yes > > username map = /etc/samba/smbusers > > unix password sync = Yes > > # log level = 2 > > # syslog = 3 > > # syslog only = Yes > > log file = /var/log/samba/%m.log > > max log size = 50 > > debug timestamp = No > > time server = Yes > > server signing = auto > > socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192 > > printcap name = /etc/printcap > > os level = 32 > > lm announce = Yes > > preferred master = Yes > > domain master = Yes > > local master = no > > dns proxy = No > > wins support = Yes > > ldap ssl = no > > remote announce = 192.168.3.255/BOUFFARD > > remote browse sync = 192.168.3.255 224.0.0.1 > > usershare path > > winbind enum users = Yes > > winbind enum groups = Yes > > winbind use default domain = Yes > > guest ok = Yes > > hosts allow = 192.168.2.0/24, 192.168.3.0/24 > > cups options = raw > > > > [...] (some shares declarations) > > > > I'll come with more results on benchmarks ASAP. Thanks for your help > > and patience. > > > > Regards, > > > > Hoggins! > > > > Theres some options that I think are not needed in your config, but > probably doesnt cause that problem that you have, in exeption of this one: > > local master = no > > Try to set it to yes, I never tried to set it to no and let it be only > the DMB to see what happens but the samba docs have something to say > about that, "If you want Samba to be a DMB, then it is recommended that > you also set preferred master to yes, because Samba will not become a > DMB for the whole of your LAN or WAN IF IT IS NOT ALSO A LMB ON ITS OWN > BROADCAST ISOLATED SUBNET". Anyway its at least recommended to samba be > the LMB too. > > Regards. > > Edmundo Valle Neto > > > ------------------------------ > > Message: 9 > Date: Sun, 1 Oct 2006 23:58:07 -0400 > From: ShunLei_Pak@emc.com > Subject: [Samba] Samba AD support with openldap and SASL > To: <samba@lists.samba.org> > Message-ID: > <8445C3A587DB7246B316AB952E5BBE5F041D51BD@CORPUSMX50B.corp.emc.com> > Content-Type: text/plain; charset="us-ascii" > > Hi, > > I'm trying to build Samba 3.0.23c for 2003 AD membership support. My > understanding is that AD membership support requires openldap's client > libraries only. Do I need to have SASL, REGEX and Berkeley DB installed > first before I build the client libraries? I think I can skip Berkeley > DB but not sure about SASL and REGEX. > > Since my target device has very limited memory and disk space, I'm > trying to get rid of unnecessary components. For openldap, are the > "liblber" and "libldap_r" libraries sufficient for AD support? > > I've been struggling with openldap. I'd appreciate if someone could > post the "configure" options/switches for building openldap. > > Thanks, > > > Pak Lei > > > ------------------------------ > > Message: 10 > Date: Mon, 2 Oct 2006 12:26:30 +0530 > From: "Indunil Jayasooriya" <indunil75@gmail.com> > Subject: [Samba] How to copy a file from linux to window pc > To: samba@lists.samba.org > Message-ID: > <7ed6b0aa0610012356o2bd5b159l16af150163567de6@mail.gmail.com> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Hi, > > I have file at /opt/mailbackup/mailbackup.tar.gz (this is a Linux Machine) > > I want to put this file to a windows pc. > > What is the command to do it. > > can I use something like the following. > > mount -t smbfs > > Then How to use this ? > > -- > Thank you > Indunil Jayasooriya > > > ------------------------------ > > Message: 11 > Date: Mon, 2 Oct 2006 09:04:26 +0200 > From: odi <odix@odiisi.net> > Subject: Re: [Samba] How to copy a file from linux to window pc > To: samba@lists.samba.org > Message-ID: <200610020904.26375.odix@odiisi.net> > Content-Type: text/plain; charset="iso-8859-1" > > The simliest way is to do this with smbclient, which is like a simple ftp > client, type smbclient --help for command line options. > > regards odi > Am Montag, 2. Oktober 2006 08:56 schrieb Indunil Jayasooriya: > > Hi, > > > > I have file at /opt/mailbackup/mailbackup.tar.gz (this is a Linux Machine) > > > > I want to put this file to a windows pc. > > > > What is the command to do it. > > > > can I use something like the following. > > > > mount -t smbfs > > > > Then How to use this ? > > > > -- > > Thank you > > Indunil Jayasooriya > > > ------------------------------ > > Message: 12 > Date: Mon, 02 Oct 2006 09:30:43 +0200 > From: Peter Daum <gator_ml@yahoo.de> > Subject: [Samba] Horrible write performance from XP to Samba > To: samba@lists.samba.org > Message-ID: <efqf74$g7b$1@sea.gmane.org> > Content-Type: text/plain; charset=ISO-8859-1 > > I noted an extremely poor performance when copying big files from > a windows xp client to a samba share. The exact version of samba > does not seem to matter: I tried several different samba servers > with versions between 3.014 and 3.0.23b running on Linux 2.4.32 > and 2.6.17 (machines and network otherwise idle, clients connected > via fast ethernet, servers via Gbit; network performance in both > directions around 95 Mbit/s). I made several tests copying a 1GB > file with Windows 98 and Windows XP clients. Reading the file from > the server takes predictably around 105 seconds (~9.75 MB/s). > > Writing to the server takes only slightly longer on Win98 (130 > seconds, ~8 MB/s) while the same takes approximately 45 minutes > from a XP client (I don't know whether this matters, I noted that > on the XP write test, the directory listing on the server > immediately shows a file with the final size - obviously a sparse > file, repeatedly invoking du shows the gradually increasing actual > size). > > I wrote a little test program that just writes data to a file and > shows the throughput; the transfer rates I get that way are pretty > reasonable, so it is not a general problem but something that only > occurs on specific operations like copying. > > Tracing the network traffic also didn't tell me what the problem > might be: XP uses for copying as well as for other write > operations WriteAndXRequest, the only peculiarity I noticed is the > slightly exotic block size of 61440 bytes per request when copying > (which also doesn't seem to be the problem - Win98 uses the same > block size with WriteRaw) > > Has anybody else made similar experiences? (Since I could see this > issue with differently configured servers/clients, it should not > be just my personal problem. Of course in most settings where the > data usually goes mostly from the server to the client it is not > obvious) > > Any ideas what's going on and what to do about it? > > > > ------------------------------ > > Message: 13 > Date: Mon, 02 Oct 2006 11:43:12 +0200 > From: "Hoggins!" <hoggins@wheres5.com> > Subject: [Samba] Re: WINS over subnets > To: samba@lists.samba.org > Message-ID: <efqmvb$6vf$1@sea.gmane.org> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Edmundo Valle Neto a crit : > > ... > > > > Theres some options that I think are not needed in your config, but > > probably doesnt cause that problem that you have, in exeption of this one: > > > > local master = no > > > > Try to set it to yes, I never tried to set it to no and let it be only > > the DMB to see what happens but the samba docs have something to say > > about that, "If you want Samba to be a DMB, then it is recommended that > > you also set preferred master to yes, because Samba will not become a > > DMB for the whole of your LAN or WAN IF IT IS NOT ALSO A LMB ON ITS OWN > > BROADCAST ISOLATED SUBNET". Anyway its at least recommended to samba be > > the LMB too. > > Well, this option was previously set to yes, and it did not work either. > Changing this, I thought it would make difficult the election of a LMB > on other nets, but you say it won't, so I put it back, and maybe the > other things I changed will cause it to work at last ! > > Do you have any other ideas about this config ? > > Thanks, > > Hoggins! > > > > ------------------------------ > > Message: 14 > Date: Mon, 02 Oct 2006 11:53:13 +0200 > From: Robert Gehr <robert.gehr@baumann-gmbh.de> > Subject: [Samba] fully qualified usernames ?? > To: samba@lists.samba.org > Message-ID: <4520E189.8000009@baumann-gmbh.de> > Content-Type: text/plain; charset=ISO-8859-15; format=flowed > > Hi there > > Just a couple of questions to help me understand. > > When I upgrade from 3.0.22 to 3.0.23c the access restrictions on my > shares on the member server no longer work. I read in the Changes file > > "Since Samba 3.0.8, it has been recommended that all domain accounts > listed in smb.conf on a member server be fully qualified with the...." > > So far so good I know what I have to do still I don't quite understand > why the member server is no longer able to identify the user connecting. > > When, on the member server, I do a "wbinfo -U ID" I get the correct SID > When I do "wbinfo -a joe%passwd" it succeeds as well as a > "wbinfo -a DOMAIN\\joe%passwd" > > So winbindd identifies joe all right even without the DOMAIN prefix. Why > does this no longer work for shares on the member server that have > > valid users = joe > > defined?? > > The member server gets its local users and groups via ldap. > > I also have in my smb.conf: > winbind trusted domains only = Yes > > > What am I missing?? > > Thanks > > > -- > Best Regards > Robert Gehr > > > "Technological progress has merely provided us > with more efficient means for going backwards" > > ~ Aldous Huxley > > > > > > ------------------------------ > > Message: 15 > Date: Mon, 2 Oct 2006 12:57:16 +0300 > From: "Marian Neagul" <marian@info.uvt.ro> > Subject: [Samba] Auth Problem > To: <samba@lists.samba.org> > Message-ID: <000301c6e609$2444a350$a50a0a0a@wmat> > Content-Type: text/plain; charset="US-ASCII" > > Hello, > > > > I have a problem related to user authentication: Users can not login from > Windows workstations. > > I get the following error: > > "The system could not log you in. Make sure your User Name and domain are > correct then type your password again." > > > > Users can access shares, they are prompted for a user and password and it is > ok. The same user and password does not work for login. > > What could be the problem? I've posted the logs and smb.conf at > http://www.info.uvt.ro/~neagul/samba/ > > I want to mention that the server is a production server and was hit by a > hardware failure. :-( I restored everything but it doesn't work. > > > > > > Thank you! > > > > Marian Neagul > > > > ------------------------------ > > Message: 16 > Date: Mon, 02 Oct 2006 06:56:36 -0400 > From: Gerard Seibert <gerard@seibercom.net> > Subject: [Samba] Re: How to copy a file from linux to window pc > To: samba@lists.samba.org > Message-ID: <20061002064738.5D4A.GERARD@seibercom.net> > Content-Type: text/plain; charset="UTF-8" > > "Indunil Jayasooriya" <indunil75@gmail.com> > > > Hi, > > > > I have file at /opt/mailbackup/mailbackup.tar.gz (this is a Linux Machine) > > > > I want to put this file to a windows pc. > > > > What is the command to do it. > > > > can I use something like the following. > > > > mount -t smbfs > > > > Then How to use this ? > > I use this method on my FreeBSD 6.1 system. > > > 1) Create a directory: '/c' > > 2) Create an alias: > > alias c:='mount /c' > > 3) Place this in my /etc/fstab file: > > //user-name@bios-name/directory /c smbfs rw,noauto 0 0 > > Obviously you will need to make sure that the drive or directory you > want to access are configured correctly on the Windows machine. > > Now all I have to do is type: c: at the command line and the Win share > is mounted. I can then do a simple cp <file> <Win-file>. > > Ciao! >