[Samba] Configuring pam_smbpass with Solaris

2013-07-04 Thread Laurent Blume

Hello all.

I'm trying to configure pam_smbpass for Samba 3.6.16 on Solaris 10.

However, I'm getting a strange result: instead of sync'ing the password, 
it *removes* it. That is not quite what I expect...


I have this line in /etc/pam.conf:
other   password required   pam_smbpass_csw.so debug use_authtok 
try_first_pass nonull


To start the test, I make sure passwords are already in sync:
passwd user
smbpasswd user

Then I check it works:
su - user
smbclient server\\share

Both succeed, so so far, all good.

Now I try to change it using passwd, first as user:
$ passwd
Enter existing login password:
New Password:
Permission denied

The logs show:
Jul  4 14:50:17 server passwd[12830]: [ID 871885 auth.notice] 
(pam_smbpass) failed auth request by user for service passwd as user
Jul  4 14:50:17 server passwd[12830]: [ID 507756 auth.notice] 
(pam_smbpass) failed auth request by user for service passwd as 
user(-18956203)
Jul  4 14:50:17 server passwd[12830]: [ID 965784 auth.notice] 
(pam_smbpass) 1 authentication failure from user for service passwd as 
user(1000)


If I try as root:
# passwd user
New Password:
Re-enter new Password:
passwd: password successfully changed for user

su works with the new password:
su - user

Samba fails:
$ smbclient server\\share
Enter user's password:
session setup failed: NT_STATUS_LOGON_FAILURE

However, the same works with an empty password (press enter at the 
password request). Not good.


The logs show:
Jul  4 14:54:10 server passwd[12912]: [ID 632017 auth.notice] 
(pam_smbpass) password for (user/1000) changed by (root/0)


Any idea what I did wrong?

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


[Samba] samba-tool classic upgrade - Next rid problem

2013-07-04 Thread Chris Alavoine
Hi there,

I am trying to upgrade my old Samba3 (with LDAP backend) to Samba 4.

I am doing this on a test VM for now as a proof of concept.

When running this command:

/usr/local/samba/bin/samba-tool domain classicupgrade
--dbdir=/home/administrator/samba3/  --use-xattrs=yes
--realm=internal.com /home/administrator/samba3/smb.conf

I get this:

Reading smb.conf
Provisioning
Exporting account policy
Exporting groups
Exporting users
Next rid = 2012040402
Exporting posix attributes
Reading WINS database
Looking up IPv4 addresses
Looking up IPv6 addresses
No IPv6 address will be assigned
Setting up secrets.ldb
Setting up the registry
Setting up the privileges database
Setting up idmap db
Setting up SAM db
Setting up sam.ldb partitions and settings
Setting up sam.ldb rootDSE
Pre-loading the Samba 4 and AD schema
ERROR(class 'samba.provision.ProvisioningError'): uncaught exception -
ProvisioningError: You want to run SAMBA 4 with a next_rid of 2012040402,
the valid range is 1000-10. The default is 1000.
  File
/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/__init__.py,
line 175, in _run
return self.run(*args, **kwargs)
  File
/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/domain.py, line
1318, in run
useeadb=eadb, dns_backend=dns_backend, use_ntvfs=use_ntvfs)
  File /usr/local/samba/lib/python2.7/site-packages/samba/upgrade.py,
line 866, in upgrade_from_samba3
use_ntvfs=use_ntvfs, skip_sysvolacl=True)
  File
/usr/local/samba/lib/python2.7/site-packages/samba/provision/__init__.py,
line 2155, in provision
skip_sysvolacl=skip_sysvolacl)
  File
/usr/local/samba/lib/python2.7/site-packages/samba/provision/__init__.py,
line 1757, in provision_fill
next_rid=next_rid, dc_rid=dc_rid)
  File
/usr/local/samba/lib/python2.7/site-packages/samba/provision/__init__.py,
line 1227, in fill_samdb
raise ProvisioningError(error)


So, it appears that my Next rid parameter is too high (namely: 2012040402).
I have run this multiple times and next rid is always the same number.
Before I start decimating my LDAP directory has anyone seen this behaviour
before?

