[Samba] Samba4: cannot create GPO from XP

2012-07-31 Thread steve

Hi everyone
S4 install on Debian 6

I can't seem to apply a GPO to an OU in XP. The GPO is created OK, no 
errors appear in ADUC but nothing appear in the sysvol share. I continue 
to have only the default:


root@capital:/usr/local/samba/var/locks/sysvol/eccmg.cupet.cu/Policies# 
ls -la

total 16
drwsrwsr-x  3 rootstaff 4096 Jul 30 08:56 .
drwsrwsr-x  4 rootstaff 4096 Jul 19 09:09 ..
drwxrws---+ 5 3000134 users 4096 Jul 30 08:56
{2D2153FA-7AD3-4DE5-94F7-D62B9677DC1A}
-rwsrwxr-x  1 rootstaff0 Apr 24 13:47 Policy.ini

Can anyone help me know where to start to debug this? I think it may be 
an acl/permissions issue.


What should the parent directory, in my case:
/usr/local/samba/var/locks/sysvol/eccmg.cupet.cu
be? Not:
drwsrwsr-x  4 rootstaff
I don't think.

Cheers,
Steve

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



[Samba] Samba+LDAP: Minimal permissions for sambaLMPassword/sambaNTPassword attributes?

2012-07-31 Thread Arokux B.
Hi,

what are the minimum permissions for the attributes
sambaLMPassword/sambaNTPassword for the the LDAP administrator account
so that Samba is just enabled to use it for authentication with
ldapsam backend.

It seems like auth is not enough, is this true?!

Thanks,

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


[Samba] Samba and LDAP

2012-07-31 Thread rodrigo tavares
Hello !

I have a doubt.


I´m configured LDAP whith Samba, the LDAP is run. But I can't login in one 
domain, I change the password user with smbldap-passwd. But it's not sufficient 
to login. Then I have to use smbpasswd -a username, so i get autenticate in 
domain with user.

Use the smbpasswd. It´s wrong ?


Thanks

Rodrigo Faria Tavares
Administrator System Linux
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] dbcheck

2012-07-31 Thread sandy . napoles
Helo list, I have samba 4 betta5 as BDC, when I run ./samba-tool dbcheck:

Failed to correct missing instanceType on
DC=81db8c7b-70f3-4bb0-941f-a9b3abb69b04._msdcs\0ADEL:6334f796-af60-4238-8e5a-1610056ca9b6,CN=LostAndFound,DC=eccmg,DC=cupet,DC=cu
by setting instanceType=4 : (65, objectclass_attrs: at least one
mandatory attribute ('objectCategory') on entry
'DC=81db8c7b-70f3-4bb0-941f-a9b3abb69b04._msdcs\\0ADEL:6334f796-af60-4238-8e5a-1610056ca9b6,CN=LostAndFound,DC=eccmg,DC=cupet,DC=cu'
wasn't specified!)

I can see in active directory users and computers the folder lost and
found, how I can delete all record in this place... I run too ./samba-tool
dbcheck --fix and nothing happened.


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


Re: [Samba] Samba and LDAP

2012-07-31 Thread Gaiseric Vandal
You can use smbpasswd or pdbedit to add a samba user.   Actually, if the
LDAP user already exists the smbpasswd or pdbedit command adds various
samba attributes.  

You should look at the LDAP properties of a user before and after you
run the smbpasswd -a or pdbedit -a command.   I like the Apache
Directory Studio ldap editor/browser, although you can also use
ldapsearch from the command line.  You will see that the samba-enabled
LDAP accounts have additional object classes and attributes. 

I have Samba 3.x with an LDAP backend.  Not all LDAP users are Samba
users, since we use LDAP for other things besides samba.  By default,
samba expects that the ldap user already exisits.   However, it is
possible for samba to be configured to automatically create and delete
the ldap user.


On 07/31/12 08:18, rodrigo tavares wrote:
 Hello !

 I have a doubt.


 I´m configured LDAP whith Samba, the LDAP is run. But I can't login in one 
 domain, I change the password user with smbldap-passwd. But it's not 
 sufficient to login. Then I have to use smbpasswd -a username, so i get 
 autenticate in domain with user.

 Use the smbpasswd. It´s wrong ?


 Thanks

 Rodrigo Faria Tavares
 Administrator System Linux


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


Re: [Samba] Samba+LDAP: Minimal permissions for sambaLMPassword/sambaNTPassword attributes?

2012-07-31 Thread Dave Ewart
On Tuesday, 31.07.2012 at 12:11 +0200, Arokux B. wrote:

 what are the minimum permissions for the attributes
 sambaLMPassword/sambaNTPassword for the the LDAP administrator account
 so that Samba is just enabled to use it for authentication with
 ldapsam backend.
 
 It seems like auth is not enough, is this true?!

Unlike a direct LDAP bind for a user when one can be sufficient with
just detecting a successful bind, Samba needs to be able to compare the
stored sambaLMPassword/sambaNTPassword hashes with the hash provided by
the client.  That requires 'read' access at a minimum.  (For password
changes via this avenue, I believe you'd need 'write', although I'm less
certain about that: might depend on the password change mechanism being
used.)

Dave.

-- 
Dave Ewart
da...@ceu.ox.ac.uk
Computing Manager, Cancer Epidemiology Unit
University of Oxford / Cancer Research UK
N 51.7516, W 1.2152


signature.asc
Description: 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] Phantom Domain Master Browser

