Re: [Samba] Is there a maximum number of shares samba can serve?

2008-03-13 Thread webster
I currently have a server with 1,885 shares.

It is running Samba version  3.0.20b-3.11-SUSE


Gary R. Webster



"Eric Boehm" <[EMAIL PROTECTED]> 
Sent by: [EMAIL PROTECTED]
03/13/2008 08:23 AM
Please respond to
Eric Boehm <[EMAIL PROTECTED]>


To
samba@lists.samba.org
cc

Subject
[Samba] Is there a maximum number of shares samba can serve?





I am being asked to determine the feasibility of serving hundreds
(300-400) of directories as individual shares instead of sharing a single
parent directory.

Personally, I don't think this is a good idea. Clients will go from
having a single connection to a single share to 50-300 connections to
multiple shares. That can't be good for performance or load.

I've searched the mailing list, the web, the documentation, the wiki
and the source code. I haven't been able to determine the maximum, if
any. Of course, I may have missed it. Feel free to point me to the
correct documentation or source file.

I've seen some references that you can't have either more than 145 or
165 shares per samba server.

However, if there is anyone running such a large number of shares and
has advice, I am happy to listen.

-- 
Eric M. Boehm  /"\  ASCII Ribbon Campaign
[EMAIL PROTECTED]   \ /  No HTML or RTF in mail
X   No proprietary word-processing
Respect Open Standards / \  files in mail
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


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


Re: [Samba] Problem restricting the access of a particular workstation to a single user

2006-09-27 Thread webster
Perhaps 'include = n%M.conf' (or i%I.conf)

then in file n(%M).conf:
  valid users = thisuser


Júlio Dutra Couto wrote:
> I have a problem restricting the access of a particular workstation to a
> single user. Is there a way of doing this? I couldn't find it anywhere,
> although it is trivial to do it the other way around... much 
appreciated!
> Thanks

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


[samba] WINS client 'ttl'

2006-09-07 Thread webster
Hello.

So, my Samba server, as a WINS client, registers itself with the [Windows] 
WINS server.
Then, when (how often) does it refresh its WINS registration ?

I have a problem in that the Windows WINS server is losing its WINS db, 
then my customers can't find my Samba server.
Is there a way to instruct my Samba servers to re-register more often ?

Thanks.


Gary R. Webster

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


Re: [Samba] Samba interface to CVS/Subversion

2006-05-04 Thread webster
Hello.

Have you investigated SVNAutoversioning  ?
http://svnbook.red-bean.com/nightly/en/svn.webdav.autoversioning.html


Gary R. Webster



Hello,

Well, we are using samba shares as subversion repos but it is not 
exactly what you are looking for I think.
If you want to handle file events and connect them to svn commands 
your best bet would be a VFS module.

I don't think one like that exists but at least Recycle VFS does 
something on the delete event and perhaps the Audit VFS handles all 
the events you are looking for.
Either way you could simple write your own :)


Good luck
//Henrik

4 maj 2006 kl. 04:03 skrev David Baker:

> Hey all,
>
> Bit of a bogus question here as I only have a basic understanding of
> CVS and Subversion.
>
> A lot of the windows development tools we use in the office have CVS
> or Subversion modules allowing us greater source code control. It
> would be wonderful to have a samba share that acts as an interface to
> a CVS or Subversion backend.
>
> That way we can use any development tool and simply save our files to
> the network share and let CVS/Subversion handle everything behind the
> scenes.
>
> Am I dreaming?
>
> Could this be implemented with a standard samba setup and a bunch 
> of scripts?
> Can any smart cookies out there show me samba configurations that
> allow programs to be run based on different file operations
> (save/delete/move/etc..)?
>
> Cheers heaps :) any pointers at all will be awesome.
>
> --
> DaveB


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


Re: [Samba] Making Share Visible To Particular Users Only

2006-03-17 Thread webster
Hello.

I use:
include = %G.conf
for this purpose.


Gx




"Guillermo Dalla Vecchia" <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
03/17/06 10:19 AM

 
To: samba@lists.samba.org
cc: 
Subject:Re: [Samba] Making Share Visible To Particular Users 
Only

Also, logon scripts only work with a domain configuration whereas I have a
workgroup. Is there some way to this in a workgroup??
Regards

On 3/17/06, Guillermo Dalla Vecchia <[EMAIL PROTECTED]> wrote:
>
> Sorry, I didn't check the reply address.
> How about Linux Clients?? could it be done something similar for them?
> (logon scripts only work with Windows Clients).
>
>
> On 3/17/06, Craig White < [EMAIL PROTECTED]> wrote:
> >
> > Let's keep this on list please.
> >
> > A logon script is a script so yes, it could be done that way.
> >
> > A share that isn't browseable is still there, it just doesn't show up 
in
> > a network browser. You can still connect to it, access privileges
> > permitting. Similar to ADMIN$ or C$ from a Windows 'server'
> >
> > Craig
> >
> > On Fri, 2006-03-17 at 02:42 -0300, Guillermo Dalla Vecchia wrote:
> > > Could it be done with the logon scripts option?? I think this works
> > > with windows clients. For Linux clients could it be done setting up
> > > correctly fstab (to mount the share at boot time)?? the shares 
require
> > > username and password though...
> > > Regards
> > >
> > >
> > > On 3/16/06, Craig White < [EMAIL PROTECTED]> wrote:
> > > On Thu, 2006-03-16 at 23:19 -0300, Guillermo Dalla Vecchia
> > > wrote:
> > > > Dear Friends,
> > > >
> > > > Is It Possible to Make a *Share* Visible to a List of 
Users
> > > *Only* ?
> > > >
> > > > e.g. If have shares Likes Account, Sales, Support
> > > > Then I would Like make respective *share* visible
> > > > *only* to persons in respective dept.
> > > > Thanks and Best Regards.
> > > 
> > > not that I know of but you can set browsable to off (less
> > > visibility)
> > > and have those users mount the share by a script or
> > > individually set by
> > > 'reconnect at logon' and of course you can control read and
> > > write access
> > > within each share.
> > >
> > > Craig


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


RE: [Samba] Re: include statement in smb.conf

2005-12-09 Thread webster
Sorry, I mistyped.  I meant:

include = /etc/samba/g%G.conf

As I see it, this should do what you want.





"David Lucas" <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
12/08/05 03:20 PM

 
To: 
cc: 
Subject:RE: [Samba] Re: include statement in smb.conf

Hmmm, I've tried that and it worked!!  But, it is not what I'm looking to 
do.

Say I have a User in the Windows 2000 Active Directory with their primary
group set to Staff.  What I would like is to have samba include
smb.conf.staff as their configuration and that would contain things such 
as
different shares and special veto options and their Home directory would 
be
located in /home/staff/%username%.

Now, if I have a user with their primary group set to Student then I want 
it
to load smb.conf.student with a different set a shares and veto files and
such.  And their home directory would be located in
/home/students/%Year_Of_Gradutaion%/%username%.

Is there away that I will be able to do this??

The only way that I got it to work was to not use the %G.  And we just 
have
WAY too many users to specify a config file for each user.

Again, thank you.

Dave

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Thursday, December 08, 2005 11:19 AM
To: samba@lists.samba.org
Subject: RE: [Samba] Re: include statement in smb.conf

I have been doing this successfully for years (w/ Samba 2.2.8a)

include = /etc/samba/u%U.conf

Of course, this is just the user(s) primary group we are talking about .


Gary R. Webster



"David Lucas" <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
12/08/05 07:48 AM

 
To: 
cc: 
 
Subject:RE: [Samba] Re: include statement in smb.conf

Yeah, I have tried it and it didn't work.  But as soon as I added the %m
variable or the name of the file it worked.  This solution will not work 
for
me seeing I need this based on groups..

Does anyone have a way that I could get this to work??  I REALLY want this 

to
work so I can get away from Windows and use Linux.

Dave

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rex
Dieter
Sent: Wednesday, December 07, 2005 9:55 PM
To: samba@lists.samba.org
Subject: [Samba] Re: include statement in smb.conf

David Lucas wrote:

> I'm wondering if it possible to use the %G variable to include config 
file
> based on group membership.
...
> Is this even possible??