I have done a quick LDAP search and not been able to find any RID's that
would cause such an inflated number so am a bit stumped.

Thanks in advance,
Chris.

-- 
ACS (Alavoine Computer Services Ltd)
Chris Alavoine
mob +44 (0)7724 710 730
www.alavoinecs.co.uk
http://twitter.com/#!/alavoinecs
http://www.linkedin.com/pub/chris-alavoine/39/606/192
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Win8 account sees its home share, but does not have permissions to access

2013-07-04 Thread Dale Schroeder
Being a Debian user, I don't have to deal with selinux; I've got a whole 
different set of problems. That being said, the 1st topic under 
troubleshooting in the Samba wiki is selinux.


https://wiki.samba.org/index.php/Samba_Troubleshooting

Hopefully, you'll find something in there to help you.


On 07/03/2013 1:50 PM, Mark Galeck wrote:

how do I check this?


On Wed, Jul 3, 2013 at 7:18 AM, Dale Schroeder 
d...@briannassaladdressing.com wrote:


This being a Red Hat derivative, is selinux configured to allow this?



On 07/02/2013 2:54 PM, Mark Galeck wrote:


Fedora release 17 (Beefy Miracle)


On Tue, Jul 2, 2013 at 12:16 PM, Ricky Nance ricky.na...@gmail.com
wrote:

  Mark, which distro are you running?


On Tue, Jul 2, 2013 at 2:00 PM, Mark Galeck m...@xpliant.com wrote:

  Can you log into the linux machine with the user mark and write files to

/home/mark without issue?

Certainly. I don't know Samba, but I do know Unix/Linux and as far as I
can tell, everything on Linux is working fine, as well as on the
Windows 8
side.

  What is the output of smbclient //localhost/homes -Umark -d5 (then at a
smb:\ do ls)

??  Command not found - I can't execute this on Linux.  I use


/bin/systemctl status smb.service


to get status


On Tue, Jul 2, 2013 at 11:52 AM, Ricky Nance ricky.na...@gmail.com

wrote:

  Can you log into the linux machine with the user mark and write files

to
/home/mark without issue? What is the output of smbclient
//localhost/homes
-Umark -d5 (then at a smb:\ do ls). Just a couple of things I would
look
at\try.

Ricky







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


[Samba] Trusted Domains List

2013-07-04 Thread Paul Pugliese
Hello,

I am running Samba on Redhat 5.

Attempting to configure a two way trust relationship with a Windows 2008
Domain.

I have configured and tested the trust from Samba going to AD, but am
running into problems setting up AD as the trusted domain on the Samba
server.

When I run the following command on the linux box I receive the following
error.

[root@happiness2 Period Reports]# net rpc trustdom establish pintys
Enter PINTYS.COM$'s password:
Could not connect to server GATES
[2013/07/04 11:48:45,  0] utils/net_rpc.c:rpc_trustdom_establish(5665)
  Storing password for trusted domain failed.

I apologize in advance if I should be including more information. First
time posting, and not much Linux experience.

Any help would be greatly appreciated.

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


Re: [Samba] Trusted Domains List

2013-07-04 Thread Marc Muehlfeld

Hello Paul,

Am 04.07.2013 17:51, schrieb Paul Pugliese:

I have configured and tested the trust from Samba going to AD, but am
running into problems setting up AD as the trusted domain on the Samba
server.


https://wiki.samba.org/index.php/Samba4/FAQ#Does_Samba_support_trust_relationship_with_AD.3F
will answer your quesiton.


Regards,
Marc

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


Re: [Samba] Trusted Domains List

2013-07-04 Thread Paul Pugliese
Sorry,

I should have mentioned this in my first post, but I am running Samba 3.3.15

That link you gave me is regarding Samba 4.




On Thu, Jul 4, 2013 at 3:42 PM, Marc Muehlfeld sa...@marc-muehlfeld.dewrote:

 Hello Paul,

 Am 04.07.2013 17:51, schrieb Paul Pugliese:

  I have configured and tested the trust from Samba going to AD, but am
 running into problems setting up AD as the trusted domain on the Samba
 server.


 https://wiki.samba.org/index.**php/Samba4/FAQ#Does_Samba_**
 support_trust_relationship_**with_AD.3Fhttps://wiki.samba.org/index.php/Samba4/FAQ#Does_Samba_support_trust_relationship_with_AD.3F
 will answer your quesiton.


 Regards,
 Marc




