[Samba] RE:swat in samba-2.2.7

Nakka, Krishna M Krishna.Nakka at stjude.org
Fri Nov 22 22:09:03 GMT 2002


Hi,
   I have installed samba 2.2.7 and cannot get swat to work. I have entry in
/etc/services file and alo in /etc/xinetd.d/swat.
  I'm logging in as root/rootpassword from local or other machine. i'm
getting error 

401 Bad Authorization

username or password incorrect

What am i doing wrong???

Thanks
Mohan

-----Original Message-----
From: samba-request at lists.samba.org
[mailto:samba-request at lists.samba.org]
Sent: Friday, November 22, 2002 1:48 PM
To: samba at lists.samba.org
Subject: samba digest, Vol 1 #1903 - 27 msgs


Send samba mailing list submissions to
	samba at lists.samba.org

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.samba.org/mailman/listinfo/samba
or, via email, send a message with subject or body 'help' to
	samba-request at lists.samba.org

You can reach the person managing the list at
	samba-admin at 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. Re: wbinfo -A trouble (Benjamin Herbert)
   2. Re: smbclient says NT_STATUS_PASSWORD_MUST_CHANGE - how to
       change password? (John H Terpstra)
   3. Re: Print limiting (John H Terpstra)
   4. Re: Bug ? (Christopher R. Hertel)
   5. Re: wbinfo -A trouble (jmcdsmb at maine.rr.com)
   6. Re: Re: Shared profiles under XP? (Bradley W. Langhorst)
   7. Re: smbclient: support for long share names..? (Diana McKenna)
   8. Re: profile problems with XP and my samba box (Bradley W. Langhorst)
   9. Re: smbclient says NT_STATUS_PASSWORD_MUST_CHANGE - how to
       change password? (Bradley W. Langhorst)
  10. Re: Re: Shared profiles under XP? (John H Terpstra)
  11. Re: smbclient: support for long share names..? (Herb Lewis)
  12. Copied file becomes infinately large (Colin Davis)
  13. Re: Re: Shared profiles under XP? (John H Terpstra)
  14. Re: Bug ? (jra at dp.samba.org)
  15. Re: smbclient says NT_STATUS_PASSWORD_MUST_CHANGE - how to
       change password? (John H Terpstra)
  16. Re: Unregistering with WINS (jra at dp.samba.org)
  17. Re: smbclient: support for long share names..? (John H Terpstra)
  18. "Destination unreachable" (Richard Canada)
  19. SAMBA doesn't like me anymore :( (Steve Morley)
  20. Re: wbinfo -A trouble (Benjamin Herbert)
  21. Windows 98 machines (Roger Cieslinski)
  22. Re: acl: what's missing ? (Markus Amersdorfer)
  23. RE: Controlling smbclient from python weirdness
(daniel.jarboe at custserv.com)
  24. RE: Copied file becomes infinate (Robert Adkins)

--__--__--

Message: 1
Date: Fri, 22 Nov 2002 11:00:02 -0600
From: Benjamin Herbert <herbert at isis.visi.com>
To: jmcdsmb at maine.rr.com
Cc: "Collins, Kevin" <KCollins at nesbittengineering.com>,
	samba at lists.samba.org
Subject: Re: [Samba] wbinfo -A trouble



I started smbd nmbd then ran the command 'wbinfo -A DOAMIN+adm%passwd'
which gave this error:

	could not obtain winbind separator!

As you can see the second error was fixed but I still get the winbind
separator error.  Winbid crashed when I tried to start it after running
the command above.

Any other ideas?

Thanks for the reply.

On Fri, Nov 22, 2002 at 11:08:22AM -0500, jmcdsmb at maine.rr.com wrote:
> "Collins, Kevin" wrote:
> 
> > > 5) Before starting smbd, nmbd winbindd I run 'wbinfo -A admin%password
> > >       -here is the error I get:
> >
> > I think this is your problem:  I believe smbd, nmbd and winbindd all
> > need to be running for this work.  Someone correct me if I'm wrong.
> 
> Nope, this should be run before winbindd.  Some wbinfo calls require
> winbindd to be running, but this sets the userid that winbindd will use to
> connect to the DC.
> 
> I think the problem is that you need to have 'wbinfo -A
> DOMAIN+admin%password', that is, add in the domain and winbind separator
on
> the wbinfo command.
> 
> Jim McDonough
> Samba Team
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba

--__--__--

Message: 2
Date: Fri, 22 Nov 2002 17:13:16 +0000 (GMT)
From: John H Terpstra <jht at samba.org>
To: "Bradley W. Langhorst" <brad at langhorst.com>
Cc: <samba at samba.org>
Subject: Re: [Samba] smbclient says NT_STATUS_PASSWORD_MUST_CHANGE - how to
 change password?

On 22 Nov 2002, Bradley W. Langhorst wrote:

> After a thorough google and marc search i'm shocked to find
> this problem unmentioned...
>
> How does one go about changing the windows password from a unix machine
> with no physical access to the windows machine sharing things?

SWAT provides the password change facility you are looking for. If you
prefer a command line tool, smbpasswd has the same functionality - check
the -U and -r options. The smbpasswd man page documents the password
change options.

If you need further help email me.

Cheers,
John T.

>
> samba 2.2.3a (debian woody)
> windows2000 server
>
> thanks!
>
> brad
>
> note: here's my latest attempt. I tried this with and without a -c
> parameter
>
> smbclient //coco2/c$ -c "net user bwlang *" -U bwlang
> added interface ip=192.168.0.2 bcast=192.168.0.255 nmask=255.255.255.0
> added interface ip=192.168.0.3 bcast=192.168.0.255 nmask=255.255.255.0
> Got a positive name query response from 192.168.0.95 ( 192.168.0.95 )
> Password:
> session setup failed: NT_STATUS_PASSWORD_MUST_CHANGE
>
>
>

-- 
John H Terpstra
Email: jht at samba.org


--__--__--

Message: 3
Date: Fri, 22 Nov 2002 17:16:31 +0000 (GMT)
From: John H Terpstra <jht at samba.org>
To: Kurt Pfeifle <kpfeifle at danka.de>
Cc: <samba at lists.samba.org>
Subject: Re: [Samba] Print limiting 

Kurt,

You input on this list is MOST appreciated. Thank you so much.

I added you past advice to the samba documentation and will do so again
with this information. Contributions like this are a marvelous help.


- John T.
Samba-Team

On Fri, 22 Nov 2002, Kurt Pfeifle wrote:

