Andrew Bartlett | 1 Sep 01:23 2007
Picon

Re: [SAMBA4] SWAT2 maintainer?

On Fri, 2007-08-31 at 16:35 +0200, Jelmer Vernooij wrote:
> Am Freitag, den 31.08.2007, 10:43 +1000 schrieb Andrew Bartlett:
> > Alternately, is there another web-based LDAP browser we could encourage
> > users to use (such as phpLdapAdmin)?  
> > 
> > On the flip side, should we make this aspect of SWAT an external project
> > - it would seem useful well beyond Samba4, why lock it up?  Perhaps it
> > could attract more and useful developer attention elsewhere?
> That may not be such a bad idea. I think SWAT2 as initially proposed is
> probably a bit too large for a project like Samba 4 with the number of
> developers we have and the amount of work we already have ahead of us.

If we dropped SWAT from the tarball for this alpha release, we could
drastically reduce the 'shock-value' of the release size:

[abartlet <at> naomi SAMBA_4_0_RELEASE]$ du -k *.tar.gz
4960    samba-4.0.0alpha1-SVN-build-UNKNOWN.tar.gz
9316    samba-4.0.0alpha1-SVN-build-UNKNOWN-with-webapps.tar.gz

We would also avoid promising SWAT into the future, as it remains
completely untested - every time I do a new test on SWAT, I find
something else broken.  But because it's a web app, I can't script the
testing...

Alternately, we could drop SWAT2, and for alpha2 revert to the SWAT code
included in TP1 (which, with a bit of a fiddle, I think I could write
automated tests for). 

Thoughts?

(Continue reading)

ronmexico | 1 Sep 01:40 2007
Picon

Re: Samba as a PDC - Windows Vista


I identified the problem: WINS is not working

I don't know much about WINS on *nix. All the docs I read indicate "wins
support = yes" does everything for me.

How do I look  <at>  the WINS database?
What command line utils can I use on my *nix box to confirm WINS resolution
is working?

I have WINS TCP/UDP and NetBIOs TCP/UDP on in /etc/services

I see now that the "dns proxy = yes" was causing me grief, it was taking the
failed WINS lookups and forwarding them to the DNS server (Bind 9). DNS
registration (apparently) is not supported in Samba 3.23 (possibly in Samba
4)....

ronmexico wrote:
> 
> Ok......
> 
> I added the SRV records to my Bind 9 DNS server. I'm now gettinga
> DIFFERENT WINS/DNs resolution error. I am now getting the following error
> when trying to join a Windows Vista client to the 'HOMENET.LOCAL' domain
> [controlled by 'fbsd.homenet.local' (192.168.21.10)...]
> 
> DNS was successfully queried for the service location (SRV) resource
> record used to locate an Active Directory Domain Controller for domain
> homenet.local:
> 
(Continue reading)

Jelmer Vernooij | 1 Sep 02:13 2007
Picon

Re: [SAMBA4] SWAT2 maintainer?

Am Samstag, den 01.09.2007, 09:23 +1000 schrieb Andrew Bartlett: 
> If we dropped SWAT from the tarball for this alpha release, we could
> drastically reduce the 'shock-value' of the release size:
> 
> [abartlet <at> naomi SAMBA_4_0_RELEASE]$ du -k *.tar.gz
> 4960    samba-4.0.0alpha1-SVN-build-UNKNOWN.tar.gz
> 9316    samba-4.0.0alpha1-SVN-build-UNKNOWN-with-webapps.tar.gz
Wow, that does matter a lot, indeed.

> We would also avoid promising SWAT into the future, as it remains
> completely untested - every time I do a new test on SWAT, I find
> something else broken.  But because it's a web app, I can't script the
> testing...
> 
> Alternately, we could drop SWAT2, and for alpha2 revert to the SWAT code
> included in TP1 (which, with a bit of a fiddle, I think I could write
> automated tests for). 
How usable would it be in that form? There's no point in having a
stripped down SWAT like the one in Samba 3 imho.

This is an alpha, so I don't think having SWAT in now gives the wrong
impression to people about continuity. 

Cheers,

Jelmer
--

-- 
Jelmer Vernooij <jelmer <at> samba.org> - http://samba.org/~jelmer/
Jabber: jelmer <at> fsfe.org
(Continue reading)

Andrew Bartlett | 1 Sep 05:27 2007
Picon

Re: [SAMBA4] SWAT2 maintainer?

On Sat, 2007-09-01 at 02:13 +0200, Jelmer Vernooij wrote:
> Am Samstag, den 01.09.2007, 09:23 +1000 schrieb Andrew Bartlett: 
> > If we dropped SWAT from the tarball for this alpha release, we could
> > drastically reduce the 'shock-value' of the release size:
> > 
> > [abartlet <at> naomi SAMBA_4_0_RELEASE]$ du -k *.tar.gz
> > 4960    samba-4.0.0alpha1-SVN-build-UNKNOWN.tar.gz
> > 9316    samba-4.0.0alpha1-SVN-build-UNKNOWN-with-webapps.tar.gz
> Wow, that does matter a lot, indeed.
> 
> > We would also avoid promising SWAT into the future, as it remains
> > completely untested - every time I do a new test on SWAT, I find
> > something else broken.  But because it's a web app, I can't script the
> > testing...
> > 
> > Alternately, we could drop SWAT2, and for alpha2 revert to the SWAT code
> > included in TP1 (which, with a bit of a fiddle, I think I could write
> > automated tests for). 
> How usable would it be in that form? There's no point in having a
> stripped down SWAT like the one in Samba 3 imho.