-- 

*Paul Pugliese*
Sr. IT Service Analyst

5063 North Service Road Suite 101
Burlington, Ontario, L7L 5H6
tel: 905.319.5300
email: pa...@pintys.com
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Trusted Domains List

2013-07-04 Thread Marc Muehlfeld

Am 04.07.2013 22:08, schrieb Paul Pugliese:

I should have mentioned this in my first post, but I am running Samba 3.3.15


Can you upgrade to a newer version? The 3.3 tree out of maintainance 
since 3 years. And there are many improvements, features and 
compatibility fixes that went into the code in that time. Maybe your 
problem automatically dissappears with a newer version. And you'll get 
easier hints and support here on the list on recent versions.



I had a trust with two Samba 3 domains many years ago. But never against 
AD. But if I google your error, there are different things that can 
cause this message (like 
http://www.mail-archive.com/samba@lists.samba.org/msg95292.html).


Can you give more information on your installation (LDAP backend yes/no, 
etc.).


What you should also try, is to increase the samba log level (maybe 3 
for the beginning). Maybe you get more information to find the cause of 
your problem.


Here is also a HowTo about Samba-AD trusts (but with Samba 3.6):
http://albertolarripa.com/?p=1631


Regards,
Marc
--
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 Rhedhat 6 And classicupgrade errors

2013-07-04 Thread Andrew Bartlett
On Wed, 2013-07-03 at 12:28 +0100, GUEI née worou noee wrote:
 Hi,
 i upgrade on a new server samba3 to samba4 with a LDAP Backend.
 I have followed this HowTO 
  http://wiki.samba.org/index.php/Samba4/samba-tool/domain/classicupgrade/HOWTO
 
 until de classicupgrade step
 Here is the errors I get 

 Following sids are both user and group sids:
S-1-5-21-1770481708-1631662840-68360779-3221

 raise ProvisioningError(Please remove duplicate sid entries before 
 upgrade.)

 Please, could anyone help me. 
 I have this error since one week and coud not figure it out.
 i need help.

Read the above message carefully, and ensure no user has the same SID as
a group in your source databases. 

Andrew Bartlett

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


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

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

2013-07-04 Thread Karolin Seeger
The branch, v3-6-test has been updated
   via  b5a8afd PIDL: fix parsing linemarkers in preprocessor output
   via  e98d3b7 libreplace: add a missing eval to the 
AC_VERIFY_C_PROTOTYPE macro
  from  006ba0c docs: mention AD prerequirements for using idmap_ad

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


- Log -
commit b5a8afd6550e9091d169d3010751913bb483fc4b
Author: Alexander Bokovoy a...@samba.org
Date:   Wed Feb 6 10:17:57 2013 +0200

PIDL: fix parsing linemarkers in preprocessor output

When PIDL calls out to C preprocessor to expand IDL files
and parse the output, it filters out linemarkers and line control
information as described in 
http://gcc.gnu.org/onlinedocs/cpp/Preprocessor-Output.html
and http://gcc.gnu.org/onlinedocs/cpp/Line-Control.html#Line-Control

With gcc 4.8 stdc-predef.h is included automatically and linemarker for the
file has extended flags that PIDL couldn't parse ('system header that needs 
to
be extern C protected for C++')

Thanks to Jakub Jelinek ja...@redhat.com for explanation of the 
linemarker format.

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=906517

Reviewed-by: Andreas Schneider a...@samba.org
(cherry picked from commit 6ba7ab5c14801aecae96373d5a9db7ab82957526)

Signed-off-by: Andreas Schneider a...@samba.org

Fix bug #9636 - pidl can't parse new linemarkers in preprocessor output.
(cherry picked from commit 643571470f2e4cd2f58bd60ac7189abb826d33cc)

commit e98d3b7648fe298f03e408ab91b8b53904bab8ca
Author: Michael Adam ob...@samba.org
Date:   Fri Oct 14 14:05:09 2011 +0200

libreplace: add a missing eval to the AC_VERIFY_C_PROTOTYPE macro

Without this eval, upon test success the corresponding actions
(like defining corresponding variables) are not taken.

Found by Timur I. Bakeyev, and based on his patch for 3.5.
(cherry picked from commit 0ef506d4f31d206c300e4f3f326edac2b60bdc15)

---

Summary of changes:
 lib/replace/libreplace_macros.m4 |2 +-
 pidl/idl.yp  |4 +++-
 pidl/lib/Parse/Pidl/IDL.pm   |4 +++-
 3 files changed, 7 insertions(+), 3 deletions(-)


Changeset truncated at 500 lines:

diff --git a/lib/replace/libreplace_macros.m4 b/lib/replace/libreplace_macros.m4
index 46aedd3..42b8847 100644
--- a/lib/replace/libreplace_macros.m4
+++ b/lib/replace/libreplace_macros.m4
@@ -298,7 +298,7 @@ AC_DEFUN(AC_VERIFY_C_PROTOTYPE,
eval AS_TR_SH([ac_cv_c_prototype_$1])=no
])
 )