> On Fri, Nov 22, 2002 at 11:44:31AM +0200, Vasco Macaringue wrote on
Samba-Digest:
>
> > Message: 12
> > Date: Fri, 22 Nov 2002 07:18:34 -0500
> > From: Joel Hammer <Joel at HammersHome.com>
> > To: Vasco Macaringue <macaring at nambu.uem.mz>, samba at lists.samba.org
> > Subject: Re: [Samba] Print limiting
> >
> > I have never seen that feature discussed on this board. I may have
missed it.
> > It would be doubtful if samba could do what you want. Samba is a rather
brain
> > dead print server. All it does is:
> > 1. Accepts a filtered print job from the client.
> > 2. Invokes the server's printing command to print it. I don't think
samba can
> > tell how many pages are in the document. I suspect you will have to
delve into
> > the workings of your server's printing software to find a solution
> > Joel
>
> The feature you want is dependent on the real print subsystem
> you're using. Samba's part is always to receive the job files
> from the clients (filtered *or* unfiltered) and hand it over
> to this printing subsystem.
>
> Of course one could "hack" things with one's own scripts.
>
> But there is CUPS (Common Unix Printing System). CUPS supports "quotas".
> Quotas can be based on sizes of jobs or on the number of pages or both,
> and are spanning any time period you want.
>
> This is an example command how root would set a print quota in CUPS,
> assuming an existing printer named "quotaprinter":
>
>   lpadmin -p quotaprinter -o job-quota-period=604800 -o job-k-limit=1024
-o job-page-limit=100
>
> This would limit every single user to print 100 pages or 1024 KB of
> data (whichever comes first) within the last 604.800 seconds ( = 1 week).
>
> For CUPS to count correctly, the printfile needs to pass the CUPS
> "pstops" filter, otherwise it uses a "dummy" count of "1". (Some
> printfiles don't pass it -- f.e. image files -- but then those are
> mostly 1 page jobs anyway). This also means, proprietary drivers for
> the target printer running on the client computers and CUPS/Samba
> then spooling these files as "raw" (i.e. leaving them untouched, not
> filtering them), will be counted as "1-pagers" too!
>
> You need to send PostScript from the clients (i.e. run a PostScript
> driver there) for having the chance to get accounting done. If the
> printer is a non-PostScript model, you need to let CUPS do the job to
> convert the file to a print-ready format for the target printer. This
> will be working for currently ~1.000 different printer models, see
>
>      http://www.linuxprinting.org/printer_list.cgi
>
> Before CUPS-1.1.16 your only option was to use the Adobe PostScript
> Driver on the Windows clients. The output of this driver was not always
> passed thru the "pstops" filter on the CUPS/Samba side, and therefor was
> not counted correctly (the reason is that it often --- depending on the
> "PPD" being used --- did write a "PJL"-header in front of the real
> PostScript which made CUPS to skip the pstops and go directy to
> the "pstoraster" stage).
>
>  From CUPS-1.1.16 onward you can use the "CUPS PostScript Driver
> for Windows NT/2K/XP clients" (it is tagged in the download area of
> http://www.cups.org/ as the "cups-samba-1.1.16.tar.gz" package).
> It is *not* working for Win9x/ME clients. But it....
>
>    ...it guarantees to not write an PJL-header;
>    ...it guarantees to still read and support all PJL-options named
>       in the driver PPD with its own means;
>    ...it guarantees the file going thru the "pstops" filter on the
>       CUPS/Samba server;
>    ...it guarantees to page-count correctly the printfile...
>
> You can read more about the setup of this combination in the
> manpage for "cupsaddsmb" (only present with CUPS installed, only
> current with CUPS 1.1.16).
>
> These are the items CUPS logs in the "page_log" for every single
> *page* of a job:
>
> * Printer name
> * User name
> * Job ID
> * Time of printing
> * the page number
> * the number of copies
> * a billing info string (optional)
>
> Here is an extract of my CUPS server's page_log file to illustrate
> the format and included items:
>
> infotec_IS2027 kurt 40 [22/Nov/2002:13:18:03 +0100] 1 2  #marketing
> infotec_IS2027 kurt 40 [22/Nov/2002:13:18:03 +0100] 2 2  #marketing
> infotec_IS2027 kurt 40 [22/Nov/2002:13:18:03 +0100] 3 2  #marketing
> infotec_IS2027 kurt 40 [22/Nov/2002:13:18:03 +0100] 4 2  #marketing
> infotec_IS2027 kurt 40 [22/Nov/2002:13:18:03 +0100] 5 2  #marketing
> infotec_IS2027 kurt 40 [22/Nov/2002:13:18:03 +0100] 6 2  #marketing
>
> This was Job ID "40", printed on "infotec_IS2027" by user "kurt",
> a 6-page job printed in 2 copies and billed to "#marketing"...
>
> Which flaws or shortcomings are there?
>
>   * the ones named above;
>   * CUPS really counts the job pages being *processsed in software*
>     (going thru the "RIP") rather than the physical sheets successfully
>     leaving the printing device -- if there is a jam while printing
>     the 5th sheet out of 1000 and the job is aborted by the printer,
>     the "page count" will still show the figure of 1000 for that
>     job;
>   * all quotas are the same for all users (no flexibility to
>     give the boss a higher quota than the clerk)
>   * no support for groups;
>   * no means to read out the current balance or "used-up"
>     number of current quota;
>   * a user having used up 99 sheets of 100 quota will still be
>     able to send and print a 1.000 sheet job;
>   * a user being denied a job because of a filled-up quota
>     doesn't get a meaningful error message from CUPS other than
>     "client-error-not-possible".
>
> But this is the best system out there currently. And there are
> huge improvements under development:
>
> --> page counting will go into the "backends" (these talk directly
>      to the printer and will increase the count in sync with the
>      actual printing process  -- a jam at the 5th sheet will lead
>      to a stop in the counting...)
>
> --> quotas will be handled more flexibly;
>
> --> probably there will be support for users to inquire their
>      "accounts" in advance;
>
> --> probably there will be support for some other tools around
>      this topic...
>
> Other than the current stage of the CUPS development, I don't
> know any other ready-to-use tool which you could consider.
>
> I hope this clarifies the options.
>
> Cheers,
> Kurt
>
> > On Fri, Nov 22, 2002 at 11:44:31AM +0200, Vasco Macaringue wrote:
> >
> >> Hi all
> >> This is my first time writting to samba
> >>
> >> I'd like to get a quickly help in this:
> >> Where can I find a program or how can I configure my samba server in
order
> >> to limit the number of pages to be printed by users.
> >>
> >> Best regards
> >>
> >>
> >>
> >> --
> >> To unsubscribe from this list go to the following URL and read the
> >> instructions:  http://lists.samba.org/mailman/listinfo/samba
> >
> >
>
>
>
>

