samba digest, Vol 1 #97 - 12 msgs

Pam Wales pwales at cdpr.ca.gov
Mon Oct 9 00:49:50 GMT 2000


This is one of those nifty auto-responses from Pam Wales's computer to yours:

     =     +     =     +     =     +     =     +     =     +     =     +     =     +     = 

Hi!
I am out of the office for a vacation until October 16, 2000.  
I will respond to your e-mail when I return.

Cheers!
Pam  :-)


>>> samba 10/08/00 16:49 >>>

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: Question on making group Folders (Andrew Bartlett)
  2. Win explorer issues (Greg Cockburn)
  3. Re: samba digest, Vol 1 #96 - 8 msgs (Pam Wales)
  4. Smbclient and W2K (Michael Hirsch)
  5. client msdos problem with open files (Nelson)
  6. just test (nelson)
  7. (no subject) (weblabs)
  8. Re: Samba Dropping Mounts - "Broken Pipe" msgs (auto852 at hushmail.com)
  9. help (=?gb2312?q?=CB=EF=20=D1=E0?=)
  10. (no subject) (weblabs)
  11. (no subject) (weblabs)
  12. Re: Strange App sends SRV_NETSHAREENUM with info_level == 0 (Gerald Carter)

--__--__--

Message: 1
Date: Sun, 08 Oct 2000 12:30:19 +1100
From: Andrew Bartlett <abartlet at pcug.org.au>
Reply-To: abartlet at pcug.org.au
To: Eric Ralston <ericralston at yahoo.com>
Cc: samba at us4.samba.org
Subject: Re: Question on making group Folders

This is quite easily done:

Create a new unix group, and add members as appropriate.

Setup the group shared folder, I have used /home/groups/{group name}.
Next change the folders group and set appropriate permissions.  I also
make it set group-id.

Simply share this folder via samba, either by adding individual shares,
adding a [groups] share or (as I do) placing a symbolic link in each
members home directory.

Hope this helps,

Andrew Bartlett

Eric Ralston wrote:
> 
> I recently started at a small company using Samba for
> The windows login and the home directory's on the Sun
> boxes. I need to be able to create group shared
> folders and allow add users to it. How is this done?
> Any help would be appreciated.
> Thanks
> 
> =====
> "Someday you and I will take the Great Hart by our own
> skill alone, and with an arrow. And then the Little
> Gods of the Woods will chuckle and rub their hands and
> say, "Look, Brothers. An Archer! The Old Times are not
> altogether gone!"
> Adrian Eliot Hodgkin
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free!
> http://photos.yahoo.com/

-- 
Andrew Bartlett
abartlet at pcug.org.au


--__--__--

Message: 2
Date: Sun, 08 Oct 2000 20:24:08 +1300
From: Greg Cockburn <greg at performancemagic.com>
Organization: Performance Magic
To: samba at us4.samba.org
Subject: Win explorer issues

I am having a few issues with copying / moving files on the samba server
using windows explorer. I also watch clients (eg Netscape caching) come
to a grinding halt for a period of time if they are reading/writing
files to a network drive.

If I move / copy a file to a share on the samba server it will move the
status bar all the way across, sit there for a while then pop up this
message:

'Cannot create or replace <filename>. The specified network resource or
device is no longer available.'

and then most of the time if I try it again in a few seconds it works
fine. There are few files that have been severly problematic, but I
can't nail it down to any one thing. I have played around with oplocks,
filenames, sizes (bigger ones are more problematic), max xmit, and
various other smb.conf stuff that I thought may be at fault. I just
can't nail it down to one thing.

Any ideas anyone? :-(

--
Greg Cockburn
Performance Magic
Wellington
New Zealand
Phone +64 4 9711980
Mobile +64 25 275 6378
ICQ# 19058919

http://www.performancemagic.com




--__--__--

Message: 3
Date: Sun, 08 Oct 2000 16:19:30 -0700
From: "Pam Wales" <pwales at cdpr.ca.gov>
Reply-To: pwales at cdpr.ca.gov
To: <samba at us4.samba.org>
Subject: Re: samba digest, Vol 1 #96 - 8 msgs

This is one of those nifty auto-responses from Pam Wales's computer to =
yours:

     =3D     +     =3D     +     =3D     +     =3D     +     =3D     +     =
=3D     +     =3D     +     =3D=20

Hi!
I am out of the office for a vacation until October 16, 2000. =20
I will respond to your e-mail when I return.

Cheers!
Pam  :-)


