[Samba] Did not find a test named RAW-*

2011-10-24 Thread nishant mungse
Hi,

I am facing problem while running RAW tests. When i run following command, i
get the error stating "Did not find a test named RAW-*".

Command ::

root@nishant-ThinkCentre-A85:/home/nishan# smbtorture //nishant/base
-Uuser1%base_ubuntu RAW-*
using seed 1319521290
host=nishant share=base user=user1 myname=nishant-ThinkCentre-A85
Did not find a test named RAW-*

Please help me ASAP.


Thanks and Regards,
Nishant.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] oplocks issue when trying to copy file

2011-10-24 Thread Philip Ong
I don't have a linux vendor. We compile kernel.org kernel on top of Centos 5.x. 
kernel.org is still under construction so I'm not able to submit a bug. Any 
other suggestions?

-Original Message-
From: Jeremy Allison [mailto:j...@samba.org] 
Sent: Monday, October 24, 2011 5:36 PM
To: Jeremy Allison
Cc: Philip Ong; 'samba@lists.samba.org'
Subject: Re: [Samba] oplocks issue when trying to copy file

On Mon, Oct 24, 2011 at 05:35:01PM -0700, Jeremy Allison wrote:
> On Wed, Oct 19, 2011 at 11:33:32PM -0700, Philip Ong wrote:
> > I've narrowed this problem down to a patch that is applied in 2.6.36.3. I 
> > replaced file.c from 2.6.36.2 into 2.6.36.3 and Samba works fine. The 
> > problem is I'm not sure if Samba needs to be fixed or the kernel needs to 
> > be. Anyone know what the right action is? One thing I noticed was the 
> > invalid argument being sent in the debugging log.
> > 
> > "  linux_set_kernel_oplock: Refused oplock on file home/foo/open/test.cfg, 
> > fd = 33, file_id = 17:aa41ab:0. (Invalid argument)"
> > 
> > Any advice would help.
> > 
> > Thanks,
> > Phil
> > 
> > 
> > The commit 129a84de2347002f09721cda3155ccfd19fade40 (locks: fix F_GETLK
> > regression (failure to find conflicts)) fixed the posix_test_lock()
> > function by itself, however, its usage in NFS changed by the commit
> > 9d6a8c5c213e34c475e72b245a8eb709258e968c (locks: give posix_test_lock
> > same interface as ->lock) remained broken - subsequent NFS-specific
> > locking code received F_UNLCK instead of the user-specified lock type.
> > To fix the problem, fl->fl_type needs to be saved before the
> > posix_test_lock() call and restored if no local conflicts were reported.
> 
> Looking closer at the problem...
> 
> We simply call fcntl(fd, F_SETLEASE, leasetype) on a fd to
> get a kernel oplock on it.
> 
> int leasetype can be F_WRLCK or F_UNLCK (from Samba). This
> matches the fcntl F_SETLEASE documentation completely. There
> has been no change whatsoever in Samba in this regard.
> 
> So I'm definitely calling kernel regression bug on this one.

FYI. Can you help me by logging a bug with your Linux
vendor on this one so we can get this fixed please ?

Jeremy.
---
This email message is for the sole use of the intended recipient(s) and may 
contain
confidential information.  Any unauthorized review, use, disclosure or 
distribution
is prohibited.  If you are not the intended recipient, please contact the 
sender by
reply email and destroy all copies of the original message.
---
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] Samba for eComStation 2.0

2011-10-24 Thread Milan Rieder
Gentlemen:


One of the three operating systems on my computer is eComStation 2.0, and it is 
connected to the 
outer world by means ofa TCP/IP facility. This is activated by means of "File 
and Directory Connections 
(Samba)". I have been through several generations of OS/2, so I know that 
system, but the Samba is a 
new field for me.

After I fill in the rectangles, Samba takes two minutes to connect (it gets 
faster later on), and I can move 

my files and folders back and forth. However, the connection times out after 
about 9 minutes,and it is 
difficult to re-establish. This happens whether the connection is idle or busy, 
no difference. OK, I can (and 
do)
 un-mount the opposite server after 8 minutes and renew the connection 
foranother 9 minutes ... and 
so on and so forth. I looked at the various settings, but I did not find where 
and how tochange the timeout. 
If the connection could be set to an hour, that would be much more to my taste. 
Could you please tell me 
how to change this ? 