-- 
John H Terpstra
Email: jht at samba.org


--__--__--

Message: 4
Date: Fri, 22 Nov 2002 11:24:37 -0600
From: "Christopher R. Hertel" <crh at samba.org>
To: Goncalo Ramos <Goncalo.Ramos at aveiro.nec.pt>
Cc: samba at samba.org
Subject: [Samba] Re: Bug ?

Well, you could start by running Samba V2.2.7, which is the current
production release.  2.0.7 is quite old now.

Please do not cross-post to the samba-technical and samba at samba.org lists.  
These lists have separate purposes.  The samba at samba.org list is for
community support, questions, answers, discussions about desired
improvements, etc.  The samba-technical list is for developer technical
discussions; protocols, code details, etc..  It is very, very rare that a
message belongs on both lists.  Yours is clearly a question for the
samba at samba.org list.

Chris -)-----

On Fri, Nov 22, 2002 at 02:22:03PM -0000, Goncalo Ramos wrote:
> Hi
> I'm using samba 2.0.7, on Solaris 8. 
> I'm having problems with samba. On the log file under
> /usr/local/samba/var/log.pcname, I have the following error:
> 
> [2002/11/22 14:15:12, 0] smbd/files.c:file_new(85)
>   ERROR! Out of file structures
> [2002/11/22 14:15:12, 0] smbd/files.c:file_new(85)
>   ERROR! Out of file structures
> [2002/11/22 14:15:12, 0] smbd/files.c:file_new(85)
>   ERROR! Out of file structures
> [2002/11/22 14:15:12, 0] smbd/files.c:file_new(85)
>   ERROR! Out of file structures
> 
> To resolve this immediately, I normally kill smbd process, with pkill -9
> smbd.
> Do you have any patches to correct this problem ?
> 
> PS: I need an urgently answer
> 
> 
> Gonçalo
> 
> 
> ___________________________________________
> Gonçalo Mendes Ramos
> Unix System Administrator
> IT Department
> 
> NEC Portugal S.A.
> Direcção Geral de Desenvolvimento
> Avenida Dr. Mario Sacramento, n. 177
> 3810-106 AVEIRO
> PORTUGAL
> 
> 
> Phone:  (+351) 234 372 075
> Mobile:  (+351) 914 644 883
> Fax:    (+351) 234 372 021
> E-mail: goncalo.ramos at aveiro.nec.pt
> Web:    http://www.nec.pt
> 

-- 
Samba Team -- http://www.samba.org/     -)-----   Christopher R. Hertel
jCIFS Team -- http://jcifs.samba.org/   -)-----   ubiqx development, uninq.
ubiqx Team -- http://www.ubiqx.org/     -)-----   crh at ubiqx.mn.org
OnLineBook -- http://ubiqx.org/cifs/    -)-----   crh at ubiqx.org

--__--__--

Message: 5
Date: Fri, 22 Nov 2002 12:43:11 -0500
From: jmcdsmb at maine.rr.com
To: Benjamin Herbert <herbert at isis.visi.com>
Cc: samba at samba.org
Subject: Re: [Samba] wbinfo -A trouble

Benjamin Herbert wrote:

> I started smbd nmbd then ran the command 'wbinfo -A DOAMIN+adm%passwd'
> which gave this error:
>
>         could not obtain winbind separator!
>
> As you can see the second error was fixed but I still get the winbind
> separator error.  Winbid crashed when I tried to start it after running
> the command above.
>
> Any other ideas?

Hmm, offhand, I'll just ask that you verify you're running the wbinfo that
you
think you are, and that the smb.conf is getting read from where you think it
is...    If that doesn't work, crank up the debug level.


--__--__--

Message: 6
Subject: Re: [Samba] Re: Shared profiles under XP?
From: "Bradley W. Langhorst" <brad at langhorst.com>
To: xfesty <xfesty at computeraddictions.com.au>
Cc: David de Groot <david at viking.org.au>, samba at lists.samba.org
Date: 22 Nov 2002 12:50:42 -0500

On Fri, 2002-11-22 at 03:42, xfesty wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hmm..
> 
> Surely there's someway to make a non-changable profiles for all users?  
> I mean, Windows 2000 Server can do this, and so could NT4...
> 
> R

i don't really know how to do this but since nobody else has responded
i'll give you my guess...

i think you just rename the the ntuser.dat file to ntuser.man to
configure a mandatory profile.

brad







--__--__--

Message: 7
Date: Fri, 22 Nov 2002 12:56:32 -0500
To: samba at lists.samba.org
From: Diana McKenna <dmckenna at mathworks.com>
Subject: Re: [Samba] smbclient: support for long share names..?

If no one has any further information on this, I'll submit this as a bug.

Thanks!

Diana


At 03:07 PM 11/19/2002 11/19/2002, John Benedetto wrote:
>I thought the 13 character limit was a 'feature' of NT, and thus Samba 
>reflects that "feature", too... anyone know?
>
>--On Tuesday, November 19, 2002 4:56 PM -0500 Diana McKenna 
><dmckenna at mathworks.com> wrote:
>
>>Hello All,
>>
>>If I create a 13 char long share on a filer or a windows workstation (a
>>windows 2000 workstation for example) and then run sbmclient to list the
>>shares on that system smbclient will not list any shares greater than 12
>>chars long.  I can see and access the long share name on my windows 2000
>>system and I can see it on the system where the share was created but
>>smbclient will not list it.


--__--__--

Message: 8
Subject: Re: [Samba] profile problems with XP and my samba box
From: "Bradley W. Langhorst" <brad at langhorst.com>
To: Unix Rookie <unixrookie at yahoo.com>
Cc: samba at lists.samba.org
Date: 22 Nov 2002 12:55:53 -0500

On Fri, 2002-11-22 at 09:36, Unix Rookie wrote:
> 
> alright... before you guys nail the culprit as the reg issue... know that
i
> applied the reg fix right up front.
are you sure it's applied to all the control sets?
check with regedit.
 
> the system was working fine... i reinstalled XP last night.  i was able to
> connect to the PDC after the initial root login.
> 
> however, now it seems that things are going all wrong.  i haven't changed
any
> settings on the samba server.
you gotta provide more details than this...

> 
> another thing i've noticed is that i cannot connect to the shared samba
drive
> for the user i login with.
error messages? logs?