2012-07-31 Thread Gaiseric Vandal
In the /var/samba/locks directory you may have browse.dat file  or
wins.*  (if this is a WINS server) files that have incorrect info.   
You should be able to name/backup these  files and restart nmbd.  

Is the phantom master browser a samba server or a Windows machine?  the
Samba DC normally should win browser elections but it is not always the
case.

 


On 07/20/12 09:08, Robert Adkins II wrote:
 I brought up the old server and have been reviewing the log files.

 There is no indication of the phantom master browser existing in the old log
 files.

 --

 Regards,
 Robert Adkins II
 IT Manager/Buyer
 Impel Industries, Inc.
 586-254-5800

  

 -Original Message-
 From: samba-boun...@lists.samba.org 
 [mailto:samba-boun...@lists.samba.org] On Behalf Of Robert Adkins II
 Sent: Friday, July 20, 2012 8:50 AM
 To: samba@lists.samba.org
 Subject: [Samba] Phantom Domain Master Browser

 There's a phantom domain master browser showing up in my 
 Samba nmbd.log file.
  
 I keep thinking that maybe it is left over in one of the 
 files that I transferred over from the old server to the new 
 server and it isn't clearing itself out. Is there a way to 
 clear that and is it possible to have a phantom browser 
 fighting over the Domain from a copied over file?
  
 I transferred all of the Samba files found in /etc/samba to 
 the new server.
  
 This was also an upgrade from Samba 3.2.7 to Samba 3.6.3
  
 I have noticed some additional files in the /var/log/Samba 
 directory as well as some additional files in the /etc/samba 
 directory on the new server.
  
  
  


 -- 

 Regards,
 Robert Adkins II
 IT Manager/Buyer
 Impel Industries, Inc. 
 586-254-5800 

  
 -- 
 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] BIND Problem on CentOS 6.3

2012-07-31 Thread M F

Hi,

I've set up a Samba4 PDC on a CentOS 6.3 and so far it's up and running, 
following the howto on the wiki.
This means I've joined the AD domain with a dedicated Win 7 virtual machine, 
I've installed the RSAT tools on that machine and I can administrate the AD 
domain.


I've set up this PDC in an existing small network with an AVM FRITZ.BOX adsl 
router, which is already the primary DNS nameserver. Within this network 
there are some more (Linux-) servers which are not part of the AD domain:

- for examplesrv-alfresco.fritz.box
 srv-redmine.fritz.box

When I now try to connect to one of those servers from the dedicated 
machine, this is not working. The domain name can't be resolved.


When I open a terminal on that Samba4 PDC and try
- ping srv-alfresco -- unknown host
- ping srv-alfresco.fritz.box -- unknown host
- dig srv-alfresco -- Status NOERROR, IP resolved
- dig srv-alfresco.fritz.box -- Status NXDOMAIN