Theoretically should work, why not try it?  (-:

-- Rex


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


RE: [Samba] Re: include statement in smb.conf

2005-12-08 Thread webster
I have been doing this successfully for years (w/ Samba 2.2.8a)

include = /etc/samba/u%U.conf

Of course, this is just the user(s) primary group we are talking about .


Gary R. Webster




"David Lucas" <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
12/08/05 07:48 AM

 
To: 
cc: 
 
Subject:RE: [Samba] Re: include statement in smb.conf

Yeah, I have tried it and it didn't work.  But as soon as I added the %m
variable or the name of the file it worked.  This solution will not work 
for
me seeing I need this based on groups..

Does anyone have a way that I could get this to work??  I REALLY want this 
to
work so I can get away from Windows and use Linux.

Dave

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rex
Dieter
Sent: Wednesday, December 07, 2005 9:55 PM
To: samba@lists.samba.org
Subject: [Samba] Re: include statement in smb.conf

David Lucas wrote:

> I'm wondering if it possible to use the %G variable to include config 
file
> based on group membership.
...
> Is this even possible??

Theoretically should work, why not try it?  (-:

-- Rex


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


RE: [Samba] Free space/capacity displayed as garbage...

2005-10-04 Thread webster
Indeed, the freespace reported may not always be correct.

However, what you relay is not what I'm seeing on any of my Samba servers.
If I have 'max disk size = 1', the freespace seen from my Windows 
clients is 10GB, until the actual freespace drops below that, when they 
then see the actual freespace (ie. 2GB) ...




"Marc Gregoire" <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
10/04/05 04:05 PM

 
To: 
cc: 
Subject:RE: [Samba] Free space/capacity displayed as garbage...

Hi,

Thanks for the reponse.
I tried it, but that's not the correct solution. I've set it to 10 GB and 
then it always says that there is 10 GB free, even if
there is only 2 GB free. At least, it doesn't display as garbage anymore, 
but it's not correct.


Regards,
Marc

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: dinsdag 4 oktober 2005 20:07
> To: Marc Gregoire
> Cc: samba@lists.samba.org
> Subject: RE: [Samba] Free space/capacity displayed as garbage...
>
> Have you tried using the 'max disk size' parameter in  smb.conf  ?
>
>
>
>
> "Marc Gregoire" <[EMAIL PROTECTED]>
> Sent by: [EMAIL PROTECTED]
> 10/04/05 01:54 PM
>
>
> To: 
> cc:
> Subject:RE: [Samba] Free space/capacity
> displayed as garbage...
>
> Anyone?
> Is there something else that I can do to help pinpoint the problem?
>
> Best  Wishes,
> Marc
>
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]
> On Behalf Of
> > Marc Gregoire
> > Sent: zaterdag 1 oktober 2005 14:00
> > To: samba@lists.samba.org
> > Cc: 'Gerald (Jerry) Carter'
> > Subject: RE: [Samba] Free space/capacity displayed as garbage...
> >
> >
> > > -Original Message-
> > > From: Gerald (Jerry) Carter [mailto:[EMAIL PROTECTED]
> > >
> > > Marc Gregoire wrote:
> > >
> > > >> I'm having some strange problems with Samba.
> > > >> I have shared a linux folder on my samba and have
> mapped it to a
> > > >> drive letter in Windows XP (I also tried with Windows 2000).
> > > >> When I right click my mapped drive and click on
> > properties to view
> > > >> the free space and capacity, I get all garbage as can be
> > seen from
> > > >> the screenshot at:
> > > >> http://www.nuonsoft.com/temp/samba_free_space.jpg
> > > >> I'm running the latest version 3.0.20 and it is running on
> > > AlphaCore
> > > >> which is Fedora Core 3 for the Alpha (64 bit platform). It
> > > compiled
> > > >> without problems with gcc 3.4.3.
> > > >> Because of this issue, I'm unable to use my samba network
> > > share from
> > > >> programs that check the freespace before doing
> > something, like for
> > > >> example creating a cd image.
> > >
> > > Marc,
> > >
> > > Please try the just release 3.0.20a since there were some 64-bit
> > > compile issues fixed in it.  Also, Can you very that
> Samba has been
> > > built with LFS ?
> >
> > Hi,
> >
> > Thank you for the response.
> > I have tried version 3.0.20a, but I get the same problems.
> > During configure, I get the following message:
> >   checking for LFS support... yes
> > So I suppose LFS is being used.
> > After installing the new version I have rebooted the system to make
> > sure, but same problem.
> > I have also saved the full "make" output (see attachment)
> which shows
> > some pointer truncation warnings. Perhaps those are causing my
> > problems?
> >
> >
> > Best Wishes,
> > Marc
> > --
> > Marc Gregoire
> > NuonSoft
> > Website: http://www.nuonsoft.com


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


RE: [Samba] Free space/capacity displayed as garbage...

2005-10-04 Thread webster
Have you tried using the 'max disk size' parameter in  smb.conf  ?





"Marc Gregoire" <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
10/04/05 01:54 PM

 
To: 
cc: 
Subject:RE: [Samba] Free space/capacity displayed as garbage...

Anyone?
Is there something else that I can do to help pinpoint the problem?

Best  Wishes,
Marc

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Marc Gregoire
> Sent: zaterdag 1 oktober 2005 14:00
> To: samba@lists.samba.org
> Cc: 'Gerald (Jerry) Carter'
> Subject: RE: [Samba] Free space/capacity displayed as garbage...
>
>
> > -Original Message-
> > From: Gerald (Jerry) Carter [mailto:[EMAIL PROTECTED]
> >
> > Marc Gregoire wrote:
> >
> > >> I'm having some strange problems with Samba.
> > >> I have shared a linux folder on my samba and have mapped it to a
> > >> drive letter in Windows XP (I also tried with Windows 2000).
> > >> When I right click my mapped drive and click on
> properties to view
> > >> the free space and capacity, I get all garbage as can be
> seen from
> > >> the screenshot at:
> > >> http://www.nuonsoft.com/temp/samba_free_space.jpg
> > >> I'm running the latest version 3.0.20 and it is running on
> > AlphaCore
> > >> which is Fedora Core 3 for the Alpha (64 bit platform). It
> > compiled
> > >> without problems with gcc 3.4.3.
> > >> Because of this issue, I'm unable to use my samba network
> > share from
> > >> programs that check the freespace before doing
> something, like for
> > >> example creating a cd image.
> >
> > Marc,
> >
> > Please try the just release 3.0.20a since there were some 64-bit
> > compile issues fixed in it.  Also, Can you very that Samba has been
> > built with LFS ?
>
> Hi,
>
> Thank you for the response.
> I have tried version 3.0.20a, but I get the same problems.
> During configure, I get the following message:
>   checking for LFS support... yes
> So I suppose LFS is being used.
> After installing the new version I have rebooted the system
> to make sure, but same problem.
> I have also saved the full "make" output (see attachment)
> which shows some pointer truncation warnings. Perhaps those
> are causing my problems?
>
>
> Best Wishes,
> Marc
> --
> Marc Gregoire
> NuonSoft
> Website: http://www.nuonsoft.com


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


[Samba] 'username map' --> password(s)

2005-04-01 Thread webster
Hello.

One of the advertised uses of the 'username map' smb.conf parameter is:
'to map multiple users to a single username so that they can more easily 
share files.'

This sounds great, & is what I've wanted to do more than once.
However, there is the issue of the username mapping taking place before 
the authentication.
This requires the individual users to give a different password than the 
one that goes with their ID (& that they are already supplying).
For the stated purpose, this operation appears to make little sense.

Am I missing something here?
Is there a way around this, or another good way to accomplish what I'm 
wanting?

Thanks.


Gary R. Webster

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


Re: [Samba] OS/2 EAs

2005-03-22 Thread webster
Jeremy Allison <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
03/22/05 12:11 PM
Please respond to Jeremy Allison

 
To: "Gerald (Jerry) Carter" <[EMAIL PROTECTED]>
cc: samba@lists.samba.org, Anthony Linux <[EMAIL PROTECTED]>
Subject:Re: [Samba] Strong Session Key and XP
On Tue, Mar 22, 2005 at 05:10:18AM -0600, Gerald (Jerry) Carter wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Anthony Linux wrote:
>
> ...
> | I did a diff of the default Win XP security settings
> | and what was applied by the template.  Found the
> | culprit:  Domain Member -- Require Strong
> | (Windows 2000 or later) Session Key: Enabled.
> |
> | Once I disabled that, it worked fine.  Users
> | could login now, no problems.
> |
> | So, I wanted to share that tidbit, in case anyone
> | else is having this problem.
> |
> | Also, I was wondering if Samba can satisfy this
> | security setting?  That is, keep the Strong Session
> | Key enabled on the XP workstation and configure the
> | server to comply?  I'm worried that my security people
> | won't like me deviating from their default template
> | -- but if it's the only way to make it work, then so be
> | it.
>
> This is the 128-bit session key right ?  Andrew Bartlett
> was working on that but has since jumped ship to work on
> Samba 4.  So right now, no one is looking at this for
> Samba 3.  But things can change.

It's on my list of things to do after the EA support for
OS/2 and the per-file-change-notify patch. So many things,
so little time I'll be bugging Mr. Bartlett about it
too :-).

Jeremy. 




So, you're saying that OS/2 EA support is not currently in Samba3 ?


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


RE: [Samba] deleting a file

2005-02-07 Thread webster
Which service pack?
I think that this is a known Windows bug...





"Biggs, Eric J [ITS]" <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
02/07/05 12:44 PM

 
To: 
cc: 
Subject:RE: [Samba] deleting a file

Trying to post again...

Eric Biggs

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Biggs, Eric J [ITS]
Sent: Friday, February 04, 2005 4:18 PM
To: samba@lists.samba.org
Subject: [Samba] deleting a file

Has anyone observed this behavior when deleting a file?

I had a user map a Samba share to his WIN2K machine and use the Windows
Explorer delete function to delete a rather large file (600M). Windows
prompted him in the usual manner: 'Are you sure you want to delete this
file?'  (By the way it was the actual "delete" warning, not the recycle
bin warning.)  In the Explorer window, the file disappeared.  When he
refreshed the window, the file reappeared.  It hadn't been deleted at
all.

I investigated from the Linux side and determined that his userid didn't
have appropriate authority to delete the file.  We changed the
permissions accordingly, went back to Explorer, and successfully deleted
the file.  That explains why he couldn't delete it, but why didn't Samba
prompt him with some sort of access violation, or some other message?
Is this working as designed, or is there some parameter that I can turn
on to fix this?

We're using Red Hat AS 3.0, Samba Version: 3.0.4 (Red Hat RPM), Release:
6.3E.  We're not part of any domain controller or active directory, just
plain Linux authentication.

Thanks,

Eric Biggs

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

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


Re: [Samba] Netbios Aliases and %L and port 445

2005-01-21 Thread webster
|
|Andrew Bartlett wrote:
|
|| If there was, we would use it.  This information is
|| simply no longer supplied by the client, when it talks to
|| port 445.
|
|
|Andrew's right.
|
|The only alternative is to use a multi-homed samba host
|(even virtual IPs) and the %i variable.  If my memory serves
|me correctly.
|
|
|cheers, jerry
|

What's the downside to 'disabling' port 445 with "smb ports =" ?

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


Re: [Samba] Re: 'add/change/delete share command'(s) in smb.conf

2004-10-24 Thread webster
Igor & David,

Thanks for the replies.
However, what I think I'm reading is that there is no current solution for 
my problem, right?

As Igor states, how would the Windows GUI 'add/change/delete'(or even 
command-line 'rmtshare') commands (know to) use this [config] share?

I trust the 'user' , that's not a problem.
The problem is that I don't want them to always be 'root' on the Samba 
server, especially as they create most of the files.
There are other processes which rely on these files being owned by this 
particular user, not 'root' .


Gary R. Webster




Igor Belyi <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
10/16/04 01:38 AM

 
To: David Rankin <[EMAIL PROTECTED]>
cc: [EMAIL PROTECTED]
Subject:Re: [Samba] Re: 'add/change/delete  share command'(s)  in 
smb.conf

On a second thought... It doesn't matter if path is '/' or '/etc/samba'
- if user has access to edit smb.conf directly he/she can create similar
share with 'path = /' and 'force user = root' any time and have access
to the whole computer. So, I agree - you'd better trust 'theusername' as
if it were 'root'.

Igor

Igor Belyi wrote:

> Hm... Interesting idea... Since access is necessary only to smb.conf
> than probably changing share's path to
> 'path = /etc/samba' could be a better alternative...
>
> But then again.. how 'add/change/delete share commands' will know that
> this particular user has access to this [config] share even if path is
> left as '/'? So, it probably won't work via those commands - user will
> need to edit smb.conf by hand while accessing it via the [config] share.
>
> Igor
>
> David Rankin wrote:
>
>> This will work:
>>
>> [config]
>>comment = Admin Share
>>path = /
>>valid users = theusername
>>force user = root
>>force group = theusergroup
>>admin users = theusername
>>writeable = Yes
>>
>>  W A R N I N G  whoever 'theusername' is will have complete
>> access
>> to all files listed in or below the path directory (your entire box
>> as shown
>> above). If you can limit the path to say /home or wherever the files of
>> concern are, you would be much better off.
>>
>> --
>> David C. Rankin, J.D., P.E.
>> Rankin * Bertin, PLLC
>> 510 Ochiltree Street
>> Nacogdoches, Texas 75961
>> (936) 715-9333
>> www.rankin-bertin.com
>> - Original Message - From: "Igor Belyi"
>> <[EMAIL PROTECTED]>
>> To: <[EMAIL PROTECTED]>
>> Sent: Friday, October 15, 2004 11:17 PM
>> Subject: [Samba] Re: 'add/change/delete share command'(s) in smb.conf
>>
>>
>>
>>> [EMAIL PROTECTED] wrote:
>>>
>>>
>>>> Hello.
>>>>
>>>> I need to allow one of my users to add & delete shares on my Samba
>>>>
>>>
>> server
>>
>>
>>>> through the 'server manager' applet on his client .
>>>>
>>>> This same user also writes some files to the same Samba server.
>>>> I don't want the files that he writes to be owned/written by 'root' .
>>>>
>>>> The way I understand the 'add share command' currently, this is not
>>>> possible.
>>>>
>>>> Am I missing something?
>>>>
>>>
>>> I think you are right. User can not have more than 1 identity when
>>> connecting to Samba. If it's an Administrator everything will be done
>>> from the root account.
>>>
>>> Igor

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


[samba] 'add/change/delete share command'(s) in smb.conf

2004-10-11 Thread webster
Hello.

I need to allow one of my users to add & delete shares on my Samba server 
through the 'server manager' applet on his client .

This same user also writes some files to the same Samba server.
I don't want the files that he writes to be owned/written by 'root' .

The way I understand the 'add share command' currently, this is not 
possible.

Am I missing something?

Thanks.


Gary R. Webster

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


[Samba] Samba Server (on Linux) authenticating it's clients against an OS/2 Domain

2004-07-21 Thread webster
Hello.

The subject pretty much sums-up my question.  Can this be done?

I'm thinking that this was fairly standard/easy when I first started using 
Samba years ago, & that I'd seen some discussion/instructions about it.
Now however, all I can find is unanswered postings regarding this 
question.

I've tried following the relevant guides for having a Samba server 
authenticate users against a WinNT domain.
The point at which I appear to be failing there is in joining the Samba 
server to the Domain.
>From 'net rpc join -S OS2-PDC -U os2admin%secret' , I receive:
could not initialise lsa pipe
could not obtain sid for domain

Thanks for any pointers/advice .


Gary R. Webster

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


Re: [Samba] hosting library (ie. PVCS) on Samba

2004-07-16 Thread webster
OK; this appears to be working fine w/ ext3 .
Thanks for the suggestion.

Now, I just have to select & learn how to optimize another filesystem.
I guess it will be either XFS or ext3 ...


Gx




Jeremy Allison <[EMAIL PROTECTED]>
07/14/04 08:10 PM
Please respond to Jeremy Allison

 
To: [EMAIL PROTECTED]
cc: Jeremy Allison <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
Subject:Re: [Samba] hosting library (ie. PVCS) on Samba

On Wed, Jul 14, 2004 at 04:43:40PM -0400, [EMAIL PROTECTED] wrote:
> Thanks for the reply.
>
> Indeed, the smbd process is unkillable via kill -9 .
> Also, all Samba clients are out-to-lunch at this point.
>
> Here are the last few lines from strace(the file is named 'afile'):
> stat64("afile", {st_mode=S_IFREG|0664, st_size=320, ...}) = 0
> getxattr("afile", "user.DOSATTRIB", 0xbfffb220, 256) = 4
> getxattr("afile", "user.DOSATTRIB", 0xbfffb220, 256) = 4
> stat64("afile", {st_mode=S_IFREG|0664, st_size=320, ...}) = 0
> getxattr("afile", "system.posix_acl_access", 0xbfffaff0, 132) = -1 
ENODATA
> (No data available)
> stat64("afile", {st_mode=S_IFREG|0664, st_size=320, ...}) = 0
> getxattr("afile", "user.DOSATTRIB", 0xbfffb070, 256) = 4
> setxattr("afile", "user.DOSATTRIB", 0xbfffb1c0, 4,
>
> The owner of the file can flip the 'read-only' bit on & off all day.
> But, when another user tries it(on or off), I get the aforementioned
> 'hang.'
>
> SuSE 9.1 uses reiserfs by default, with EAs & ACLs enabled.
> That is what I'm using.

Looks like a kernel bug with reiserfs and EA's. Can you test
with another EA supporting filesystem and see if the same
problem occurs ?

Jeremy.


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


Re: [Samba] hosting library (ie. PVCS) on Samba

2004-07-14 Thread webster
Thanks for the reply.

Indeed, the smbd process is unkillable via kill -9 .
Also, all Samba clients are out-to-lunch at this point.

Here are the last few lines from strace(the file is named 'afile'):
stat64("afile", {st_mode=S_IFREG|0664, st_size=320, ...}) = 0
getxattr("afile", "user.DOSATTRIB", 0xbfffb220, 256) = 4
getxattr("afile", "user.DOSATTRIB", 0xbfffb220, 256) = 4
stat64("afile", {st_mode=S_IFREG|0664, st_size=320, ...}) = 0
getxattr("afile", "system.posix_acl_access", 0xbfffaff0, 132) = -1 ENODATA 
(No data available)
stat64("afile", {st_mode=S_IFREG|0664, st_size=320, ...}) = 0
getxattr("afile", "user.DOSATTRIB", 0xbfffb070, 256) = 4
setxattr("afile", "user.DOSATTRIB", 0xbfffb1c0, 4,

The owner of the file can flip the 'read-only' bit on & off all day.
But, when another user tries it(on or off), I get the aforementioned 
'hang.'

SuSE 9.1 uses reiserfs by default, with EAs & ACLs enabled.
That is what I'm using.


Gx




Jeremy Allison <[EMAIL PROTECTED]>
07/14/04 02:32 PM
Please respond to Jeremy Allison

 
To: [EMAIL PROTECTED]
cc: [EMAIL PROTECTED]
Subject:Re: [Samba] hosting library (ie. PVCS) on Samba

On Wed, Jul 14, 2004 at 02:07:35PM -0400, [EMAIL PROTECTED] wrote:
>
> 1)  use 'store dos attributes' in smb.conf , so that the 'read-only' bit
> is kept in EAs, rather than removing the 'w' Unix permission bit for UGO 
.
>  User2 has 'rwx' access to the file through their primary group.  When
> User2 tries to remove the 'read-only' bit from the file, smbd hangs 
hard.
> I can't even kill the process, nor do an 'ls' in the local directory 
where
> the archive file lives.  I receive this in log.smbd:
> smbd/nttrans.c:call_nt_transact_ioctl(2076)  \
> call_nt_transact_ioctl(0x90028): Currently not implemented.
> I've tried this with 'dos filemode' set to both yes & no, with no
> difference in the result.

This is the correct fix. When you say it "hangs hard" what exactly do
you mean ? Is it unkillable via kill -9 ? What does strace say ? Sounds
like a kernel EA bug. What filesystem are you using ?

Jeremy.

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


[Samba] hosting library (ie. PVCS) on Samba

2004-07-14 Thread webster
Hello.
I believe that I've done my due diligence in researching what info. is 
currently available on this issue.
I have been jacking with this for days, & believe that I have tried all 
possible solutions.

I am basically trying to move a [Merant] PVCS installation from an OS/2 
file server to a SuSE/Samba file server.
This installation consists of 'standard' source archives, client setup 
files, binary executables, archive meta-data files, temporary transfer 
directories, & administrative configuration files.

The primary issue is that the archive files are generally marked 
'read-only' from the Windows clients.  Whenever User1 checks in, labels, 
promotes, creates, etc. a source archive, he then becomes the owning user 
of that file.
Now, User2 is not able to remove the 'read-only' bit, which is most 
necessary for the library to function.


'solutions' tried:

1)  use 'store dos attributes' in smb.conf , so that the 'read-only' bit 
is kept in EAs, rather than removing the 'w' Unix permission bit for UGO . 
 User2 has 'rwx' access to the file through their primary group.  When 
User2 tries to remove the 'read-only' bit from the file, smbd hangs hard. 
I can't even kill the process, nor do an 'ls' in the local directory where 
the archive file lives.  I receive this in log.smbd: 
smbd/nttrans.c:call_nt_transact_ioctl(2076)  \ 
call_nt_transact_ioctl(0x90028): Currently not implemented.
I've tried this with 'dos filemode' set to both yes & no, with no 
difference in the result.

2)  Use 'extended' ACLs to explicitly give User2 'rwx' rights to the 
archive.  Whenever User1's PVCS client software marks the archive 
'read-only' the ACL 'mask' loses the 'w' permission, which obviously 
screws User2 .