Thanks & greetings,

Milan

 
***
Milan Rieder
Physics and Chemistry of Minerals, Editor
Mimonska 14 / 638
190 00 Praha 9 - Prosek
Czech Republic
***
e-mail : milan_rie...@jhu.edu
Phone (cell) : (+420) 777 958 039
***
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] [Announce] Samba 3.6.1 Available for Download

2011-10-24 Thread Alejandro
2011/10/20 Karolin Seeger :
> Major enhancements in Samba 3.6.1 include:
>
> o  Fix smbd crashes triggered by Windows XP clients (bug #8384).

Bug 8384 is in REOPEN status: https://bugzilla.samba.org/show_bug.cgi?id=8384
Is really closed in 3.6.1 or I must wait until 3.6.2?

Cheers.

-- 
Alejandro Escanero Blanco
Administrador de Sistemas GNU/Linux
Desarrollador de FusionDirectory (http://www.fusiondirectory.org)
Blog: http://www.mylifebetweencomputers.com
Jabber: blain...@jabberes.com
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] 3.x build and 'net ads join' no longer work in 3.6.0

2011-10-24 Thread mathwig
Hi Darren,

please try: net ads join -U domainadmin%password

GTX
Lars

--
View this message in context: 
http://samba.2283325.n4.nabble.com/3-x-build-and-net-ads-join-no-longer-work-in-3-6-0-tp3903369p3927648.html
Sent from the Samba - General mailing list archive at Nabble.com.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] homes shares not visible

2011-10-24 Thread Raphaël Louis
Hi

Thank you very much !
It seems to suit my needs.

Is it possible to make the opposite, that is to load all homes and to remove
the ones not wanted ?

Something like "load homes = yes" or "auto services = homes", like for
printers ?

I use version 3.5.6 of Samba, but none of these both command line
configurations seem to work, whereas Webmin, when used to configure Samba,
try to put the line "auto services = homes". Is this feature removed from
the latest versions of Samba ?

Thanks

Regards,
Raphaël LOUIS

2011/10/15 TAKAHASHI Motonobu 

> From: Raphaël_Louis 
> Date: Tue, 11 Oct 2011 09:32:21 +0200
>
> > Is there a way to make homes shares permanently visible to everybody on
> the
> > LAN ?
>
> Use "preload" parameter.
> For example to show user1, user2 and user3's homedir:
>
>  preload = user1 user2 user3
>
> ---
> TAKAHASHI Motonobu 
>
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] LDAP/Samba on RHEL6

2011-10-24 Thread Rumbidzayi Gadhula
Thank you Daniel

That statement was commented out in the actual file and I am using ldapsam.
however i still get the same error in /var/log/messages when I run winbind.
The winbind starts and runs but my /var/log/messages gives me

 smbldap_search_domain_info: Adding domain info for UZCHS failed with
NT_STATUS_UNSUCCESSFUL

On 20 October 2011 08:04, Daniel Müller  wrote:

> passdb backend = tdbsam?
> Should be  ldapsam?!
>
> ---
> EDV Daniel Müller
>
> Leitung EDV
> Tropenklinik Paul-Lechler-Krankenhaus
> Paul-Lechler-Str. 24
> 72076 Tübingen
>
> Tel.: 07071/206-463, Fax: 07071/206-499
> eMail: muel...@tropenklinik.de
> Internet: www.tropenklinik.de
> ---
> -Ursprüngliche Nachricht-
> Von: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org]
> Im
> Auftrag von Rumbidzayi Gadhula
> Gesendet: Montag, 17. Oktober 2011 18:38
> An: sa...@samba.org
> Betreff: [Samba] LDAP/Samba on RHEL6
>
> Hello
>
> have configured samba to authenticate with an LDAP backend everything works
> fine including testing the configuration files until I start the net sam
> provision.
> Below is the
> error<
> http://www.tomshardware.com/forum/237835-50-samba-ldap-failing-create-
> domain-users-admins#>message
> I get
>
> lib/smbldap_util.c:310(smbldap_search_domain_info)
> smbldap_search_domain_info: Adding domain info for X failed with
> NT_STATUS_UNSUCCESSFUL
> Adding the Domain Users group.
> Unable to allocate a new gid to create Domain Users group!
> Checking for Domain Admins group.
> Adding the Domain Admins group.
> Unable to allocate a new gid to create Domain Admins group!
> Check for Administrator account.
> Adding the Administrator user.
> Can't create Administrator user, Domain Admins group not available!
>
> I have checked the logs and I can't make sense of them (I am quie green
> when
> it comes to LDAP and Samba). I am following the instructions from the
> redhat
> documentation for rhel6
>
> Below is the /var/log/messages
>
> winbindd/idmap.c:589(idmap_alloc_init)
> Oct 10 08:53:04 x winbindd[18314]: ERROR: Initialization failed for
> alloc backend, deferred!
> Oct 10 08:53:04 x winbindd[18314]: [2011/10/10 08:53:04.768122, 0]
> winbindd/idmap.c:201(smb_register_idmap_alloc)
> Oct 10 08:53:04 x winbindd[18314]: idmap_alloc module ldap already
> registered!
> Oct 10 08:53:04 x winbindd[18314]: [2011/10/10 08:53:04.768198, 0]
> winbindd/idmap.c:201(smb_register_idmap_alloc)
> Oct 10 08:53:04 x winbindd[18314]: idmap_alloc module tdb already
> registered!
> Oct 10 08:53:04 x winbindd[18314]: [2011/10/10 08:53:04.768264, 0]
> winbindd/idmap.c:149(smb_register_idmap)
> Oct 10 08:53:04 x winbindd[18314]: Idmap module passdb already
> registered!
> Oct 10 08:53:04 x winbindd[18314]: [2011/10/10 08:53:04.768328, 0]
> winbindd/idmap.c:149(smb_register_idmap)
> Oct 10 08:53:04 x winbindd[18314]: Idmap module nss already
> registered!
> Oct 10 08:53:04 x winbindd[18314]: [2011/10/10 08:53:04.769683, 0]
> winbindd/idmap.c:589(idmap_alloc_init)
> Oct 10 08:53:04 x winbindd[18314]: ERROR: Initialization failed for
> alloc
>
> See my slapd.conf and smb.conf file, which on testing both return success.
>
> smb.conf
>
> workgroup = UZCHS
> server string = Samba Server Version %v
>
> netbios name = uzchspdc
>
>
> # logs split per machine
> log file = /var/log/samba/log.%m
> # max 50KB per log file, then rotate
> max log size = 1
>
> # - - - - - - - - - - - - Standalone Server Options - - - - - - - - - - - -
> #
> # Security can be set to user, share(deprecated) or server(deprecated)
> #
> # Backend to store user information in. New installations should
> # use either tdbsam or ldapsam. smbpasswd is available for backwards
> # compatibility. tdbsam requires no further configuration.
>
> security = user
> passdb backend = tdbsam
>
>
> # - - - - - - - - - - - - Domain Members Options - - - - - - - - - - - -
> #
> # Security must be set to domain or ads
> domain master = yes
> domain logons = yes
> passdb backend = ldapsam:ldap://127.0.0.1/
> ldapsam:trusted = yes
> ldapsam:editposix = yes
> encrypt passwords = true
>
> ldap admin dn = cn=smbadmin,dc=uzchs,dc=ac,dc=zw
> ldap delete dn = yes
> ldap user suffix = ou=users
> ldap group suffix = ou=groups
> ldap machine suffix = ou=computers
> ldap idmap suffix = ou=idmap
> ldap suffix = dc=uzchs,dc=ac,dc=zw
> ldap ssl = off
>
> idmap backend = ldap:ldap://127.0.0.1/
> idmap uid = 5000-5
> idmap gid = 5000-5
> idmap alloc backend = ldap
> idmap alloc config : ldap_url = ldap://127.0.0.1/
> idmap alloc config : ldap_user_dn = cn=smbadmin,dc=uzchs,dc=ac,dc=zw
> idmap alloc config : ldap_base_dn = ou=idmap,dc=uzchs,dc=ac,dc=zw
>
> logon home = \\127.0.0.1\homes\%U
> logon path = \\%L\%U\.win32_profile
> logon drive = H:
> os level = 34
> preferred master = yes
> preferred master = yes
> wins support = yes
>
> load printers = ye

Re: [Samba] oplocks issue when trying to copy file

