Re: [Samba] Prevent smbd from consulting winbindd

2012-01-25 Thread Victor Sudakov
Volker Lendecke wrote:
  Colleagues, please respond. Have I asked something too unconventional
  or something too trivial? 
 
 idmap backend = nss ??

Its man page is very scarce. Is it supposed to work at all? Do you have any
experience with it?

root@fs02-sibptus:~# id zimaev uid=3237(zimaev) gid=2000(user) 
groups=2000(user),2012(budget),3134(pto),2011(ntd)
root@fs02-sibptus:~# wbinfo -n zimaev 
S-1-5-21-839522115-2139871995-725345543-1618 User (1)
root@fs02-sibptus:~# wbinfo -i zimaev
Could not get info for user zimaev
root@fs02-sibptus:~#

what gives?

-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
sip:suda...@sibptus.tomsk.ru
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Prevent smbd from consulting winbindd

2012-01-25 Thread Lukas

Am 25.01.2012 09:58, schrieb Victor Sudakov:

Volker Lendecke wrote:

Colleagues, please respond. Have I asked something too unconventional
or something too trivial?


idmap backend = nss ??


Its man page is very scarce. Is it supposed to work at all? Do you have any
experience with it?

root@fs02-sibptus:~# id zimaev uid=3237(zimaev) gid=2000(user) 
groups=2000(user),2012(budget),3134(pto),2011(ntd)
root@fs02-sibptus:~# wbinfo -n zimaev 
S-1-5-21-839522115-2139871995-725345543-1618 User (1)
root@fs02-sibptus:~# wbinfo -i zimaev
Could not get info for user zimaev
root@fs02-sibptus:~#

what gives?



what do you have in smb.conf defined for security?
(general portion of smb.conf)

Greetz,
L.

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


Re: [Samba] Samba 3.5.8 - windows XP workstations disapear from browselist

2012-01-25 Thread BartekR

Hello !

I would like to refresh this topic beacuse I have discovered something 
new. This problem relates only to machines with WINDOWS XP with 
automatic system update enabled. Win XP sp2 (fresh install) with 
disabled updates does not dissapear! So should i try to uninstall some 
of updates ?Is there any way to find the one responsible for this problem?


Thanks !
BartekR

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


[Samba] CTDB : DNS Round-robin of *ONE* ip (!)

2012-01-25 Thread Nicolas Ecarnot

Hi,

Using ctdb, is it a valid setup to have :
CTDB_PUBLIC_ADDRESSES=/etc/ctdb/public_addresses
containing only one ip address, thus with no round-robin.

Is there a particular hard-coded limit that doesn't allow this?

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


Re: [Samba] Prevent smbd from consulting winbindd

2012-01-25 Thread Victor Sudakov
Lukas wrote:
  Colleagues, please respond. Have I asked something too unconventional
  or something too trivial?
 
  idmap backend = nss ??
 
  Its man page is very scarce. Is it supposed to work at all? Do you have any
  experience with it?
 
  root@fs02-sibptus:~# id zimaev uid=3237(zimaev) gid=2000(user) 
  groups=2000(user),2012(budget),3134(pto),2011(ntd)
  root@fs02-sibptus:~# wbinfo -n zimaev 
  S-1-5-21-839522115-2139871995-725345543-1618 User (1)
  root@fs02-sibptus:~# wbinfo -i zimaev
  Could not get info for user zimaev
  root@fs02-sibptus:~#
 
  what gives?
 
 
 what do you have in smb.conf defined for security?
 (general portion of smb.conf)

[global]
workgroup = SIBPTUS
wins server = 10.14.134.1 10.14.134.4
security = domain
idmap backend = nss
idmap uid = 1000-199
idmap gid = 1000-199
template shell = /bin/bash
winbind use default domain = Yes
allow trusted domains = Yes


-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
sip:suda...@sibptus.tomsk.ru
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] AD to samba 3 migration help

2012-01-25 Thread Marco Strullato
Hi all,
I have a MS AD domain that I want to migrate to samba 3.
I know that it is not possible to migrate all the features of AD but
we're using only the features supported by samba3.

what is the best way you suggest?

Thanks



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


Re: [Samba] Prevent smbd from consulting winbindd

2012-01-25 Thread Lukas

Am 25.01.2012 11:49, schrieb Victor Sudakov:

Lukas wrote:

Colleagues, please respond. Have I asked something too unconventional
or something too trivial?


idmap backend = nss ??


Its man page is very scarce. Is it supposed to work at all? Do you have any
experience with it?

root@fs02-sibptus:~# id zimaev uid=3237(zimaev) gid=2000(user) 
groups=2000(user),2012(budget),3134(pto),2011(ntd)
root@fs02-sibptus:~# wbinfo -n zimaev 
S-1-5-21-839522115-2139871995-725345543-1618 User (1)
root@fs02-sibptus:~# wbinfo -i zimaev
Could not get info for user zimaev
root@fs02-sibptus:~#

what gives?



what do you have in smb.conf defined for security?
(general portion of smb.conf)


[global]
workgroup = SIBPTUS
wins server = 10.14.134.1 10.14.134.4
security = domain
idmap backend = nss
idmap uid = 1000-199
idmap gid = 1000-199
template shell = /bin/bash
winbind use default domain = Yes
allow trusted domains = Yes


To me it seems, since you have security = domain, samba will try to 
authenticate4 always to the domain controller.
Therefore: wbinfo -i zimaev will not return something valid, unless you 
prepend the user with the domain (wbinfo -i DOMAIN\zimaev don't forget 
to map the backslash with a second one DOMAIN\\zimaev) :-)


More about how that works with the security:
http://www.samba.org/samba/docs/man/manpages-3/smb.conf.5.html#SECURITY

The idmap backend = nss just tells samba, where to store the mapping 
informations from AD- versus *nix-Users.


that's about what I know of... :)
hope it can hint you to where you'd like to go ...
L.

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


Re: [Samba] The Recycled PIDs Fix

2012-01-25 Thread Volker Lendecke
Hi!

Sure it can be modified to do that. What part of the last
mail I sent needs clarification? The non-clustered version
is relatively minor work, serverid.c is pretty trivial.
Adding the clustered version is definitely more work.

If you need any specific guidance to write a clean-room lgpl
serverid.c, feel free to ask the questions here. I will be
more than happy to review the patch once you have it.

With best regards,

Volker Lendecke

On Wed, Jan 25, 2012 at 04:57:11AM -0700, Shyamsundar R wrote:
 Adding my thoughts to this.
 
 Basically the smbsharedmodes manner of working, as of now, will not work for 
 any other service/protocol provider to have shared locking semantics with 
 SAMBA (unless they are GPLv3 themselves). As without registering the unique 
 ID, any other service that wants to register locks in the SAMBA database for 
 cross protocol locking to function, will not be feasible.
 
 I would think the intention for having the shared locking database and the 
 library (smbsharedmodes) would be to enable this functionality, across SAMBA 
 and other file services that need file locking of this nature. Hence the 
 ability to register the unique ID would also fall under this bucket of things 
 to provide.
 
 With this in mind, would it be possibly to (re)consider how the unique ID 
 registration can be modified, so that other services can leverage the 
 inherent locking that smbsharedmodes is providing to play nice in a SAMBA + 
 other protocol serving needs environment?
 
 Regards,
 Shyam
  
  Manoj Dahal 1/25/2012 05:12 PM  
 Hi Volker,
  
 An alternate thought came into mind.
 Is it possible for you or someone from Samba to write a simpler serverid.c 
 code without cluster support?
 Which can possibly be bundled in a new library or in libsmbsharemodes.so 
 under LGPL.
 So that it will have lesser licensing issues. 
  
 Thanks,
  
 -Manoj
 
  Volker Lendecke volker.lende...@sernet.de 1/24/2012 7:06 PM 
 On Tue, Jan 24, 2012 at 06:31:59AM -0700, Manoj Dahal wrote:
  Thanks a lot again. Is it possible for you to let us know
  the other authors/contributors
  of serverid.c ? So that we can obtain their approval as well.
 
 You can find them with git log serverid.c.
 
 With best regards,
 
 Volker Lendecke
 
 -- 
 SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
 phone: +49-551-37-0, fax: +49-551-37-9
 AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
 http://www.sernet.de, mailto:kont...@sernet.de
 .
 

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-37-0, fax: +49-551-37-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kont...@sernet.de
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Prevent smbd from consulting winbindd

2012-01-25 Thread Victor Sudakov
Lukas wrote:
  Lukas wrote:
  Colleagues, please respond. Have I asked something too unconventional
  or something too trivial?
 
  idmap backend = nss ??
 
  Its man page is very scarce. Is it supposed to work at all? Do you have 
  any
  experience with it?
 
  root@fs02-sibptus:~# id zimaev uid=3237(zimaev) gid=2000(user) 
  groups=2000(user),2012(budget),3134(pto),2011(ntd)
  root@fs02-sibptus:~# wbinfo -n zimaev 
  S-1-5-21-839522115-2139871995-725345543-1618 User (1)
  root@fs02-sibptus:~# wbinfo -i zimaev
  Could not get info for user zimaev
  root@fs02-sibptus:~#
 
  what gives?
 
 
  what do you have in smb.conf defined for security?
  (general portion of smb.conf)
 
  [global]
  workgroup = SIBPTUS
  wins server = 10.14.134.1 10.14.134.4
  security = domain
  idmap backend = nss
  idmap uid = 1000-199
  idmap gid = 1000-199
  template shell = /bin/bash
  winbind use default domain = Yes
  allow trusted domains = Yes
 
 
 To me it seems, since you have security = domain, samba will try to 
 authenticate4 always to the domain controller.
 Therefore: wbinfo -i zimaev will not return something valid, unless you 
 prepend the user with the domain (wbinfo -i DOMAIN\zimaev don't forget 
 to map the backslash with a second one DOMAIN\\zimaev) :-)