3)  In researching this on USENET (& the archives of this list), some 
people have recommended using 'force user' in smb.conf , so that the *nix 
OS sees all Samba users of the service as the same user.  This solves some 
problems, but leaves me with the issue of now having no administrative 
users.  There are files/directories in the PVCS installation which need to 
be protected from standard library users.


'Solution' #1 above feels cleanest to me, & is what I would like to 
implement long-term.  However, there appears to be a bug or missing 
function in this area in Samba @ this point.
I have tried Samba versions 2.2.8, 2.2.8-SuSE, 2.2.9, 3.0.2a, 3.0.4-SuSE, 
& 3.0.4 .

Any direction would be appreciated.
Please feel free to ask questions if my explanation is not clear.
This is a fairly specific issue, & I think that I can sufficiently answer 
related questions.


Gary R. Webster

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


Re: [Samba] 'multi-layered' authentication

2004-01-28 Thread webster
Thanks for the reply.

Sorry if I've not been clear on my requirements.
For a given list of IP subnets, I need to allow everyone access.
Outside this list, I need to do user authentication.
Many of these clients are WinXP (& 2K), which requires using
encrypted passwords.
Ideally, I would authenticate against a 'corporate' LDAP server.

No one is using a 'common' (with other apps) LDAP server to do
encrypted Samba authentication?

What are my practical choices for doing encrypted Samba 
authentication against?  1) smbpasswd, & 2) a Windows domain ?


To: [EMAIL PROTECTED]
cc: Andrew Bartlett <[EMAIL PROTECTED]>, [EMAIL PROTECTED] 
Subject:Re: [Samba] 'multi-layered' authentication


On Fri, 2004-01-23 at 10:20, [EMAIL PROTECTED] wrote:
> Thanks for the reply.
> I am missing something(s) here, & I apologize for that.
>
> You are saying that there is still no way to use PAM on a Samba
> server for authenticating WindowsXP (requires encrypted) clients?

Correct.  This is a protocol limitation, it will 'still' be a problem
forever.

> If that's the case, is there any way to do what I want?

That very much depends what you want, you have not been very clear on
that point.

> Are you saying to use Samba's 'smbpasswd' file,
> or something besides PAM, for the authentication,
> but use PAM for the user account restriction?

Yes.

> Can I do encrypted authentication for Samba against an LDAP server
> which I don't control (anonymous bind) ?

NO.

--
Andrew Bartlett [EMAIL PROTECTED]
Manager, Authentication Subsystems, Samba Team  [EMAIL PROTECTED]
Student Network Administrator, Hawker College   [EMAIL PROTECTED]
http://samba.org http://build.samba.org http://hawkerc.net
To: Andrew Bartlett <[EMAIL PROTECTED]>
cc: [EMAIL PROTECTED] 
Subject:Re: [Samba] 'multi-layered' authentication 

Thanks for the reply.
I am missing something(s) here, & I apologize for that.

You are saying that there is still no way to use PAM on a Samba
server for authenticating WindowsXP (requires encrypted) clients?

If that's the case, is there any way to do what I want?

Are you saying to use Samba's 'smbpasswd' file,
or something besides PAM, for the authentication,
but use PAM for the user account restriction?

Can I do encrypted authentication for Samba against an LDAP server
which I don't control (anonymous bind) ?


To: [EMAIL PROTECTED]
cc: Andrew Bartlett <[EMAIL PROTECTED]>, [EMAIL PROTECTED] 
Subject:Re: [Samba] 'multi-layered' authentication