brad


--__--__--

Message: 9
Subject: Re: [Samba] smbclient says NT_STATUS_PASSWORD_MUST_CHANGE - how to
	change password?
From: "Bradley W. Langhorst" <brad at langhorst.com>
To: John H Terpstra <jht at samba.org>
Cc: samba at samba.org
Date: 22 Nov 2002 13:01:16 -0500

On Fri, 2002-11-22 at 12:13, John H Terpstra wrote:
> On 22 Nov 2002, Bradley W. Langhorst wrote:
> 
> > After a thorough google and marc search i'm shocked to find
> > this problem unmentioned...
> >
> > How does one go about changing the windows password from a unix machine
> > with no physical access to the windows machine sharing things?
> 
> SWAT provides the password change facility you are looking for. 
huh - swat?
i think swat is for configuring smb.conf, etc from a web broswer.
You can change the unix and samba passwords from swat but i don't know
of any way to change a remote windows password with swat (unless winbind
is in play)

> If you
> prefer a command line tool, smbpasswd has the same functionality - check
> the -U and -r options. The smbpasswd man page documents the password
> change options.
this is what i'm looking for - i expected the remote password changing
tools to part of smbclient but i guess it is just as logical for it to
be a part of smbpasswd.

smbpasswd -r may work for me...

thanks

brad


--__--__--

Message: 10
Date: Fri, 22 Nov 2002 18:05:47 +0000 (GMT)
From: John H Terpstra <jht at samba.org>
To: xfesty <xfesty at computeraddictions.com.au>
Cc: <samba at lists.samba.org>
Subject: Re: [Samba] Re: Shared profiles under XP?

On Thu, 21 Nov 2002, xfesty wrote:

> Hi...
>
> Isn't this possible?

Yes, it is - sort of. You need to obtain the MS Windows XP Resource Kit,
or the MS Windows 2000 Resource Kit. Either will do. These contain the
information you need to know.

- John T.

>
> I've gotten no replies...
>
> R
>
> On Wednesday, November 20, 2002, at 10:54 PM, xfesty wrote:
>
> > Hiya.
> >
> > Is it possible to share profiles between different users with Samba
> > 3.0CVS acting as a PDC, and XP Workstations?
> >
> > All users are using the same profile share; the concept is that
> > there's an "Admin" user which can read/write to this, so I can setup
> > things such as Internet Explorer settings / Desktop/Start Menu items /
> > color scheme, etc..., and all other users only have read only access
> > to this share, yet use the same profile.
> >
> > At the moment each user's trying to create its own profile, which
> > isn't what I want (and isn't possible, considering the fact its a read
> > only share).
> >
> > If it makes any difference, I'm using jelmer's mysql module, and all
> > users are in the same unix group.
> >
> > Cheers.
> >
> > R
> >
> > -- -
> > Ryan Verner <xfesty at computeraddictions.com.au>
> > PGP: 5819 DE5D B5AE 9381 7E60  5B4C 45CC 64DF D3CC EB07
> >
> > ICQ: 76626240                   IRC: xf / irc.oublinet.net
> >  PH: +61 415 297 303             EQ: Mummer (Bard), Tholuxe
> >
> > In the beginning the Universe was created. This has made a lot of
> > people very angry and has been widely regarded as a bad move.
> >
> >
>
> -- -
> Ryan Verner <xfesty at computeraddictions.com.au>
> PGP: 5819 DE5D B5AE 9381 7E60  5B4C 45CC 64DF D3CC EB07
>
> ICQ: 76626240                   IRC: xf / irc.oublinet.net
>   PH: +61 415 297 303             EQ: Mummer (Bard), Tholuxe
>
> In the beginning the Universe was created. This has made a lot of
> people very angry and has been widely regarded as a bad move.
>
>
>
> -- -
> Ryan Verner <xfesty at computeraddictions.com.au>
> PGP: 5819 DE5D B5AE 9381 7E60  5B4C 45CC 64DF D3CC EB07
>
> ICQ: 76626240                   IRC: xf / irc.oublinet.net
>   PH: +61 415 297 303             EQ: Mummer (Bard), Tholuxe
>
> In the beginning the Universe was created. This has made a lot of
> people very angry and has been widely regarded as a bad move.
>
>

-- 
John H Terpstra
Email: jht at samba.org



--__--__--

Message: 11
Date: Fri, 22 Nov 2002 10:06:13 -0800
From: Herb Lewis <herb at sgi.com>
Organization: Silicon Graphics Inc.
To: Diana McKenna <dmckenna at mathworks.com>
Cc: samba at lists.samba.org
Subject: Re: [Samba] smbclient: support for long share names..?

I believe the 13 character name was a non-unicode limit. smbclient
does not support unicode yet.

Diana McKenna wrote:
> 
> If no one has any further information on this, I'll submit this as a bug.
> 
> Thanks!
> 
> Diana
> 
> At 03:07 PM 11/19/2002 11/19/2002, John Benedetto wrote:
> >I thought the 13 character limit was a 'feature' of NT, and thus Samba
> >reflects that "feature", too... anyone know?
> >
> >--On Tuesday, November 19, 2002 4:56 PM -0500 Diana McKenna
> ><dmckenna at mathworks.com> wrote:
> >
> >>Hello All,
> >>
> >>If I create a 13 char long share on a filer or a windows workstation (a
> >>windows 2000 workstation for example) and then run sbmclient to list the
> >>shares on that system smbclient will not list any shares greater than 12
> >>chars long.  I can see and access the long share name on my windows 2000
> >>system and I can see it on the system where the share was created but
> >>smbclient will not list it.
> 
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba

-- 
======================================================================
Herb Lewis                               Silicon Graphics 
Networking Engineer                      1600 Amphitheatre Pkwy MS-510
Strategic Software Organization          Mountain View, CA  94043-1351
herb at sgi.com                             Tel: 650-933-2177
http://www.sgi.com                       Fax: 650-932-2177          
PGP Key: 0x8408D65D
======================================================================

--__--__--

Message: 12
Date: Fri, 22 Nov 2002 13:06:28 -0500
From: "Colin Davis" <ColinD at traininghott.com>
To: <samba at lists.samba.org>
Subject: [Samba] Copied file becomes infinately large

I'm trying to back-up a set of windows machines onto a single Linux
machine, so that I can easily make a tape from there.

The Linux Machine (RedHat 7.3, running samba 2.2.6), is set to use
mount.smbfs to log in to each machine's Administrative share, and copy
several files from the hard drive.

