RE : smb.conf issues for 2.2.8

2004-08-17 Thread COLLOT Jean-Yves
> My personal desire, and I never had time to act on it what to have a
command
> procedure that would ask some questions about a new environment, and then
> build an SMB.CONF with the correct information.

The SWAT wizard is a first step.


PLEASE READ THIS IMPORTANT ETIQUETTE MESSAGE BEFORE POSTING:

http://www.catb.org/~esr/faqs/smart-questions.html


Re: smb.conf issues for 2.2.8

2004-08-16 Thread John E. Malmberg
In article <[EMAIL PROTECTED]>,
COLLOT Jean-Yves <[EMAIL PROTECTED]> writes:
> The template is actually VERY out of date

> With the next release, I'll provide a template that, in addition to be
> up-to-date, without unknown parameters, will reflect the way I
> personally use Samba, i.e. in a "security=DOMAIN" way, and with an
> external = (Microsoft) WINS server.

Multiple template files are probably more useful.  My guess is that the
users are about evenly split between domain users and workgroup users.

My personal desire, and I never had time to act on it what to have a command
procedure that would ask some questions about a new environment, and then
build an SMB.CONF with the correct information.

> The problem is (and I apologize for it) that my main concern is to have
> a satisfactory Samba Server in my own environment, and my boss would not
> be happy if I spent most of my time testing and eventually fixing Samba
> features that we don't even dream of using here (and, as far as I know,
> are not used anywhere).

That is nothing to apoligize for.  With an Open Source project, if someone
wants something different than what is supplied, they have the following
options:

1. Do it them selves.
2. Pay someone else to do it.
3. Beg for someone to do it for free and wait for them.

Your contributions to this project have been significant, and you have
currently become the defacto change control manager of the public distribution.

> When users from the Samba/VMS community encounter problems, I do my
> best to help them, and fix the bugs they encounter. Because nobody ever
> complained about the WINS server feature not working correctly, even if
> I suspect it would not, I infer that nobody uses it, so I forget about it
> for the moment.
> I have definitely no time enough to try everything that can be done
> with Samba.

Which is why more builders and testers need to be recruited.

If you are running a small home network like I do, the WINS function
becomes more important.

Currently with what little spare time I have, I am concentrating on rsync.
and trying to get it to the state where I can build against the same active
build as the rsync developers.  I am currently getting an over 90% build, and
have a client working well enough to keep my local copy of their CVS directory
up to date.

When I started working on SAMBA, I had a network of two PCs and a VAX, and the
PC was the only way I could display X-11 applications.  Now I have two Alphas,
both with DECWindows MOTIF, and do not use the PC much at all any more.

> John E. Malmberg said :
>> It turns out that the hack in past releases NMBD to change the fork()
>> call to return a constant of 0, it appears that might cause NMBD to
>> appear to hang.
>
> That is very possible and most probably true, if you say so. However, I
> have not experienced it, no user I am aware of experienced it either, and I
> don't know what I should do to reproduce that issue. I would need more
> information here.

I am not sure how serious the issue is.  I think that in most cases the
hang induced (if one is induced) is short enough that it does not cause a
protocol time out.  A change to use the TCPIP dispatcher may induce just as
much of a delay as in the present code since the process create time on OpenVMS
is more expensive.  My concern is that I think there may be a possibility of a
deadlock.

I brought up the issue so that others with time can investigate it.

Also slightly related to SAMBA, IIRC, someone on comp.os.vms posted a month
or so ago that they had managed to get a Windows Terminal Server client to
build and run on OpenVMS.

-John
[EMAIL PROTECTED]
Personal Opinion Only

PLEASE READ THIS IMPORTANT ETIQUETTE MESSAGE BEFORE POSTING:

http://www.catb.org/~esr/faqs/smart-questions.html


RE : smb.conf issues for 2.2.8

2004-08-16 Thread COLLOT Jean-Yves
The template is actually VERY out of date.

With the next release, I'll provide a template that, in addition to be
up-to-date, without unknown parameters, will reflect the way I personally
use Samba, i.e. in a "security=DOMAIN" way, and with an external (Microsoft)
WINS server. 

I must admit that I never tried to use Samba with the "wins support = Yes"
option, and I somehow doubt that it would work smoothly. That's why I never
encountered the "dns proxy = Yes" issue, because this parameter is active
only when NMBD works as a WINS server itself.

The problem is (and I apologize for it) that my main concern is to have a
satisfactory Samba Server in my own environment, and my boss would not be
happy if I spent most of my time testing and eventually fixing Samba
features that we don't even dream of using here (and, as far as I know, are
not used anywhere).  
When users from the Samba/VMS community encounter problems, I do my best to
help them, and fix the bugs they encounter. Because nobody ever complained
about the WINS server feature not working correctly, even if I suspect it
would not, I infer that nobody uses it, so I forget about it for the moment.
I have definitely no time enough to try everything that can be done with
Samba. 

John E. Malmberg said :
> It turns out that the hack in past releases NMBD to change the fork() 
> call to return a constant of 0, it appears that might cause NMBD to 
> appear to hang.