>>> samba 10/08/00 15:19 >>>

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. Still have a few questions about Samba... (Stephane Ouellette)
  2. session setup failed: ERRSRV - ERRbadpw (Thomas Beer)
  3. Question on making group Folders (Eric Ralston)
  4. Network woes with Samba (Ryan Detert)
  5. smbmount permission issue (Derek R. Pizzagoni)
  6. Re: Samba Speed Question (Dave Dezinski)
  7. Re: Network woes with Samba (Neal Lawson)
  8. Re: smbmount permission issue (Urban Widmark)

-- __--__-- 

Message: 1
Date: Fri, 06 Oct 2000 17:04:53 -0400
From: Stephane Ouellette <so at tektrend.com>
Organization: Tektrend International inc.
To: samba at samba.org
Subject: Still have a few questions about Samba...
Reply-To: so at tektrend.com

Hi everyone,

    I have successfully configured a Samba PDC for both Win98 and NT4
machines using Samba pre3.0.0 (running RedHat 6.2 on Intel) but I still
have a few questions :

1-  When a user is logged on the domain from a Win98 machine, the
command "NET USE Z: /HOME" doesn't connect the user's home drive (from
NT4, it works).  I had to create a logon script for each Win98 user that

has the following command : "NET USE Z: \\MYPDC\USERNAME".   When I
first used Samba 2.0.7, I could connect the home drive using "NET USE Z:

/HOME"...   Any suggestions ?

2-  I would like to create shares on the Win98 machines that are
accessible from the NT4 stations.  In the network neighborhood, I can
see the Win98 machine but it complains with an "access denied" message
when I double-click on it...   I tried to change to the Win98 machine's
configuration from "share-access level" to "user-access level" but the
Samba PDC doesn't send a list of users to Win98.  Is this a role that
Samba can't actually do ??   (Note that the Win98 users can access all
shares on the NT machines)



Thank you.

Stephane Ouellette
Software designer
Tektrend International inc.




-- __--__-- 

Message: 2
From: "Thomas Beer" <tom at politologie.org>
To: "Linux Samba" <samba at samba.org>
Subject: session setup failed: ERRSRV - ERRbadpw
Date: Fri, 6 Oct 2000 23:34:25 +0200
charset=3D"iso-8859-1"

Hi,

can anybody give me a hint what is wrong with my
samba config ?

testparm -L localhost -U%
[...]

doing parameter hosts allow =3D 192.168.1. /255.255.255.240
pm_process() returned Yes

added interface ip=3D192.168.1.1 bcast=3D192.168.1.15
nmask=3D255.255.255.240

not adding duplicate interface 192.168.1.1

Client started (version 2.0.7).

resolve_wins: Attempting wins lookup for name
localhost<0x20>

bind succeeded on port 0

Got a positive name query response from 127.0.0.1
 127.0.0.1 )

Connecting to 127.0.0.1 at port 139

session setup failed: ERRSRV - ERRbadpw (Bad password -
name/password pair in a Tree Connect or Session Setup are
invalid.)



Thanks Tom



-- __--__-- 

Message: 3
Date: Fri, 6 Oct 2000 15:24:02 -0700 (PDT)
From: Eric Ralston <ericralston at yahoo.com>
Subject: Question on making group Folders
To: samba at lists.samba.org

I recently started at a small company using Samba for
The windows login and the home directory's on the Sun
boxes. I need to be able to create group shared
folders and allow add users to it. How is this done?
Any help would be appreciated.
Thanks

=3D=3D=3D=3D=3D
"Someday you and I will take the Great Hart by our own
skill alone, and with an arrow. And then the Little=20
Gods of the Woods will chuckle and rub their hands and=20
say, "Look, Brothers. An Archer! The Old Times are not
altogether gone!"
Adrian Eliot Hodgkin