On Thu, 2004-01-22 at 10:34, [EMAIL PROTECTED] wrote:
> Much thanks for the reply.
>
>
> Now, please tell me that this paragraph, from the description for
> 'obey pam restrictions' in smb.conf(5), is old (& false in Samba 3):
>
> "Note that Samba always ignores PAM for authentication in the case of
>  encrypt passwords = yes.  The reason is that PAM modules cannot
> support the challenge/response authentication mechanism needed
> in the presence of SMB password encryption."

This paragraph is correct (if slightly badly worded).  We honour account
and session modules, but not auth modules.

'pam password change' causes us to honer password modules, btw.

Andrew Bartlett
--
Andrew Bartlett [EMAIL PROTECTED]
Manager, Authentication Subsystems, Samba Team  [EMAIL PROTECTED]
Student Network Administrator, Hawker College   [EMAIL PROTECTED]
http://samba.org http://build.samba.org http://hawkerc.net
On Sat, 2004-01-17 at 07:00, [EMAIL PROTECTED] wrote:
> I need to allow [read] access to a Samba server using both IP filtering 
&
> UserIDs .
>
> For a given list of IP subnets, any user should have access.
> Outside these 'trusted' subnets, I need to do User authentication.
>
> I can handle the User authentication OK in several ways.
> However, I don't see any way to do the 'short circuit' allow for some 
IPs,
> then use User authentication after that.
> If I do a 'deny', in the InetD or in Samba, then the 'untrusted' subnets
> are denied, & not allowed to try logging-in .
>
> Any ideas?
>
> I originally thought that PAM would give me this functionality, but now 
I
> don't see it.
> Is PAM at all popular for Samba 'authentication' ?

You could set 'obey pam restrictions', and then write an 'account'
module the enforced these restrictions.  That assumes you want to always
require passwords, but only allow some particular accounts from the
untrusted IPs.

Andrew Bartlett
--
Andrew Bartlett [EMAIL PROTECTED]
Manager, Authentication Subsystems, Samba Team  [EMAIL PROTECTED]
Student Network Administrator, Hawker College   [EMAIL PROTECTED]
http://samba.org http://build.samba.org http://hawkerc.net

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


Re: [Samba] 'multi-layered' authentication

2004-01-22 Thread webster
Thanks for the reply.
I am missing something(s) here, & I apologize for that.

You are saying that there is still no way to use PAM on a Samba
server for authenticating WindowsXP (requires encrypted) clients?

If that's the case, is there any way to do what I want?

Are you saying to use Samba's 'smbpasswd' file,
or something besides PAM, for the authentication,
but use PAM for the user account restriction?

Can I do encrypted authentication for Samba against an LDAP server
which I don't control (anonymous bind) ?


To: [EMAIL PROTECTED]
cc: Andrew Bartlett <[EMAIL PROTECTED]>, [EMAIL PROTECTED] 
Subject:Re: [Samba] 'multi-layered' authentication

On Thu, 2004-01-22 at 10:34, [EMAIL PROTECTED] wrote:
> Much thanks for the reply.
>
>
> Now, please tell me that this paragraph, from the description for
> 'obey pam restrictions' in smb.conf(5), is old (& false in Samba 3):
>
> "Note that Samba always ignores PAM for authentication in the case of
>  encrypt passwords = yes.  The reason is that PAM modules cannot
> support the challenge/response authentication mechanism needed
> in the presence of SMB password encryption."

This paragraph is correct (if slightly badly worded).  We honour account
and session modules, but not auth modules.

'pam password change' causes us to honer password modules, btw.

Andrew Bartlett
--
Andrew Bartlett [EMAIL PROTECTED]
Manager, Authentication Subsystems, Samba Team  [EMAIL PROTECTED]
Student Network Administrator, Hawker College   [EMAIL PROTECTED]
http://samba.org http://build.samba.org http://hawkerc.net
On Sat, 2004-01-17 at 07:00, [EMAIL PROTECTED] wrote:
> I need to allow [read] access to a Samba server using both IP filtering 
&
> UserIDs .
>
> For a given list of IP subnets, any user should have access.
> Outside these 'trusted' subnets, I need to do User authentication.
>
> I can handle the User authentication OK in several ways.
> However, I don't see any way to do the 'short circuit' allow for some 
IPs,
> then use User authentication after that.
> If I do a 'deny', in the InetD or in Samba, then the 'untrusted' subnets
> are denied, & not allowed to try logging-in .
>
> Any ideas?
>
> I originally thought that PAM would give me this functionality, but now 
I
> don't see it.
> Is PAM at all popular for Samba 'authentication' ?

You could set 'obey pam restrictions', and then write an 'account'
module the enforced these restrictions.  That assumes you want to always
require passwords, but only allow some particular accounts from the
untrusted IPs.

Andrew Bartlett
--
Andrew Bartlett [EMAIL PROTECTED]
Manager, Authentication Subsystems, Samba Team  [EMAIL PROTECTED]
Student Network Administrator, Hawker College   [EMAIL PROTECTED]
http://samba.org http://build.samba.org http://hawkerc.net

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


Re: [Samba] 'multi-layered' authentication

2004-01-21 Thread webster

Much thanks for the reply.


Now, please tell me that this paragraph, from the description for
'obey pam restrictions' in smb.conf(5), is old (& false in Samba 3):

"Note that Samba always ignores PAM for authentication in the case of
 encrypt passwords = yes.  The reason is that PAM modules cannot
support the challenge/response authentication mechanism needed
in the presence of SMB password encryption."





To:[EMAIL PROTECTED]
cc:[EMAIL PROTECTED]
Subject:Re: [Samba] 'multi-layered' authentication


On Sat, 2004-01-17 at 07:00, [EMAIL PROTECTED] wrote:
> I need to allow [read] access to a Samba server using both IP filtering &
> UserIDs .
>
> For a given list of IP subnets, any user should have access.
> Outside these 'trusted' subnets, I need to do User authentication.
>
> I can handle the User authentication OK in several ways.
> However, I don't see any way to do the 'short circuit' allow for some
IPs,
> then use User authentication after that.
> If I do a 'deny', in the InetD or in Samba, then the 'untrusted' subnets
> are denied, & not allowed to try logging-in .
>
> Any ideas?
>
> I originally thought that PAM would give me this functionality, but now I
> don't see it.
> Is PAM at all popular for Samba 'authentication' ?

You could set 'obey pam restrictions', and then write an 'account'
module the enforced these restrictions.  That assumes you want to always
require passwords, but only allow some particular accounts from the
untrusted IPs.

Andrew Bartlett

--
Andrew Bartlett [EMAIL PROTECTED]
Manager, Authentication Subsystems, Samba Team  [EMAIL PROTECTED]
Student Network Administrator, Hawker College   [EMAIL PROTECTED]
 http://samba.org http://build.samba.org http://hawkerc.net



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


[Samba] 'multi-layered' authentication

2004-01-16 Thread webster
I need to allow [read] access to a Samba server using both IP filtering & 
UserIDs .

For a given list of IP subnets, any user should have access.
Outside these 'trusted' subnets, I need to do User authentication.

I can handle the User authentication OK in several ways.
However, I don't see any way to do the 'short circuit' allow for some IPs, 
then use User authentication after that.
If I do a 'deny', in the InetD or in Samba, then the 'untrusted' subnets 
are denied, & not allowed to try logging-in .

Any ideas?

I originally thought that PAM would give me this functionality, but now I 
don't see it.
Is PAM at all popular for Samba 'authentication' ?

Thanks.

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


[Samba] Some notes...(and a compliment for Samba people)

2002-06-10 Thread WEBSTER, Greg



On friday I was 
having a heck of a time using Samba...especially in regard to CUPS and printing. 
I posted on the list some big questions about my setup and what could be done 
with it, and was a little disheartened not to get an answer.
 
Later that day, 
completely out of the blue, I received a long-distance call from John H. 
Terpstra, one of the Samba lead people. He must have tracked down my company 
name and phone number from my email address. We ended up talking for about an 
hour about my setup (Linux, no local users, winbindd, Samba, CUPS), 
etc.
 
I don't have it 
-quite- working yet, possibly due to something that will be fixed in 2.2.5, but 
I do want to express my appreciation for that phone call and the free help that 
John gave. Following are some notes that I made in that conversation...some are 
only really applicable to me, but perhaps some of them will be helpful to 
others. Excuse the fact that they are not a clear step-by-step guide to solving 
a particular problem, but there was not a single particular problem that I 
had.
 