One machine is giving me a great deal of difficulty, however.
Our last remaining window's fileserver (the rest have been converted),
makes a backup of it'self every night, and stores it on the F: drive.
This is easily completed in an hour or so.

On the Linux machine, it is set to try to log in to the fileserver, and
copy the file, every morning at 11:30am. The file (FullBackup.bcf) is
7.1 gig on the windows machine, but, left to it's own devices, Samba
never stops copying it.. The file grows until it fills the entire
filesystem!

   mkdir /mnt/bkp/BackupServer >> /etc/sambalog 2>&1=20
   mkdir /mnt/bkp/BackupServer/BackupDir >> \etc\sambalog 2>&1
   cp -R -u /mnt/smb/folder /mnt/bkp/BackupServer/BackupDir=20

Does anyone have any suggestions to why this might be happening?
I'm really at a loss.. It happens no matter what filesystem I give the
destination disk, so I think it must be an issue during the copy..

Colin

--__--__--

Message: 13
Date: Fri, 22 Nov 2002 18:27:22 +0000 (GMT)
From: John H Terpstra <jht at samba.org>
To: "Bradley W. Langhorst" <brad at langhorst.com>
Cc: xfesty <xfesty at computeraddictions.com.au>,
	David de Groot <david at viking.org.au>, <samba at lists.samba.org>
Subject: Re: [Samba] Re: Shared profiles under XP?

On 22 Nov 2002, Bradley W. Langhorst wrote:

> On Fri, 2002-11-22 at 03:42, xfesty wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > Hmm..
> >
> > Surely there's someway to make a non-changable profiles for all users?
> > I mean, Windows 2000 Server can do this, and so could NT4...
> >
> > R
>
> i don't really know how to do this but since nobody else has responded
> i'll give you my guess...
>
> i think you just rename the the ntuser.dat file to ntuser.man to
> configure a mandatory profile.

Correct, but you also need to update the ACEs (Access Control Entries) on
the profile using the profile manager. To access the profile manager you
must log on as the Domain Administrator, Right-Click on "My Computer",
select "Properties". On Windows XP, click on "Advanced", then click on
User Profiles "settings".

Now, select the profile you want to assign as a mandatory profile, click
on "Copy To". Enter into the box "Copy Profile To" A valid destination
disk/share location and account name. eg: C:\temp\Fred

Now click on "Permitted to Use: Change", then click on "Advanced", then
click on "Find Now". In the box that opens below, select ALL the user
accounts that should be able to use this profile.

Now select the "Locations" from which this profile may be used, and also
edit the "Select this object type" info.

Now click "Ok", and in the next screen "Ok" again. The profile will now be
copied over and the permissions will be set to allow the groups/users you
set to use it.

Now log on as that user and edit the environment to suit your needs. When
you are happy with it, rename NTUser.DAT to NTUser.Man.

You now have a shared mandatory profile.


It's all in the MS Windows NT/2K/SP resource kits.


- John T.

-- 
John H Terpstra
Email: jht at samba.org



--__--__--

Message: 14
Date: Fri, 22 Nov 2002 18:29:07 +0000
From: jra at dp.samba.org
To: Goncalo Ramos <Goncalo.Ramos at aveiro.nec.pt>
Cc: samba-technical at samba.org, samba at samba.org
Subject: Re: [Samba] Bug ?

On Fri, Nov 22, 2002 at 02:22:03PM -0000, Goncalo Ramos wrote:
> Hi
> I'm using samba 2.0.7, on Solaris 8. 
> I'm having problems with samba. On the log file under
> /usr/local/samba/var/log.pcname, I have the following error:
> 
> [2002/11/22 14:15:12, 0] smbd/files.c:file_new(85)
>   ERROR! Out of file structures
> [2002/11/22 14:15:12, 0] smbd/files.c:file_new(85)
>   ERROR! Out of file structures
> [2002/11/22 14:15:12, 0] smbd/files.c:file_new(85)
>   ERROR! Out of file structures
> [2002/11/22 14:15:12, 0] smbd/files.c:file_new(85)
>   ERROR! Out of file structures
> 
> To resolve this immediately, I normally kill smbd process, with pkill -9
> smbd.
> Do you have any patches to correct this problem ?

2.0.x Samba has a hard coded limit to the number of open files.
If you want to continue using it, change the value in include/local.h
and recompile.

Samba 2.2.x makes this limit dynamic, you might want to upgrade.

Jeremy.

--__--__--

Message: 15
Date: Fri, 22 Nov 2002 18:33:34 +0000 (GMT)
From: John H Terpstra <jht at samba.org>
To: "Bradley W. Langhorst" <brad at langhorst.com>
Cc: <samba at samba.org>
Subject: Re: [Samba] smbclient says NT_STATUS_PASSWORD_MUST_CHANGE - how to
 change password?

On 22 Nov 2002, Bradley W. Langhorst wrote:

> On Fri, 2002-11-22 at 12:13, John H Terpstra wrote:
> > On 22 Nov 2002, Bradley W. Langhorst wrote:
> >
> > > After a thorough google and marc search i'm shocked to find
> > > this problem unmentioned...
> > >
> > > How does one go about changing the windows password from a unix
machine
> > > with no physical access to the windows machine sharing things?
> >
> > SWAT provides the password change facility you are looking for.
> huh - swat?
> i think swat is for configuring smb.conf, etc from a web broswer.
> You can change the unix and samba passwords from swat but i don't know
> of any way to change a remote windows password with swat (unless winbind
> is in play)

Check the lower password change boxes in the SWAT password page. IT is
specifically to allow user passwords on remote machines to be changed.

- John T.

>
> > If you
> > prefer a command line tool, smbpasswd has the same functionality - check
> > the -U and -r options. The smbpasswd man page documents the password
> > change options.
> this is what i'm looking for - i expected the remote password changing
> tools to part of smbclient but i guess it is just as logical for it to
> be a part of smbpasswd.
>
> smbpasswd -r may work for me...
>
> thanks
>
> brad
>

-- 
John H Terpstra
Email: jht at samba.org


--__--__--

Message: 16
Date: Fri, 22 Nov 2002 18:34:22 +0000
From: jra at dp.samba.org
To: Mairead Gallagher <lmimgar at portal.eei.ericsson.se>
Cc: samba at lists.samba.org
Subject: Re: [Samba] Unregistering with WINS

On Fri, Nov 22, 2002 at 04:28:40PM +0000, Mairead Gallagher wrote:
> Is there a way to get nmdb to unregister itself with the
> WINS server when it shuts down?  I'm trying to get this
> working to run samba in a clustered environment.