-AS_IF([test $AS_TR_SH([ac_cv_c_prototype_$1]) = yes],[$3],[$4])
+AS_IF([eval test $AS_TR_SH([ac_cv_c_prototype_$1]) = yes],[$3],[$4])
 ])
 
 AC_DEFUN(LIBREPLACE_PROVIDE_HEADER, 
diff --git a/pidl/idl.yp b/pidl/idl.yp
index b5c5185..c8a65f6 100644
--- a/pidl/idl.yp
+++ b/pidl/idl.yp
@@ -610,7 +610,9 @@ again:
 
for ($parser-YYData-{INPUT}) {
if (/^\#/) {
-   if (s/^\# (\d+) \(.*?)\( \d+|)//) {
+   # Linemarker format is described at
+   # 
http://gcc.gnu.org/onlinedocs/cpp/Preprocessor-Output.html
+   if (s/^\# (\d+) \(.*?)\(( \d+){1,4}|)//) {
$parser-YYData-{LINE} = $1-1;
$parser-YYData-{FILE} = $2;
goto again;
diff --git a/pidl/lib/Parse/Pidl/IDL.pm b/pidl/lib/Parse/Pidl/IDL.pm
index d4820ff..6927c89 100644
--- a/pidl/lib/Parse/Pidl/IDL.pm
+++ b/pidl/lib/Parse/Pidl/IDL.pm
@@ -2576,7 +2576,9 @@ again:
 
for ($parser-YYData-{INPUT}) {
if (/^\#/) {
-   if (s/^\# (\d+) \(.*?)\( \d+|)//) {
+   # Linemarker format is described at
+   # 
http://gcc.gnu.org/onlinedocs/cpp/Preprocessor-Output.html
+   if (s/^\# (\d+) \(.*?)\(( \d+){1,4}|)//) {
$parser-YYData-{LINE} = $1-1;
$parser-YYData-{FILE} = $2;
goto again;


-- 
Samba Shared Repository


[SCM] Samba Shared Repository - branch v4-1-test updated

2013-07-04 Thread Karolin Seeger
The branch, v4-1-test has been updated
   via  d641469 Make the output of the crackname script more readable
   via  47bd903 s3-winbind: Allow sec_initial_uid() to store creds.
   via  c153e6c selftest: Use higher ip numbers.
   via  bb122b0 selftest: Add a newline to root entries in the nss files.
   via  6a0cb7d selftest: Fix domain name of plugindc.
   via  99c800b torture: Don't segfault in smb2.session on error.
   via  096ff2e torture: Don't segfault in raw.session on error.
   via  67c8f87 torture: Fix comparsion of uninitalized bytes.
  from  bef3fc8 tsocket: Pass the full port number to getaddrinfo().

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


- Log -
commit d641469b3522c1fc0ebece262ed6eff66f5f99be
Author: Matthieu Patou m...@matws.net
Date:   Sun Jun 30 01:59:53 2013 -0700

Make the output of the crackname script more readable

Signed-off-by: Matthieu Patou m...@matws.net
Reviewed-by: Andreas Schneider a...@samba.org

Autobuild-User(master): Jeremy Allison j...@samba.org
Autobuild-Date(master): Wed Jul  3 23:17:57 CEST 2013 on sn-devel-104
(cherry picked from commit 2536ee8b640c1257dbe28a977ae0b48a62093d0c)

Autobuild-User(v4-1-test): Karolin Seeger ksee...@samba.org
Autobuild-Date(v4-1-test): Thu Jul  4 11:47:53 CEST 2013 on sn-devel-104

commit 47bd903e780cc2c42f0003824f3ea0f67228986b
Author: Andreas Schneider a...@samba.org
Date:   Mon Jul 1 13:02:48 2013 +0200

s3-winbind: Allow sec_initial_uid() to store creds.

Signed-off-by: Andreas Schneider a...@samba.org
Reviewed-by: Jeremy Allison j...@samba.org

Autobuild-User(master): Jeremy Allison j...@samba.org
Autobuild-Date(master): Tue Jul  2 23:26:24 CEST 2013 on sn-devel-104
(cherry picked from commit caf3af33deeea9bee61a741fcc991285006cc6f5)

commit c153e6c1d93b961df288778333ff906450080f24
Author: Andreas Schneider a...@samba.org
Date:   Mon Jul 1 13:02:47 2013 +0200

selftest: Use higher ip numbers.

127.0.0.2 is used by some distributions to resolve the own hostname.

Signed-off-by: Andreas Schneider a...@samba.org
Reviewed-by: Jeremy Allison j...@samba.org
(cherry picked from commit a4af4fa9db768dce2e009ba132cf88525a9b8314)

commit bb122b056ba47a3ac4a4ff6cdea410ca916ec0bf
Author: Andreas Schneider a...@samba.org
Date:   Mon Jul 1 13:02:46 2013 +0200

selftest: Add a newline to root entries in the nss files.

Signed-off-by: Andreas Schneider a...@samba.org
Reviewed-by: Jeremy Allison j...@samba.org
(cherry picked from commit d5511b125ccfd9c46cad63796aa49258bcc0ae38)

commit 6a0cb7d47766128231e6f2db82f02bef559f7b6c
Author: Andreas Schneider a...@samba.org
Date:   Mon Jul 1 13:02:45 2013 +0200

selftest: Fix domain name of plugindc.

Signed-off-by: Andreas Schneider a...@samba.org
Reviewed-by: Jeremy Allison j...@samba.org
(cherry picked from commit 7392985b2981cb82be5f99255faae1605972be53)

commit 99c800bbd8e20be51c4c6a70fa1d4e8324dc7a12
Author: Andreas Schneider a...@samba.org
Date:   Mon Jul 1 13:02:44 2013 +0200

torture: Don't segfault in smb2.session on error.

Signed-off-by: Andreas Schneider a...@samba.org
Reviewed-by: Jeremy Allison j...@samba.org
(cherry picked from commit bf5bc723da0605c7bc796f5e047e3f041db0b943)

commit 096ff2e977694d1042567fb4b3bb97d9c8122eb7
Author: Andreas Schneider a...@samba.org
Date:   Mon Jul 1 13:02:43 2013 +0200

torture: Don't segfault in raw.session on error.

Signed-off-by: Andreas Schneider a...@samba.org
Reviewed-by: Jeremy Allison j...@samba.org
(cherry picked from commit d295e18409a2e18e52c5bb76fec0e0540b6199cf)

commit 67c8f87c777d850cf9ec0080b4daa09adf40ec55
Author: Andreas Schneider a...@samba.org
Date:   Tue Jul 2 15:24:40 2013 +0200

torture: Fix comparsion of uninitalized bytes.

As we compare string make sure we have the null terminator.

Found by valgrind.

Signed-off-by: Andreas Schneider a...@samba.org
Reviewed-by: Volker Lendecke v...@samba.org
(cherry picked from commit 474eee0df7893a3a4546e1c6ea47220700c5b99f)

---

Summary of changes:
 selftest/target/Samba.pm  |   11 ++-
 selftest/target/Samba3.pm |6 --
 selftest/target/Samba4.pm |2 +-
 source3/winbindd/winbindd_ccache_access.c |2 +-
 source4/scripting/devel/crackname |8 
 source4/torture/raw/session.c |4 +++-
 source4/torture/smb2/session.c|2 +-
 7 files changed, 20 insertions(+), 15 deletions(-)


Changeset truncated at 500 lines:

diff --git a/selftest/target/Samba.pm b/selftest/target/Samba.pm
index fa18985..ab3851f 100644
--- a/selftest/target/Samba.pm
+++ b/selftest/target/Samba.pm
@@ -150,11 +150,12 @@ 

[SCM] CTDB repository - branch master updated - ctdb-2.2-71-g16afe36

2013-07-04 Thread Amitay Isaacs
The branch, master has been updated
   via  16afe36de52561a62372c14b567683dc898369d5 (commit)
   via  d48eecd748830598f4f080952f2bf05d6f92738c (commit)
   via  5408c5c4050539e5aa06a5e82ceb63a6cb5cef0c (commit)
   via  9aa13bcedd83d463c871e3cf1f3a65da3cd83992 (commit)
   via  9b529189f8456fad7868fc154ae27a6fd87e93b3 (commit)
   via  bb54f3924ff19cd089b0a166fe8368db162ad709 (commit)
   via  1b0faae9c939a2f8da3cacba715ca62a5830d190 (commit)
   via  53d34eb2f9e5434dea4e7182b6af566a3a96a368 (commit)
   via  6fe584d05543eebd24abd19bab502dc4da04e921 (commit)
   via  7e53fbf92b6dd5211d918ea0e23126b7dfa50c42 (commit)
   via  145b1966c1b34f1667a175235e1df2741294391c (commit)
   via  b4c06e8ec8b227c1e6c01444038c3b15b5f9e606 (commit)
  from  ef1c4e99ca66e7a990bc557f34abb624c315e6ba (commit)

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


- Log -
commit 16afe36de52561a62372c14b567683dc898369d5
Author: Amitay Isaacs ami...@gmail.com
Date:   Thu Jul 4 17:37:05 2013 +1000

ping_pong: Validate num_locks argument  0

This fixes the floating point error if num_locks = 0.

Signed-off-by: Amitay Isaacs ami...@gmail.com

commit d48eecd748830598f4f080952f2bf05d6f92738c
Author: Amitay Isaacs ami...@gmail.com
Date:   Thu Jul 4 17:27:00 2013 +1000

tests: If connection to ctdb daemon fails, exit

This fixes the segmentation error if any of the test code fails to
connect to CTDB daemon.

Signed-off-by: Amitay Isaacs ami...@gmail.com

commit 5408c5c4050539e5aa06a5e82ceb63a6cb5cef0c
Author: Amitay Isaacs ami...@gmail.com
Date:   Thu Jul 4 17:00:23 2013 +1000

build: Fix compiler warnings for uninitialized variables

Signed-off-by: Amitay Isaacs ami...@gmail.com

commit 9aa13bcedd83d463c871e3cf1f3a65da3cd83992
Author: Amitay Isaacs ami...@gmail.com
Date:   Thu Jul 4 15:36:29 2013 +1000

recoverd: Send the result from child process only once

The result has been sent before the child keeps waiting for parent
ctdbd process.

Signed-off-by: Amitay Isaacs ami...@gmail.com

commit 9b529189f8456fad7868fc154ae27a6fd87e93b3
Author: Amitay Isaacs ami...@gmail.com
Date:   Thu Jul 4 15:31:52 2013 +1000

packaging: Enable compiler optimizations

This reverts d09570c70551aa40390ce9ceffe7bc234e1afafe.

... hoping the segv has been found in last 6 years. :-)

Signed-off-by: Amitay Isaacs ami...@gmail.com

commit bb54f3924ff19cd089b0a166fe8368db162ad709
Author: Amitay Isaacs ami...@gmail.com
Date:   Thu Jul 4 15:14:10 2013 +1000

packaging: Allow building RPMs with system tdb/talloc/tevent

To build CTDB RPMs with system installed libraries, use following command:

  ./packaging/RPM/makerpms.sh \
--with system_talloc \
--with system_tdb \
--with system_tevent

Signed-off-by: Amitay Isaacs ami...@gmail.com

commit 1b0faae9c939a2f8da3cacba715ca62a5830d190
Author: Amitay Isaacs ami...@gmail.com
Date:   Thu Jul 4 14:29:09 2013 +1000

packaging: Do not mark /etc/ctdb/functions as configuration file

Signed-off-by: Amitay Isaacs ami...@gmail.com

commit 53d34eb2f9e5434dea4e7182b6af566a3a96a368
Author: Amitay Isaacs ami...@gmail.com
Date:   Thu Jul 4 13:19:56 2013 +1000

packaging: Install README.notify.d using %doc directive

Signed-off-by: Amitay Isaacs ami...@gmail.com
Pair-Programmed-With: Martin Schwenke mar...@meltin.net

commit 6fe584d05543eebd24abd19bab502dc4da04e921
Author: Amitay Isaacs ami...@gmail.com
Date:   Thu Jul 4 12:45:32 2013 +1000

packaging: Install docs using %doc directive

Signed-off-by: Amitay Isaacs ami...@gmail.com
Pair-Programmed-With: Martin Schwenke mar...@meltin.net

commit 7e53fbf92b6dd5211d918ea0e23126b7dfa50c42
Author: Amitay Isaacs ami...@gmail.com
Date:   Thu Jul 4 11:33:38 2013 +1000

packaging: Remove ctdb_transaction from docdir

It's bundled in ctdb-tests package.

Signed-off-by: Amitay Isaacs ami...@gmail.com

commit 145b1966c1b34f1667a175235e1df2741294391c
Author: Martin Schwenke mar...@meltin.net
Date:   Sun Jun 30 17:23:08 2013 +1000

doc: Add a disclaimer for the EnableBans tunable

Signed-off-by: Martin Schwenke mar...@meltin.net

commit b4c06e8ec8b227c1e6c01444038c3b15b5f9e606
Author: Martin Schwenke mar...@meltin.net
Date:   Sun Jun 30 17:22:06 2013 +1000

doc: Add banning bug fixes to NEWS

Signed-off-by: Martin Schwenke mar...@meltin.net

---

Summary of changes:
 Makefile.in   |   11 
 NEWS  |9 ++-
 common/system_common.c|2 +-
 doc/ctdbd.1.xml   |3 +-
 packaging/RPM/ctdb.spec.in|   40 +
 

autobuild: intermittent test failure detected

2013-07-04 Thread autobuild
The autobuild test system has detected an intermittent failing test in 
the current master tree.

The autobuild log of the failure is available here:

   http://git.samba.org/autobuild.flakey/2013-07-04-1544/flakey.log

The samba3 build logs are available here:

   http://git.samba.org/autobuild.flakey/2013-07-04-1544/samba3.stderr
   http://git.samba.org/autobuild.flakey/2013-07-04-1544/samba3.stdout

The source4 build logs are available here:

   http://git.samba.org/autobuild.flakey/2013-07-04-1544/samba.stderr
   http://git.samba.org/autobuild.flakey/2013-07-04-1544/samba.stdout
  
The top commit at the time of the failure was:

commit 2536ee8b640c1257dbe28a977ae0b48a62093d0c
Author: Matthieu Patou m...@matws.net
Date:   Sun Jun 30 01:59:53 2013 -0700

Make the output of the crackname script more readable

Signed-off-by: Matthieu Patou m...@matws.net
Reviewed-by: Andreas Schneider a...@samba.org

Autobuild-User(master): Jeremy Allison j...@samba.org
Autobuild-Date(master): Wed Jul  3 23:17:57 CEST 2013 on sn-devel-104


[SCM] Samba Shared Repository - branch master updated

2013-07-04 Thread Stefan Metzmacher
The branch, master has been updated
   via  2763cad dsdb-ridalloc: Fix RID pools - RID numbers increase too 
quickly
  from  2536ee8 Make the output of the crackname script more readable

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


- Log -
commit 2763cad409430c183f7f1f6f57bc6b38ae616ed9
Author: Andrew Bartlett abart...@samba.org
Date:   Sat Jun 22 19:30:50 2013 +1000

dsdb-ridalloc: Fix RID pools - RID numbers increase too quickly

A patch by Cove Schneider cov...@yahoo.com who reports:

I noticed that the RID numbers seem to increase incrementally, then
will suddenly jump by 124501. Unless I'm misunderstanding, shouldn't
RID pool allocations just be 500 at a time?

e.g.  Adding accounts one after another on a single test instance here's 
how they're incrementing (from 4.0.6):
1596
1597
1598
1599
126100
126101
126102
...
126599

251100
...

251599

376100
...

The problem is that this complicates using sssd's AD integration, as
that it doesn't expect the RIDs to increase in a single domain so
quickly.

Signed-off-by: Andrew Bartlett abart...@samba.org
Reviewed-by: Stefan Metzmacher me...@samba.org

Autobuild-User(master): Stefan Metzmacher me...@samba.org
Autobuild-Date(master): Thu Jul  4 20:13:05 CEST 2013 on sn-devel-104

---

Summary of changes:
 source4/dsdb/samdb/ldb_modules/ridalloc.c |3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source4/dsdb/samdb/ldb_modules/ridalloc.c 
b/source4/dsdb/samdb/ldb_modules/ridalloc.c
index 73ecb03..c0859d3 100644
--- a/source4/dsdb/samdb/ldb_modules/ridalloc.c
+++ b/source4/dsdb/samdb/ldb_modules/ridalloc.c
@@ -606,7 +606,8 @@ int ridalloc_allocate_rid(struct ldb_module *module, 
uint32_t *rid, struct ldb_r
/*
 * if we are half-exhausted then try to get a new pool.
 */
-   if (nridset.next_rid  (prev_pool_hi + prev_pool_lo)/2) {
+   if (nridset.next_rid  (prev_pool_hi + prev_pool_lo)/2 
+   nridset.alloc_pool == nridset.prev_pool) {
/*
 * if we are the RID Manager,
 * we can get a new pool localy.


-- 
Samba Shared Repository


[SCM] Samba Shared Repository - branch master updated

2013-07-04 Thread Volker Lendecke
The branch, master has been updated
   via  a68cea6 docs: Fix typos in use ntdb section.
  from  2763cad dsdb-ridalloc: Fix RID pools - RID numbers increase too 
quickly

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


- Log -
commit a68cea6ccbc769cf890035b045124fc841201631
Author: Karolin Seeger ksee...@samba.org
Date:   Thu Jul 4 10:36:33 2013 +0200

docs: Fix typos in use ntdb section.

Signed-off-by: Karolin Seeger ksee...@samba.org
Reviewed-by: Volker Lendecke v...@samba.org

Autobuild-User(master): Volker Lendecke v...@samba.org
Autobuild-Date(master): Thu Jul  4 22:44:54 CEST 2013 on sn-devel-104

---

Summary of changes:
 docs-xml/smbdotconf/tuning/usentdb.xml |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/docs-xml/smbdotconf/tuning/usentdb.xml 
b/docs-xml/smbdotconf/tuning/usentdb.xml
index 9a0d2cd..6d5ca48 100644
--- a/docs-xml/smbdotconf/tuning/usentdb.xml
+++ b/docs-xml/smbdotconf/tuning/usentdb.xml
@@ -6,9 +6,9 @@
 paraBeginning in Samba 4.1, a growing number of databases can
 use the NTDB format rather than TDB.
 /para
-paraIf you enable this option these databases will defaul to a
+paraIf you enable this option these databases will default to a
 filename.ntdb/filename extension rather than
-filename.tdb/filename: If the filename.tdb/filename file
+filename.tdb/filename. If the filename.tdb/filename file
 exists, it will automatically be converted to NTDB and renamed to
 filename.tdb.bak/filename.
 /para


-- 
Samba Shared Repository