2011-10-24 Thread Jeremy Allison
On Mon, Oct 24, 2011 at 05:35:01PM -0700, Jeremy Allison wrote:
> On Wed, Oct 19, 2011 at 11:33:32PM -0700, Philip Ong wrote:
> > I've narrowed this problem down to a patch that is applied in 2.6.36.3. I 
> > replaced file.c from 2.6.36.2 into 2.6.36.3 and Samba works fine. The 
> > problem is I'm not sure if Samba needs to be fixed or the kernel needs to 
> > be. Anyone know what the right action is? One thing I noticed was the 
> > invalid argument being sent in the debugging log.
> > 
> > "  linux_set_kernel_oplock: Refused oplock on file home/foo/open/test.cfg, 
> > fd = 33, file_id = 17:aa41ab:0. (Invalid argument)"
> > 
> > Any advice would help.
> > 
> > Thanks,
> > Phil
> > 
> > 
> > The commit 129a84de2347002f09721cda3155ccfd19fade40 (locks: fix F_GETLK
> > regression (failure to find conflicts)) fixed the posix_test_lock()
> > function by itself, however, its usage in NFS changed by the commit
> > 9d6a8c5c213e34c475e72b245a8eb709258e968c (locks: give posix_test_lock
> > same interface as ->lock) remained broken - subsequent NFS-specific
> > locking code received F_UNLCK instead of the user-specified lock type.
> > To fix the problem, fl->fl_type needs to be saved before the
> > posix_test_lock() call and restored if no local conflicts were reported.
> 
> Looking closer at the problem...
> 
> We simply call fcntl(fd, F_SETLEASE, leasetype) on a fd to
> get a kernel oplock on it.
> 
> int leasetype can be F_WRLCK or F_UNLCK (from Samba). This
> matches the fcntl F_SETLEASE documentation completely. There
> has been no change whatsoever in Samba in this regard.
> 
> So I'm definitely calling kernel regression bug on this one.

FYI. Can you help me by logging a bug with your Linux
vendor on this one so we can get this fixed please ?

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


Re: [Samba] oplocks issue when trying to copy file

2011-10-24 Thread Jeremy Allison
On Wed, Oct 19, 2011 at 11:33:32PM -0700, Philip Ong wrote:
> I've narrowed this problem down to a patch that is applied in 2.6.36.3. I 
> replaced file.c from 2.6.36.2 into 2.6.36.3 and Samba works fine. The problem 
> is I'm not sure if Samba needs to be fixed or the kernel needs to be. Anyone 
> know what the right action is? One thing I noticed was the invalid argument 
> being sent in the debugging log.
> 
> "  linux_set_kernel_oplock: Refused oplock on file home/foo/open/test.cfg, fd 
> = 33, file_id = 17:aa41ab:0. (Invalid argument)"
> 
> Any advice would help.
> 
> Thanks,
> Phil
> 
> 
> The commit 129a84de2347002f09721cda3155ccfd19fade40 (locks: fix F_GETLK
> regression (failure to find conflicts)) fixed the posix_test_lock()
> function by itself, however, its usage in NFS changed by the commit
> 9d6a8c5c213e34c475e72b245a8eb709258e968c (locks: give posix_test_lock
> same interface as ->lock) remained broken - subsequent NFS-specific
> locking code received F_UNLCK instead of the user-specified lock type.
> To fix the problem, fl->fl_type needs to be saved before the
> posix_test_lock() call and restored if no local conflicts were reported.

Looking closer at the problem...

We simply call fcntl(fd, F_SETLEASE, leasetype) on a fd to
get a kernel oplock on it.

int leasetype can be F_WRLCK or F_UNLCK (from Samba). This
matches the fcntl F_SETLEASE documentation completely. There
has been no change whatsoever in Samba in this regard.

So I'm definitely calling kernel regression bug on this one.

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


Re: [Samba] oplocks issue when trying to copy file