When I remove that specific includes from the named.conf the above commands 
are working, but naturally the PDC is not working.


I'm sorry but after a couple of days doing around I have no idea how to 
solve that problem.


Any help would be appriciated.

Sebastian

Configuration:
--- Centos 6.3, BIND 9.8.2 (via yum), Samba Version 4.0.0beta5-GIT-35c0f16

--- current smb.conf
[global]
server role = active directory domain controller
workgroup = FRITZ
realm = FRITZ.BOX
netbios name = SRV-SAMBA4
passdb backend = samba4
dcerpc endpoint servers = epmapper, wkssvc, rpcecho, samr, netlogon, lsarpc, 
spoolss, drsuapi, dssetup, unixinfo, browser, eventlog6, backupkey
server services = rpc, nbt, wrepl, ldap, cldap, kdc, drepl, winbind, 
ntp_signd, kcc, dnsupdate, s3fs

nsupdate command = /usr/local/samba/bin/nsupdate
dsdb:schema update allowed = Yes

log file = /var/log/samba.log

[netlogon]
path = /usr/local/samba/var/locks/sysvol/fritz.box/scripts
read only = No

[sysvol]
path = /usr/local/samba/var/locks/sysvol
read only = No

[profiles]
path = /usr/local/samba/var/profiles
read only = No

--- current named.conf
/*
   Very simple named.conf for testing purposes
*/
options {
listen-on port 53 { 127.0.0.1; 192.168.178.0/24; };
directory  /var/named;
dump-file  /var/named/data/cache_dump.db;
   statistics-file /var/named/data/named_stats.txt;
   memstatistics-file /var/named/data/named_mem_stats.txt;

recursion yes;
forwarders { 192.168.178.1; };

managed-keys-directory /var/named/dynamic;
tkey-gssapi-keytab /usr/local/samba/private/dns.keytab;

};
include /usr/local/samba/private/named.conf;


--- current resolv.conf
domain fritz.box
nameserver 127.0.0.1
nameserver 192.168.178.1 


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

2012-07-31 Thread Stefan Metzmacher
The branch, master has been updated
   via  35c0f16 s3:smbd: do a clean shutdown during release_ip() after 
CTDB_SRVID_RELEASE_IP
   via  d73b793 s3:smbd: use print_sockaddr() instead of 
client_socket_addr()
   via  13de233 s3:smbd: move smbd_register_ips() next to release_ip()
   via  ec69eb4 s3:dbwrap_ctdb: initialize db_record-db
  from  cddcaf7 ldb: Add parameter to avoid NULL format string flagged by 
-Werror=format

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


- Log -
commit 35c0f164bcdbb52e38aa9d53b90d368659963764
Author: Stefan Metzmacher me...@samba.org
Date:   Sun Jul 29 23:23:09 2012 +0200

s3:smbd: do a clean shutdown during release_ip() after CTDB_SRVID_RELEASE_IP

metze

Autobuild-User(master): Stefan Metzmacher me...@samba.org
Autobuild-Date(master): Tue Jul 31 11:33:27 CEST 2012 on sn-devel-104

commit d73b7938bba32725b37f9bfa7ce3e23fbea50ce4
Author: Stefan Metzmacher me...@samba.org
Date:   Sun Jul 29 23:27:56 2012 +0200

s3:smbd: use print_sockaddr() instead of client_socket_addr()

We already have a server address in sockaddr_storage format.

Also the name client_socket was very miss leading,
as it returns the local address of the socket.

metze

commit 13de233fc6a562387791281b3b0cc1bcbe56b9ef
Author: Stefan Metzmacher me...@samba.org
Date:   Sun Jul 29 23:25:12 2012 +0200

s3:smbd: move smbd_register_ips() next to release_ip()

metze

commit ec69eb41bf1e32bec1d2d6e40bcfbd635ca505d2
Author: Stefan Metzmacher me...@samba.org
Date:   Tue Jul 31 09:30:29 2012 +0200

s3:dbwrap_ctdb: initialize db_record-db

metze

---

