Displaying 20 results from an estimated 99 matches for "testparam".
2008 Nov 25
1
"recursive default argument" error
Dear R Users,
I have a function foo in a script with default values for some of the
parameters as follows:
testparams=list(a=1,b=2,c=3)
foo<-function(x,y,testparams=testparams)
x+y+testparams$a+testparams$b+testparams$c
When I try to run foo(1,2), I get the following error:
> testparams=list(a=1,b=2,c=3)
> foo<-function(x,y,testparams=testparams)
+ x+y+testparams$a+testparams$b+testparams$c...
2002 Aug 13
2
AW: Unable to open configuration file "/etc/smb.conf"
Try these two:
bash> which testparam
should tell you which testparam is being started. Is it where you expect it
to be?
bash> strace /full/path/testparam
Gives you information on all system calls called from within testparam. It
will give quite a bit of output and somewhere near the end you will find
something like:
open("/usr...
2019 Nov 20
2
hp-ux samba windows client fails to delete directory
Hi Rowland,
I have attached the output of testparam -v command in the attachment.
Regards,
Arjit
-----Original Message-----
From: samba [mailto:samba-bounces at lists.samba.org] On Behalf Of Rowland penny via samba
Sent: Wednesday, November 20, 2019 5:02 PM
To: samba at lists.samba.org
Subject: Re: [Samba] hp-ux samba windows client fails to dele...
2002 Aug 12
6
Unable to open configuration file "/etc/smb.conf"
Interesting problem - can't figure out what's going on.
I'm using Red Hat 7.0 in conjunction with smbd version 2.2.5
__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com
2002 Aug 13
0
AW: AW: Unable to open configuration file "/etc/smb.conf" (or whe reve r i specify)
..._LARGEFILE) = 3
> fstat64(3, {st_mode=S_IFREG|0644, st_size=1243, ...}) = 0
> brk(0x804e000) = 0x804e000
> read(3, "[global]\n\n workgroup = WORKGRP"..., 512) = 512
And it looks like the file is ok.
Here we have the same sequence of system calls as in testparam. Only does
the read return 512 bytes, the full buffer size.
I am running out of ideas. Why does this read succeede while testparams read
returns 0 bytes?
Oh, I see a difference. From your testparam strace:
open("/etc/samba/smb.conf", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|...
2019 Nov 20
2
hp-ux samba windows client fails to delete directory
Hi Team,
I have configured samba 4.9.0 as PDC on hp-ux.
Scenario:-
1. Configure samba as PDC(smb.conf file is attached) and start smbd and nmbd daemons.
2. Map samba share on 2 Windows PC#1 and PC#2 with same credentials created by pdbedit -a command
3. Windows PC#1 creates two directories, \FOLDER_A\FOLDER_B in the Samba share
4. Change directory to \
5. Windows
2024 Jun 07
1
4.20: case (in)sensitive is broken
On Fri, Jun 07, 2024 at 08:21:26PM +0300, Michael Tokarev wrote:
>But samba applies too much smartness here and breaks things badly.
Fair enough. Can you post a minimal smb.conf and directory
setup that reproduces the problem and how to demo it with smbclient
command lines please ? I know I'm asking to be spoon-fed but my time for
Samba these days is quite limited and this would aid
2024 Jun 07
1
4.20: case (in)sensitive is broken
...k, it needs 3 things. Not one, not two, but three.
[global]
wide links = yes
unix extensions = no
[tst]
msdfs root = yes
The unix extension here is especially interesting. According to the
docs, once wide links are enabled, unix extensions are automatically
disabled. This is confirmed by testparam, - even if I omit unix
extension setting, it is listed as disabled by testparam. HOWEVER,
samba becomes case-sensitive only when unix extensions are EXPLICITLY
disabled too, in addition to enabling wide links. And msdfs root is
also needed.
testparam output is the same no matter if unix extensio...
2005 Mar 18
2
Problem with Samba 3.0 and Sun DS 5.2
Hello,
i have installed Sun Java Enterprise Directory 5.2
configured it for messaging and posix accounts
i can logon to solaris no problem
i complied samba with --with-ldapsam
i configured the smb.conf testparam check and report Ok
when i start samba no errors in messages
when i try to add smbpasswd -a root here is the error
No builtin nor plugin backend for ldapsam found
Loading ldapsam:ldap://192.168.1.53/ failed!
Failed to open passdb!
here is my smb.conf
[global]
workgroup = TRAIN01...
2018 Nov 28
2
Odd behavior on group membership
Hi Rowland, thank you for your prompt reply,
I sent you the testparam output hence lots of defaults (i presumed would
be better), here is crude smb.conf:
root at araucaria:~# cat /etc/samba/smb.conf
[global]
netbios name = ARAUCARIA
realm = AD.TLD
server role = active directory domain controller
workgroup = A1
server services = -dns
ld...
2003 Feb 13
1
SSL problem
Hi all
I have a problem !!!
I want to configure samba with windows 98 SE.
I have used this site as reference
http://www.linuxfocus.org/Francais/May2002/article247.shtml
when I make testparam , I got this messages !!
[root@linuxserver root]# testparm
Load smb config files from /etc/samba/smb.conf
Unknown parameter encountered: "ssl CA certFile"
Ignoring unknown parameter "ssl CA certFile"
Processing section "[netlogon]"
Processing section "[homes]"...
2003 May 05
1
Red Hat 8.0 and Samba 2.2.5
I've installed RH8 and samba 2.2.5 with success , my testparam is ok. When I
type smbstatus I am receiving:
Failed to open byte range locking database
Error: Failed to initialize locking database
cant initialize locking module.
Does anyone know what is happening?
Thanks
Elias
_________________________________________________________________
MSN Hotmail, o...
2004 Jan 16
1
Share Unavailable
Hi,
I have files rsync'd from an old samba server. When I try to run
testparam I see the following notice. Samba is running on the new
server. Does anyone know what I'm doing wrong?
Load smb config files from /etc/samba/smb.conf
Processing section "[homes]"
NOTE: Service homes is flagged unavailable.
Processing section "[transfer]"
NOTE: Service tran...
2002 Aug 13
2
AW: Unable to open configuration file "/etc/smb.conf" (or whereve r i specify)
.... August 2002 18:14
> An: Uli Luckas
> Cc: samba@lists.samba.org
> Betreff: Unable to open configuration file "/etc/smb.conf"
> (or wherever
> i specify)
>
>
> --- Uli Luckas <Uli.Luckas@abakusag.de> wrote:
> > Try these two:
> > bash> which testparam
> > should tell you which testparam is being started. Is it
> where you expect it
> > to be?
> > bash> strace /full/path/testparam
> > Gives you information on all system calls called from
> within testparam. It
> > will give quite a bit of output and somewh...
2016 Sep 30
1
Share 'IPC$' has wide links and unix extensions enabled
...t; Tom Schulz
> > Applied Dynamics Intl.
> > schulz at adi.com
> >
>
> It is set automatically, try reading 'man smb.conf'
>
> Rowland
We have the following in our smb.conf file in the global section:
unix extensions = no
wide links = yes
Interesting that testparam does not show the setting for wide links and
I did not remember that we had that setting in smb.conf until I went to
edit smb.conf to add it.
Reading the smb.conf man page, I don't see anything about a share IPC$
or anything to show why unix extensions would be automatically enabled
for any sh...
2016 Nov 10
2
Need help with printer drivers
This is generated with testparam,
# Global parameters
[global]
server string = %h server (Samba, Ubuntu)
server role = standalone server
map to guest = Bad User
obey pam restrictions = Yes
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n
*Retype\snew\s*\spassword:* %n\n *...
2018 May 25
2
Fwd: NT_STATUS_ACCESS_DENIED for guest account to public share
...able = yes' is probably
the same person suggesting 'guest ok = yes' AND 'public = yes'. I like my
redundant configuration settings to reinforce what I'm stating so that if
I'm thinking about denying vs enabling access, I have an option to clearly
latch onto.
Output from testparam:
[global]
dns proxy = No
guest account = guest
log file = /var/log/samba/%m.log
map to guest = Bad User
netbios name = SHARE
security = USER
idmap config * : backend = tdb
[printers]
browseable = No
comment = All Printers...
2023 Apr 07
1
Need SMB server / client tuning help
...10.0.14393 N/A Build 14393
OS Manufacturer: Microsoft Corporation
SMB server:
It is a Hitachi NAS(HNAS) device box.
We don't know much about its SMB configuration as it has a minimal UNIX
based OS version and standard RHEL commands do not work on it. So, we are
not able to run 'testparam -s'
Thanks & regards,
Swapnil M.
On Fri, Apr 7, 2023 at 12:38?PM Rowland Penny via samba <
samba at lists.samba.org> wrote:
>
>
> On 06/04/2023 22:37, Swapneel More via samba wrote:
> > Greetings!!
> >
> > I am seeking your help to resolve a problem I am...
2016 Apr 06
2
Samba (4.1.17) ldap backend create user failed
...try to add a user I get the following
smbpasswd -a foobar
New SMB password:
Retype new SMB password:
ldapsam_create_user: Unable to allocate a new user id: bailing out!
Failed to add entry for user foobar.
I found this workaround
https://lists.samba.org/archive/samba/2009-October/151528.html
but testparam say that
WARNING: The "idmap backend" option is deprecated
Unknown parameter encountered: "idmap alloc backend"
Ignoring unknown parameter "idmap alloc backend"
smbd -V
Version 4.1.17-Debian
egrep -v "(^#|^$|^;)" /etc/samba/smb.conf
[global]
workgroup...
2008 Feb 14
1
Help "Could not get unix ID"
...d of caching is
causing this.
My understanding with SFU is that, there wont be any mappings and the
specific user will pull the uid,gid from AD Unix Attributes.
The winbindd-idmap file throws the following error.
nsswitch/idmap_ad.c:idmap_ad_sids_to_unixids(613)
Could not get unix ID
This is testparam output.
idmap backend = ad
idmap uid = 16777216-33554431
idmap gid = 16777216-33554431
template shell = /bin/bash
winbind separator = +
winbind enum users = Yes
winbind enum groups = Yes
winbind use default domain = Yes
winbind nss in...