__________________________________________________
Do You Yahoo!?
Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free!
http://photos.yahoo.com/


-- __--__-- 

Message: 4
Date: Fri, 6 Oct 2000 15:43:12 -0700 (PDT)
From: Ryan Detert <rcdetert at ucdavis.edu>
To: samba at us4.samba.org
Subject: Network woes with Samba

I am running the latest version of samba (well, i downloaded it last
week) and updated the version on my RedHat 6.1 machine.

Here is my setup: I have two NICs, one for connecting to DSL (eth0) and
the other (eth1) is used for masquerading my LAN. When I had DSL hooked up
everything worked fine, I could look at files in Network Neighborhood and
everything.

However, now I am without DSL until the end of the month and I want to get
the Network Neighborhood to work with Samba. When I do an
/etc/rc.d/init.d/smb restart I see something like this every time.

Shutting down SMBD:  Failed
Shutting down NMBD:  OK
Restarting SMBD:     OK
Restarting NMBD:     OK

I have tried disabling the eth0 that connects to DSL and fiddling with the
reslov.conf (and of course) smb.conf files, but nothing seems to work.

Is it the two NICs that are throwing samba off or what? Or should I just
wait for Red Hat 7 to come in the mail.

-thanx a bunch

Ryan



-- __--__-- 

Message: 5
Reply-To: derekp at sbei.com
Date: Fri, 06 Oct 2000 20:21:32 -0700
From: "Derek R. Pizzagoni" <derekp at sbei.com>
Organization: SBE, Inc.
To: samba at samba.org
Subject: smbmount permission issue

Hello,

I am running RedHat 6.2 on a Sun Ultra10 with Samba version 2.0.7.

I am able to manually mount, and automount, but no matter where and how
I mount, I always get the following permissions on the mount point
(after mount):

d---------    1 root     root          512 Oct  5 15:43 sbe12

It happened in Samba 2.0.6, and I decided to try to upgrade via RPM to
2.0.7, but it didn't help.

I have made myself the owner of the mountpoint, and I receive the
same... d---------.

I have included dmask and fmask in my mount command, and I receive the
same... d---------.

I have included the uid and gid in my mount command, and I receive the
same... d---------.

I have tried mounting both a Windows NT share and a Samba share, and I
receive the same... d---------.

Root can access the files on the remote server, but I can't (as my
normal username).

Any suggestions?

Thank you in advance.

--
Derek Pizzagoni
I.T. Manager
SBE, Inc.
URL: http://www.sbei.com




-- __--__-- 

Message: 6
From: "Dave Dezinski" <ddez at cbf.com>
To: "David Collier-Brown" <David.Collier-Brown at canada.sun.com>,
<samba at samba.org>
Subject: Re: Samba Speed Question
Date: Fri, 6 Oct 2000 23:27:05 -0400
charset=3D"iso-8859-1"

Dave Collier-Brown wrote:
> | We've got a few NT40 servers that have more than 20000 files=20
> | in a single directory, that don't perform this badly.  We'd=20
> | like to replace these servers with Linux boxes using Samba,=20
> | but unless we re-organize these files into multiple directories
> | (which means a bunch of custom software needs to be rewritten),=20
> | this isn't possible.
> |
> | This definately is a problem that should be a looked into, this=20
> | is not the first time I've seen someone complain about this. =20
>=20
> Yes, it's an artifact of the Unix algorihms:
> linear search and the reliable writes of the
> directory metadata.  The latter is adressed=20
> in the  SGI logging filesystem, the Solaris=20
> logging option, ReiserFS and in ext2fs.

What still doesn't make sense to me is that I saw no noticable=20
improvement in speed using the ReiserFS with Samba vs ext2,
but did notice a difference in speed when cp'ing the files in the
ReiserFS vs ext2 filesystem.
=20
> | Spliting the files up into multiple directories, is just a=20
> | temporary workaround, not a solution.
>=20
> Well, it's sort of a permanent workaround (;-))
> It adresses the linear-search problem nicely,
> which only a true logging fs (or caching) helps with.