Summary of changes:
 source3/lib/dbwrap/dbwrap_ctdb.c |1 +
 source3/smbd/process.c   |   90 +++---
 2 files changed, 55 insertions(+), 36 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/lib/dbwrap/dbwrap_ctdb.c b/source3/lib/dbwrap/dbwrap_ctdb.c
index 5605b47..0a57997 100644
--- a/source3/lib/dbwrap/dbwrap_ctdb.c
+++ b/source3/lib/dbwrap/dbwrap_ctdb.c
@@ -1057,6 +1057,7 @@ static struct db_record *fetch_locked_internal(struct 
db_ctdb_ctx *ctx,
return NULL;
}
 
+   result-db = ctx-db;
result-private_data = (void *)crec;
crec-ctdb_ctx = ctx;
 
diff --git a/source3/smbd/process.c b/source3/smbd/process.c
index adb773d..dd26a27 100644
--- a/source3/smbd/process.c
+++ b/source3/smbd/process.c
@@ -2462,12 +2462,21 @@ static void smbd_server_echo_handler(struct 
event_context *ev,
 }
 
 #ifdef CLUSTER_SUPPORT
+
+struct smbd_release_ip_state {
+   struct smbd_server_connection *sconn;
+   char addr[INET6_ADDRSTRLEN];
+};
+
 /
 received when we should release a specific IP
 /
 static void release_ip(const char *ip, void *priv)
 {
-   const char *addr = (const char *)priv;
+   struct smbd_release_ip_state *state =
+   talloc_get_type_abort(priv,
+   struct smbd_release_ip_state);
+   const char *addr = state-addr;
const char *p = addr;
 
if (strncmp(:::, addr, 7) == 0) {
@@ -2478,19 +2487,55 @@ static void release_ip(const char *ip, void *priv)
   our address is %s\n, ip, p));
 