The parts of SWAT that I've successfully used (ie, the install, vampire,
add user) would be there, and it would provide a place for some UI, for
example for setting password quality settings (otherwise you must
manipulate the pwdProperties bitmap).

> This is an alpha, so I don't think having SWAT in now gives the wrong
> impression to people about continuity. 

I see three options, for the short and long term:
(Continue reading)

feroz ahmed | 1 Sep 05:41 2007
Picon

Bug #4867

Hi,
Do some one has a clue why the file discriptors (FD's) are not getting
closed in open-close+delete operation?
This porblem is not seen between two windows boxes. It is observed only
between linux-samba and windows XP.

Volker Lendecke | 1 Sep 07:06 2007
Picon

Re: svn commit: samba r24826 - in branches: SAMBA_3_0_25/source/nsswitch SAMBA_3_2/source/nsswitch SAMBA_3_2_0/source/nsswitch

On Fri, Aug 31, 2007 at 09:51:40AM -0700, Jeremy Allison wrote:
> > Thanks again to Patrick Rynhart for persisting :-)
> 
> I love smbcontrol pool-usage :-).

I will never break pool-usage again.
I will never break pool-usage again.
I will never break pool-usage again.
I will never break pool-usage again.
I will never break pool-usage again.
I will never break pool-usage again.
I will never break pool-usage again.
I will never break pool-usage again.
I will never break pool-usage again.
I will never break pool-usage again.
I will never break pool-usage again.
...

:-)

Volker
Picon

Re: Root privileges in VFS module


> 
> On Fri, 2007-08-31 at 23:12 +0400, Александр Корков wrote:
> > Hi All,
> > 
> > I wrote my VFS module.
> > I need use root privileges when guests connect to the my 
> > services,  but smbd runs process from user nobody...
> > How I can get root privileges in my VFS module?
> > (I want to write some files in )
> > Even on a short time interval.
> 
> become_root();
> 
> <code>
> 
> unbecome_root();
> 
> 
> Simo.
> 
> 
> 
> -- 
> Simo Sorce
> Samba Team GPL Compliance Officer
> email: idra <at> samba.org
> http://samba.org
>

(Continue reading)

Matt Schwartz | 1 Sep 13:20 2007
Picon
Picon

Re: [SAMBA4] SWAT2 maintainer?

As long as it is not too difficult, how about adding the (form-based) ability to delete or disable users? 
This might make the tool a little more useful.  That said, I may be in favor of leaving SWAT out of Alpha1 

>From: Andrew Bartlett <abartlet <at> samba.org>
>Date: 2007/08/31 Fri PM 10:27:23 CDT
>To: Jelmer Vernooij <jelmer <at> samba.org>
>Cc: samba-technical <samba-technical <at> lists.samba.org>, 
	Derrell Lipman <derrell <at> samba.org>
>Subject: Re: [SAMBA4] SWAT2 maintainer?

>On Sat, 2007-09-01 at 02:13 +0200, Jelmer Vernooij wrote:
>> Am Samstag, den 01.09.2007, 09:23 +1000 schrieb Andrew Bartlett: 
>> > If we dropped SWAT from the tarball for this alpha release, we could
>> > drastically reduce the 'shock-value' of the release size:
>> > 
>> > [abartlet <at> naomi SAMBA_4_0_RELEASE]$ du -k *.tar.gz
>> > 4960    samba-4.0.0alpha1-SVN-build-UNKNOWN.tar.gz
>> > 9316    samba-4.0.0alpha1-SVN-build-UNKNOWN-with-webapps.tar.gz
>> Wow, that does matter a lot, indeed.
>> 
>> > We would also avoid promising SWAT into the future, as it remains
>> > completely untested - every time I do a new test on SWAT, I find
>> > something else broken.  But because it's a web app, I can't script the
>> > testing...
>> > 
>> > Alternately, we could drop SWAT2, and for alpha2 revert to the SWAT code
>> > included in TP1 (which, with a bit of a fiddle, I think I could write
>> > automated tests for). 
>> How usable would it be in that form? There's no point in having a
>> stripped down SWAT like the one in Samba 3 imho.
(Continue reading)

Matthias Dieter Wallnöfer | 1 Sep 13:36 2007
Picon

[Samba 4] Difference between userman.c and libnet_user.c

Hi all!

I didn't find out, because in SAMBA 4 exist two modules that seem to 
handle nearly the same tasks. What are the differences between them?

Matthias

Derrell Lipman | 1 Sep 16:54 2007
Picon

Re: [SAMBA4] SWAT2 maintainer?

On 8/31/07, Andrew Bartlett <abartlet <at> samba.org> wrote:
> I see three options, for the short and long term:
>  - ship as-is (with ability to display users fixed in LDB browser)
>  - ship without any SWAT
>  - ship with SWAT from TP1

I had a lot of fun creating the qooxdoo framework for the new SWAT.  I
think it provided a fairly easy way for people to add modules towards
a fully-functional administration tool.  The learning curve for
qooxdoo, although not really difficult, is not tiny either.  I'd love
to see this SWAT continue to be developed, but the last year has shown
that there are not a lot of developers looking to learn about and
develop it.  Furthermore, as much as I really like qooxdoo, I think I
agree with Jerry that a more generic API for Samba, not requiring a
browser interface, is a better long-term way to go.  SWAT, however,
exists (albeit quite incomplete) and no othere API does.  I think I
recommend leaving it in until there's a good replacement.  If nothing
else, during alpha, some new developers may see it and have a desire
to improve upon it.

If SWAT is left in, I still hope to find the time to migrate it to the
current release of qooxdoo, which will eliminate much of the size
issue causes in Samba4.

Derrell


Gmane