Don't forget, I have winbind use default domain = Yes and 
wbinfo -n user_without_domain is successful. Anyway, I have tried both:

root@fs02-sibptus:~# wbinfo -n kuskovaa
S-1-5-21-839522115-2139871995-725345543-1114 User (1)
root@fs02-sibptus:~# wbinfo -i kuskovaa
Could not get info for user kuskovaa
root@fs02-sibptus:~# wbinfo -i SIBPTUS\\kuskovaa
Could not get info for user SIBPTUS\kuskovaa
root@fs02-sibptus:~# wbinfo --own-domain
SIBPTUS
root@fs02-sibptus:~# 


 More about how that works with the security:
 http://www.samba.org/samba/docs/man/manpages-3/smb.conf.5.html#SECURITY
 
 The idmap backend = nss just tells samba, where to store the mapping 
 informations from AD- versus *nix-Users.

Yes, I want to store the mapping in getpwnam() and the primary group
in getgrnam().

-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
sip:suda...@sibptus.tomsk.ru
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] The Recycled PIDs Fix

2012-01-25 Thread Manoj Dahal
** Low Priority **

Hi Volker,
 
This is regarding your fix on recycled PIDs. I am an NCP developer from Novell 
and we use libsmbsharemodes library
from Samba for Cross Protocols Locks between NCP, Samba and others. I have few 
queries regarding your fix.
 
In your fix, you have added a new field called 'unique_id' in the server_id 
structure 
and we need to pass this in our call to samba share mode APIs  e.g. 
create_share_mode_entry().
 
Also, you have introduced server registration/de-registration which is 
associated with 'unqiue_id'. If we use these new APIs 
then in which library from Samba do we need to link to?  Or without calling 
serverid_register() can we directly pass any 'unique_id'
while calling to create_share_mode_entry() and in that case whether this and 
other share mode APIs will work properly?
 
 
Looking forward to your answer,
 
 
Thanks,
 
-Manoj
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Re: [Samba] The Recycled PIDs Fix

2012-01-25 Thread Manoj Dahal
** Low Priority **

Hi Volker,
 
Thanks a lot for your response. I have some more doubts.
 
What is the issue with libsmbsharemodes to make it cluster aware?
 
If the serverid is included in libsmbsharemodes without the dbwrap for 
clustering,
I believe without the *_ctdb() calls and without the #ifdef CLUSTER_SUPPORT 
would be enough, right?
That is mainly re-writing  dbwrap.c . Or in serverid.c should I replace the 
db_open() and other related calls by tdb_open() etc.
 
If any of my approaches looks fine, then I would like to submit the patch to 
you for review.
 
Thanks,
 
-Manoj

 Volker Lendecke volker.lende...@sernet.de 1/20/2012 7:08 PM 
Hello!

On Fri, Jan 20, 2012 at 04:38:21AM -0700, Manoj Dahal wrote:
  
 This is regarding your fix on recycled PIDs. I am an NCP
 developer from Novell and we use libsmbsharemodes library
 from Samba for Cross Protocols Locks between NCP, Samba
 and others. I have few queries regarding your fix.
  
 In your fix, you have added a new field called 'unique_id'
 in the server_id structure 
 and we need to pass this in our call to samba share mode
 APIs  e.g. create_share_mode_entry().
  
 Also, you have introduced server
 registration/de-registration which is associated with
 'unqiue_id'. If we use these new APIs 
 then in which library from Samba do we need to link to?
 Or without calling serverid_register() can we directly
 pass any 'unique_id'
 while calling to create_share_mode_entry() and in that
 case whether this and other share mode APIs will work
 properly?

If you pass a random unique_id, the share mode entry will be
wiped once smbd reads it. You have to invent a unique_id,
fill a struct server_id with it and call serverid_register()
before using it. serverid_deregister() will remove that
registration again. Unfortunately we don't provide an API
to that functionality via libsmbsharemodes. It's not rocket
science, and I would be happy to relicense my contribution
to serverid.c under LGPL for inclusion into
libsmbsharemodes. The problem there is that serverid.c is
based on dbwrap for clustering, which libsmbsharemodes is
not. So you will have to rewrite significant portions of
serverid.c to directly open the tdb file.

With best regards,

Volker Lendecke

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-37-0, fax: +49-551-37-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kont...@sernet.de

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

Re: [Samba] The Recycled PIDs Fix

2012-01-25 Thread Manoj Dahal
** Low Priority **

Hi Volker,
 
Thanks a lot again. Is it possible for you to let us know the other 
authors/contributors
of serverid.c ? So that we can obtain their approval as well.
 
Regards,
 
-Manoj

 Volker Lendecke volker.lende...@sernet.de 1/24/2012 2:36 PM 
On Tue, Jan 24, 2012 at 12:19:14AM -0700, Manoj Dahal wrote:
 Thanks a lot for your response. I have some more doubts.
  
 What is the issue with libsmbsharemodes to make it cluster aware?

It's licensing. The cluster code is a significant piece of
GPLv3+ code that has had contributions from many people. So
relicensing under a more liberal license will be a
challenge. Eventually we will implement a lgpl-friendly ctdb
database access layer and use it in Samba, but this is
nowhere on anyones concrete plans.

If you are willing to relicense your NCP server code under a
GPLv3-compatible license, making libsmbsharemodes
cluster-aware will become a lot easier.

 If the serverid is included in libsmbsharemodes without
 the dbwrap for clustering,
 I believe without the *_ctdb() calls and without the
 #ifdef CLUSTER_SUPPORT would be enough, right?
 That is mainly re-writing  dbwrap.c . Or in serverid.c

Rewriting dbwrap.c under a liberal license is not enough.
The big one is dbwrap_ctdb.c and its dependencies.

 should I replace the db_open() and other related calls by
 tdb_open() etc.

This is the way to go. You need to make sure the other
contributors to serverid.c also agree to re-licensing it
under LGPL.

With best regards,

Volker Lendecke

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-37-0, fax: +49-551-37-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kont...@sernet.de

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

Re: [Samba] The Recycled PIDs Fix

2012-01-25 Thread Manoj Dahal
** Low Priority **

Hi Volker,
 
An alternate thought came into mind.
Is it possible for you or someone from Samba to write a simpler serverid.c code 
without cluster support?
Which can possibly be bundled in a new library or in libsmbsharemodes.so under 
LGPL.
So that it will have lesser licensing issues. 
 
Thanks,
 
-Manoj

 Volker Lendecke volker.lende...@sernet.de 1/24/2012 7:06 PM 
On Tue, Jan 24, 2012 at 06:31:59AM -0700, Manoj Dahal wrote:
 Thanks a lot again. Is it possible for you to let us know
 the other authors/contributors
 of serverid.c ? So that we can obtain their approval as well.

You can find them with git log serverid.c.

With best regards,

Volker Lendecke

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-37-0, fax: +49-551-37-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kont...@sernet.de
.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Re: [Samba] The Recycled PIDs Fix

2012-01-25 Thread Shyamsundar R
Adding my thoughts to this.

Basically the smbsharedmodes manner of working, as of now, will not work for 
any other service/protocol provider to have shared locking semantics with SAMBA 
(unless they are GPLv3 themselves). As without registering the unique ID, any 
other service that wants to register locks in the SAMBA database for cross 
protocol locking to function, will not be feasible.

I would think the intention for having the shared locking database and the 
library (smbsharedmodes) would be to enable this functionality, across SAMBA 
and other file services that need file locking of this nature. Hence the 
ability to register the unique ID would also fall under this bucket of things 
to provide.

With this in mind, would it be possibly to (re)consider how the unique ID 
registration can be modified, so that other services can leverage the inherent 
locking that smbsharedmodes is providing to play nice in a SAMBA + other 
protocol serving needs environment?

Regards,
Shyam
 
 Manoj Dahal 1/25/2012 05:12 PM  
Hi Volker,
 
An alternate thought came into mind.
Is it possible for you or someone from Samba to write a simpler serverid.c code 
without cluster support?
Which can possibly be bundled in a new library or in libsmbsharemodes.so under 
LGPL.
So that it will have lesser licensing issues. 
 
Thanks,
 
-Manoj

 Volker Lendecke volker.lende...@sernet.de 1/24/2012 7:06 PM 
On Tue, Jan 24, 2012 at 06:31:59AM -0700, Manoj Dahal wrote:
 Thanks a lot again. Is it possible for you to let us know
 the other authors/contributors
 of serverid.c ? So that we can obtain their approval as well.

You can find them with git log serverid.c.

With best regards,

Volker Lendecke

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-37-0, fax: +49-551-37-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kont...@sernet.de
.

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


Re: [Samba] The Recycled PIDs Fix

2012-01-25 Thread Manoj Dahal
** Low Priority **

Hi Volker,
 
For the time being trivial one will be good enough, provided the patch will be 
accepted in the upstream
and it works well with existing code.
 
Moving forward we can think of having cluster support as well.
 
Appreciate your continuos support on the issue.
 
Thanks,
 
-Manoj

 Volker Lendecke volker.lende...@sernet.de 1/25/2012 7:08 PM 
Hi!

Sure it can be modified to do that. What part of the last
mail I sent needs clarification? The non-clustered version
is relatively minor work, serverid.c is pretty trivial.
Adding the clustered version is definitely more work.

If you need any specific guidance to write a clean-room lgpl
serverid.c, feel free to ask the questions here. I will be
more than happy to review the patch once you have it.

With best regards,

Volker Lendecke