2011-10-24 Thread Jeremy Allison
On Fri, Oct 21, 2011 at 01:16:00PM -0700, Philip Ong wrote:
> I also tried 3.6.1 and it still has the issue
> 
> -Original Message-
> From: Michael Wood [mailto:esiot...@gmail.com] 
> Sent: Friday, October 21, 2011 12:09 AM
> To: Philip Ong
> Cc: samba@lists.samba.org; samba-techni...@lists.samba.org
> Subject: Re: [Samba] oplocks issue when trying to copy file
> 
> Try the samba-technical list.
> 
> On 20 October 2011 08:33, Philip Ong  wrote:
> > I've narrowed this problem down to a patch that is applied in 2.6.36.3. I 
> > replaced file.c from 2.6.36.2 into 2.6.36.3 and Samba works fine. The 
> > problem is I'm not sure if Samba needs to be fixed or the kernel needs to 
> > be. Anyone know what the right action is? One thing I noticed was the 
> > invalid argument being sent in the debugging log.
> >
> > "  linux_set_kernel_oplock: Refused oplock on file home/foo/open/test.cfg, 
> > fd = 33, file_id = 17:aa41ab:0. (Invalid argument)"
> >
> > Any advice would help.

Hmmm. As the Samba code hasn't changed here w.r.t. requesting
kernel oplocks it looks like a kernel regression to me.

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


Re: [Samba] Need help with redhat build to --prefix

2011-10-24 Thread Joy Veronneau
That was a big help, now I can run ntlm_auth and winbindd and they find
their libraries. 

However, now that I can run ntlm_auth and winbindd with the correct
libraries, it seems that I need to rebuild my samba config to request ADS
support. I am using this configure command:

./configure --prefix=/app/radius/samba/
--with-configdir=/app/radius/samba/conf
--with-privatedir=/app/radius/samba/private --disable-cups
--with-wbclient=/app/radius/samba/lib --with-ads --with-ldap

but it is unable to find ldap.h.

It looks like openldap is installed on this machine but I am not sure
ldap.h is around anywhere - it's not in /usr/include or /usr/local/include
- I did a find and it's in source4...
sudo find . -name "ldap.h" -print

./app/radius/samba-3.5.8/source4/libcli/ldap/ldap.h

but I am building source3. Should I be building source4? or what is the
best way to proceed...?

Thanks in advance...


-- Joy






On 10/24/11 7:02 AM, "Michael Wood"  wrote:

>Hi
>
>On 21 October 2011 20:23, Joy Veronneau  wrote:
>> Hi,
>>
>> Thanks, I think that setting LD_LIBRARY_PATH would fix the problem on
>>the
>> command line, but here's a little more information about what I want to
>> do.
>>
>> I am installing winbindd on a radius server running Radiator. I will
>>start
>> /app/radius/samba/bin/winbindd whenever the server reboots. Then
>>radiator
>> will be using /app/radius/samba/sbin/ntlm_auth when people need to
>> authenticate. So I have to set it up so every time ntlm_auth runs, it
>>can
>> find the libraries... I was hoping there would be a way to build it so
>> that would work but I am pretty rusty on my C programming/building
>> skills...
>
>Well, you could do this in various ways.  e.g. rename ntlm_auth to
>ntlm_auth.real and then create a script called ntlm_auth like this:
>
>#!/bin/sh
>export LD_LIBRARY_PATH=/app/radius/samba/lib
>exec /app/radius/samba/sbin/ntlm_auth.real "$@"
>
>> Or maybe there is a way to specify the library location in the samba
>> config file?
>
>I don't believe so.
>
>It seems what you need is to pass the -rpath option to the linker
>while building Samba.  This will explicitly tell the dynamic linker
>where to find the libraries when running the binaries.
>
>Try configuring Samba like this (untested):
>
>LDFLAGS=-Wl,-rpath,/app/radius/samba/lib ./configure ...
>
>-- 
>Michael Wood 

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


Re: [Samba] Win 7 Pro again

2011-10-24 Thread TAKAHASHI Motonobu
From: sa...@printflow.eu
Date: Mon, 24 Oct 2011 17:18:39 +0200

> First I tried install KB2171571
> I get "The update is not applicable to your machine" so I guess it was 
> applied by update or sp1.
> 
> I use reg patch and restart. (I took glass of clean water meanwhile).
> I'm able to join PDC successfully.
> 
> As a result I recommend to remove missleading sentence about hotfix from 
> http://wiki.samba.org/index.php/Windows7.

I've just modified this article to clarity that this patch does
nothing to do with joining to the domain. How about?

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


[Samba] Win 7 Pro again

2011-10-24 Thread samba