- obey pam 
restrictions = yes
- need to read 
man pages on "password level = 8" and "username level = 8" to see if it fits to 
implement (it doesn't really in this 
case)
- an immediate 
fix -might- be 'nt spoolss = no' but point and click printer support will not 
work, hence you can't use 'Add 
Printer'
- kernel 
should be upgraded to 2.4.18 & remove socket options entry in 
smb.conf (one or the other, not really 
necessary)
- ADD: large 
readwrite = yes
- ADD: name 
resolve order = wins bcast host (we use wins for 
name resolution)
- CHANGE: password 
server = *
- ADD: utmp = yes 
(then the 'w' and 'who' commands in a terminal will show samba connections 
properly...very useful when building some future 
tools)
- REMOVE: lock 
dir = ... 
(unnecessary)
- REMOVE: 
guest account = ftp (might have been causing 
problems with permissions)
- ADD: acl 
support = no (not sure where I got this from. 
'testparm' down't like it)
- ADD: hide 
unreadable = yes
- CHANGE: under 
[printers] path = /var/spool/samba (this directory should be owned by root, 
perm. 775, sticky bit set - this was a problem 
for me)
- CHANGE: under [printers] guest ok = yes (important!)
- /etc/samba/drivers/* to 777 (important!)
- directories under /etc/samba/drivers/ should replicate 
c:\winnt\systems32\spool\driver\* as far as directory structure (a light flicked on here...why doesn't the 
documentation say this clearly?)
- AD should be in mixed mode (we were anyway...mixed mode means support for 
pre-win2k machines, but may do other 
things)
 
Once again, thanks to 
John for an excellent, helpful call.
 
GregW
 
 



  
  
Greg WebsterSystems Administrator 
   
Alexander Holburn Beaudin & LangBarristers & Solicitors2700 - 
  700 W. Georgia St.Vancouver, BC V7Y 1B8 
  
Phone: (604) 
  688-1351Direct: (604) 643-2146Fax: (604) 669-7642 

   
Email: [EMAIL PROTECTED] Firm Web Site: http://www.ahbl.ca 
  

WARNING - CONFIDENTIALITY 
NOTICE This e-mail message and any attachments thereto are intended solely 
for the use of the individual or entity to whom it is addressed and contains 
information that is confidential and may be privileged and exempt from 
disclosure. Any distribution, copying or disclosure is strictly prohibited. If 
you have received this e-mail in error, please notify the sender immediately by 
return email and delete the message unread without making any copies. Thank you. 

 


[Samba] Samba and CUPS and drivers, oh my! (Why is this so **** hard?)

2002-06-07 Thread WEBSTER, Greg



I'm getting really 
frustrated again...please help.
 
Would someone please 
answer these questions and maybe I can figure out what is wrong with my 
installation:
 
1. I can add 
printers in CUPS, and they show up in Samba (after a 'service smb restart'). I 
can see them when I surf to \\waifer (the name of 
the Samba server), but when I double-click on them there, it can't find the 
drivers on the server (print$ path = /etc/samba/drivers/). Is this the location 
you have for your Windows client drivers in a working Samba/CUPS installation? 
If so, what does that directory contain? Can I copy the drivers from someone's 
working installation to the correct place on my system?
 
2. When I run 
'cupsaddsmb -a' or 'cupsaddsmb -a -U root' it asks me for the root password over 
and over and over again, apparently doing nothing. Ctrl-C (or any other rational 
combination of keys) won't exit it, and it appears to make no changes to 
/etc/samba/drivers/. As I understand it, cupsaddsmb should copy drivers from 
CUPS to Samba, creating drivers that will work for Windows clients who add those 
printers to their workstations. Am I correct? What form will those drivers take, 
and where will the converted drivers be located? Any idea why I am asked for the 
root password over and over?
 
3. There is a lot of 
talk about the "Add Printer" icon in (for example) \\waifer\Printers ...when I 
double-click this it appears to add the driver to my local Windows machine. When 
I choose (under Win2k) Properties on that printer, hit the Advanced tab, update 
the driver, it appears to update the driver to the Windows machine. This doesn't 
appear to be what the documentation says it will do (being that it should upload 
the drivers to the Samba share in print$. Is this correct?). How can I get the 
drivers in place on the Samba server without going through 
this?
 
4. The man pages for 
cupsaddsmb talk about downloading the Adobe Postscript drivers from Adobe's 
site. I went there, downloaded an executable file which said it was Adobe's 
Postscript printer drivers. I installed it on my Win2k machine, hoping that 
afterwards I could find those files somewhere and copy them to the Samba server 
somewhere. Where should these be copied to? What are they really for (since the 
idea as I understand it was that CUPS supplied working printer drivers and not 
all of the printer I am setting up handle PS)?
 
5. After all this, 
can anyone really, really say that they have a fully functional installation of 
CUPS and Samba which allows Windows clients to retrieve drivers for the printer 
they wish to install from the Samba server? I'm currently having my doubts and 
thinking there is a misconception here about where the drivers are coming from, 
where they are installed, and that this is in any way a simple 
process.
 
Thanks! Once this is 
done and working, I wish to make a donation to the Samba team, so I hope that is 
an impetus for help on this. I will also be glad to help improve documentation 
on this process once this is working.
 
Greg 
Webster
 
 



  
  
Greg WebsterSystems Administrator 
   
Alexander Holburn Beaudin & LangBarristers & Solicitors2700 - 
  700 W. Georgia St.Vancouver, BC V7Y 1B8 
  
Phone: (604) 
  688-1351Direct: (604) 643-2146Fax: (604) 669-7642 

   
Email: [EMAIL PROTECTED] Firm Web Site: http://www.ahbl.ca 
  

WARNING - CONFIDENTIALITY 
NOTICE This e-mail message and any attachments thereto are intended solely 
for the use of the individual or entity to whom it is addressed and contains 
information that is confidential and may be privileged and exempt from 
disclosure. Any distribution, copying or disclosure is strictly prohibited. If 
you have received this e-mail in error, please notify the sender immediately by 
return email and delete the message unread without making any copies. Thank you. 

 


RE: [Samba] admin users' file is owned by root

2002-06-06 Thread WEBSTER, Greg
Title: admin users' file is owned by root



Look 
into 'force user', 'force group', and 'create mask' in 
smb.conf.
 
GregW

  -Original Message-From: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]]Sent: June 6, 2002 2:52 
  PMTo: [EMAIL PROTECTED]Subject: [Samba] admin users' 
  file is owned by root
  Hi there, 
  I just found that if an user is assigned in the 
  "admin users", and if the user grab a file from window to samba share, the 
  file will be owned by root from unix view. I am believing this is a bug. 
  
  The samba version I am using is 2.2.4. 
  Weixing Hao (631) 858-6341 Forest Labs   


RE: [Samba] FreeBSD 4.5, Samba 2.2.4_1,W2K client "printer prope rties cannot be displayed"

2002-06-06 Thread WEBSTER, Greg

  
 (Embedded
 image moved   "WEBSTER, Greg" <[EMAIL PROTECTED]> 
 to file:  06/06/2002 01:39 PM
 pic14481.pcx)
  








 (Embedded
 image moved   "WEBSTER, Greg" <[EMAIL PROTECTED]>
 to file:  06/06/2002 01:39 PM
 pic16158.pcx)









 (Embedded
 image moved   "WEBSTER, Greg" <[EMAIL PROTECTED]>
 to file:  06/06/2002 01:39 PM
 pic10625.pcx)









 (Embedded
 image moved   "WEBSTER, Greg" <[EMAIL PROTECTED]>
 to file:  06/06/2002 01:39 PM
 pic04242.pcx)









Could you please not send emails with 6 bloody useless pics attached to
clutter by inbox? It's rather rude.

Greg


> -Original Message-
> From: Kevin Long [mailto:[EMAIL PROTECTED]]
> Sent: June 6, 2002 10:15 AM
> To: '[EMAIL PROTECTED]'
> Subject: [Samba] FreeBSD 4.5, Samba 2.2.4_1, W2K client "printer
> properties cannot be displayed"
>
>
>
>  (Embedded
>  image moved   Kevin Long <[EMAIL PROTECTED]>
>  to file:  06/06/2002 01:15 PM
>  pic29929.pcx)
>
>
>
>
>
>
>
>
>
>  (Embedded
>  image moved   Kevin Long <[EMAIL PROTECTED]>
>  to file:  06/06/2002 01:15 PM
>  pic02593.pcx)
>
>
>
>
>
>
>
>
>
>  (Embedded
>  image moved   Kevin Long <[EMAIL PROTECTED]>
>  to file:  06/06/2002 01:15 PM
>  pic09078.pcx)
>
>
>
>
>
>
>
>
>
>  (Embedded
>  image moved   Kevin Long <[EMAIL PROTECTED]>
>  to file:  06/06/2002 01:15 PM
>  pic25467.pcx)
>
>
>
>
>
>
>
>
>
>  (Embedded
>  image moved   Kevin Long <[EMAIL PROTECTED]>
>  to file:  06/06/2002 01:15 PM
>  pic15176.pcx)
>
>
>
>
>
>
>
>
>
>  (Embedded
>  image moved   Kevin Long <[EMAIL PROTECTED]>
>  to file:  06/06/2002 01:15 PM
>  pic21246.pcx)
>
>
>
>
>
>
>
>
> Hello, I have a FreeBSD 4.5-RELEASE box running the SAMBA
> 2.2.4_1 port. I
> have successfully added a printer driver to the unit, and
> when connecting
> from a Windows 2000 client, I get the driver successfully
> installed. I then
> converted the system to a PDC and added a test machine to
> it's domain. I can
> connect to the printer, it downloads drivers, but when I
> choose printer
> properties, I get:
>
> "Printer properties cannot be displayed. Operation could not
> be completed"
>
> Oddly enough, when this SAMBA unit was a domain member, in a
> hybrid W2K/NT
> domain, I could get the printer properties.
>
> I can get the "server properties" correctly, and access shares, save
> profiles.
>
> Kevin Long.
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
>

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



pic04242.pcx
Description: Binary data


pic10625.pcx
Description: Binary data


pic16158.pcx
Description: Binary data


pic14481.pcx
Description: Binary data


RE: [Samba] FreeBSD 4.5, Samba 2.2.4_1,W2K client "printer prope rties cannot be displayed"

2002-06-06 Thread WEBSTER, Greg

  
 (Embedded
 image moved   "WEBSTER, Greg" <[EMAIL PROTECTED]> 
 to file:  06/06/2002 01:39 PM
 pic16158.pcx)
  








 (Embedded
 image moved   "WEBSTER, Greg" <[EMAIL PROTECTED]>
 to file:  06/06/2002 01:39 PM
 pic10625.pcx)









 (Embedded
 image moved   "WEBSTER, Greg" <[EMAIL PROTECTED]>
 to file:  06/06/2002 01:39 PM
 pic04242.pcx)









Could you please not send emails with 6 bloody useless pics attached to
clutter by inbox? It's rather rude.

Greg


> -Original Message-
> From: Kevin Long [mailto:[EMAIL PROTECTED]]
> Sent: June 6, 2002 10:15 AM
> To: '[EMAIL PROTECTED]'
> Subject: [Samba] FreeBSD 4.5, Samba 2.2.4_1, W2K client "printer
> properties cannot be displayed"
>
>
>
>  (Embedded
>  image moved   Kevin Long <[EMAIL PROTECTED]>
>  to file:  06/06/2002 01:15 PM
>  pic29929.pcx)
>
>
>
>
>
>
>
>
>
>  (Embedded
>  image moved   Kevin Long <[EMAIL PROTECTED]>
>  to file:  06/06/2002 01:15 PM
>  pic02593.pcx)
>
>
>
>
>
>
>
>
>
>  (Embedded
>  image moved   Kevin Long <[EMAIL PROTECTED]>
>  to file:  06/06/2002 01:15 PM
>  pic09078.pcx)
>
>
>
>
>
>
>
>
>
>  (Embedded
>  image moved   Kevin Long <[EMAIL PROTECTED]>
>  to file:  06/06/2002 01:15 PM
>  pic25467.pcx)
>
>
>
>
>
>
>
>
>
>  (Embedded
>  image moved   Kevin Long <[EMAIL PROTECTED]>
>  to file:  06/06/2002 01:15 PM
>  pic15176.pcx)
>
>
>
>
>
>
>
>
>
>  (Embedded
>  image moved   Kevin Long <[EMAIL PROTECTED]>
>  to file:  06/06/2002 01:15 PM
>  pic21246.pcx)
>
>
>
>
>
>
>
>
> Hello, I have a FreeBSD 4.5-RELEASE box running the SAMBA
> 2.2.4_1 port. I
> have successfully added a printer driver to the unit, and
> when connecting
> from a Windows 2000 client, I get the driver successfully
> installed. I then
> converted the system to a PDC and added a test machine to
> it's domain. I can
> connect to the printer, it downloads drivers, but when I
> choose printer
> properties, I get:
>
> "Printer properties cannot be displayed. Operation could not
> be completed"
>
> Oddly enough, when this SAMBA unit was a domain member, in a
> hybrid W2K/NT
> domain, I could get the printer properties.
>
> I can get the "server properties" correctly, and access shares, save
> profiles.
>
> Kevin Long.
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
>

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



pic04242.pcx
Description: Binary data


pic10625.pcx
Description: Binary data


pic16158.pcx
Description: Binary data


RE: [Samba] FreeBSD 4.5, Samba 2.2.4_1,W2K client "printer prope rties cannot be displayed"

2002-06-06 Thread WEBSTER, Greg

  
 (Embedded
 image moved   "WEBSTER, Greg" <[EMAIL PROTECTED]> 
 to file:  06/06/2002 01:39 PM
 pic10625.pcx)
  








 (Embedded
 image moved   "WEBSTER, Greg" <[EMAIL PROTECTED]>
 to file:  06/06/2002 01:39 PM
 pic04242.pcx)









Could you please not send emails with 6 bloody useless pics attached to
clutter by inbox? It's rather rude.

Greg


> -Original Message-
> From: Kevin Long [mailto:[EMAIL PROTECTED]]
> Sent: June 6, 2002 10:15 AM
> To: '[EMAIL PROTECTED]'
> Subject: [Samba] FreeBSD 4.5, Samba 2.2.4_1, W2K client "printer
> properties cannot be displayed"
>
>
>
>  (Embedded
>  image moved   Kevin Long <[EMAIL PROTECTED]>
>  to file:  06/06/2002 01:15 PM
>  pic29929.pcx)
>
>
>
>
>
>
>
>
>
>  (Embedded
>  image moved   Kevin Long <[EMAIL PROTECTED]>
>  to file:  06/06/2002 01:15 PM
>  pic02593.pcx)
>
>
>
>
>
>
>
>
>
>  (Embedded
>  image moved   Kevin Long <[EMAIL PROTECTED]>
>  to file:  06/06/2002 01:15 PM
>  pic09078.pcx)
>
>
>
>
>
>
>
>
>
>  (Embedded
>  image moved   Kevin Long <[EMAIL PROTECTED]>
>  to file:  06/06/2002 01:15 PM
>  pic25467.pcx)
>
>
>
>
>
>
>
>
>
>  (Embedded
>  image moved   Kevin Long <[EMAIL PROTECTED]>
>  to file:  06/06/2002 01:15 PM
>  pic15176.pcx)
>
>
>
>
>
>
>
>
>
>  (Embedded
>  image moved   Kevin Long <[EMAIL PROTECTED]>
>  to file:  06/06/2002 01:15 PM
>  pic21246.pcx)
>
>
>
>
>
>
>
>
> Hello, I have a FreeBSD 4.5-RELEASE box running the SAMBA
> 2.2.4_1 port. I
> have successfully added a printer driver to the unit, and
> when connecting
> from a Windows 2000 client, I get the driver successfully
> installed. I then
> converted the system to a PDC and added a test machine to
> it's domain. I can
> connect to the printer, it downloads drivers, but when I
> choose printer
> properties, I get:
>
> "Printer properties cannot be displayed. Operation could not
> be completed"
>
> Oddly enough, when this SAMBA unit was a domain member, in a
> hybrid W2K/NT
> domain, I could get the printer properties.
>
> I can get the "server properties" correctly, and access shares, save
> profiles.
>
> Kevin Long.
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
>

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



pic04242.pcx
Description: Binary data


pic10625.pcx
Description: Binary data


RE: [Samba] FreeBSD 4.5, Samba 2.2.4_1,W2K client "printer prope rties cannot be displayed"

2002-06-06 Thread WEBSTER, Greg

  
 (Embedded
 image moved   "WEBSTER, Greg" <[EMAIL PROTECTED]> 
 to file:  06/06/2002 01:39 PM
 pic04242.pcx)
  








Could you please not send emails with 6 bloody useless pics attached to
clutter by inbox? It's rather rude.

Greg


> -Original Message-
> From: Kevin Long [mailto:[EMAIL PROTECTED]]
> Sent: June 6, 2002 10:15 AM
> To: '[EMAIL PROTECTED]'
> Subject: [Samba] FreeBSD 4.5, Samba 2.2.4_1, W2K client "printer
> properties cannot be displayed"
>
>
>
>  (Embedded
>  image moved   Kevin Long <[EMAIL PROTECTED]>
>  to file:  06/06/2002 01:15 PM
>  pic29929.pcx)
>
>
>
>
>
>
>
>
>
>  (Embedded
>  image moved   Kevin Long <[EMAIL PROTECTED]>
>  to file:  06/06/2002 01:15 PM
>  pic02593.pcx)
>
>
>
>
>
>
>
>
>
>  (Embedded
>  image moved   Kevin Long <[EMAIL PROTECTED]>
>  to file:  06/06/2002 01:15 PM
>  pic09078.pcx)
>
>
>
>
>
>
>
>
>
>  (Embedded
>  image moved   Kevin Long <[EMAIL PROTECTED]>
>  to file:  06/06/2002 01:15 PM
>  pic25467.pcx)
>
>
>
>
>
>
>
>
>
>  (Embedded
>  image moved   Kevin Long <[EMAIL PROTECTED]>
>  to file:  06/06/2002 01:15 PM
>  pic15176.pcx)
>
>
>
>
>
>
>
>
>
>  (Embedded
>  image moved   Kevin Long <[EMAIL PROTECTED]>
>  to file:  06/06/2002 01:15 PM
>  pic21246.pcx)
>
>
>
>
>
>
>
>
> Hello, I have a FreeBSD 4.5-RELEASE box running the SAMBA
> 2.2.4_1 port. I
> have successfully added a printer driver to the unit, and
> when connecting
> from a Windows 2000 client, I get the driver successfully
> installed. I then
> converted the system to a PDC and added a test machine to
> it's domain. I can
> connect to the printer, it downloads drivers, but when I
> choose printer
> properties, I get:
>
> "Printer properties cannot be displayed. Operation could not
> be completed"
>
> Oddly enough, when this SAMBA unit was a domain member, in a
> hybrid W2K/NT
> domain, I could get the printer properties.
>
> I can get the "server properties" correctly, and access shares, save
> profiles.
>
> Kevin Long.
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
>

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



pic04242.pcx
Description: Binary data


RE: [Samba] FreeBSD 4.5, Samba 2.2.4_1, W2K client "printer properties cannot be displayed"

2002-06-06 Thread WEBSTER, Greg


Could you please not send emails with 6 bloody useless pics attached to
clutter by inbox? It's rather rude.

Greg


> -Original Message-
> From: Kevin Long [mailto:[EMAIL PROTECTED]]
> Sent: June 6, 2002 10:15 AM
> To: '[EMAIL PROTECTED]'
> Subject: [Samba] FreeBSD 4.5, Samba 2.2.4_1, W2K client "printer
> properties cannot be displayed"
> 
> 
>   
>  (Embedded
>  image moved   Kevin Long <[EMAIL PROTECTED]>
>  to file:  06/06/2002 01:15 PM
>  pic29929.pcx)
>   
> 
> 
> 
> 
> 
> 
> 
> 
>  (Embedded
>  image moved   Kevin Long <[EMAIL PROTECTED]>
>  to file:  06/06/2002 01:15 PM
>  pic02593.pcx)
> 
> 
> 
> 
> 
> 
> 
> 
> 
>  (Embedded
>  image moved   Kevin Long <[EMAIL PROTECTED]>
>  to file:  06/06/2002 01:15 PM
>  pic09078.pcx)
> 
> 
> 
> 
> 
> 
> 
> 
> 
>  (Embedded
>  image moved   Kevin Long <[EMAIL PROTECTED]>
>  to file:  06/06/2002 01:15 PM
>  pic25467.pcx)
> 
> 
> 
> 
> 
> 
> 
> 
> 
>  (Embedded
>  image moved   Kevin Long <[EMAIL PROTECTED]>
>  to file:  06/06/2002 01:15 PM
>  pic15176.pcx)
> 
> 
> 
> 
> 
> 
> 
> 
> 
>  (Embedded
>  image moved   Kevin Long <[EMAIL PROTECTED]>
>  to file:  06/06/2002 01:15 PM
>  pic21246.pcx)
> 
> 
> 
> 
> 
> 
> 
> 
> Hello, I have a FreeBSD 4.5-RELEASE box running the SAMBA 
> 2.2.4_1 port. I
> have successfully added a printer driver to the unit, and 
> when connecting
> from a Windows 2000 client, I get the driver successfully 
> installed. I then
> converted the system to a PDC and added a test machine to 
> it's domain. I can
> connect to the printer, it downloads drivers, but when I 
> choose printer
> properties, I get:
> 
> "Printer properties cannot be displayed. Operation could not 
> be completed"
> 
> Oddly enough, when this SAMBA unit was a domain member, in a 
> hybrid W2K/NT
> domain, I could get the printer properties.
> 
> I can get the "server properties" correctly, and access shares, save
> profiles.
> 
> Kevin Long.
> 
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
> 

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



RE: [Samba] Trust Domains ...

2002-06-04 Thread WEBSTER, Greg


This may be an impossible question, and I don't mean to be a mean
taskmaster, but what kind of timeframe are we looking at for a 3.x release?
Our office is a mongrelmix of Linux, W2k, and NT and while we are definitely
not going to go to an XP environment, we would like to increase linux usage
on the backend. Some of the connectivity to W2k that you talk about here
would go a long way to that.

Thanks,

Greg

> -Original Message-
> From: Andrew Bartlett [mailto:[EMAIL PROTECTED]]
> Sent: June 4, 2002 3:02 PM
> To: [EMAIL PROTECTED]
> Cc: C.Lee Taylor; [EMAIL PROTECTED]
> Subject: Re: [Samba] Trust Domains ...
> 
> I understand it goes like this:
> 
> Samba 2.2 supports being trusted by NT.  Its a bit odd, and 
> mainly works
> due to the fact that domain logons and interdomain logons are almost
> exactly the same.  Not 'supported', and only works for NT domains with
> just a PDC.
> 
> Samba HEAD has support for both being trusted by NT and 
> trusting NT.  We
> don't support doing anything with Win2k ATM.  Trusting NT is still a
> work in progress, but we have shown the basic concepts.
> 
> Samba TNG claims support for being trusted, but I've not tested it
> myself.  You will need current CVS - TNG was able to pick up some of
> HEAD's work in this area to get around some nasty bugs.  Samba-TNG
> trusting NT domains is a bit dodgy, becouse you need to setup the
> 'username map' manually.
> 
> Andrew Bartlett
> 
> -- 
> Andrew Bartlett [EMAIL PROTECTED]
> Manager, Authentication Subsystems, Samba Team  [EMAIL PROTECTED]
> Student Network Administrator, Hawker College   [EMAIL PROTECTED]
> http://samba.org http://build.samba.org http://hawkerc.net
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
> 

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



RE: [Samba] How are people managing startup/shutdown of winbindd?

2002-06-03 Thread WEBSTER, Greg


I include it in my /etc/rc.d/init.d/smb startup script:

case "$1" in
  start)
echo -n "Starting SMB services: "
daemon smbd -D
daemon nmbd -D
echo
touch /var/lock/subsys/smb

echo Starting Winbind Daemon
/usr/sbin/winbindd
;;
  stop)
echo -n "Shutting down SMB services: "
killproc smbd
killproc nmbd
rm -f /var/lock/subsys/smb
killproc winbindd
echo ""
;;
  status)
status smbd
status nmbd
status winbindd
;;
  restart)
echo -n "Restarting SMB services: "
$0 stop
$0 start
echo "done."
;;
  *)
echo "Usage: smb {start|stop|restart|status}"
exit 1
esac


> -Original Message-
> From: Manuel Gomez [mailto:[EMAIL PROTECTED]]
> Sent: June 3, 2002 11:15 AM
> To: '[EMAIL PROTECTED]'
> Subject: [Samba] How are people managing startup/shutdown of winbindd?
> 
> 
> Greetings,
> 
> I realize many people will never use winbindd, and thus it 
> will likely not
> get included in /etc/init.d/samba (on my Debian system; your 
> file may vary)
> by default, so another solution seems in order.  
> 
> It's not as important to be able to start and stop winbindd 
> now that it's
> getting more robust, but I'd still like something.
> 
> How are y'all out there in Samba land handling this?
> 
>  
> Manuel Gomez
> ER Solutions, Inc.
> [EMAIL PROTECTED]
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
> 

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



RE: [Samba] I will pay you $10US (via Paypal) out of my own pocke t if you can solve this CUPS & Samba problem.

2002-05-31 Thread WEBSTER, Greg


So where do I send the $10 :)

GregW

> -Original Message-
> From: Manuel Gomez [mailto:[EMAIL PROTECTED]]
> Sent: May 31, 2002 1:49 PM
> To: 'WEBSTER, Greg'
> Cc: '[EMAIL PROTECTED]'
> Subject: RE: [Samba] I will pay you $10US (via Paypal) out of my own
> pocke t if you can solve this CUPS & Samba problem.
> 
> 
> Greg,
> 
> I had a heck of a time getting Samba and CUPS up and running 
> together, but
> here are a couple of pointers.
> 
> If you are serving Windows clients, and a Windows driver is 
> available for
> your printer (not hard to imagine), you are probably best off 
> setting up a
> RAW print queue in CUPS, and installing the printer drivers 
> on your Samba
> server using the Add/Remove Printers Wizard.  
> 
> The documentation for setting that up is, in my opinion, a 
> little vague, but
> it certainly can be done.  The most simple way to setup it up 
> (in my mind)
> is as follows:
> 1) Make sure you have a 'printer admin = ???' directive in 
> your smb.conf,
> where '???' is a comma-separated list of Unix users and/or 
> groups who will
> be able to manage printer settings.  Group designations in 
> smb.conf need an
> '@' prefix (like '@group').
> 2) For testing, I would set 'read only = no' on the [print$] 
> share, and when
> it's working, you could either set 'read only = yes' and 
> 'write list = ???'
> where ??? is another comma separated list of Unix users 
> and/or groups, these
> being the users who will be able to upload drivers to the server.
> Alternately, you could just leave 'read only = no', just make sure you
> understand the implications.
> 3) Make sure the file system permissions will allow you to 
> create files and
> directories under the path of your [print$] share.  I would 
> put it elsewhere
> than /usr/share/cups/model, because these aren't going to 
> hold CUPS drivers,
> but Windows binary drivers.  Then, create directories under 
> that path for
> each Windows version you want to support.  These are 'W32X86' 
> for WinNT &
> Win2K clients, 'WIN40' for Win9x, and I can't remember the others.
> 4) If samba is picking up your printers from your printcap, 
> you can skip
> this, but otherwise you'll have to set up a share for each 
> printer you want
> to share.
> 5) Browse, from a Windows PC, to the Red Hat server in explorer.
> Double-click 'Printers'.  Depending on your windows version, 
> the following
> may be different.  I'm using Win2K, and this is how it goes:
> Right click in the white space of the window, and select 
> 'Server properties'
> from the context menu.  Select the 'Drivers' tab.  Click 
> 'Add...' then go
> through the wizard.  If 'Add...' is unselectable 
> (greyed-out), then the
> server is not seeing you as a member of the 'printer admins' 
> list that you
> set up in step 1, so start your troubleshooting there.
> 6) Once you've got the drivers uploaded onto the server, you need to
> associate them with a given printer, which you do by 
> right-clicking the
> appropriate printer and selecting 'Properties', then clicking on the
> 'Advanced' tab (I think this step is slightly different under 
> NT).  In the
> drop-down box marked 'Driver:', select the appropriate driver 
> (probably the
> one you just uploaded).
> 7) Now, on the client machines, install the printer normally, and the
> drivers should automatically download with the connection.  
> 
> Let me know if that helps at all.
> 
> 
> Manuel Gomez 
> 
> 
> -Original Message-
> From: WEBSTER, Greg [mailto:[EMAIL PROTECTED]] 
> Sent: Friday, May 31, 2002 11:35 AM
> To: 'Blake Patton'
> Cc: '[EMAIL PROTECTED]'
> Subject: RE: [Samba] I will pay you $10US (via Paypal) out of 
> my own pocke t
> if you can solve this CUPS & Samba problem.
> 
> 
> Nope, doesn't work, and I need the drivers to be available 
> and read from the
> linux server. The PPD files do contain one which is specific 
> to my printer
> and has worked on another machine.
> -Original Message-
> From: Blake Patton [mailto:[EMAIL PROTECTED]]
> Sent: May 31, 2002 11:32 AM
> To: WEBSTER, Greg
> Subject: RE: [Samba] I will pay you $10US (via Paypal) out of 
> my own pocket
> if you can solve this CUPS & Samba problem.
> 
> 
> that looks ok, simply click ok and load the printer driver 
> from whichever
> os version you are using. ie go get the latest drivers for 
> the printer yo

RE: [Samba] I will pay you $10US (via Paypal) out of my own pocke t if you can solve this CUPS & Samba problem.

2002-05-31 Thread WEBSTER, Greg


Ok, tried that...no success. I can follow through the steps of adding the
driver for the printer on my machine, then I can use it. However once I
delete the printer and try to add it again I have to go through the same
steps. The drivers are not copied up to the server, they are just installed
on my local machine.

> -Original Message-
> From: David W. Chapman Jr. [mailto:[EMAIL PROTECTED]]
> Sent: May 31, 2002 12:37 PM
> To: WEBSTER, Greg
> Cc: 'Alfredo Cole'; [EMAIL PROTECTED]
> Subject: Re: [Samba] I will pay you $10US (via Paypal) out of my own
> pocke t if you can solve this CUPS & Samba problem.
> 
> 
> On Fri, May 31, 2002 at 12:09:26PM -0700, WEBSTER, Greg wrote:
> > 
> > Unfortunately I really do need the drivers to come from 
> Samba (ie the print$
> > share)...I've got hundreds of machines that I'd have to do this on.
> > 
> 
> Yes, what's being said is that you install the drivers from one 
> workstation to the server then the rest of them can fetch them.
> 
> -- 
> David W. Chapman Jr.
> [EMAIL PROTECTED] Raintree Network Services, Inc. 

[EMAIL PROTECTED]   FreeBSD Committer 

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



RE: [Samba] I will pay you $10US (via Paypal) out of my own pocket if you can solve this CUPS & Samba problem.

2002-05-31 Thread WEBSTER, Greg


Unfortunately I really do need the drivers to come from Samba (ie the print$
share)...I've got hundreds of machines that I'd have to do this on.

Greg

> -Original Message-
> From: Alfredo Cole [mailto:[EMAIL PROTECTED]]
> Sent: May 31, 2002 12:02 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [Samba] I will pay you $10US (via Paypal) out of my own
> pocket if you can solve this CUPS & Samba problem.
> 
> 
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> I have always installed the appropriate printer driver on the Win 
> box. Try it and it should work. It works for me.
> 
> El Vie 31 May 2002 12:26, escribiste:
> > Seriously. I can't afford to be down much longer or I'm going to be
> > in serious trouble.
> >
> > Running Redhat 7.2.
> >
> > Here's the scoop:
> > Cups is installed and running.
> > Samba is installed and running and is sharing files properly to
> > 100+ people. I can print a test page from the Cups web-interface.
> > I can print a test page by "cat foo | lpr" or "cat foo | lpr.cups"
> > no problem.
> > Swat sees the printer that exists in /etc/printcap.
> > A print$ share has been created:
> > [print$]
> > path = /usr/share/cups/model/
> > guest ok = Yes
> > /usr/share/cups/model/ contains a bunch of PPD printer drivers
> > inside a directory called foomatic, created by a cups-drivers rpm.
> > I have also tried having the drivers I need directly in the
> > /usr/share/cups/model directory with no success.
> >
> > ...when I am on a windows box and try to install the printer that
> > is listed (via the Printers control panel or by browsing to the
> > Printers share via Network Neighbourhood), I get a "The server on
> > which the printer resides does not have the correct printer driver
> > installed. If you want to install the driver on your local
> > computer, click OK".
> >
> > I really need to get this up and running. Please help.
> >
> > Greg Webster
> 
> - -- 
> Alfredo J. Cole
> http://www.acyc.com (Accounting Systems)
> http://www.clshonduras.com (Linux Hardware)
> PGP Key available from certserver.pgp.com
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.0.6 (GNU/Linux)
> Comment: For info see http://www.gnupg.org
> 
> iD8DBQE898iUu5DxuPWE298RAsIfAKCC2cYB6BQTrWSm8X2u5UgessnEoQCfZZb6
> 4vQ6ycXSYCoNN4p0G0gVM6s=
> =OqPD
> -END PGP SIGNATURE-
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
> 

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



RE: [Samba] I will pay you $10US (via Paypal) out of my own pocket if you can solve this CUPS & Samba problem.

2002-05-31 Thread WEBSTER, Greg

[root@waifer root]# cupsaddsmb -a
Warning: No PPD file for printer "PSYSTEMS"!

What I'm guessing at this point is that Cups is having a hell of a time
reaching the PPD files. There definitely is one for my printer (HP 5000) on
the system.

Thanks, but no cigar :)

Greg


> -Original Message-
> From: Jason Stewart [mailto:[EMAIL PROTECTED]]
> Sent: May 31, 2002 11:43 AM
> To: WEBSTER, Greg
> Subject: Re: [Samba] I will pay you $10US (via Paypal) out of my own
> pocket if you can solve this CUPS & Samba problem.
> 
> 
> try cupsaddsmb -a. If not successful, you will get an error. I had a 
> difficult time getting this to work also, so I definitely 
> sympathize with you!
> 
> The cupsaddsmb drivers worked for me, but the downside is 
> that you will not 
> get the duplexing and other features that the manufacturer 
> supports. For 
> the usage instructions for cupsaddsmb, see the cups docs.
> 
> Good Luck,
> Jason
> 
> At 11:26 AM 5/31/2002 -0700, you wrote:
> >Seriously. I can't afford to be down much longer or I'm 
> going to be in 
> >serious trouble.
> >
> >Running Redhat 7.2.
> >
> >Here's the scoop:
> >Cups is installed and running.
> >Samba is installed and running and is sharing files properly 
> to 100+ people.
> >I can print a test page from the Cups web-interface.
> >I can print a test page by "cat foo | lpr" or "cat foo | 
> lpr.cups" no problem.
> >Swat sees the printer that exists in /etc/printcap.
> >A print$ share has been created:
> > [print$]
> > path = /usr/share/cups/model/
> > guest ok = Yes
> >/usr/share/cups/model/ contains a bunch of PPD printer 
> drivers inside a 
> >directory called foomatic, created by a cups-drivers rpm. I 
> have also 
> >tried having the drivers I need directly in the 
> /usr/share/cups/model 
> >directory with no success.
> >
> >...when I am on a windows box and try to install the printer that is 
> >listed (via the Printers control panel or by browsing to the 
> Printers 
> >share via Network Neighbourhood), I get a "The server on 
> which the printer 
> >resides does not have the correct printer driver installed. 
> If you want to 
> >install the driver on your local computer, click OK".
> >
> >I really need to get this up and running. Please help.
> >
> >Greg Webster
> 
> Jason Stewart
> Systems Administrator/Programmer
> Right to Life of Michigan
> Tel: (616)532-2300
> Fax: (616)532-3461
> 
> To find out where Michigan Gubernatorial Candidate Jennifer 
> Granholm really 
> stands, please visit http://www.granholmgarble.com/
> 

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



RE: [Samba] I will pay you $10US (via Paypal) out of my own pocket if you can solve this CUPS & Samba problem.

2002-05-31 Thread WEBSTER, Greg



Nope, 
doesn't work, and I need the drivers to be available and read from the linux 
server. The PPD files do contain one which is specific to my printer and has 
worked on another machine.

  -Original Message-From: Blake Patton 
  [mailto:[EMAIL PROTECTED]]Sent: May 31, 2002 11:32 AMTo: 
  WEBSTER, GregSubject: RE: [Samba] I will pay you $10US (via Paypal) 
  out of my own pocket if you can solve this CUPS & Samba 
  problem.
  that 
  looks ok, simply click ok and load the printer driver from 
  whichever
  os 
  version you are using. ie go get the latest drivers for the printer you want 
  to use
  and 
  the os you have on the workstation. simpy those printer drivers and it should 
  work.
   
   
  Blake PattonSpots InterConnect 
  Inc.[EMAIL PROTECTED](403) 571-7768 
  
-Original Message-From: 
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf 
Of WEBSTER, GregSent: Friday, May 31, 2002 12:27 
PMTo: [EMAIL PROTECTED]Subject: [Samba] I will pay 
you $10US (via Paypal) out of my own pocket if you can solve this CUPS & 
Samba problem.
Seriously. I 
can't afford to be down much longer or I'm going to be in serious 
trouble.
 
Running Redhat 
7.2.
 
Here's the 
scoop:
Cups is 
installed and running.
Samba is 
installed and running and is sharing files properly to 100+ 
people.
I can print a 
test page from the Cups web-interface.
I can print a 
test page by "cat foo | lpr" or "cat foo | lpr.cups" no 
problem.
Swat sees the 
printer that exists in /etc/printcap.
A print$ share 
has been created:
    [print$]    path = 
/usr/share/cups/model/    guest 
ok = Yes
/usr/share/cups/model/ contains a bunch of PPD printer drivers inside 
a directory called foomatic, created by a cups-drivers rpm. I have also 
tried having the drivers I need directly in the /usr/share/cups/model 
directory with no success.
 
...when I am on 
a windows box and try to install the printer that is listed (via the 
Printers control panel or by browsing to the Printers share via Network 
Neighbourhood), I get a "The server on which the printer resides does not 
have the correct printer driver installed. If you want to install the driver 
on your local computer, click OK". 
 
I really need to 
get this up and running. Please help.
 
Greg 
Webster


[Samba] I will pay you $10US (via Paypal) out of my own pocket if you cansolve this CUPS & Samba problem.

2002-05-31 Thread WEBSTER, Greg



Seriously. I can't 
afford to be down much longer or I'm going to be in serious 
trouble.
 
Running Redhat 
7.2.
 
Here's the 
scoop:
Cups is installed 
and running.
Samba is installed 
and running and is sharing files properly to 100+ people.
I can print a test 
page from the Cups web-interface.
I can print a test 
page by "cat foo | lpr" or "cat foo | lpr.cups" no problem.
Swat sees the 
printer that exists in /etc/printcap.
A print$ share has 
been created:
    [print$]    path = 
/usr/share/cups/model/    guest ok = 
Yes
/usr/share/cups/model/ contains a bunch of PPD printer drivers inside a 
directory called foomatic, created by a cups-drivers rpm. I have also tried 
having the drivers I need directly in the /usr/share/cups/model directory with 
no success.
 
...when I am on a 
windows box and try to install the printer that is listed (via the Printers 
control panel or by browsing to the Printers share via Network Neighbourhood), I 
get a "The server on which the printer resides does not have the correct printer 
driver installed. If you want to install the driver on your local computer, 
click OK". 
 
I really need to get 
this up and running. Please help.
 
Greg 
Webster


[Samba] Bug/documentation error report

2002-05-30 Thread WEBSTER, Greg


Discovered something that cost me an hour or two trying to solve.

In http://localhost:901/swat/help/smb.conf.5.html#PRINTCAPNAME it says:
-
To use the CUPS printing interface set printcap name = cups . This should be
supplemented by an addtional setting printing = cups in the [global]
section. printcap name = cups will use the "dummy" printcap created by CUPS,
as specified in your CUPS configuration file. 
-

Well...in that case, "printcap name = cups" makes Samba look for a file
called "cups" which doesn't exist (maybe some old version of CUPS created
this file instead of editing /etc/printcap?). Therefore you get errors in
/var/log/messages and Samba can't find the printers you used CUPS to set up.
And that means you spend quite a while looking for a problem that just
happened because you followed directions.

Please someone on the Samba team correct this? 

Thanks!

Greg

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



[Samba] Frustrated with Samba and CUPS

2002-05-30 Thread WEBSTER, Greg



I'm sure you've seen 
that subject line before
 
I can't get Samba 
(via Swat) to see my CUPS printers at all.
 
I've tried 
everything I can think of...the single network-connected printer is listed 
in CUPS and I've added it on the command-line (via printconf-tui). I can send a 
test page to it from the CUPS web-interface and also through the printconf-tui 
interface. I can "cat foo | lpr", so I am absolutely sure the printer is 
connected, usable and available.
 
In 
smb.conf:
    
printcap name = cups
 
Also, I added these 
during the fight to get this working just in case...(all the paths exist and 
contain files that work). I've noticed that when I set up 'printers' it chooses 
"browseable = No" even when I choose 'Yes' - not sure how or 
why.
[printers]    path = /tmp    guest 
account = lp
    
printer admin = @ftp
    
guest ok = Yes
    
printable = Yes
    
browseable = No[printers$]
    
comment = printer_drivers
    
path = /usr/share/postscript/ppd/en
    
guest ok = Yes[print$]
    
path = /data/print_drivers
    
guest ok = Yes
Please help...I 
really need to get this up and running ASAP.
 
Thanks,
 
GregW


[Samba] Swat, winbind, authentication, @DomainAdmins

2002-05-29 Thread WEBSTER, Greg



Hi 
all,
 
I have rather a 
perplexing question...
 
I'm just setting up 
a new linux (Redhat 7.2) samba server with authentication using winbind and pam. 
Everything seems to be working well on the authentication side except in 
Swat.
 
If I go to the 
machine (http://machinename:901) it pops up 
the authentication dialog which is obviously authenticating through winbind 
because user names and passwords that only exist on the Active Directory 
server work get me to Swat and the local root username 
and password does not. The only thing is, that the Swat is displays is the 
limited, cut-down, view-only version. 
 
There appears to be 
nothing in the Swat or Samba documentation that specifies Swat admin users 
specifically (ie. "swat admins = @DomainAdmins"). Adding "domain admin group = 
@DomainAdmins" to smb.conf did nothing (it's not a PDC anyway). Changing the 
"user = root" to "user = root, gwebster" in /etc/xinetd.d/swat did nothing (yes, 
I ran "killall -HUP xinetd").
 
So how and where do 
I specify users that are able to admin Samba via Swat when using winbind/pam 
authentication?
 
Thanks!
 
Greg


[Samba] Problems w/ samba 2.2.3a as PDC for Win2KPro

2002-05-01 Thread Scott D. Webster

Samba-Meisters,

I've been try in vain to get a Windows 2000 Pro workstation to
join my
domain.  I'm someone else can figure out what's going wrong.
My server (galileo) in running samba 2.2.3a (compiled from the
Red Hat
rawhide samba-2.2.3a-6.src.rpm) on RedHat 7.0.  My workstation
(descartes) is running Red Hat 7.2 (can also boot to Win98SE &
Win2kPro).  I'm running Windows 2000 Pro in VMware
(VMwareWorkstation-3.1.1-1790).  The Win2k machine is called vm-win2k.
In Windows 2000 Pro I go [Control Panel]->[System]->[Network
Identification]->[Network ID], I check "This computer is part of a
buiness network, and I use it to connect to other computers at work" and
click "next", then check "My company uses a network with a domain" and
click next.  In the "User Account and Domain Information" dialog I
root's username and password and my domain "ETC SERVICES" and click
next.  I then get a message saying "Windows cannot find an account for
your computer on the ETC SERVICES domain."  What am I doing wrong here? 
BTW, I have tried it from non-vmware Windows 2000 Pro and I get the same
result.

Here's my configuration info:

galileo:~ # grep \$: /etc/{passwd,shadow} 
/etc/passwd:vm-win2k$:x:999:999:vm-win2k:/dev/null:/bin/false
/etc/passwd:descartes$:x:998:999:descartes:/dev/null:/bin/false
/etc/shadow:vm-win2k$:!!:11752::9:::11751:
/etc/shadow:descartes$:!!:11752::9:::11751:

galileo:~ # grep machine /etc/{group,gshadow}
/etc/group:machine:x:999:
/etc/gshadow:machine:!::

Pertinent directories in /var/samba:
drwxr-x--x2 root users4096 Apr 20 14:12 netlogon
drwxr-xr-x7 root root 4096 May  1 15:36 ntprofile

Pertinent records from smbpasswd:
root:0:::[U  ]:LCT-3CCF3196:
VM-WIN2K$:999:::[W  ]:LCT-3CCF06E5:
descartes$:998:::[W  ]:LCT-3CD011CA:

my smb.conf (minus non-pertinent shares):
---8<--
# Samba config file created using SWAT
# from descartes.etcservices.com (192.168.9.5)
# Date: 2002/05/01 16:28:43

# Global parameters
[global]
workgroup = ETC SERVICES
netbios name = GALILEO
server string = The Server - Samba %v on %$(OS)
encrypt passwords = Yes
min passwd length = 6
map to guest = Bad User
passwd program = /usr/bin/passwd
unix password sync = Yes
log level = 2
log file = /var/log/samba/log.%m
debug pid = Yes
debug uid = Yes
large readwrite = Yes
announce version = 4.2
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
load printers = No
domain admin group = root swebster
domain guest group = smbguest
logon script = %U.bat
logon path = \\galileo\profiles\%U
logon drive = h:
logon home = \\galileo\%U\profile
domain logons = Yes
os level = 255
preferred master = True
domain master = True
dns proxy = No
wins support = Yes
default service = public
socket address = 
guest account = smbguest
printer admin = swebster
hosts allow = 192.168.9. 127.
hosts deny = 192.168.9.254
printing = lprng
lppause command = lpc hold %p %j
lpresume command = lpc release %p %j
queuepause command = lpc disable %p
queueresume command = lpc enable %p

[homes]
comment = Home Directories
read only = No
browseable = No
fstype = Samba

[netlogon]
comment = NetLogon Service
path = /var/samba/netlogon
guest account = 
browseable = No
locking = No

[profiles]
comment = Windows NT/2000/XP Profiles
path = /var/samba/ntprofile
read only = No
create mask = 0600
directory mask = 0700
    browseable = No
-->8-

-- 
Scott D. Webster, RHCE   mailto:[EMAIL PROTECTED]
Etc Services  http://www.EtcServices.com
Voice: 201.439.1900  Fax: 201.439.0366   Pager: 800.379.2402
  Linux, UNIX, Internet Technology,
  & Open Source Software Consulting   



signature.asc
Description: This is a digitally signed message part