I guess without having a filesystem that does some sort of directory
entry caching, there is no other way around this.  I really wish there=20
was a better way to handle this, I understand that having 10000 or
more files in a directory is not that efficient, but it since it wasn't =
a=20
problem in NT or in the previous Netware servers we had I couldn't
see why it would be a problem here.

> NT will run out of speed on very deep b-tree
> structures, which fortunately are rare, although
> programs generating filenames sometimes stumble into
> the "bad" part of the namespace. So would hashing
> filesystems, if anyone built them.
>=20
> --dave

Thanks for the reply, looks like I'll have to look into changing some
of our applications to handle the spliting up of these files into multiple
directories if Samba is the way I'm going. :-)

Dave Dezinski



-- __--__-- 

Message: 7
Date: Fri, 6 Oct 2000 23:29:55 -0500 (CDT)
From: Neal Lawson <lawsonn at delta.swau.edu>
To: Ryan Detert <rcdetert at ucdavis.edu>
Cc: samba at us4.samba.org
Subject: Re: Network woes with Samba

have your configured your Windows for WINS, eg TCP/IP->WINS to point at
your samba server, and have you check your default route on your Samba
box?


On Fri, 6 Oct 2000, Ryan Detert wrote:

> Date: Fri, 6 Oct 2000 15:43:12 -0700 (PDT)
> From: Ryan Detert <rcdetert at ucdavis.edu>
> To: samba at us4.samba.org
> Subject: Network woes with Samba
>=20
> I am running the latest version of samba (well, i downloaded it last
> week) and updated the version on my RedHat 6.1 machine.
>=20
> Here is my setup: I have two NICs, one for connecting to DSL (eth0) and
> the other (eth1) is used for masquerading my LAN. When I had DSL hooked =
up
> everything worked fine, I could look at files in Network Neighborhood =
and
> everything.
>=20
> However, now I am without DSL until the end of the month and I want to =
get
> the Network Neighborhood to work with Samba. When I do an
> /etc/rc.d/init.d/smb restart I see something like this every time.
>=20
> Shutting down SMBD:  Failed
> Shutting down NMBD:  OK
> Restarting SMBD:     OK
> Restarting NMBD:     OK
>=20
> I have tried disabling the eth0 that connects to DSL and fiddling with =
the
> reslov.conf (and of course) smb.conf files, but nothing seems to work.
>=20
> Is it the two NICs that are throwing samba off or what? Or should I just
> wait for Red Hat 7 to come in the mail.
>=20
> -thanx a bunch
>=20
> Ryan
>=20
>=20
>=20



-- __--__-- 

Message: 8
Date: Sat, 7 Oct 2000 11:33:59 +0200 (MET DST)
From: Urban Widmark <urban at svenskatest.se>
To: "Derek R. Pizzagoni" <derekp at sbei.com>
Cc: samba at samba.org
Subject: Re: smbmount permission issue

On Fri, 6 Oct 2000, Derek R. Pizzagoni wrote:

> Hello,
>=20
> I am running RedHat 6.2 on a Sun Ultra10 with Samba version 2.0.7.
>=20
> I am able to manually mount, and automount, but no matter where and how
> I mount, I always get the following permissions on the mount point
> (after mount):
>=20
> d---------    1 root     root          512 Oct  5 15:43 sbe12

What kernel version, default RH6.2?

> Root can access the files on the remote server, but I can't (as my
> normal username).

That suggests that smbfs has a problem getting input from the mount
program. smbmount builds a binary struct and passes this to the kernel.
The inode from the mountpoint is built using information from that struct
only.

I'm guessing that it is some 32bit vs 64bit thing. Could it be that the
samba package is compiled vs some set of headers, creating a struct that
the kernel code can't read ...

Could you try rebuilding samba from source?
And before doing that, check that /usr/include/asm/posix_types.h contain
the sparc64 definition:
	typedef unsigned int           __kernel_mode_t;
and not the sparc definition:
	typedef unsigned short         __kernel_mode_t;


If that fails to improve, it would be interesting to see if there is a
difference in how the struct looks. Printing the size of the struct and
the offset from the start of the struct of each field in
source/client/smbmnt.c (samba) and fs/smbfs/inode.c (kernel). Let me know
if you want a patch for doing that.