I have succesfully joined Win 7 Pro to my Samba PDC
Now I'm trying to join other machine.
I'm following wiki.samba.org/index.php/Windows7, but from last time i 
know this is not ultimate solution. In fact it indirectly states that 
with all updates you don't have to do anything to be able join PDC.
Just note, that I have WINS server set in my DHCP as resolved in other 
thread.


First I tried install KB2171571
I get "The update is not applicable to your machine" so I guess it was 
applied by update or sp1.


I use reg patch and restart. (I took glass of clean water meanwhile).
I'm able to join PDC successfully.

As a result I recommend to remove missleading sentence about hotfix from 
http://wiki.samba.org/index.php/Windows7.


Thanks for your work.


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


Re: [Samba] Need help with redhat build to --prefix

2011-10-24 Thread Michael Wood
Hi

On 21 October 2011 20:23, Joy Veronneau  wrote:
> Hi,
>
> Thanks, I think that setting LD_LIBRARY_PATH would fix the problem on the
> command line, but here's a little more information about what I want to
> do.
>
> I am installing winbindd on a radius server running Radiator. I will start
> /app/radius/samba/bin/winbindd whenever the server reboots. Then radiator
> will be using /app/radius/samba/sbin/ntlm_auth when people need to
> authenticate. So I have to set it up so every time ntlm_auth runs, it can
> find the libraries... I was hoping there would be a way to build it so
> that would work but I am pretty rusty on my C programming/building
> skills...

Well, you could do this in various ways.  e.g. rename ntlm_auth to
ntlm_auth.real and then create a script called ntlm_auth like this:

#!/bin/sh
export LD_LIBRARY_PATH=/app/radius/samba/lib
exec /app/radius/samba/sbin/ntlm_auth.real "$@"

> Or maybe there is a way to specify the library location in the samba
> config file?

I don't believe so.

It seems what you need is to pass the -rpath option to the linker
while building Samba.  This will explicitly tell the dynamic linker
where to find the libraries when running the binaries.

Try configuring Samba like this (untested):

LDFLAGS=-Wl,-rpath,/app/radius/samba/lib ./configure ...

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


Re: [Samba] SAMBA 4 the ways to backup

2011-10-24 Thread Michael Wood
On 24 October 2011 08:43, bakytn  wrote:
> Hello!
>
> I have SAMBA4 working just great. Currently I'm already backup it up by just
> taking a full snapshots of the virtual machine SAMBA4 is running on.
>
> But I would like to know, which directories and/or files are actually the
> SAMBA4 databases?
> So, for example I could copy those files and paste onto another SAMBA4 and
> have Controller up and running.

See source4/scripting/bin/samba_backup

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


[Samba] Why torture_run_suite() is called recursively?

2011-10-24 Thread nishant mungse
Hi,
I have a doubt in ui.c file of smbtorture.

In ui.c code why this torture_run_suite() function is called recursively?

Is it the case that this function will complete all the test cases and test
suites of a single test, or if the test contains multiple test suites it
will recursively call all the test suites present in test before moving to
next test. Plz correct me if i am wrong.

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


Re: [Samba] show only existing userhomes

2011-10-24 Thread Zabel, Daniel
A few weeks ago i have asked the following question, but it was not answered.
This is my setup for userhomes:

[homes]
comment = Home Directory
hosts deny = 192.168.128.0/255.255.255.0
valid users = %S
read only = No
browseable = No
create mask = 0600
directory mask = 0700
hide unreadable = yes
access based share enum = yes

I want to show home folder only if it exists in filesystem.
Is there a possibility to do so?

Cheers,

Daniel


-Ursprüngliche Nachricht-
Von: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] Im 
Auftrag von Zabel, Daniel
Gesendet: Mittwoch, 5. Oktober 2011 11:53
An: samba@lists.samba.org
Betreff: [Samba] show only existing userhomes

Hi,

 

Is it possible to show only userhomes that really exist in filesystem?

Only a few userhomes do exist on our samba fileserver , but at this moment for 
every user that connect to this server a userhome is shown, but mostly it 
doesn´t exists - so it couldn´t be opened.

I´ve tried to configure it by using "hide unreadable = yes" on our homeshare 
but this didn´t help.

 

Any Idea?

 

We use Samba 3.6.0.

 

Cheers,

 

Daniel

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