nmbd should already do this. What version of Samba ?

Jeremy.

--__--__--

Message: 17
Date: Fri, 22 Nov 2002 18:41:33 +0000 (GMT)
From: John H Terpstra <jht at samba.org>
To: Diana McKenna <dmckenna at mathworks.com>
Cc: <samba at lists.samba.org>
Subject: Re: [Samba] smbclient: support for long share names..?

On Fri, 22 Nov 2002, Diana McKenna wrote:

> If no one has any further information on this, I'll submit this as a bug.

This is a known limitation of the fact that samba-2.x does NOT support
true UniCode on the wire. This limitation should disappear in Samba-3.0.0
since it handles UniCode.

- John T.

>
> Thanks!
>
> Diana
>
>
> At 03:07 PM 11/19/2002 11/19/2002, John Benedetto wrote:
> >I thought the 13 character limit was a 'feature' of NT, and thus Samba
> >reflects that "feature", too... anyone know?
> >
> >--On Tuesday, November 19, 2002 4:56 PM -0500 Diana McKenna
> ><dmckenna at mathworks.com> wrote:
> >
> >>Hello All,
> >>
> >>If I create a 13 char long share on a filer or a windows workstation (a
> >>windows 2000 workstation for example) and then run sbmclient to list the
> >>shares on that system smbclient will not list any shares greater than 12
> >>chars long.  I can see and access the long share name on my windows 2000
> >>system and I can see it on the system where the share was created but
> >>smbclient will not list it.
>
>

-- 
John H Terpstra
Email: jht at samba.org



--__--__--

Message: 18
Date: Fri, 22 Nov 2002 13:59:51 -0500
From: "Richard Canada" <richard.canada at mrli.ppdi.com>
To: "samba at lists.samba.org" <samba at lists.samba.org>
Subject: [Samba] "Destination unreachable"

Has anyone experienced the message "Destination unreachable"
while trying to login?

I have samba-2.2.7 running on RedHat 7.3; I have a win98
client PC.  Samba is running fine; I am using Ethereal to
monitor connections for samba-win98.  I have WINS configured
and running, seems to be fine.  My login works for smbclient
-L \\samba-server, so I know that it is not a password issue
(i am using smbpasswd file on local machine).

Can anyone help me?  Here is my pdc config file

###########################################
# This is the PDC smb.conf file   #
#       #
# DO NOT EDIT WITH SWAT!!!!!!!!!!!!!!!!!  #
###########################################

[netlogon]
 comment = The Domain Logon Server
 path = /usr/local/samba227/logon
 browseable = no
 write ok = no
 locking = no

[global]
 workgroup = MRLSYS
 netbios name = pdc_home
 server string = MRLSYS PDC Samba Server .v%v on %h
 announce as = NT Server
 announce version = 4.2
 interfaces = 172.16.16.5
 bind interfaces only = yes

 log file = /usr/local/samba227/log/log.%m.pdc
 log level = 3
 lock directory = /usr/local/samba227/locks_pdc
 pid directory = /usr/local/samba227/pids_pdc

 wins support = yes

 encrypt passwords = yes
 smb passwd file = /usr/local/samba227/private/smbpasswd

 domain logons = yes
 domain master = yes
 preferred master = yes
 local master = yes
 logon script = startup.bat

 large readwrite = yes

 name resolve order = lmhosts host wins

 null passwords = no

 os level = 99

 security = domain

 browse list = yes
 browseable = yes
 dns proxy = no
 read only = no



______________________________________________________________________
This email transmission and any documents, files or previous email
messages attached to it may contain information that is confidential or
legally privileged. If you are not the intended recipient or a person
responsible for delivering this transmission to the intended recipient,
you are hereby notified that you must not read this transmission and
that any disclosure, copying, printing, distribution or use of this
transmission is strictly prohibited. If you have received this
transmission in error, please immediately notify the sender by telephone
or return email and delete the original transmission and its attachments
without reading or saving in any manner.
______________________________________________________________________

--__--__--

Message: 19
To: samba at lists.samba.org
Date: Fri, 22 Nov 2002 11:25:15 -0800 (PST)
From: Steve Morley <steve at morleys.org>
Subject: [Samba] SAMBA doesn't like me anymore :(

Hi All,

Okay, SAMBA officially doesn't like me or something.

Here's the poop:

- Brand-new FreeBSD 4.7 box
- SAMBA 2.2.6pre2 (built from the ports tree)
- I have dual NICs, one on 192.168.1 (students) the other on 192.168.2
(staff)
- I need two operational workgroups "STUDENTS" & "STAFF" each tied to their
  own interface.
- This machine needs to do all the authentication stuff, dunno if that
  requires it to be a PDC (strictly Win9X machines), and if you can run
  two PDC's...