/Urban




-- __--__-- 

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


End of samba Digest



--__--__--

Message: 4
From: "Michael Hirsch" <slowhand at uni-paderborn.de>
To: <samba at lists.samba.org>
Subject: Smbclient and W2K
Date: Sun, 8 Oct 2000 17:54:36 +0200
charset="iso-8859-1"

Hello!

I am using Samba 2.0.7 with Linux (kernel 2.2.14) and W2k (sp1) as
client. When I try to send a message from my Linux machine with smbclient
-M <ip address>, it takes up to 10 sec until the message appears on my w2k
machine. When I send it to an NT4 or 9x machine, it appears immediately.
Any ideas?

Thanks
Michael


--__--__--

Message: 5
Date: Sun, 08 Oct 2000 09:04:54 -0300
From: Nelson <ngcnet at nanet.com.br>
To: samba at lists.samba.org
Subject: client msdos problem with open files

Hello everybody,
I'm new in the list.
I have a problem with the maximum open files in my msdos client 3.0.
Is there anybody that know how to improve this.
In my config i have files=250 , but I just open 40~60b files.

Thanks
Nelson (Brasil)



--__--__--

Message: 6
From: nelson <ngcnet at nanet.com.br>
Date: Sun, 08 Oct 2000 14:43:39 GMT
Subject: just test
To: samba at lists.samba.org







--__--__--

Message: 7
From: "weblabs" <ueck at web-labs.de>
To: <samba at lists.samba.org>
Date: Sun, 8 Oct 2000 22:32:28 +0200
boundary="----=_NextPart_000_0071_01C03177.A40C1B60"
Subject: (no subject)

This is a multi-part message in MIME format.

------=_NextPart_000_0071_01C03177.A40C1B60
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

unsubscribe samba-technical ueck at web-labs.de

------=_NextPart_000_0071_01C03177.A40C1B60
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4134.600" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV>
<DIV><FONT face=3DArial size=3D2>unsubscribe samba-technical <A=20
href=3D"mailto:ueck at web-labs.de">ueck at web-labs.de</A></FONT></DIV></DIV><=
/BODY></HTML>

------=_NextPart_000_0071_01C03177.A40C1B60--



--__--__--

Message: 8
From: auto852 at hushmail.com
Date: Sun, 8 Oct 2000 14:09:02 -0800 (PDT)
Cc: samba at us4.samba.org
To: Urban Widmark <urban at svenskatest.se>
Subject: Re: Samba Dropping Mounts - "Broken Pipe" msgs

--Hushpart_boundary_myodnmnUitNSmWasgKrRcathPVtBXPZY
Content-type: text/plain


At Mon, 25 Sep 2000 20:02:56 +0200 (CEST), Urban Widmark <urban at svenskatest.se> 
wrote:

>
>On Sun, 24 Sep 2000 auto852 at hushmail.com wrote:
>
>> Yikes, I've never compiled a kernel before and in this case (from 
>what I
>> could see) it requires compiling pre-patch-2.2.17-20 (required for) 
>then
>> pre-patch-2.2.18-10 (was the latest I could see) by someone named 
>alan.
>
>The "someone named alan" is Alan Cox and he is the maintainer for the 
>2.2
>kernel series and gets to decide what goes in and not.
>
>You don't have to compile 2.2.17pre20 (which is the same as 2.2.17),
> you

Thanks again Urb, :) ok well in alan's 2.2.18 kernel ftp dir there was/is 
a readme that says the patch is for 2.2.17.20 but anyways...we applied the 
patches 2.2.17-pre20 and then 2.2.18pre10 and recompiled the kernel but....

1) the patches were looking for directories that didn't exist on Redhat 
6.2 kernel 2.2.16-3 so we skipped passed them and recompiled the kernel 
the kernel anway. It looked like it patched quite a bit but after recompiling 
the kernel version hadn't changed.

2) I am still getting smb_retry errors in the logs and I am still losing 
mounts.

3) I also have a problem with the permissions changing after remounting. 
Half of the mounts permissions change for no reason while the other half 
of the mounts are what they are supposed to be. (and all the shares on the 
NT side have the same identical permissions). 