That is very possible and most probably true, if you say so. However, I have
not experienced it, no user I am aware of experienced it either, and I don't
know what I should do to reproduce that issue. I would need more information
here.

JYC

-Message d'origine-
De : John E. Malmberg [mailto:[EMAIL PROTECTED] 
Envoyé : vendredi 13 août 2004 01:38
À : [EMAIL PROTECTED]
Objet : smb.conf issues for 2.2.8

The template smb.conf is out of date for 2.2.8 and is listing several 
parameters that are no longer used.

This is causing visible diagnostics like:

   WARNING: The "status"option is deprecated
   Unknown parameter encountered: "read prediction"
   Ignoring unknown parameter "read prediction"

And unless this release has found a way to implement a fork() function, 
or has converted NMBD to threads, the parameter "dns proxy" should be 
set to "no".

And related to that:

It turns out that the hack in past releases NMBD to change the fork() 
call to return a constant of 0, it appears that might cause NMBD to 
appear to hang.

To provide the functionality that SAMBA expects, either NMBD must be 
converted to threading, or be launched by the TCPIP dispatcher like SMBD 
is.  It looks like converting to be launched by the TCPIP dispatcher is 
simpler.

-John
[EMAIL PROTECTED]
Personal Opinion Only

PLEASE READ THIS IMPORTANT ETIQUETTE MESSAGE BEFORE POSTING:

http://www.catb.org/~esr/faqs/smart-questions.html
PLEASE READ THIS IMPORTANT ETIQUETTE MESSAGE BEFORE POSTING:

http://www.catb.org/~esr/faqs/smart-questions.html


smb.conf issues for 2.2.8

2004-08-12 Thread John E. Malmberg
The template smb.conf is out of date for 2.2.8 and is listing several 
parameters that are no longer used.

This is causing visible diagnostics like:
  WARNING: The "status"option is deprecated
  Unknown parameter encountered: "read prediction"
  Ignoring unknown parameter "read prediction"
And unless this release has found a way to implement a fork() function, 
or has converted NMBD to threads, the parameter "dns proxy" should be 
set to "no".

And related to that:
It turns out that the hack in past releases NMBD to change the fork() 
call to return a constant of 0, it appears that might cause NMBD to 
appear to hang.

To provide the functionality that SAMBA expects, either NMBD must be 
converted to threading, or be launched by the TCPIP dispatcher like SMBD 
is.  It looks like converting to be launched by the TCPIP dispatcher is 
simpler.

-John
[EMAIL PROTECTED]
Personal Opinion Only
PLEASE READ THIS IMPORTANT ETIQUETTE MESSAGE BEFORE POSTING:
http://www.catb.org/~esr/faqs/smart-questions.html


sample SMB.CONF file for Joe and others

2003-12-18 Thread RR - Rod Regier

(n.b. I don't use SAMBA for printing)

Site has domain w/PDC, SAMBA node is linked to PDC.
XP workstations.

[global]
workgroup = WILMA
netbios name = DYMA
security = DOMAIN
encrypt passwords = Yes
update encrypted = Yes
#
#   JYC recommended addition
#
Password server = *
log file = /samba_log/log.%m
#   deadtime = 10
#
#   try reduce re-access time to share after first
#   and subsequent timeout
#
deadtime = 480
printcap name = /sys$manager/ucx$printcap.dat
default service = default
guest account = DYMAX
create mask = 0777
print command = print
%f/queue=%p/delete/passall/name="%s"
lprm command = delete/entry=%j
map archive = No
share modes = No
#   max xmit = 8192 #tried with no effect on sigon problem
#
#   JYC recommendation (override stat cache = yes default)   
#
stat cache = no
[R]
comment = Operating system disk
path = /sys$sysdevice/00
read only = No
create mask = 0775
guest ok = Yes
share modes = Yes
[S]
comment = Application shared tree
path = /dym$disk/00
read only = No
create mask = 0775
guest ok = Yes
share modes = Yes

[printers]
comment = All Printers
path = /dym$disk/smb_scr
create mask = 0700
guest ok = Yes
printable = Yes
browseable = No

--
Rod Regier, Software Development   bus: (902)422-1973 x108
Dymaxion Research Ltd., 5515 Cogswell St., fax: (902)421-1267
Halifax, Nova Scotia, B3J 1R2 Canadamailto:[EMAIL PROTECTED]
   http://www.dymaxion.ca
"VMS is today what Microsoft wants Windows NT V8.0 to be!" Compaq,
22-Sep-1998
PLEASE READ THIS IMPORTANT ETIQUETTE MESSAGE BEFORE POSTING:

http://www.catb.org/~esr/faqs/smart-questions.html


Looking for example smb.conf files for Samba for OpenVMS

2003-12-18 Thread Profaizer, Joe
I have SAMBA installed on HP-UX.  Now I'm trying to get it to work on VMS (to no 
avail).  Anyone have any smb.conf files (or examples) I could use to help configure 
mine?

Thanks,

..Joe


-
Joe Profaizer   Reinsurance Group of 
America, Inc.
[EMAIL PROTECTED]   1370 Timberlake Manor 
Parkway
Tel:  636-736-7543  Systems, R2-10
Fax: 636-736-7943   Chesterfield, 
MO  63017-6039

PLEASE READ THIS IMPORTANT ETIQUETTE MESSAGE BEFORE POSTING:

http://www.catb.org/~esr/faqs/smart-questions.html

Re: smb.conf

2003-09-11 Thread Stephen Eickhoff
On Thu, 11 Sep 2003 12:07:05 + (GMT), [EMAIL PROTECTED]
wrote:

>Message: 1
>Date: Thu, 11 Sep 2003 10:36:08 +0100
>From: Michael Tricker <[EMAIL PROTECTED]>
>Subject: Hi I cant get to browse or map to my directory on my samba
>   serve fr
>To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
>Message-ID:
>   <[EMAIL PROTECTED]>
>Content-Type: text/plain; charset="iso-8859-1"
>
>Hi  
>  I have a samba server using vms 7.3-1 and tcpip I have a win200 domain not
>using a/d.
>I have configured my smb.conf file for days and cant get my samba server to
>appear on the list
>OR be able to map to it...

If you're using a Windows 2000 domain, you're using AD!

>Can anyone post a smb.conf file that works for them OR provide some more
>useful stuff.

Here is an smb.conf that works with my DEC3000-600 (EV4 alpha) running VMS
7.3-1 and Samba 2.2.8. I could not get Samba running on my VAX - it doesn't
seem to be communicating with the domain properly.

--
# Samba config file created using SWAT
# from purcell.operagost.local (192.168.0.1)
# Date: 2003/04/26 00:45:54

# Global parameters
[global]
workgroup = OPERAGOST
server string = Gustav Holst
security = DOMAIN
log file = /samba_log/log.%m
deadtime = 10
printcap name = /sys$manager/ucx$printcap.dat
wins support = Yes
default service = default
guest account = PCFS$ACCOUNT
create mask = 0777
print command = print %f/queue=%p/delete/passall/name="""""%s"""""
lprm command = delete/entry=%j
map archive = No

[homes]
comment = Home Directories
read only = No
create mask = 0750
browseable = No

[Seti]
comment = [EMAIL PROTECTED]
path = dka0:[seti]
guest ok = Yes

[printers]
comment = All Printers
path = /dsa1/pcfs_spool/default
create mask = 0700
guest ok = Yes
printable = Yes
browseable = No

-

Do a show sys after starting samba and make sure that NMBD is running.
--
Stephen Eickhoff
  [EMAIL PROTECTED]
--


PLEASE READ THIS IMPORTANT ETIQUETTE MESSAGE BEFORE POSTING:

http://www.catb.org/~esr/faqs/smart-questions.html


RE: sample SMB.CONF request by Michael Tricker

2003-09-11 Thread RR - Rod Regier
# Samba config file created using SWAT
# from 24.222.19.123 (24.222.19.123)
# Date: 2002/11/12 15:39:47
W2K workstations, Microsoft PDC


# Global parameters
[global]
workgroup = WILMA
netbios name = DYMA
security = DOMAIN
encrypt passwords = Yes
update encrypted = Yes
#
#   JYC recommended addition
#
Password server = *
log file = /samba_log/log.%m
deadtime = 10
printcap name = /sys$manager/ucx$printcap.dat
default service = default
guest account = DYMAX
create mask = 0777
print command = print
%f/queue=%p/delete/passall/name="%s"
lprm command = delete/entry=%j
map archive = No
share modes = No
#   max xmit = 8192 #tried with no effect on sigon problem
#
#   JYC recommendation (override stat cache = yes default)   
#
stat cache = no
[R]
comment = Operating system disk
path = /sys$sysdevice/00
read only = No
create mask = 0775
guest ok = Yes
share modes = Yes
[S]
comment = Application shared tree
path = /dym$disk/00
read only = No
create mask = 0775
guest ok = Yes
share modes = Yes

[printers]
comment = All Printers
path = /dym$disk/smb_scr
create mask = 0700
guest ok = Yes
printable = Yes
browseable = No
PLEASE READ THIS IMPORTANT ETIQUETTE MESSAGE BEFORE POSTING:

http://www.catb.org/~esr/faqs/smart-questions.html


SMB.CONF file from sites successfully running VMS SAMBA 2.2.x ?

2003-06-25 Thread RR - Rod Regier
Can you please send me a copy of your SMB.CONF file
if you are successfully running VMS SAMBA 2.2.x.
(Expurgated if need be).

The available docs are sufficiently complicated and lacking in
working sample SMB.CONF files, so examples from working sites
would be helpful in determining which of the 100+ SMB.CONF parameters
are important for a smoothly running SAMBA configuration.

SWAT doesn't seem to be brilliant enough to deal with the
fine detail of all of a site's configuration needs.

Thanks
PLEASE READ THIS IMPORTANT ETIQUETTE MESSAGE BEFORE POSTING:

http://www.catb.org/~esr/faqs/smart-questions.html