if ((strcmp(p, ip) == 0) || ((p != addr)  strcmp(addr, ip) == 0)) {
-   /* we can't afford to do a clean exit - that involves
-  database writes, which would potentially mean we
-  are still running after the failover has finished -
-  we have to get rid of this process ID straight
-  away */
DEBUG(0,(Got release IP message for our IP %s - exiting 
immediately\n,
ip));
-   /* note we must exit with non-zero status so the unclean 
handler gets
-  called in the parent, so that the brl database is tickled */
-   _exit(1);
+   /*
+* With SMB2 we should do a clean disconnect,
+* the previous_session_id in the session setup
+* will cleanup the old session, tcons and opens.
+*
+* A clean disconnect is needed in order to support
+* durable handles.
+*
+* Note: typically this is never triggered
+*   as we got a TCP RST (triggered by ctdb event scripts)
+*   before we get CTDB_SRVID_RELEASE_IP.
+*
+* We used to call _exit(1) here, but as this was mostly never
+* triggered and has implication on our process model,
+* we can just use 

[SCM] Samba Shared Repository - branch master updated

2012-07-31 Thread Stefan Metzmacher
The branch, master has been updated
   via  eaa381a s3: Fix Coverity ID 710791 Resource leak
   via  3bc1f45 s3: Fix Coverity ID 710803 Resource leak
   via  d1dccfb s3: Fix Coverity ID 710818 Resource leak
   via  2ddc3a2 s3: Fix Coverity ID 710827 Resource leak
   via  c03e976 tevent: Refer to the correct header in testsuite.c
   via  d2eb26c s3: Make request_timed_out() static
  from  35c0f16 s3:smbd: do a clean shutdown during release_ip() after 
CTDB_SRVID_RELEASE_IP

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


- Log -
commit eaa381a292a6ccb88d969933d7946366d29a3cc4
Author: Volker Lendecke v...@samba.org
Date:   Mon Jul 30 14:50:52 2012 +0200

s3: Fix Coverity ID 710791 Resource leak

Signed-off-by: Stefan Metzmacher me...@samba.org

Autobuild-User(master): Stefan Metzmacher me...@samba.org
Autobuild-Date(master): Tue Jul 31 13:34:53 CEST 2012 on sn-devel-104

commit 3bc1f4570e02a6df3a7eff227ef2f44c768b5d40
Author: Volker Lendecke v...@samba.org
Date:   Mon Jul 30 14:48:28 2012 +0200

s3: Fix Coverity ID 710803 Resource leak

Signed-off-by: Stefan Metzmacher me...@samba.org

commit d1dccfbda650081d33dc2924c480b033b386d1e4
Author: Volker Lendecke v...@samba.org
Date:   Mon Jul 30 14:45:25 2012 +0200

s3: Fix Coverity ID 710818 Resource leak

Signed-off-by: Stefan Metzmacher me...@samba.org

commit 2ddc3a280e14858ead92deca153588fe9f454e76
Author: Volker Lendecke v...@samba.org
Date:   Mon Jul 30 14:41:42 2012 +0200

s3: Fix Coverity ID 710827 Resource leak

Signed-off-by: Stefan Metzmacher me...@samba.org

commit c03e9769cdaca15a8c1ced21374c4d7bd50a6300
Author: Volker Lendecke v...@samba.org
Date:   Mon Jul 30 09:00:13 2012 +0200

tevent: Refer to the correct header in testsuite.c

Signed-off-by: Stefan Metzmacher me...@samba.org

commit d2eb26cfbd7d0ec664c653672125776db94ecc5f
Author: Volker Lendecke v...@samba.org
Date:   Wed May 30 11:31:13 2012 +0200

s3: Make request_timed_out() static

Signed-off-by: Stefan Metzmacher me...@samba.org

---

Summary of changes:
 lib/tevent/testsuite.c|2 +-
 source3/libsmb/libsmb_xattr.c |1 +
 source3/passdb/pdb_tdb.c  |1 +
 source3/smbd/msdfs.c  |1 +
 source3/smbd/open.c   |4 ++--
 source3/smbd/proto.h  |2 --
 source3/smbd/vfs.c|1 +
 7 files changed, 7 insertions(+), 5 deletions(-)


Changeset truncated at 500 lines:

diff --git a/lib/tevent/testsuite.c b/lib/tevent/testsuite.c
index e32ebf5..5868f0a 100644
--- a/lib/tevent/testsuite.c
+++ b/lib/tevent/testsuite.c
@@ -24,7 +24,7 @@
 */
 
 #include includes.h
-#include lib/events/events.h
+#include lib/tevent/tevent.h
 #include system/filesys.h
 #include torture/torture.h
 
diff --git a/source3/libsmb/libsmb_xattr.c b/source3/libsmb/libsmb_xattr.c
index 199f225..03cdc34 100644
--- a/source3/libsmb/libsmb_xattr.c
+++ b/source3/libsmb/libsmb_xattr.c
@@ -577,6 +577,7 @@ dos_attr_query(SMBCCTX *context,
  inode)) {
 errno = SMBC_errno(context, srv-cli);
 DEBUG(5, (dos_attr_query Failed to query old attributes\n));
+   TALLOC_FREE(ret);
 return NULL;
 }
 
diff --git a/source3/passdb/pdb_tdb.c b/source3/passdb/pdb_tdb.c
index e0b6261..1295862 100644
--- a/source3/passdb/pdb_tdb.c
+++ b/source3/passdb/pdb_tdb.c
@@ -1189,6 +1189,7 @@ static bool tdbsam_search_next_entry(struct pdb_search 
*search,
}
 
if (state-current == state-num_rids) {
+   TALLOC_FREE(user);
return false;
}
 
diff --git a/source3/smbd/msdfs.c b/source3/smbd/msdfs.c
index 97775d6..b6ebaca 100644
--- a/source3/smbd/msdfs.c
+++ b/source3/smbd/msdfs.c
@@ -841,6 +841,7 @@ static NTSTATUS self_ref(TALLOC_CTX *ctx,
 
ref-alternate_path = talloc_strdup(ctx, dfs_path);
if (!ref-alternate_path) {
+   TALLOC_FREE(ref);
return NT_STATUS_NO_MEMORY;
}
ref-proximity = 0;
diff --git a/source3/smbd/open.c b/source3/smbd/open.c
index 15f5888..d078638 100644
--- a/source3/smbd/open.c
+++ b/source3/smbd/open.c
@@ -1416,8 +1416,8 @@ static void grant_fsp_oplock_type(files_struct *fsp,
  fsp-oplock_type, fsp_str_dbg(fsp)));
 }
 