On Wed, Jan 25, 2012 at 04:57:11AM -0700, Shyamsundar R wrote:
 Adding my thoughts to this.
 
 Basically the smbsharedmodes manner of working, as of now, will not work for 
 any other service/protocol provider to have shared locking semantics with 
 SAMBA (unless they are GPLv3 themselves). As without registering the unique 
 ID, any other service that wants to register locks in the SAMBA database for 
 cross protocol locking to function, will not be feasible.
 
 I would think the intention for having the shared locking database and the 
 library (smbsharedmodes) would be to enable this functionality, across SAMBA 
 and other file services that need file locking of this nature. Hence the 
 ability to register the unique ID would also fall under this bucket of things 
 to provide.
 
 With this in mind, would it be possibly to (re)consider how the unique ID 
 registration can be modified, so that other services can leverage the 
 inherent locking that smbsharedmodes is providing to play nice in a SAMBA + 
 other protocol serving needs environment?
 
 Regards,
 Shyam
  
  Manoj Dahal 1/25/2012 05:12 PM  
 Hi Volker,
  
 An alternate thought came into mind.
 Is it possible for you or someone from Samba to write a simpler serverid.c 
 code without cluster support?
 Which can possibly be bundled in a new library or in libsmbsharemodes.so 
 under LGPL.
 So that it will have lesser licensing issues. 
  
 Thanks,
  
 -Manoj
 
  Volker Lendecke volker.lende...@sernet.de 1/24/2012 7:06 PM 
 On Tue, Jan 24, 2012 at 06:31:59AM -0700, Manoj Dahal wrote:
  Thanks a lot again. Is it possible for you to let us know
  the other authors/contributors
  of serverid.c ? So that we can obtain their approval as well.
 
 You can find them with git log serverid.c.
 
 With best regards,
 
 Volker Lendecke
 
 -- 
 SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
 phone: +49-551-37-0, fax: +49-551-37-9
 AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
 http://www.sernet.de, mailto:kont...@sernet.de
 .
 

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-37-0, fax: +49-551-37-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kont...@sernet.de

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

Re: [Samba] The Recycled PIDs Fix

2012-01-25 Thread Stefan (metze) Metzmacher
Hi Manoj,

 This is regarding your fix on recycled PIDs. I am an NCP developer from 
 Novell and we use libsmbsharemodes library
 from Samba for Cross Protocols Locks between NCP, Samba and others. I have 
 few queries regarding your fix.
  
 In your fix, you have added a new field called 'unique_id' in the server_id 
 structure 
 and we need to pass this in our call to samba share mode APIs  e.g. 
 create_share_mode_entry().
  
 Also, you have introduced server registration/de-registration which is 
 associated with 'unqiue_id'. If we use these new APIs 
 then in which library from Samba do we need to link to?  Or without calling 
 serverid_register() can we directly pass any 'unique_id'
 while calling to create_share_mode_entry() and in that case whether this and 
 other share mode APIs will work properly?
  
  
 Looking forward to your answer,

Maybe we could invent a special value e.g. UINT64_MAX as don't verify
this unique id.

metze



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

Re: [Samba] The Recycled PIDs Fix

2012-01-25 Thread Volker Lendecke
On Wed, Jan 25, 2012 at 03:47:58PM +0100, Stefan (metze) Metzmacher wrote:
 Hi Manoj,
 
  This is regarding your fix on recycled PIDs. I am an NCP developer from 
  Novell and we use libsmbsharemodes library
  from Samba for Cross Protocols Locks between NCP, Samba and others. I have 
  few queries regarding your fix.
   
  In your fix, you have added a new field called 'unique_id' in the server_id 
  structure 
  and we need to pass this in our call to samba share mode APIs  e.g. 
  create_share_mode_entry().
   
  Also, you have introduced server registration/de-registration which is 
  associated with 'unqiue_id'. If we use these new APIs 
  then in which library from Samba do we need to link to?  Or without calling 
  serverid_register() can we directly pass any 'unique_id'
  while calling to create_share_mode_entry() and in that case whether this 
  and other share mode APIs will work properly?
   
   
  Looking forward to your answer,
 
 Maybe we could invent a special value e.g. UINT64_MAX as don't verify
 this unique id.

Good idea. Did not think about that. This would assume that
the ncp server process never dies...

Volker

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-37-0, fax: +49-551-37-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kont...@sernet.de
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] printing issue after update to 3.6.1

2012-01-25 Thread Stefan Winter
Hello,

we've updated to 3.6.1 yesterday, and since encounter
problems with printing for some users. There's a
descriptive error in the log.smbd, but I can't see
what to do about it really (the rest of the,
admittedly fairly ancient system, is the same base
system as the previous 3.5.5 - only a couple of security
updates were patched in during downtime).

The message in log.smbd is:

  adminpc-rmarx (158.64.1.188) connect to service SuperJam PCL6 initially as 
user Administrator (uid=1003, gid=100) (pid 15885)
[2012/01/25 13:14:01.334500,  2] 
rpc_client/cli_winreg_spoolss.c:898(winreg_create_printer)
  winreg_create_printer: Skipping, SOFTWARE\Microsoft\Windows 
NT\CurrentVersion\Print\Printers\SuperJam PCL6 already exists
[2012/01/25 13:14:01.575723,  0] printing/print_cups.c:940(cups_job_submit)
  cups_job_submit: failed to parse jobid from name 
/usr/local/samba/var/spool/samba/smbprn..CXRIP3
[2012/01/25 13:14:11.775067,  1] smbd/service.c:1291(close_cnum)
  adminpc-rmarx (158.64.1.188) closed connection to service SuperJam PCL6

And indeed, looking into the spool directory, the file
names which used to encode the jobid now don't any more.
For illustration, a few old spooled jobs in the right
format as well:

[... snip lots more of the same ...]
-rw--- 1 rmarx  users   0 Jan 25 15:29 smbprn..zfgbGg
-rw--- 1 rmarx  users   0 Jan 25 14:41 smbprn..zjVnMg
-rw--- 1 rmarx  users   0 Jan 25 08:46 smbprn..zpuUmw
-rw--- 1 rmarx  users   0 Jan 25 15:25 smbprn..zqdI3C
-rw--- 1 rmarx  users   0 Jan 25 15:09 smbprn..zqu3kj
-rw--- 1 rmarx  users   0 Jan 25 14:46 smbprn..zx3GuR
-rw--- 1 rmarx  users   0 Jan 25 15:28 smbprn..zxNUxy
-rw--- 1 tduhautpas users 1657499 Apr 21  2008 smbprn.0676.rcl7r5
-rw--- 1 tduhautpas users 3441093 Apr 21  2008 smbprn.0678.eJYB0d
-rw--- 1 tduhautpas users 1587952 Apr 21  2008 smbprn.0679.0TbJsK
-rw--- 1 tduhautpas users  581632 May 25  2009 smbprn.1277.TEBFAb
-rw--- 1 abarthel   users6774 Nov 15  2007 smbprn.2633.psJWJh
-rw--- 1 lbattani   users   53156 Dec 14  2007 smbprn.3546.e7BsgC
-rw--- 1 yschaafusers8179 Oct 17  2008 smbprn.6035.9IfNcf

So, for some reasons, jobid gets lost. Strangely enough, the file size is also 
zero.

I'm sort of lost what would cause this. The thing I could
imagine is our fairly ancient cups on the system (1.2.7)
and that maybe 3.6.1 doesn't support some legacy CUPS API stuff that
3.5.5 still did. That's the only straw I'm holding onto.

Can anyone help out here?

Greetings,

Stefan Winter

-- 
Stefan WINTER
Ingenieur de Recherche
Fondation RESTENA - Réseau Téléinformatique de l'Education Nationale et de la 
Recherche
6, rue Richard Coudenhove-Kalergi
L-1359 Luxembourg

Tel: +352 424409 1
Fax: +352 422473



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

Re: [Samba] Prevent smbd from consulting winbindd

2012-01-25 Thread Harry Jede
On 13:37:19 wrote Victor Sudakov:

 Colleagues,
 
 I am running smbd in a setup described in
 http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/idmapper.h
 tml#id2604553 under Winbind is not used; users and groups are
 local. Samba is running in the security=domain mode,
Do you have a PDC with the same setup? 
Are you syncing uid/gid manually?

 but all
 Windows users are being mapped to Unix users in /etc/passwd.