So....what now? It seems that it may be quite possible that alan's kernel 
patches are not quite compatible with Redhat 6.2 kernel 2.2.16-3 or 2.2.14 
for that matter and I can't find any Redhat kernels any newer than 2.2.16-
3. Redhat 7 was just released tho and it is using kernel 2.4 and you had 
also mentioned kernel 2.4.0-test8 as a fix but what would be the point in 
wasting all that time re-installing if the 2.4.0-test8 patch is not compatible 
either?

And is there anyone listening that is running Samba-2.0.7-4 with Redhat 
6.2 (kernel 2.2.14 or 2.2.16-3) to map NT4 (SP-6a) shares -- successfully? 
Or maybe someone out there that is running Samba-2.0.7-4
with Redhat 7 to map NT4 shares -- successfully? 

>only have to patch it with pre-patch-2.2.18-10 and compile that.
>
>> Can those kernels be trusted? And any pointers towards information 
>for how
>> I would go about compiling a new kernel without messing up my existing 
>one?
>
>You should of course not experiment on your production machines. One
>problem may be if the kernel you normally run has extra patches not
>included in the standard kernels and you depend on those changes.
>
>The pre versions are "steps" from one kernel version to another and
>the reason for doing them is to get testing before calling it 2.2.18,
> so
>they may be seen as less safe than a 2.2.x version.
>
>More info:
>http://www.linuxdoc.org/HOWTO/Kernel-HOWTO.html
>
>You probably want to copy the bzImage to a floppy (cp bzImage /dev/fd0)
>and boot from that floppy.
>
>/Urban
>
--Hushpart_boundary_myodnmnUitNSmWasgKrRcathPVtBXPZY--


IMPORTANT NOTICE:  If you are not using HushMail, this message could have been read easily by the many people who have access to your open personal email messages.
Get your FREE, totally secure email address at http://www.hushmail.com.





--__--__--

Message: 9
Date: Sun, 8 Oct 2000 12:52:50 +0800 (CST)
From: =?gb2312?q?=CB=EF=20=D1=E0?= <asiaswallow at yahoo.com.cn>
Subject: help
To: samba at samba.org

Hi:   
I have a question about samba.
I have a SUN workstation and several PCs in our lab .
One of my PCs have a printer (style:epson            
stylus color 300)       
I want to share the print with my SUN,so I install the
samba2.0.7(binary).It run very well.
   I find the samba2.0.7  has no  smbprint.sysv ,so 
I copy it from samba1.9(maybe),and move it to the
samba
path: /opt/samba
   # ls /opt/samba
 bin/ man/ lib/ swat/ doc/ license/ smbprint.sysv
   # cd /opt/samba
   # ls smbprint.sysv
 -rw-r--r-- 1 root  other 1853 9.28 11:51
smbprint.sysv
  and I modify the smbprint.sysv
   # vi /opt/samba/smbprint.sysv
 set :
      server = lxf (lxf is the netbios name of the 
                      PC which has the printer)
      service = EPSON (its shared printer name)
      passwd = "" (no passwd)
 and I modify the script
  add "bin":
(
    echo translate
    echo "print -"
    cat $*"
) | /opt/samba/bin/smbclient "\\\\$server\\%service"

              .... here I add bin

$passwd -N -P > /dev/null 
exit $?
 then :
    # lpadmin -p epson_printer -v /dev/null -i  
/opt/samba/smbprint.sysv
    # enable  epson_printer
    # accept  epson_printer
 it runs well.
   # admintool
 I use admintool to set the epson_printer default
    then I restart the Samba daemons 
when I usr 
     # lp text <filename>
it show :
    request id is epson_printer-1(1 file(s))
    It looks like right
 but the printer has no reaction!!!!!!!!!!
   (The printer is no wrong,I use very well)
    and when I input:
    # lpstat -p -l
 it shows:
 printer epson_printer is idle enable since Thursday
September 28 16:15:29 CST 2000 available
 Form mounted:
 Contant types: simple
 Printer types: unknown
 Description:
 Connect:direct
 Interface:/opt/samba/smbprint.sysv
 on fault:write to root once
 After fault:continue
 Users allowed:
        (all)
 Forms allowed:
        (none)
 Banner required
 Character sets:
            (none)
 Default pitch
 Default page size
 Default port settings:

the up is all.
 Is the file "smbprint.sysv"  wrong? I don't know.
Could you give me the file :smbprint.sysv?
Because I have no printer with SUN , my smb.conf
didn't
include [printers] this part,and I have set no items
correlative to printer (such as load printers = yes)
I have no way to do this. 
Could you give me a hand?
 Thank you very much! Hope your email!!!

  SUN: ultra10
       SUNOS5.6


email:AsiaSwallow at yahoo.com.cn


_________________________________________________________
Do You Yahoo!?  *****Γ***τ******
Get your free @yahoo.com.CN address at http://mail.yahoo.com.cn


--__--__--

Message: 10
From: "weblabs" <ueck at web-labs.de>
To: <samba at lists.samba.org>
Date: Sun, 8 Oct 2000 22:32:03 +0200
boundary="----=_NextPart_000_0066_01C03177.94F494E0"
Subject: (no subject)

This is a multi-part message in MIME format.

------=_NextPart_000_0066_01C03177.94F494E0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

unsubscribe samba-ntdom ueck at web-labs.de

------=_NextPart_000_0066_01C03177.94F494E0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4134.600" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV>
<DIV><FONT face=3DArial size=3D2>unsubscribe samba-ntdom <A=20
href=3D"mailto:ueck at web-labs.de">ueck at web-labs.de</A></FONT></DIV></DIV><=
/BODY></HTML>

------=_NextPart_000_0066_01C03177.94F494E0--



--__--__--

Message: 11
From: "weblabs" <ueck at web-labs.de>
To: <samba at lists.samba.org>
Date: Sun, 8 Oct 2000 22:31:16 +0200
boundary="----=_NextPart_000_005B_01C03177.78CC5460"
Subject: (no subject)

This is a multi-part message in MIME format.

------=_NextPart_000_005B_01C03177.78CC5460
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

unsubscribe samba ueck at web-labs.de

------=_NextPart_000_005B_01C03177.78CC5460
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4134.600" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>unsubscribe samba <A=20
href=3D"mailto:ueck at web-labs.de">ueck at web-labs.de</A></FONT></DIV></BODY>=
</HTML>

------=_NextPart_000_005B_01C03177.78CC5460--



--__--__--

Message: 12
Date: Thu, 05 Oct 2000 22:44:21 -0500
From: Gerald Carter <gcarter at valinux.com>
Organization: VA Linux Systems
To: Clint Byrum <cbyrum at erp.com>
Cc: samba-technical at samba.org
Subject: Re: Strange App sends SRV_NETSHAREENUM with info_level == 0

Clint Byrum wrote:
> 
> An application we have here tries to get a listing of 
> a machine's shares using the RPC command SRV_NETSHAREENUM. 
> In init_srv_share_info_ctr() with debug level 5, 
> this will produce the message "init_srv_share_info_ctr:
> unsupported switch value 0". Doesn't the application 
> set this value? It seems to correspond to something 
> called info_level... I mucked around in the
> code, but didn't find much about this flag)?
>
> NT responds to the same query just fine. Which is 
> "broken" here, the app, or samba? Thanks in advance.

The SMB protocol has a nearly infinite combinations 
of flags, bits, and commands with each combination
resulting in different behavior.  Samba only implements
those combinations which are (a) documented, or (b) see
by developers.  

Which brings us to the question, what is the 
application and client platform?  I'm sure Jeremy 
will want a a debug trace for a successful op and 
failed op in order to figure out what is going on.






Cheers, jerry
----------------------------------------------------------------------
   /\  Gerald (Jerry) Carter                     Professional Services
 \/    http://www.valinux.com  VA Linux Systems    gcarter at valinux.com
       http://www.samba.org       SAMBA Team           jerry at samba.org
       http://www.eng.auburn.edu/~cartegw

       "...a hundred billion castaways looking for a home."
                                - Sting "Message in a Bottle" ( 1979 )




--__--__--

_______________________________________________
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