-bool request_timed_out(struct timeval request_time,
-  struct timeval timeout)
+static bool request_timed_out(struct timeval request_time,
+ struct timeval timeout)
 {
struct timeval now, end_time;
GetTimeOfDay(now);
diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h
index 8449fe9..aa79688 100644
--- a/source3/smbd/proto.h
+++ b/source3/smbd/proto.h
@@ -606,8 +606,6 @@ NTSTATUS change_dir_owner_to_parent(connection_struct *conn,

autobuild: intermittent test failure detected

2012-07-31 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/2012-07-31-1344/flakey.log

The samba3 build logs are available here:

   http://git.samba.org/autobuild.flakey/2012-07-31-1344/samba3.stderr
   http://git.samba.org/autobuild.flakey/2012-07-31-1344/samba3.stdout

The source4 build logs are available here:

   http://git.samba.org/autobuild.flakey/2012-07-31-1344/samba.stderr
   http://git.samba.org/autobuild.flakey/2012-07-31-1344/samba.stdout
  
The top commit at the time of the failure was:

commit 35c0f164bcdbb52e38aa9d53b90d368659963764
Author: Stefan Metzmacher me...@samba.org
Date:   Sun Jul 29 23:23:09 2012 +0200

s3:smbd: do a clean shutdown during release_ip() after CTDB_SRVID_RELEASE_IP

metze

Autobuild-User(master): Stefan Metzmacher me...@samba.org
Autobuild-Date(master): Tue Jul 31 11:33:27 CEST 2012 on sn-devel-104


[SCM] Samba Shared Repository - branch master updated

2012-07-31 Thread Andrew Bartlett
The branch, master has been updated
   via  23df816 VERSION: Move on to beta6!
   via  50d6483 VERSION: Mark as the beta5 release
   via  fb24f47 WHATSNEW: prepare for 4.0 beta5
   via  3178741 s4-repl: Add tests for add replication conflicts and use of 
LostAndFound
   via  6d1b8ff s4-dsdb: Replace any existing lastKnownParent attribute 
during delete
   via  fcb54ca s4-dsdb: Improve tracing in repl_meta_data
   via  bc5be09 s4-dsdb: Handle rename conflicts in both directions
   via  8208d7b lib/ldb: Ensure rename target does not exist before 
deleting old record
   via  221cd52 s4-dsdb: Request extended DN and show deleted when 
searching for a possible parent
  from  eaa381a s3: Fix Coverity ID 710791 Resource leak

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


- Log -
commit 23df816328bf10f06a7c7a018c7a1e896c62f3bf
Author: Andrew Bartlett abart...@samba.org
Date:   Tue Jul 31 12:25:56 2012 +1000

VERSION: Move on to beta6!

Autobuild-User(master): Andrew Bartlett abart...@samba.org
Autobuild-Date(master): Tue Jul 31 16:09:23 CEST 2012 on sn-devel-104

commit 50d6483ab8acd9a2af7558b6831c170a5bce3721
Author: Andrew Bartlett abart...@samba.org
Date:   Tue Jul 31 12:25:16 2012 +1000

VERSION: Mark as the beta5 release

commit fb24f471be6af42a5a1f49c58d4d3e52e25f10b6
Author: Andrew Bartlett abart...@samba.org
Date:   Tue Jul 31 12:24:49 2012 +1000

WHATSNEW: prepare for 4.0 beta5

commit 31787417ca9d01965a9f5221ff6adc48a4b1a15f
Author: Andrew Bartlett abart...@samba.org
Date:   Mon Jul 30 16:00:58 2012 +1000

s4-repl: Add tests for add replication conflicts and use of LostAndFound

LostAndFound is used when we find children of a deleted object that are not 
themselves deleted.

Andrew Bartlett

commit 6d1b8ff8a7b803601f8142396e659d0f1dbef331
Author: Andrew Bartlett abart...@samba.org
Date:   Tue Jul 31 10:47:57 2012 +1000

s4-dsdb: Replace any existing lastKnownParent attribute during delete

This allows a lastKnownParent from LostAndFound to be replaced.

Andrew Bartlett

commit fcb54ca25f0a28940d239c457ef1a295d6e5e325
Author: Andrew Bartlett abart...@samba.org
Date:   Tue Jul 31 10:18:43 2012 +1000

s4-dsdb: Improve tracing in repl_meta_data

When we call ldb_module_done() rather than just calling the callback, we 
make log entries
that are critical in debugging.

Andrew Bartlett

commit bc5be09bae77c5e34380a2204be2f489f45ed85b
Author: Andrew Bartlett abart...@samba.org
Date:   Mon Jul 30 12:11:35 2012 +1000

s4-dsdb: Handle rename conflicts in both directions

Previously we would only consider renaming the local object, now we can 
cope with
renaming the remote object as well.

This should avoid most of the cases where Samba AD replication can just 
stop.

Andrew Bartlett

commit 8208d7b2c207c39c3d45f96f85728c233dce126d
Author: Andrew Bartlett abart...@samba.org
Date:   Tue Jul 31 10:17:20 2012 +1000

lib/ldb: Ensure rename target does not exist before deleting old record

This is all in a transaction, but when we are handling rename errors in the 
repl_meta_data
module, we key off the error, and do not close the transaction.  We found 
that the
old record was gone and so could not try renaming it again to a conflict DN.

Andrew Bartlett

commit 221cd524e31fce5efa2de179074cfe97bf2c909c
Author: Andrew Bartlett abart...@samba.org
Date:   Tue Jul 31 17:10:42 2012 +1000

s4-dsdb: Request extended DN and show deleted when searching for a possible 
parent

This fixes up the lastKnownParent attribute on lostAndFound objects to have 
a GUID

(found by dbcheck).

Andrew Bartlett

---

Summary of changes:
 VERSION|2 +-
 WHATSNEW.txt   |   54 ++--
 lib/ldb/ABI/{ldb-1.1.6.sigs = ldb-1.1.9.sigs} |0
 ...pyldb-util-1.1.2.sigs = pyldb-util-1.1.9.sigs} |0
 lib/ldb/ldb_tdb/ldb_tdb.c  |   42 +++-
 lib/ldb/wscript|2 +-
 source4/dsdb/samdb/ldb_modules/repl_meta_data.c|  159 +++
 source4/torture/drs/python/drs_base.py |8 +
 source4/torture/drs/python/replica_sync.py |  301 
 9 files changed, 481 insertions(+), 87 deletions(-)
 copy lib/ldb/ABI/{ldb-1.1.6.sigs = ldb-1.1.9.sigs} (100%)
 copy lib/ldb/ABI/{pyldb-util-1.1.2.sigs = pyldb-util-1.1.9.sigs} (100%)


Changeset truncated at 500 lines:

diff --git a/VERSION b/VERSION
index a9c261b..1012cd9 100644
--- a/VERSION
+++ b/VERSION
@@ -67,7 +67,7 @@ SAMBA_VERSION_ALPHA_RELEASE=
 # e.g. SAMBA_VERSION_BETA_RELEASE=1#
 #  -  4.0.0beta1#
 

autobuild: intermittent test failure detected

2012-07-31 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/2012-07-31-2245/flakey.log

The samba3 build logs are available here:

   http://git.samba.org/autobuild.flakey/2012-07-31-2245/samba3.stderr
   http://git.samba.org/autobuild.flakey/2012-07-31-2245/samba3.stdout

The source4 build logs are available here:

   http://git.samba.org/autobuild.flakey/2012-07-31-2245/samba.stderr
   http://git.samba.org/autobuild.flakey/2012-07-31-2245/samba.stdout
  
The top commit at the time of the failure was:

commit 23df816328bf10f06a7c7a018c7a1e896c62f3bf
Author: Andrew Bartlett abart...@samba.org
Date:   Tue Jul 31 12:25:56 2012 +1000

VERSION: Move on to beta6!

Autobuild-User(master): Andrew Bartlett abart...@samba.org
Autobuild-Date(master): Tue Jul 31 16:09:23 CEST 2012 on sn-devel-104


[SCM] Samba Shared Repository - branch master updated

2012-07-31 Thread Richard Sharpe
The branch, master has been updated
   via  d4bce35 Add two flags to allow for handling of Extended Signatures 
(Session Key Protection) on a TCON_AND_X request and response.
   via  610ac2d Make it possible to build under Solaris make as well as 
FreeBSD and Linux. Also add comments on changes that might be needed
  from  23df816 VERSION: Move on to beta6!

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


- Log -
commit d4bce355ad1c0c2e9d61cfaa6f8ef3ffb8d391f0
Author: Richard Sharpe realrichardsha...@gmail.com
Date:   Tue Jul 31 19:36:18 2012 -0700

Add two flags to allow for handling of Extended Signatures (Session Key 
Protection) on a TCON_AND_X request and response.

Autobuild-User(master): Richard Sharpe sha...@samba.org
Autobuild-Date(master): Wed Aug  1 06:36:37 CEST 2012 on sn-devel-104

commit 610ac2d350ee8a2d5e58d08f61ba1af03b3d762b
Author: Richard Sharpe realrichardsha...@gmail.com
Date:   Sat Jun 2 22:27:22 2012 -0700

Make it possible to build under Solaris make as well as FreeBSD and Linux. 
Also add comments on changes that might be needed

---

Summary of changes:
 examples/VFS/Makefile.in |   21 +
 source3/include/smb.h|2 ++
 2 files changed, 19 insertions(+), 4 deletions(-)


Changeset truncated at 500 lines:

diff --git a/examples/VFS/Makefile.in b/examples/VFS/Makefile.in
index db787de..ba41923 100644
--- a/examples/VFS/Makefile.in
+++ b/examples/VFS/Makefile.in
@@ -27,6 +27,13 @@ libdir   = @libdir@
 
 VFS_LIBDIR = $(libdir)/vfs
 
+# Note, if make fails, it might be because your version of make does not
+# support what we need. Try installing GNU make and rerun make.
+#
+# Note also, that if your module requires more than one object file to be
+# linked in you will have to modify Makefile.in to accommodate your needs and
+# then rerun configure before you can build.
+
 # Change these targets to the names of your modules if building out of tree
 MODULES= skel_opaque.@SHLIBEXT@ shadow_copy_test.@SHLIBEXT@ \
skel_transparent.@SHLIBEXT@
@@ -37,13 +44,19 @@ all: $(MODULES)
 
 .SUFFIXES: .@SHLIBEXT@
 
-.@OBJEXT@.@SHLIBEXT@:
-   @echo Linking $
-   @$(CC) $(LDSHFLAGS) $(LDFLAGS) $*.@OBJEXT@ -o $*.@SHLIBEXT@
+# You might need to create an explicit rule for your shared object if your
+# shared object is built from multiple .c files.
 
-.c.@OBJEXT@:
+.c.@SHLIBEXT@:
@echo Compiling $
@$(CC) $(FLAGS) -c $ -D$*_init=samba_init_module
+   @echo Linking $@
+   @$(CC) $(LDSHFLAGS) $(LDFLAGS) $*.@OBJEXT@ -o $*.@SHLIBEXT@
+
+# You might need to uncomment this if you have other .c files to compile
+#.c.@OBJEXT@:
+#  @echo Compiling $
+#  @$(CC) $(FLAGS) -c $ -D$*_init=samba_init_module
 
 install: default
$(INSTALLCMD) -d $(VFS_LIBDIR)
diff --git a/source3/include/smb.h b/source3/include/smb.h
index c396f0e..310cbbb 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -623,6 +623,8 @@ char *strdup(char *s);
 
 /* TCONX Flag (smb_vwv2). */
 #define TCONX_FLAG_EXTENDED_RESPONSE   0x8
+#define TCONX_FLAG_EXTENDED_SIGNATURES  0x4
+#define SMB_EXTENDED_SIGNATURES0x20
 
 /* File Status Flags. See:
 


-- 
Samba Shared Repository