This will break the setup which is described in the Samba-HOWTO-
Collection you refere above :-( .


The only way in which this differs from having local accounts is that 
the accounts are stored in a repository that *can be shared* . In 
practice this means that they will reside in either
 *an NIS-type database or else in LDAP* .

So only NIS or LDAP will guarantee that you have identical uid/gid 
mapping across different machines.

 
 Now I need to run winbindd for Squid authentication. The problem is,
 as soon as I start winbindd, smbd begins consulting it
so you are running smbd and winbind an squid on the same machine

 and all
 Windows users start receiving uids/gids different from those in
 /etc/passwd.
Thats quite normal.

 How do I prevent smbd from consulting winbindd and make
 it use the old /etc/passwd mechanism for uids?
I do not know. I believe it's not possible.

Run smbd on one machine with NIS or LDAP, winbind for squid on an other 
machine.



Alternatively you may try to run winbind with an own smb.conf

for example

# smb.conf for winbind only
# Here you MUST have one blank line

include /etc/samba.conf
[global]
security = domain
winbind use default domain = yes
# and so on

if you wish to try this, you may start with a new setup.
I have done this tree times with LDAP as backend, it works. If you need 
more details, I can write a step-by-step guide, maybe next week.




In all cases you must have a PDC with security=user in smb.conf.



 
 TIA for any input.


-- 

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


[Samba] Winbind multiple client authentication

2012-01-25 Thread John Musbach
Hello, I have two CentOS 5.6 clients I'm trying to join to my Active
Directory domain for authentication. I have configured my smb.conf
like:

realm = SYSLAB.DC
idmap backend = rid
idmap uid = 1-2
idmap gid = 1-2

and have been able to join both to the domain via:

kinit administra...@syslab.dc
net ads join -U Administrator

Then I added krb5 to pam.d auth section and configured passwd, group
and shadow in nsswitch.conf for compat winbind. This works fine on
the first configured client, but the second one always says it is
unable to resolve the accounts to a uid/gid pair, even though manual
tests like getent passwd Administrator work.

HOWEVER, one oddity in my setup is that the second client is a virtual
machine clone of the first... Is it possible that as a result samba
joined the second computer with a kerberos property that conflicts
with the first client's AD object? Is it not possible to have a cloned
virtual machine authenticate in this way at the same time as its
original (mac address and IP are unique)?

Thanks for any advice you can offer, please cc me when replying as I
receive list postings in digest.

-- 
Best Regards,

John Musbach
-- 
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 will not start after new checkout [URGENT]

2012-01-25 Thread Charles Tryon
On Tue, Jan 24, 2012 at 10:53 PM, Andrew Bartlett abart...@samba.orgwrote:

 On Mon, 2012-01-23 at 14:44 -0500, Charles Tryon wrote:
  On Fri, Jan 20, 2012 at 3:56 AM, Michael Wood esiot...@gmail.com
 wrote:
 
   Hi
  
   On 20 January 2012 09:16, Matthieu Patou m...@samba.org wrote:
   
Perhaps upgradeprovision should just print a warning at the end to
check that the path to dlz_bind.so is correct.
   
Please refrain from using upgradeprovision until it's 100% fixed.
  
   Sorry, I should have mentioned that you told me recently that there
   was a problem with it.
  
 
 
  AH!  I missed that note. =8-0  I've been using it on a regular basis,
  though not in the past few days.  I'll keep my eyes open.

 In general, you should not need to upgradeprovision unless we make
 (major) changes to our default provision template.

 We need to find the right way to describe the great things that
 upgradeprovision does, and how it relates to dbcheck (also required at
 times) and when to run both.


AH!  Good to know that, though I can't say it gives me a warm fuzzy
feeling on how to know *when* it's necessary...  ;-)  I can comment out
that line on my install me script for now.

Are there any behavioral clues as to when I might need to run the
upgradeprovision, in case I miss the email saying, Oh, don't forget to do
the upgrade when you pull this git version?  What typically breaks, or is
that impossible to predict?  Would you expect restarting Samba to either
fail or give some sort of notification in the log saying it has encountered
an incompatible schema or database version?

(Ah the joys of living on the git-y edge...)

Thanks!





 Andrew Bartlett
 --
 Andrew Bartletthttp://samba.org/~abartlet/
 Authentication Developer, Samba Team   http://samba.org




-- 
Charles Tryon
_
  “Risks are not to be evaluated in terms of the probability of success,
but in terms of the value of the goal.”
- Ralph D. Winter
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] printing issue after update to 3.6.1

2012-01-25 Thread David Disseldorp
Hi Stefan,

On Wed, 25 Jan 2012 15:44:31 +0100
Stefan Winter stefan.win...@restena.lu wrote:

...
 So, for some reasons, jobid gets lost. Strangely enough, the file size is 
 also zero.
 
 I'm sort of lost what would cause this. The thing I could
 imagine is our fairly ancient cups on the system (1.2.7)
 and that maybe 3.6.1 doesn't support some legacy CUPS API stuff that
 3.5.5 still did. That's the only straw I'm holding onto.
 
 Can anyone help out here?

The spoolss print job file open code-path has changed recently, looking
at print_spool_open() it looks like the job file is created without
taking the print jobid into account.

Please raise a bug with your logs attached.

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


Re: [Samba] printing issue after update to 3.6.1

2012-01-25 Thread Stefan Winter
Hi,

thanks for the quick reply - I just opened bug 8719.

https://bugzilla.samba.org/show_bug.cgi?id=8719

Greetings,

Stefan Winter

On 25.01.2012 17:59, David Disseldorp wrote:
 Hi Stefan,
 
 On Wed, 25 Jan 2012 15:44:31 +0100
 Stefan Winter stefan.win...@restena.lu wrote:
 
 ...
 So, for some reasons, jobid gets lost. Strangely enough, the file size is 
 also zero.

 I'm sort of lost what would cause this. The thing I could
 imagine is our fairly ancient cups on the system (1.2.7)
 and that maybe 3.6.1 doesn't support some legacy CUPS API stuff that
 3.5.5 still did. That's the only straw I'm holding onto.

 Can anyone help out here?
 
 The spoolss print job file open code-path has changed recently, looking
 at print_spool_open() it looks like the job file is created without
 taking the print jobid into account.
 
 Please raise a bug with your logs attached.
 
 Cheers, David


-- 
Stefan WINTER
Ingenieur de Recherche
Fondation RESTENA - Réseau Téléinformatique de l'Education Nationale et
de la Recherche
6, rue Richard Coudenhove-Kalergi
L-1359 Luxembourg

Tel: +352 424409 1
Fax: +352 422473



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

[Samba] (no subject)

2012-01-25 Thread Yécine Allouache
Hello,

I'm on a debian Squeez  and I use  Samba 3.5.6 and CUPS 1.4.4

When I add a printer with windows: \\server\Name_printer, regulary  all
printers on this server come with this syntax: Auto-Nameprinter on server.

I search in the configuration file but I can not find options that
will fix this
problem.

Thanks!

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


[Samba] Samba CTDB with data coming via pNFS?

2012-01-25 Thread JRS
Greetings all,

Does anyone know whether I'll encounter problems serving out CIFS using
Samba/CTDB where the servers are pNFS clients? 

In more detail:
The servers are linux virtual machines running RHEL 6.2.  They mount
volumes coming from the latest net app OS (which runs a pNFS service). 
I'll then put samba and CTDB on of these machines to serve data to our
windows clients.  Samba will authenticate to a windows AD.  I'm not yet
sure how the authentication/acls will work.

I've run a similar configuration using GPFS as the backend filesystem
(fast for sequentail IO but challenged with metadata performance).  Will
locking be an issue?

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


Re: [Samba] (no subject)

2012-01-25 Thread Aaron E.
If I understand you properly, I believe you want to disable or enable 
pending on what you need these two settings in cupsd.conf


Browsing on/off
BrowseAllow None/All

On 01/25/2012 11:28 AM, Yécine Allouache wrote:

Hello,

I'm on a debian Squeez  and I use  Samba 3.5.6 and CUPS 1.4.4

When I add a printer with windows: \\server\Name_printer, regulary  all
printers on this server come with this syntax: Auto-Nameprinter on server.

I search in the configuration file but I can not find options that
will fix this
problem.

Thanks!

--


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


[Samba] samba 3 a 4 with kerberized nfs4

2012-01-25 Thread steve

Hi
openSUSE 12.1 server and client.
I can't get the s4 fileserver nor uid:gid mappings working with s4. I 
used nfs and idmapd instead. It's working, but I've a couple of qns.


1. Server fqdn hh3.hh3.site Samba 4, DNS and NFS4
I set up the nfs server with GSSAPI as in this screenshot:
http://2.bp.blogspot.com/-IspbLnfxizc/Txsp-Z1z1tI/ADk/lsgel498elg/s1600/yastnfs1.png
The nfs server would not start until I had made a nfs principal and 
stuck it in the keytab. Then I could mount the share and users were 
mapped correctly, home directory permissions OK etc. (I'd previously 
adder Linux attributes to LDAP). Everything fine so far.

klist -k /etc/krb5.keytab
   1 nfs/hh3.hh3.s...@hh3.site
   1 nfs/hh3.hh3.s...@hh3.site
   1 nfs/hh3.hh3.s...@hh3.site

2. Client. fqdn hh6.hh3.site, Samba 3.6 smb.conf:
workgroup = CACTUS
realm = HH3.SITE
security = ADS
kerberos method = system keytab

Join the domain:
net ads join -U Administrator
net ads keytab add nfs

klist -k /etc/krb5.keytab
   1 host/hh6.hh3.s...@hh3.site
   1 host/hh6.hh3.s...@hh3.site
   1 host/hh6.hh3.s...@hh3.site
   1 host/h...@hh3.site
   1 host/h...@hh3.site
   1 host/h...@hh3.site
   1 HH6$@HH3.SITE
   1 HH6$@HH3.SITE
   1 HH6$@HH3.SITE
   1 nfs/hh6.hh3.s...@hh3.site
   1 nfs/hh6.hh3.s...@hh3.site
   1 nfs/hh6.hh3.s...@hh3.site
   1 nfs/h...@hh3.site
   1 nfs/h...@hh3.site
   1 nfs/h...@hh3.site

mount -t nfs4 hh3:/ /home
Amazingly still OK. Samba 4 users can login, get correctly mapped files, 
edit etc.


I now mv the keytab and recreate it _without_ nfs. It still mounts!

Why does the server(s4) need the nfs principal but the client(s3) not?
How can I tell if Kerberos is working?

Cheers,
Steve

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


Re: [Samba] (no subject)

2012-01-25 Thread Yécine Allouache
Sorry I'm not really fluent in english :)

I will try tomorrow, but I did not know that CUPS could be the reason

Le 25 janvier 2012 17:28, Yécine Allouache yecine.alloua...@gmail.com a
écrit :

 Hello,

 I'm on a debian Squeez  and I use  Samba 3.5.6 and CUPS 1.4.4

 When I add a printer with windows: \\server\Name_printer, regulary  all
 printers on this server come with this syntax: Auto-Nameprinter on server.

 I search in the configuration file but I can not find options that
 will fix this
 problem.

 Thanks!

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




-- 
J'ai mal au dos callaghan!
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] (no subject)

2012-01-25 Thread Aaron E.
You could turn off the Windows Automatic printer find feature? That 
would stop the printers that are found and Tagged Auto I believe..


Windows searches the network for shared printers and will auto add the 
printer if this is turned on and they will be tagged as Auto..


My first post is probably irrelevant if this is the issue.. But it may 
have the same effect to set BrowseAllow NONE, if it is finding the cups 
shared printers..


On 01/25/2012 01:09 PM, Yécine Allouache wrote:

Sorry I'm not really fluent in english :)

I will try tomorrow, but I did not know that CUPS could be the reason

Le 25 janvier 2012 17:28, Yécine Allouacheyecine.alloua...@gmail.com  a
écrit :


Hello,

I'm on a debian Squeez  and I use  Samba 3.5.6 and CUPS 1.4.4