Yesterday morning I had it launching two seperate instances of smbd and nmbd
at the same time, one for workgroup "STAFF" the other for "STUDENTS".  I
started adding more features to smb.conf.staff and smb.conf.students and
somewhere along the way I broke it.  I can no longer start up two instances
anymore :(

This is now desperate for me, I need to swap out the old 2.0.* server this
weekend.  One major reason for the upgrade is the dual workgroup setup as it
wasn't supported in 2.0.* .

I've even gone back to bare bones conf files, but apparently that wasn't
what caused it to stop working in the first place I guess.

The problem is that it seems to be ignoring the --pidfile directive :(

Here's my startsamba script:

#!/usr/local/bin/bash

/usr/local/sbin/smbd -D -s /usr/local/etc/smb.conf.staff
/usr/local/sbin/nmbd -D -s /usr/local/etc/smb.conf.staff

/usr/local/sbin/smbd -D -s /usr/local/etc/smb.conf.students --pidfile
/var/run2/smbd.pid
/usr/local/sbin/nmbd -D -s /usr/local/etc/smb.conf.students --pidfile
/var/run2/smbd.pid


The first set places the .pid files in /var/run which has
drwxr-xr-x   3 root    wheel

so I created /var/run2 with the same permissions.

Again, this worked for the better part of a day yesterday...

My (now) minimal conf files are:

> [global]
>    workgroup = STAFF
>    hosts allow = 192.168.2 127.
>    interfaces = 192.168.2.200/24
> 
> [homes]
>    comment = "Home Directory of %u"
>    guest ok = no
>    read only = no
>    browseable = no
>    writeable = yes

Only difference is the workgroup = STUDENTS and the IP stuff for their .conf
file.

log.smbd reads:

> [2002/11/22 10:58:09, 0] smbd/server.c:main(707)
>   smbd version 2.2.6pre2 started.
>   Copyright Andrew Tridgell and the Samba Team 1992-2002
> [2002/11/22 10:58:09, 0] smbd/server.c:main(707)
>   smbd version 2.2.6pre2 started.
>   Copyright Andrew Tridgell and the Samba Team 1992-2002
> [2002/11/22 10:58:09, 0] lib/pidfile.c:pidfile_create(86)
>   ERROR: smbd is already running. File /var/run/smbd.pid exists and
process id 406 is running.

log.nmbd reads:

> [2002/11/22 10:58:09, 0] nmbd/nmbd.c:main(794)
>   Netbios nameserver version 2.2.6pre2 started.
>   Copyright Andrew Tridgell and the Samba Team 1994-2002
> [2002/11/22 10:58:09, 0] nmbd/nmbd.c:main(794)
>   Netbios nameserver version 2.2.6pre2 started.
>   Copyright Andrew Tridgell and the Samba Team 1994-2002
> [2002/11/22 10:58:09, 0] lib/pidfile.c:pidfile_create(86)
>   ERROR: nmbd is already running. File /var/run/nmbd.pid exists and
process id 408 is running.


So obviously for some reason it's now ignoring the --pidfile directive and
trying to dump it into the default locaction of /var/run ...

Again, I had these two running simultaneously yesterday, but when I was
stumped with the trust stuff (moving up from 2.0.* which as I recall didn't
have them) I must have done something stupid to break it :(

help?

Steve

--__--__--

Message: 20
Date: Fri, 22 Nov 2002 13:32:15 -0600
From: Benjamin Herbert <herbert at isis.visi.com>
To: jmcdsmb at maine.rr.com
Cc: samba at samba.org
Subject: Re: [Samba] wbinfo -A trouble


I installed samba from source into /usr/local/samba.  The wbinfo I am
using is in /usr/local/samba/bin.  My smb.conf file is in
/usr/local/samba/lib.  

Where would I turn up the debug level?  Isn't wbinfo supposed to be run
before winbindd is started.  The wbinfo binary doesn't have a debug
flag.

Thanks for the reply.

-Ben


On Fri, Nov 22, 2002 at 12:43:11PM -0500, jmcdsmb at maine.rr.com wrote:
> Benjamin Herbert wrote:
> 
> > I started smbd nmbd then ran the command 'wbinfo -A DOAMIN+adm%passwd'
> > which gave this error:
> >
> >         could not obtain winbind separator!
> >
> > As you can see the second error was fixed but I still get the winbind
> > separator error.  Winbid crashed when I tried to start it after running
> > the command above.
> >
> > Any other ideas?
> 
> Hmm, offhand, I'll just ask that you verify you're running the wbinfo that
you
> think you are, and that the smb.conf is getting read from where you think
it
> is...    If that doesn't work, crank up the debug level.
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba

--__--__--

Message: 21
From: "Roger Cieslinski" <roger at remc1.k12.mi.us>
To: <samba at lists.samba.org>
Date: Fri, 22 Nov 2002 14:34:36 -0500
Subject: [Samba] Windows 98 machines

This is a multi-part message in MIME format.

------=_NextPart_000_000F_01C29234.48B5BDA0
Content-Type: text/plain;
	charset="Windows-1252"
Content-Transfer-Encoding: 7bit

I have Samba 2.25 on a Redhat 8.0 box. My Id's and passwords work fine
on a Windows 2000 or XP machine.
I cannot get them to logon from a Windows 98 machine.
Any Ideas?????
THANKS

 


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.422 / Virus Database: 237 - Release Date: 11/20/2002
 

------=_NextPart_000_000F_01C29234.48B5BDA0
Content-Type: text/html;
	charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3DWindows-1252">
<TITLE>Message</TITLE>

<META content=3D"MSHTML 6.00.2800.1126" name=3DGENERATOR></HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D875292619-22112002>I have =
Samba 2.25 on=20
a Redhat 8.0 box. My Id's and passwords work fine on a Windows 2000 or =
XP=20
machine.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D875292619-22112002>I =
cannot get them to=20
logon from a Windows 98 machine.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D875292619-22112002>Any=20
Ideas?????</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN =
class=3D875292619-22112002>THANKS<FONT=20
size=3D2></DIV>
<P>&nbsp;</P></FONT></SPAN></FONT></BODY></HTML>
<BR>

<P><FONT SIZE=3D2>---<BR>
Outgoing mail is certified Virus Free.<BR>
Checked by AVG anti-virus system (http://www.grisoft.com).<BR>
Version: 6.0.422 / Virus Database: 237 - Release Date: 11/20/2002<BR>
</FONT> </P>

------=_NextPart_000_000F_01C29234.48B5BDA0--


--__--__--

Message: 22
Date: Fri, 22 Nov 2002 20:39:33 +0100
From: Markus Amersdorfer <markus.amersdorfer at aon.at>
To: Herbert Hinkelstein <wlb.bag at gmx.net>
Cc: samba at lists.samba.org
Subject: Re: [Samba] acl: what's missing ?

On 22 Nov 2002 13:26:30 +0100
Herbert Hinkelstein <wlb.bag at gmx.net> wrote:

Hi Herbert!

> ii  acl            2.1.1-1        Access control list utilities
> ii  libacl1        2.1.1-1        Access control list shared library
> ii  libacl1-dev    2.1.1-1        Access control list static libraries
> [...]
> checking for sys/acl.h... yes
> checking for _acl... no
> checking for __acl... no
> checking for _facl... no
> checking for __facl... no
> checking whether to support ACLs... no

I think you're missing acl-dev.
Furthermore you need to "activate" ACL in Debian's Samba-packages by
hand.
I described what I did to get ACL with Samba (and XFS as the
filesystem) working here: http://homex.subnet.at/~max/comp-12_xfs.php

Hope this helps.

So long,
Max

-- 
The first time any man's freedom is trodden on, we're all damaged.
                       <Cpt. Picard, "The Drumhead", StarTrek TNG>

http://homex.subnet.at/~max/

--__--__--

Message: 23
Subject: RE: [Samba] Controlling smbclient from python weirdness
Date: Fri, 22 Nov 2002 14:37:27 -0500
From: daniel.jarboe at custserv.com
To: "Nicholas Piper" <nick-samba at nickpiper.co.uk>,
	samba at lists.samba.org

May be completely unrelated, but does anyone know if the latest
smbclient forks a child which returns the file list to stdout, and then
the parent writes the prompt to stdout?  I was once in a situation where
multiple children took turns writing to stdout.  The output was correct
if I ran the file by itself, or if I captured the output using 'script',
but piping stdout to a file caused the output to be all out of order.
It may be completely unrelated because this was in minix, but it may be
a place to start looking.  CVS access is firewalled off here :(, so I
can't check the src myself.

~ Daniel

-----Original Message-----
From: Nicholas Piper [mailto:nick-samba at nickpiper.co.uk] 
Sent: Wednesday, November 20, 2002 12:35 PM
To: samba at lists.samba.org
Subject: [Samba] Controlling smbclient from python weirdness


I've written a python wrapper around the smbclient program, so that I
can list/upload/download from Windows shares.

Using smbclient 2.0.9 or Version 2.2.5-2 for Debian, my wrapper works
well and is able to control the smbclient process via pipes well. With
both smbclient 2.999+3.0cvs20020723-1 and 2.999+3.0.alpha20-3 (on a
Debian box) the smbclient responses appear to be not always BEFORE the
new smbclient command prompt. I expect this kind of behaviour:

smb: \> ls
  Ranger                              D        0  Tue Nov 20 12:45:40
2001
  telix                               D        0  Tue Nov 20 14:56:28
2001
  DOS                                 D        0  Tue Nov 20 14:57:32
2001

                65526 blocks of size 32768. 65526 blocks available
smb: \>

But with the more recent smbclient versions I get this:

smb: \> ls 
smb: \> 
  Ranger                              D        0  Tue Nov 20 12:45:40
2001 
  telix                               D        0  Tue Nov 20 14:56:28
2001 
  DOS                                 D        0  Tue Nov 20 14:57:32
2001 
 
                65526 blocks of size 32768. 65526 blocks available 

And once I saw this:

smb: \> ls 
  Ranger                              D        0  Tue Nov 20 12:45:40
2001 
  telix                               D        0  Tue Nov 20 14:56:28
2001 smb: \> 
  DOS                                 D        0  Tue Nov 20 14:57:32
2001 
 
                65526 blocks of size 32768. 65526 blocks available 

As I look for the command prompt to know smbclient has finished giving
me the reply, this messes things up.

I control smbclient via popen4() in python2.1. I've found this strange
placement in the prompt to be the reason my code isn't working, via
running smbclient like this:

c = popen2.Popen4("smbclient //machine/c -N | tee /tmp/smb_out.txt)

And watching smb_out.txt (Popen3() acts the same way).

Is this likely to be an issue with how python talks to the process ? I
have not included a test case in this mail because it would make it
longer than it already is, but can provide one.

Note that when I talk to the smbclient myself (via starting one from a
shell) it appears to act normally.

Is there anymore information I could provide to help find out why this
occurs ?

Thanks,

 Nick

-- 
Part 3 MEng Cybernetics; Reading, UK       http://www.nickpiper.co.uk/
GPG Encrypted mail welcome!                             1024D/3ED8B27F
Choose life. Be Vegan :-) Please reduce needless cruelty + suffering !
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

-----------------------------------------------------------------------

This message is the property of Time Inc. or its affiliates. It may be
legally privileged and/or confidential and is intended only for the use
of the addressee(s). No addressee should forward, print, copy, or
otherwise reproduce this message in any manner that would allow it to be
viewed by any individual not originally listed as a recipient. If the
reader of this message is not the intended recipient, you are hereby
notified that any unauthorized disclosure, dissemination, distribution,
copying or the taking of any action in reliance on the information
herein is strictly prohibited. If you have received this communication
in error, please immediately notify the sender and delete this message.
Thank you.


--__--__--

Message: 24
From: Robert Adkins <raa at impelind.com>
To: Colin Davis <ColinD at traininghott.com>,
	"samba at lists.samba.org" <samba at lists.samba.org>
Subject: RE: [Samba] Copied file becomes infinate
Date: Fri, 22 Nov 2002 14:36:00 -0500

Colin,

	I know that on Windows, when you copy and Immensely large single
file,   
there are times when it will show something like 100 years in minutes to   
complete the copy.

	Your issue could be related to that issue with Windows. You say that
you   
copy files over from several other systems without a problem. Are those   
files on the other systems single small files or are they also in giant   
back-up format?

	One thing to test this would be to create a similarly large .zip or
.bcf   
file on one of the other machines that your Samba system logs into. Then   
run your copy routine. If it appears to also create an infinitely large   
file, you will have more information to work with.

	At this time, that is the only thing that I can suggest. If it does

appear to be simply related to the size of the .bcf file, you might want   
to setup the Windows back-up to chop that 7.1 gigs into much smaller   
chunks.

	I hope that I have been a little helpful. Good luck.

Regards,
Robert Adkins II
IT Manager/Buyer
Impel Industries, Inc.
Ph. 586-254-5800
Fx. 586-254-5804


 -----Original Message-----
From: Colin Davis [mailto:ColinD at traininghott.com]
Sent: Friday, November 22, 2002 1:06 PM
To: samba at lists.samba.org; Robert Adkins
Subject: [Samba] Copied file becomes infinately large

   

I'm trying to back-up a set of windows machines onto a single Linux
machine, so that I can easily make a tape from there.

The Linux Machine (RedHat 7.3, running samba 2.2.6), is set to use
mount.smbfs to log in to each machine's Administrative share, and copy
several files from the hard drive.

One machine is giving me a great deal of difficulty, however.
Our last remaining window's fileserver (the rest have been converted),
makes a backup of it'self every night, and stores it on the F: drive.
This is easily completed in an hour or so.

On the Linux machine, it is set to try to log in to the fileserver, and
copy the file, every morning at 11:30am. The file (FullBackup.bcf) is
7.1 gig on the windows machine, but, left to it's own devices, Samba
never stops copying it.. The file grows until it fills the entire
filesystem!

   mkdir /mnt/bkp/BackupServer >> /etc/sambalog 2>&1
   mkdir /mnt/bkp/BackupServer/BackupDir >> \etc\sambalog 2>&1
   cp -R -u /mnt/smb/folder /mnt/bkp/BackupServer/BackupDir

Does anyone have any suggestions to why this might be happening?
I'm really at a loss.. It happens no matter what filesystem I give the
destination disk, so I think it must be an issue during the copy..

Colin
 --
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



--__--__--

_______________________________________________
samba mailing list
samba at lists.samba.org
http://lists.samba.org/mailman/listinfo/samba


End of samba Digest



More information about the samba mailing list