When I add a printer with windows: \\server\Name_printer, regulary  all
printers on this server come with this syntax: Auto-Nameprinter on server.

I search in the configuration file but I can not find options that
will fix this
problem.

Thanks!

--
--
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


[Samba] Bind9

2012-01-25 Thread sandy . napoles
Helo team, a I have samba4 alfa 18 as Domain Controller in Debian Squeeze,
when i configure the bind9, i can see the follow problem for me. Iam
monitoring my dns's configuration from windows xp with admin pack tool,
when I into in the configuration i can not change any thing, example i can
not change the ROOT HINTS, I can not change the Zone of Transfers...I need
change this option. Somebody can helpme
Bye.

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


Re: [Samba] login from Windows xp

2012-01-25 Thread Dale Schroeder

On 01/24/2012 8:46 PM, Craig Ham wrote:

So I've got Ubuntu and Samba servers up and running.

I create a user in linux and on samba, both same username and password.  I
then follow the steps to create a share for that user.

 From a WinXp SP3 workstation I double click the Ubuntu server name, I see
the share, I double click and get a login prompt.
I enter the samba/linux username and password but it fails to log me in.
  What should I check or do?


You should probably provide your samba version and smb.conf for the list 
to review.


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


[Samba] [Announce] Samba 3.6.2 Available for Download

2012-01-25 Thread Karolin Seeger
===
Originality is the fine art of remembering
 what you hear but forgetting where you
 heard it.

 Laurence J. Peter
==


Release Announcements
=

This is the latest stable release of Samba 3.6.

Major enhancements in Samba 3.6.2 include:

o  Make Winbind receive user/group information (bug #8371).
o  Several SMB2 fixes.


Changes since 3.6.1:



o   Michael Adam ob...@samba.org
* BUG 8528: Fix SEGFAULT from net registry export on not zero terminated
  REG_SZ values.


o   Jeremy Allison j...@samba.org
* BUG 8541: readlink() on Linux clients fails if the symlink target is
  outside of the share.
* BUG 8542: smbclient posix_open command fails to return correct info on
  open file.
* BUG 8548: winbind_samlogon_retry_loop ignores logon_parameters flags.
* BUG 8561: Password change settings not fully observed.
* BUG 8562: Fix double free error in talloc.
* BUG 8614: Ensure we correctly calculate reply credits over all returned
  SMB2 replies.
* BUG 8631: POSIX ACE x permission becomes rx following mapping to and from
  a DACL.
* BUG 8636: When returning an ACL without SECINFO_DACL requested, we still
  set SEC_DESC_DACL_PRESENT in the type field.
* BUG 8644: vfs_acl_xattr and vfs_acl_tdb modules can fail to add
  inheritable entries on a directory with no stored ACL.
* BUG 8663: Fix deleting a symlink if the symlink target is outside of
* the share.
* BUG 8664: Fix renaming a symlink if the symlink target is outside of
  the share.
* BUG 8673: Fix NT ACL issue.
* BUG 8674: Fix buffer overflow issue with AES encryption in samba traffic
  analyzer.
* BUG 8679: recvfile code path using splice() on Linux leaves data in the
  pipe on short write.
* BUG 8687: Fix typo in 'net memberships' usage.
* BUG 8710: Fix major leak with SMB2 in connections.tdb.
* Fix a crash bug in the spoolss code.
* Add new contributing FAQ announcing acceptance of corporate (C).


o   Christian Ambach a...@samba.org
* BUG 8444: Add an allocation pool to idmap_autorid.
* BUG 8585: Increase a debug level.


o   Andrew Bartlett abart...@samba.org
* BUG 8623: Fix crash bug when trying to browse Samba printers.


o   Björn Baumbach b...@sernet.de
* BUG 8580: Enable inotify if sys or kernel inotify is available.
* BUG 8618: Fix migrate printer code.


o   Gregor Beck gb...@sernet.de
* BUG 8528: Fix SEGFAULT from net registry export on not zero terminated
  REG_SZ values.


o   Günther Deschner g...@samba.org
* BUG 7465: Remove pointless use_memory_krb5_ccache.
* BUG 8176: Fix perl path.
* BUG 8591: Fix marshalling of samr_ChangePasswordUser3.
* BUG 8692: libads: Fix malloc/talloc mismatch in
  ads_keytab_verify_ticket().


o   David Disseldorp dd...@suse.de
* BUG 4942: DeletePrinterDriverEx deletes files in use.
* BUG 8575: Add systemd service files.
* BUG 8606: Fix intermittent print job failures caused by character
  conversion errors.
* BUG 8697: Make DeletePrinterDriverEx remove printer driver files.


o   Björn Jacke b...@sernet.de
* BUG 8531: Make DSO_EXPORTS_CMD more portable.
* BUG 8616: Allow to set TCP_NODELAYACK socket option on AIX.
* BUG 8652: Document the ignore system acls option of vfs_acl_xattr and
  vfs_acl_tdb vfs modules.


o   Frank Lahm frankl...@googlemail.com
* BUG 8419: Make VFS op streaminfo stackable.


o   Volker Lendecke v...@samba.org
* BUG 8371: Make Winbind receive user/group information.
* BUG 8639: Fix the vfs_commit module.
* BUG 8686: Packet validation checks can be done before length validation
  causing uninitialized memory read.


o   Stefan Metzmacher me...@samba.org
* BUG 5326: Fix cli_write_and_x() against OS/2 print shares.
* BUG 8357: Grant credits in async interim responses (SMB2).
* BUG 8560: Make SMB2 handle compound request headers in the same way
  as Windows.
* BUG 8573: Fix alignment in the non-extended-security negprot.
* BUG 8586: libsmb: Only align unicode pipe_name.
* BUG 8579: smb2_flush: Don't send uninitialized memory.
* BUG 8592: Don't limit the number of open dptrs for SMB2.
* BUG 8593: Fix a crash bug in cldap_socket_recv_dgram().
* BUG 8684: Try ctdbd_init_connection() as root.


o   Masafumi Nakayama mas...@jp.ibm.com
* BUG 563: Fix 'smbclient tar' for files greater than 8GB on BE machines.


o   Matthieu Patou m...@matws.net
* BUG 8600: Make cldap work over IPv6.
* BUG 8674: Fix buffer overflow issue with AES encryption in samba traffic
  analyzer.


o   Andreas Schneider a...@samba.org
* BUG 8550: Fix setting the machine account password.

[SCM] Samba Shared Repository - branch master updated

2012-01-25 Thread Volker Lendecke
The branch, master has been updated
   via  e9d6699 Introduce dump_data_file
  from  8dd63b9 auth/gensec_gssapi: sync gensec_gssapi_state with 
gse_context

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -
commit e9d66999c6003009aac5a4e115963b1ef581c9dc
Author: Volker Lendecke v...@samba.org
Date:   Wed Jan 25 09:10:04 2012 +0100

Introduce dump_data_file

Autobuild-User: Volker Lendecke vlen...@samba.org
Autobuild-Date: Wed Jan 25 11:57:18 CET 2012 on sn-devel-104

---

Summary of changes:
 lib/util/samba_util.h   |6 ++
 lib/util/util.c |   11 +++
 librpc/tools/ndrdump.c  |7 +--
 source3/client/client.c |9 ++---
 4 files changed, 20 insertions(+), 13 deletions(-)


Changeset truncated at 500 lines:

diff --git a/lib/util/samba_util.h b/lib/util/samba_util.h
index 95bf7fd..9df3ddf 100644
--- a/lib/util/samba_util.h
+++ b/lib/util/samba_util.h
@@ -702,6 +702,12 @@ void dump_data_cb(const uint8_t *buf, int len,
  void *private_data);
 
 /**
+ * Write dump of binary data to a FILE
+ */
+void dump_data_file(const uint8_t *buf, int len, bool omit_zero_bytes,
+   FILE *f);
+
+/**
  * Write dump of binary data to the log file.
  *
  * The data is only written if the log level is at least level.
diff --git a/lib/util/util.c b/lib/util/util.c
index c7c37bc..c4fbd0b 100644
--- a/lib/util/util.c
+++ b/lib/util/util.c
@@ -462,6 +462,17 @@ _PUBLIC_ void dump_data_skip_zeros(int level, const 
uint8_t *buf, int len)
dump_data_cb(buf, len, true, debugadd_cb, level);
 }
 
+static void fprintf_cb(const char *buf, void *private_data)
+{
+   FILE *f = (FILE *)private_data;
+   fprintf(f, %s, buf);
+}
+
+void dump_data_file(const uint8_t *buf, int len, bool omit_zero_bytes,
+   FILE *f)
+{
+   dump_data_cb(buf, len, omit_zero_bytes, fprintf_cb, f);
+}
 
 /**
  malloc that aborts with smb_panic on fail or zero size.
diff --git a/librpc/tools/ndrdump.c b/librpc/tools/ndrdump.c
index e33115d..91bf06f 100644
--- a/librpc/tools/ndrdump.c
+++ b/librpc/tools/ndrdump.c
@@ -125,14 +125,9 @@ static const struct ndr_interface_table 
*load_iface_from_plugin(const char *plug
return p;
 }
 
-static void printf_cb(const char *buf, void *private_data)
-{
-   printf(%s, buf);
-}
-
 static void ndrdump_data(uint8_t *d, uint32_t l, bool force)
 {
-   dump_data_cb(d, l, !force, printf_cb, NULL);
+   dump_data_file(d, l, !force, stdout);
 }
 
 static NTSTATUS ndrdump_pull_and_print_pipes(const char *function,
diff --git a/source3/client/client.c b/source3/client/client.c
index 47d4470..4b7df92 100644
--- a/source3/client/client.c
+++ b/source3/client/client.c
@@ -3463,11 +3463,6 @@ static int cmd_getfacl(void)
return 0;
 }
 
-static void printf_cb(const char *buf, void *private_data)
-{
-   printf(%s, buf);
-}
-
 /
  Get the EA list of a file
 /
@@ -3511,8 +3506,8 @@ static int cmd_geteas(void)
 
for (i=0; inum_eas; i++) {
d_printf(%s (%d) =\n, eas[i].name, (int)eas[i].flags);
-   dump_data_cb(eas[i].value.data, eas[i].value.length, false,
-printf_cb, NULL);
+   dump_data_file(eas[i].value.data, eas[i].value.length, false,
+  stdout);
d_printf(\n);
}
 


-- 
Samba Shared Repository


[SCM] Samba Shared Repository - branch master updated

2012-01-25 Thread Andreas Schneider
The branch, master has been updated
   via  67126ed s3-waf: Reduce dependencies of winbindd.
   via  c85e60b s3-waf: Reduce dependencies of smbd_base.
   via  6d06a31 s3-waf: Fix cups dependency in PRINTING.
   via  0dcc51e s3-waf: Add missing dependency to LIBNET.
   via  a5b4a47 s3-waf: Add missing dependency to RPC_WINREG.
   via  c4b05ec s3-waf: Reduce libsmbclient dependencies.
   via  1a4e4f0 s3-waf: Reduce libnetapi dependencies.
   via  63c7118 s3-waf: Link vlp only against needed subsystems.
   via  2fa6c5e s3-waf: Link split_tokens only against needed subsystems.
   via  5b8a22e s3-waf: Link dbwrap_torture only against needed subsystems.
   via  9f917c0 s3-waf: Link dbwrap_tool only against needed subsystems.
   via  de1836f s3-waf: Link test_lp_load only against needed subsystems.
   via  b295da2 s3-waf: Link rpc_open_tcp only against needed subsystems.
   via  2763013 s3-waf: Link ntlm_auth only against needed subsystems.
   via  1ffc082 s3-waf: Link versiontest only against needed subsystems.
   via  dc4924b s3-waf: Link smbfilter only against needed subsystems.
   via  e0da5c9 s3-waf: Link locktest2 only against needed subsystems.
   via  2734017 s3-waf: Link vfstest only against needed subsystems.
   via  9eaeb6c s3-waf: Link pdbtest only against needed subsystems.
   via  8438fba s3-waf: Link locktest only against needed subsystems.
   via  bbb9131 s3-waf: Link sharesec only against needed subsystems.
   via  89c514a s3-waf: Link eventlogadm only against needed subsystems.
   via  ab51d66 s3-waf: Link smbcquotas only against needed subsystems.
   via  07cc5ab s3-waf: Link smbcacls only against needed subsystems.
   via  61c53eb s3-waf: Link msgtest only against needed subsystems.
   via  7d10eb7 s3-waf: Link maketest only against needed subsystems.
   via  1fb2ef7 s3-waf: Link smbconftort only against needed subsystems.
   via  74d24fa s3-waf: Link nmblookup only against needed subsystems.
   via  e9b64f0 s3-waf: Link nmblookup only against needed subsystems.
   via  1fa80f0 s3-waf: Link smbget only against needed subsystems.
   via  6f6fb03 s3-waf: Link pdbedit only against needed subsystems.
   via  dd1b548 s3-waf: Link smbpasswd only against needed subsystems.
   via  ff8a1f7 s3-waf: Link smbtree only against needed subsystems.
   via  a07b711 s3-waf: Link smbstatus only against needed subsystems.
   via  05864b0 s3-waf: Link smbstatus only against needed subsystems.
   via  47da01a s3-waf: Link smbta-util only against needed subsystems.
   via  cd03543 s3-waf: Link testparm only against needed subsystems.
   via  3e4e84a s3-waf: Link smbspool only against needed subsystems.
   via  0871a1b s3-waf: Link profiles only against needed subsystems.
   via  1d6841d s3-waf: Link net only against needed subsystems.
   via  84e2a6e s3-waf: Link smbclient only against needed subsystems.
   via  2d0d2b5 s3-rpcclient: Remove debug_dsdcinfo_flags() call.
   via  2d667ba s3-waf: Link rpcclient only against needed subsystems.
   via  1700013 s3-waf: Link swat only against needed subsystems.
   via  dd91f0b s3-waf: Add missing dependencies to PASSCHANGE.
   via  feab59e s3-waf: Add missing dependencies to LOCKING.
   via  2edf42a s3-waf: Link winbindd only against needed subsystems.
   via  005d370 s3-waf: Link nmbd only against needed subsystems.
   via  9b71a80 s3-waf: Link libcli_lsa3 only against needed subsystems.
   via  f83efa7 s3-waf: Link errors3 only against needed subsystems.
   via  7b9716d s3-waf: Link tdb-wrap3 only against needed subsystems.
   via  3ee8b7a s3-waf: Link trusts_util only against needed subsystems.
   via  abc0f11 s3-waf: Remove dead subsystem LIBNBT.
   via  9321db0 s3-waf: Link LIBNET_DSSYNC only against needed subsystems.
   via  0f4031e s3-waf: Link LIBNET only against needed subsystems.
   via  72e3252 s3-waf: Link smbd_base only against needed subsystems.
   via  2efb390 s3-waf: Link libsmb only against needed subsystems.
   via  b1d5dc9 s3-waf: Link LIBNTLMSSP only against needed subsystems.
   via  a445051 s3-waf: Remove LIBSMB_ERR completely.
   via  00aa8ef s3-waf: Link samba3core against needed subsystems.
   via  f6c3eab s3-waf: Don't link param_service against USER_UTIL twice.
   via  6822baa s3-waf: Link param only against needed subsystems.
   via  f77680d s3-waf: Add missing depcendencies to smbconf.
   via  b111375 s3-waf: Remove unneeded PARAM_UTIL dependency.
   via  823d32d s3-waf: Replace LIBMSRPC_GEN just with ndr-standard.
   via  8b72c6b s3-waf: Link nss_wins only against needed subsystems.
   via  37e8286 s3-waf: Link smbclient only against needed subsystems.
   via  7945deb s3-waf: Link netapi only against needed subsystems.
   via  390734a lib: Remove dead mszip code.
  

[SCM] Samba Shared Repository - branch master updated

2012-01-25 Thread Volker Lendecke
The branch, master has been updated
   via  851b2c1 s3: Fix a panic in aio_pthread
  from  67126ed s3-waf: Reduce dependencies of winbindd.

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -
commit 851b2c177418255f6f44780bf9d09445d61fec3c
Author: Volker Lendecke v...@samba.org
Date:   Wed Jan 25 16:43:49 2012 +0100

s3: Fix a panic in aio_pthread

Found by Nir Drang n...@fabrix.tv

Thanks!

Autobuild-User: Volker Lendecke vlen...@samba.org
Autobuild-Date: Wed Jan 25 18:22:37 CET 2012 on sn-devel-104

---

Summary of changes:
 source3/modules/vfs_aio_pthread.c |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/modules/vfs_aio_pthread.c 
b/source3/modules/vfs_aio_pthread.c
index aeacf28..e1cc492 100644
--- a/source3/modules/vfs_aio_pthread.c
+++ b/source3/modules/vfs_aio_pthread.c
@@ -458,7 +458,7 @@ static void aio_pthread_handle_suspend_completion(struct 
event_context *event_ct
}
 
pjobid = talloc_array(NULL, int, 1);
-   if (pjobid) {
+   if (pjobid == NULL) {
smb_panic(aio_pthread_handle_suspend_completion: no memory.);
}
 


-- 
Samba Shared Repository


[SCM] Samba Shared Repository - branch v3-6-test updated

2012-01-25 Thread Karolin Seeger
The branch, v3-6-test has been updated
   via  a3dcfb6 WHATSNEW: Add another change.
   via  69fafa2 s3-spoolss: Pass the right pointer type.
  from  788c8af WHATSNEW: Add another change.

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-6-test


- Log -
commit a3dcfb66bb3763ee95f2bfe8b7a615ffee859985
Author: Karolin Seeger ksee...@samba.org
Date:   Wed Jan 25 19:23:06 2012 +0100

WHATSNEW: Add another change.

Jeremy, thanks a lot for the fix!

commit 69fafa216ee45829d330e9564858f6702b4b268d
Author: Jeremy Allison j...@samba.org
Date:   Wed Jan 25 19:19:14 2012 +0100

s3-spoolss: Pass the right pointer type.

Follow-up fix for an issue introduced by a fix for bug #4942.

---

Summary of changes:
 WHATSNEW.txt|1 +
 source3/rpc_server/spoolss/srv_spoolss_nt.c |2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/WHATSNEW.txt b/WHATSNEW.txt
index 95e633b..b3e5008 100644
--- a/WHATSNEW.txt
+++ b/WHATSNEW.txt
@@ -48,6 +48,7 @@ o   Jeremy Allison j...@samba.org
   pipe on short write.
 * BUG 8687: Fix typo in 'net memberships' usage.
 * BUG 8710: Fix major leak with SMB2 in connections.tdb.
+* Fix a crash bug in the spoolss code.
 * Add new contributing FAQ announcing acceptance of corporate (C).
 
 
diff --git a/source3/rpc_server/spoolss/srv_spoolss_nt.c 
b/source3/rpc_server/spoolss/srv_spoolss_nt.c
index ea99d10..4cc0659 100644
--- a/source3/rpc_server/spoolss/srv_spoolss_nt.c
+++ b/source3/rpc_server/spoolss/srv_spoolss_nt.c
@@ -2179,7 +2179,7 @@ static WERROR spoolss_dpd_version(TALLOC_CTX *mem_ctx,
if (delete_files) {
bool in_use = printer_driver_files_in_use(mem_ctx,
get_session_info_system(),
- b,
+ p-msg_ctx,
  info);
if (in_use  (r-in.delete_flags  DPD_DELETE_ALL_FILES)) {
status = WERR_PRINTER_DRIVER_IN_USE;


-- 
Samba Shared Repository


[SCM] Samba Shared Repository - annotated tag samba-3.6.2 created

2012-01-25 Thread Karolin Seeger
The annotated tag, samba-3.6.2 has been created
at  0a2ccbe8916f4e65d12b0511806727e78cddd577 (tag)
   tagging  b0cd2e547f4db250e10db852fd3e902404b9601e (commit)
  replaces  samba-3.6.1
 tagged by  Karolin Seeger
on  Wed Jan 25 19:28:53 2012 +0100

- Log -
tag samba-3.6.2
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.15 (GNU/Linux)

iD8DBQBPIEn1bzORW2Vot+oRAh4xAJsHQp7WAipRi4AY3F9eeh19ChIUAACghVF8
FQKbLzuJxSg7KeFYsyDzcsY=
=RqRL
-END PGP SIGNATURE-

Andreas Schneider (8):
  s3-netlogon: Fix setting the machinge account password.
  Add systemd service files.
  systemd: Fix dependencies.
  s3-winbind: Don't fail on users without a uid.
  s3-winbind: Add an update function for winbind cache.
  s3-winbind: Move finding the domain to it's own function.
  s3-winbind: Fix segfault if we can't map the last user.
  s3-libsmb: Don't duplicate kerberos service tickets.

Andrew Bartlett (1):
  lib/util/ Fix crash bug caused by gfree_debug()

Björn Baumbach (3):
  s3-build: Fix inotify detection (bug 8580)
  s3-wafbuild: Fix inotify detection (bug 8580)
  s3-printing: fix migrate printer code (bug 8618)

Björn Jacke (3):
  s3:Makefile: make DSO_EXPORTS_CMD more portable (#8531)
  s3: allow to set TCP_NODELAYACK socket option on AIX (#8616)
  s3/doc: document the ignore system acls option of vfs_acl_xattr and 
vfs_acl_tdb

Brad Smith (1):
  Fix sys_fseek wrapper

Christian Ambach (5):
  s3:smbd increase a debug level
  s3:idmap_autorid: use strings as parameter for range allocator
  s3:idmap_autorid: move HWM initialization into a function
  s3:idmap_autorid: add an allocation range to autorid
  s3:idmap_autorid: document allocation pool

David Disseldorp (13):
  pkg: add comments to the systemd sysconfig file
  idl: add parser for the to_null property
  ndr: add ndr_pull_charset_to_null()
  idl: add to_null attribute to the spoolss formname array
  idl: add to_null attribute to the spoolss devicename array
  idl: add to_null property
  spoolss: fix DPD_DELETE_ALL_FILES error return
  s3-spoolss: prefix print$ path on driver file deletion
  s3-spoolss: fix printer driver version deletion
  s3-spoolss: fix printer_driver_files_in_use() call ordering
  torture: add spoolss del printer driver test
  torture: confirm printer driver file removal
  torture: add spoolss overlapping driver deletion tests

Frank Lahm (2):
  Add support for VFS op streaminfo chaining in all relevant VFS modules.
  First part of fix for bug #8419 - Make VFS op streaminfo stackable.

Gregor Beck (1):
  s3:registry: reg_format: handle unterminated REG_SZ blobs

Günther Deschner (5):
  s3-netapi: remove pointless use_memory_krb5_ccache.
  examples: Fix perl path.
  s4-smbtorture: demonstrate how broken our samr_ChangePasswordUser3 
marshalling is...
  samr: filterModuleName is a lsa_String in userPwdChangeFailureInformation.
  s3-libads: fix malloc/talloc mismatch in ads_keytab_verify_ticket().

Henry Wong (1):
  Properly fix bug #8384 - Windows XP clients seem to crash smbd process 
every once in a while.

Jeremy Allison (29):
  Add new contributing FAQ announcing acceptance of corporate (C).
  Use existing ISDOT and ISDOTDOT macros.
  Fix bug #8541 - readlink() on Linux clients fails if the symlink target 
is outside of the share.
  Second part of fix for bug #8541 - readlink() on Linux clients fails if 
the symlink target is outside of the share.
  Third part of fix for bug #8541 - readlink() on Linux clients fails if 
the symlink target is outside of the share.
  Fix bug #8542 - smbclient posix_open command fails to return correct info 
on open file.
  Fix bug #8548 - winbind_samlogon_retry_loop ignores logon_parameters 
flags.
  Fix bug #8561 - Password change settings not fully observed.
  Ensure we correctly calculate reply credits over all returned
  Fix bug #8562 - talloc: double free error.
  Fix bug 8631 - POSIX ACE x permission becomes rx following mapping to and 
from a DACL Reported by David Disseldorp. Fix based on a patch by David.
  Fix bug #8644 - vfs_acl_xattr and vfs_acl_tdb modules can fail to add 
inheritable entries on a directory with no stored ACL.
  Fix bug #8679 - recvfile code path using splice() on Linux leaves data in 
the pipe on short write
  Second part of fix for bug #8679 - recvfile code path using splice() on 
Linux leaves data in the pipe on short write.
  Third part of fix for bug #8679 - recvfile code path using splice() on 
Linux leaves data in the pipe on short write.
  Final part of fix for bug #8679 - recvfile code path using splice() on 
Linux leaves data in the pipe on short write.
  Fix bug #8687 - net memberships usage info is wrong
  Fix bug #8664 - Renaming a symlink fails 

[SCM] Samba Website Repository - branch master updated

2012-01-25 Thread Karolin Seeger
The branch, master has been updated
   via  7785055 Add entry for a last minute bug fix.
   via  4fbed72 Announce Samba 3.6.2.
  from  230f6cf Update URI for Samba commander

http://gitweb.samba.org/?p=samba-web.git;a=shortlog;h=master


- Log -
commit 7785055a1f3d11e59d4814e25c3bdf1ed36b7e79
Author: Karolin Seeger ksee...@samba.org
Date:   Wed Jan 25 19:55:04 2012 +0100

Add entry for a last minute bug fix.

Karolin

commit 4fbed72519512fe16df7f139e38c171d3b3e8067
Author: Karolin Seeger ksee...@samba.org
Date:   Tue Jan 24 21:00:04 2012 +0100

Announce Samba 3.6.2.

Karolin

---

Summary of changes:
 generated_news/latest_10_bodies.html|   29 ++
 generated_news/latest_10_headlines.html |4 +-
 generated_news/latest_2_bodies.html |   16 ++--
 history/header_history.html |1 +
 history/samba-3.6.2.html|  173 +++
 latest_stable_release.html  |6 +-
 6 files changed, 197 insertions(+), 32 deletions(-)
 create mode 100755 history/samba-3.6.2.html


Changeset truncated at 500 lines:

diff --git a/generated_news/latest_10_bodies.html 
b/generated_news/latest_10_bodies.html
index 7c4c005..e0e35e1 100644
--- a/generated_news/latest_10_bodies.html
+++ b/generated_news/latest_10_bodies.html
@@ -1,3 +1,12 @@
+   h5a name=3.6.220 October 2011/a/h5
+   p class=headlineSamba 3.6.2 Available for Download/p
+   pThis is the latest stable release of the Samba 3.6 series./p
+
+pThe uncompressed tarballs and patch files have been signed
+using GnuPG (ID 6568B7EA).  The source code can be
+a href=http://samba.org/samba/ftp/stable/samba-3.6.2.tar.gz;downloaded
+now/a. A a 
href=http://samba.org/samba/ftp/patches/patch-3.6.1-3.6.2.diffs.gz;patch 
against Samba 3.6.1/a is also available. See a 
href=http://samba.org/samba/history/samba-3.6.2.html;the release notes for 
more info/a./p
+
h5a name=lwn_lca1217 January 2012/a/h5
p class=headlineLCA: A Samba 4 update/p
 
@@ -82,23 +91,3 @@ now/a. A a 
href=http://samba.org/samba/ftp/patches/patch-3.5.11-3.6.0.diffs.
 using GnuPG (ID 6568B7EA).  The source code can be
 a href=http://samba.org/samba/ftp/stable/samba-3.5.11.tar.gz;downloaded
 now/a. A a 
href=http://samba.org/samba/ftp/patches/patch-3.5.10-3.5.11.diffs.gz;patch 
against Samba 3.5.10/a is also available. See a 
href=http://samba.org/samba/history/samba-3.5.11.html;the release notes for 
more info/a./p
-
-   h5a name=3.6.0rc326 July 2011/a/h5
-   p class=headlineSamba 3.6.0rc3 Available for Download/p
-   pSamba 3.6.0rc3 is available for download.  This is the
-third release candidate of the next upgrade production release version of Samba
-3.6.0. It is intended for btesting purposes only/b.  Please test and
-a href=https://bugzilla.samba.org/;report any bugs that you
-find/a.  Please read the changes in the
-a href=http://samba.org/samba/ftp/rc/WHATSNEW-3-6-0rc3.txt;Release Notes/a
-for details on new features and difference in behavior from
-previous releases./p
-
-pThe a href=http://samba.org/samba/ftp/rc/samba-3.6.0rc3.tar.gz;Samba
-3.6.0rc3 source code/a can be downloaded now.  The a
-href=http://samba.org/samba/ftp/rc/samba-3.6.0rc3.tar.asc;GnuPG
-signature is for the emun/emcompressed tarball/a.
-Precompiled packages will
-be made available on a volunteer basis and can be found in the
-a href=http://samba.org/samba/ftp/Binary_Packages/;Binary_Packages download
-area/a./p
diff --git a/generated_news/latest_10_headlines.html 
b/generated_news/latest_10_headlines.html
index 7c7311c..05cf7ba 100644
--- a/generated_news/latest_10_headlines.html
+++ b/generated_news/latest_10_headlines.html
@@ -1,4 +1,6 @@
 ul
+   li 25 January 2012 a href=#3.6.2Samba 3.6.2 Available for 
Download/a/li
+
li 17 January 2012 a 
href=http://lwn.net/SubscriberLink/475592/8ed5bac474ed9f8a/;A Samba 4 
update/a featured by a href=http://LWN.net/LWN.net/a./li
 
li 02 November 2011 a 
href=/samba/news/developers/ms-patch.htmlSamba Notes Passing a 
Milestone/a/li
@@ -16,6 +18,4 @@
li 09 August 2011 a href=#3.6.0Samba 3.6.0 Available for 
Download/a/li
 
li 04 August 2011 a href=#3.5.11Samba 3.5.11 Available for 
Download/a/li
-
-   li 26 July 2011 a href=#3.6.0rc3Samba 3.6.0rc3 Available for 
Download/a/li
 /ul
diff --git a/generated_news/latest_2_bodies.html 
b/generated_news/latest_2_bodies.html
index 74618fc..e997db1 100644
--- a/generated_news/latest_2_bodies.html
+++ b/generated_news/latest_2_bodies.html
@@ -1,3 +1,12 @@
+   h5a name=3.6.220 October 2011/a/h5
+   p class=headlineSamba 3.6.2 Available for Download/p
+   pThis is the latest stable release of the Samba 3.6 series./p
+
+pThe uncompressed tarballs and patch files have been signed
+using GnuPG (ID 6568B7EA).  The source code can be
+a 

[SCM] Samba Website Repository - branch master updated

2012-01-25 Thread Karolin Seeger
The branch, master has been updated
   via  9190d58 Fix release date.
  from  7785055 Add entry for a last minute bug fix.

http://gitweb.samba.org/?p=samba-web.git;a=shortlog;h=master


- Log -
commit 9190d589432134210bbcf0b0669841bd87f14e33
Author: Karolin Seeger ksee...@samba.org
Date:   Wed Jan 25 20:48:43 2012 +0100

Fix release date.

Thanks to Chris for reporting!

Karolin

---

Summary of changes:
 generated_news/latest_10_bodies.html |2 +-
 generated_news/latest_2_bodies.html  |2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/generated_news/latest_10_bodies.html 
b/generated_news/latest_10_bodies.html
index e0e35e1..1071ffc 100644
--- a/generated_news/latest_10_bodies.html
+++ b/generated_news/latest_10_bodies.html
@@ -1,4 +1,4 @@
-   h5a name=3.6.220 October 2011/a/h5
+   h5a name=3.6.225 January 2012/a/h5
p class=headlineSamba 3.6.2 Available for Download/p
pThis is the latest stable release of the Samba 3.6 series./p
 
diff --git a/generated_news/latest_2_bodies.html 
b/generated_news/latest_2_bodies.html
index e997db1..4ec8153 100644
--- a/generated_news/latest_2_bodies.html
+++ b/generated_news/latest_2_bodies.html
@@ -1,4 +1,4 @@
-   h5a name=3.6.220 October 2011/a/h5
+   h5a name=3.6.225 January 2012/a/h5
p class=headlineSamba 3.6.2 Available for Download/p
pThis is the latest stable release of the Samba 3.6 series./p
 


-- 
Samba Website Repository


[SCM] Samba Shared Repository - branch master updated

2012-01-25 Thread Jeremy Allison
The branch, master has been updated
   via  1ca4df5 Use sys_pread/sys_pwrite to cope correctly with 64-bit 
sizes. As in the default VFS case fall back from pread - read and pwrite - 
write on an ESPIPE error in the worker thread.
   via  d8c6991 Add man page for vfs_aio_pthread module.
  from  851b2c1 s3: Fix a panic in aio_pthread

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -
commit 1ca4df58c76e98d963d90c092532ca584606ccff
Author: Jeremy Allison j...@samba.org
Date:   Wed Jan 25 15:30:56 2012 -0800

Use sys_pread/sys_pwrite to cope correctly with 64-bit sizes. As in the 
default VFS case fall back from pread - read and pwrite - write on an ESPIPE 
error in the worker thread.

Autobuild-User: Jeremy Allison j...@samba.org
Autobuild-Date: Thu Jan 26 02:11:28 CET 2012 on sn-devel-104

commit d8c699190d2cc0ce64395c7b2b10bb25c98a2943
Author: Jeremy Allison j...@samba.org
Date:   Wed Jan 25 14:11:12 2012 -0800

Add man page for vfs_aio_pthread module.

---

Summary of changes:
 docs-xml/manpages-3/vfs_aio_pthread.8.xml |  118 +
 source3/modules/vfs_aio_pthread.c |   18 -
 2 files changed, 134 insertions(+), 2 deletions(-)
 create mode 100644 docs-xml/manpages-3/vfs_aio_pthread.8.xml


Changeset truncated at 500 lines:

diff --git a/docs-xml/manpages-3/vfs_aio_pthread.8.xml 
b/docs-xml/manpages-3/vfs_aio_pthread.8.xml
new file mode 100644
index 000..625d6f3
--- /dev/null
+++ b/docs-xml/manpages-3/vfs_aio_pthread.8.xml
@@ -0,0 +1,118 @@
+?xml version=1.0 encoding=iso-8859-1?
+!DOCTYPE refentry PUBLIC -//Samba-Team//DTD DocBook V4.2-Based Variant 
V1.0//EN http://www.samba.org/samba/DTD/samba-doc;
+refentry id=vfs_aio_pthread.8
+
+refmeta
+   refentrytitlevfs_aio_pthread/refentrytitle
+   manvolnum8/manvolnum
+   refmiscinfo class=sourceSamba/refmiscinfo
+   refmiscinfo class=manualSystem Administration tools/refmiscinfo
+   refmiscinfo class=version3.6/refmiscinfo
+/refmeta
+
+
+refnamediv
+   refnamevfs_aio_pthread/refname
+   refpurposeimplement async I/O in Samba vfs using a pthread 
pool/refpurpose
+/refnamediv
+
+refsynopsisdiv
+   cmdsynopsis
+   commandvfs objects = aio_pthread/command
+   /cmdsynopsis
+/refsynopsisdiv
+
+refsect1
+   titleDESCRIPTION/title
+
+   paraThis VFS module is part of the
+   citerefentryrefentrytitlesamba/refentrytitle
+   manvolnum7/manvolnum/citerefentry suite./para
+
+   paraThe commandaio_pthread/command VFS module enables asynchronous
+   I/O for Samba on platforms which have the pthreads API available,
+   without using the Posix AIO interface. Posix AIO can suffer from severe
+   limitations.  For example, on some Linux versions the
+   real-time signals that it uses are broken under heavy load.
+   Other systems only allow AIO when special kernel modules are
+   loaded or only allow a certain system-wide amount of async
+   requests being scheduled. Systems based on glibc (most Linux
+   systems) only allow a single outstanding request per file
+   descriptor which essentially makes Posix AIO useless on systems
+   using the glibc implementation./para
+
+   paraTo work around all these limitations, the aio_pthread module
+   was written. It uses a pthread pool instead of the
+   internal Posix AIO interface to allow read and write calls
+   to be process asynchronously. A pthread pool is created
+   which expands dynamically by creating new threads as work is
+   given to it to a maximum of 100 threads per smbd process.
+   To change this limit see the aio num threads parameter
+   below. New threads are not created if idle threads are
+   available when a new read or write request is received,
+   the new work is given to an existing idle thread. Threads
+   terminate themselves if idle for one second.
+   /para
+
+   para
+   Note that the smb.conf parameters commandaio read size/command
+   and commandaio write size/command must also be set appropriately
+   for this module to be active.
+   /para
+
+   paraThis module MUST be listed last in any module stack as
+   the Samba VFS pread/pwrite interface is not thread-safe. This
+   module makes direct pread and pwrite system calls and does
+   NOT call the Samba VFS pread and pwrite interfaces./para
+
+/refsect1
+
+
+refsect1
+   titleEXAMPLES/title
+
+   paraStraight forward use:/para
+
+programlisting
+smbconfsection name=[cooldata]/
+   smbconfoption name=path/data/ice/smbconfoption
+   smbconfoption name=vfs objectsaio_fork/smbconfoption
+/programlisting
+
+/refsect1
+
+refsect1
+   titleOPTIONS/title
+
+   variablelist
+
+   varlistentry
+   

[SCM] Samba Shared Repository - branch master updated

2012-01-25 Thread Jeremy Allison
The branch, master has been updated
   via  12609c1 Update man page to fix typo vfs_aio_fork - 
vfs_aio_pthread, add aio read size, aio write size examples.
  from  1ca4df5 Use sys_pread/sys_pwrite to cope correctly with 64-bit 
sizes. As in the default VFS case fall back from pread - read and pwrite - 
write on an ESPIPE error in the worker thread.

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -
commit 12609c119214d53659f46ae3ef91c87449f7c7de
Author: Jeremy Allison j...@samba.org
Date:   Wed Jan 25 17:17:48 2012 -0800

Update man page to fix typo vfs_aio_fork - vfs_aio_pthread, add
aio read size, aio write size examples.

Autobuild-User: Jeremy Allison j...@samba.org
Autobuild-Date: Thu Jan 26 03:51:01 CET 2012 on sn-devel-104

---

Summary of changes:
 docs-xml/manpages-3/vfs_aio_pthread.8.xml |4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/docs-xml/manpages-3/vfs_aio_pthread.8.xml 
b/docs-xml/manpages-3/vfs_aio_pthread.8.xml
index 625d6f3..3e41ee9 100644
--- a/docs-xml/manpages-3/vfs_aio_pthread.8.xml
+++ b/docs-xml/manpages-3/vfs_aio_pthread.8.xml
@@ -76,7 +76,9 @@
 programlisting
 smbconfsection name=[cooldata]/
smbconfoption name=path/data/ice/smbconfoption
-   smbconfoption name=vfs objectsaio_fork/smbconfoption
+   smbconfoption name=aio read size1024/smbconfoption
+   smbconfoption name=aio write size1024/smbconfoption
+   smbconfoption name=vfs objectsaio_pthread/smbconfoption
 /programlisting
 
 /refsect1


-- 
Samba Shared Repository