[Samba] What is the difference between %S, %u and %U variables in sbm.comf

2012-11-02 Thread Dmitrijs Demidovs
Hi list,

Can someone please clarify the difference between variables %S %U %u in 
smb.conf?

It is not clearly defined in man smb.conf page (at least for me)

%U - session username (the username that the client wanted, not necessarily the 
same as the one they got).
%S - the name of the current service, if any.
%u - username of the current service, if any.

That is session username, the name of the current service and username of 
the current service?


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


Re: [Samba] What is the difference between %S, %u and %U variables in sbm.comf

2012-11-02 Thread Chris Weiss
On Fri, Nov 2, 2012 at 8:00 AM, Dmitrijs Demidovs
dmitrijs.demid...@datakom.lv wrote:
 Hi list,

 Can someone please clarify the difference between variables %S %U %u in 
 smb.conf?

 It is not clearly defined in man smb.conf page (at least for me)

 %u - username of the current service, if any.
I think this would be the unix user account the smbd process is
running as.  it isn't the same as the username they login as in all
cases.

 %U - session username (the username that the client wanted, not necessarily 
 the same as the one they got).
this would be the name they logged in as.  In some cases this can be
the machine account name too

 %S - the name of the current service, if any.
this is typically the share name.  it can be IPC too, but unlikely
you'd ever use it in a context where you'd see that
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] Migrating from windows server 2003 to SAMBA4

2012-11-02 Thread Innocent Yevide
Hello,

I have an existing basic DC configured on windows server 2003, and would like 
to move/migrate it to Samba4.

Is that possible, if so, could anyone tell me way to do it?

Thanks beforehand.

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


[Samba] smbd daemon crash when connect to shared folder

2012-11-02 Thread Le, Anh
Hi Jeremy,

I have a few Solaris 8 machines. They all have exactly the same Samba version 
installed and configurations,  and they are working fine. I have no problem to 
connect to their shared locations from the Windows machines. However, somehow 
it does not work on this machine. I checked everything and they all the same 
setup, but it works on others and not on this machine. Would you have any idea? 
I appreciate it.

By the way, I appreciate very much for you quick response.

Thanks
Anh.

-Original Message-
From: Jeremy Allison [mailto:j...@samba.org]
Sent: Thursday, November 01, 2012 5:35 PM
To: Le, Anh
Cc: samba@lists.samba.org
Subject: Re: [Samba] smbd daemon crash when connect to shared folder

On Thu, Nov 01, 2012 at 03:40:52PM -0400, Le, Anh wrote:
 Hi All,
 
 I've installed and configured Samba 3.5.11 on a Solaris 8 machine. I 
 was able to join it to the 2008 R2 AD. However, its smbd daemon is 
 crashed everytime I connect to its shared folder from the windows 
 machine, so I'm not able to connect to its shared folders. Below is 
 its log from smb.log file. Is there anyone has any idea what cause the 
 problem? I appreciate very much
 
 Regards,
 
 Anh
 
 [2012/11/01 14:38:29.737077,  0] lib/util.c:1468(smb_panic)
   PANIC (pid 1515): sys_setgroups failed
 [2012/11/01 14:38:29.737982,  0] lib/util.c:1622(log_stack_trace)
   unable to produce a stack trace on this platform
 [2012/11/01 14:38:29.738879,  0] lib/fault.c:326(dump_core)
   dumping core in /usr/local/samba/var/cores/smbd
 [2012/11/01 14:38:29.907709,  0] lib/util.c:1468(smb_panic)
   PANIC (pid 1516): sys_setgroups failed
 [2012/11/01 14:38:29.908671,  0] lib/util.c:1622(log_stack_trace)
   unable to produce a stack trace on this platform
 [2012/11/01 14:38:29.909428,  0] lib/fault.c:326(dump_core)
   dumping core in /usr/local/samba/var/cores/smbd

Almost certainly too many groups for your poor Solaris 8 machine (which has a 
limit of 16 groups per process I believe).

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


Re: [Samba] Migrating from windows server 2003 to SAMBA4

2012-11-02 Thread Gémes Géza

2012-11-02 15:30 keltezéssel, Innocent Yevide írta:

Hello,

I have an existing basic DC configured on windows server 2003, and would like 
to move/migrate it to Samba4.

Is that possible, if so, could anyone tell me way to do it?

Thanks beforehand.

Inno.

1. Join samba4 with samba-tool domain join ...
2. ensure that the directory is replicated
3. copy the sysvol share from win2k3 to samba4
4. run samba-tool ntacl sysvolreset on the samba4 box
5.-1000. Test test test
1001. If you are satisfied with how samba4 is working you can launch 
dcpromo on win2k3 in order to demote it.


Regards

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


[Samba] Samba 4: Issues with Linux clients (CIFS timeouts)

2012-11-02 Thread Frederik Vogelsang
Hi,

I have set up Samba 4 to act as a standalone AD domain controller and
this setup is working so far. Windows clients work like a charm, even
group policy and advanced stuff, which is pretty exciting. What is
still causing a lot of pain are the Linux clients. Authentication
works great (pam_krb5  nss_ldap) and the users can even mount shares
with their Kerberos credentials.

Now the issue is that when the users access their home folders
*sometimes* directory/file lookups fail or stall, which is causing
apps to crash. After two minutes files and folders on CIFS shares can
be accessed again, but only for a random period of time. After a while
these timeouts are coming back, this is what I get in dmesg on the
Linux client:

CIFS VFS: Server horst has not responded in 120 seconds. Reconnecting...
CIFS VFS: Unexpected lookup error -112

It looks like these timeouts happen when there is a lot of I/O load on
the CIFS shares. This is the output of log.smbd when a freeze happens:

[2012/11/02 18:19:12.454597,  2] ../source3/smbd/open.c:899(open_file)
  TESTDOMAIN\testuser opened file files/sample.txt read=Yes write=No (numopen=1)
[2012/11/02 18:19:12.455161,  3] ../source3/smbd/process.c:1789(process_smb)
  Transaction 173 of length 63 (0 toread)
[2012/11/02 18:19:12.455206,  3] ../source3/smbd/process.c:1392(switch_message)
  switch message SMBreadX (pid 11302) conn 0x1598260
[2012/11/02 18:19:12.455255,  3] ../source3/smbd/reply.c:3841(send_file_readX)
  send_file_readX fnum 13004 max=65536 nread=65536
[2012/11/02 18:19:12.459192,  3] ../source3/smbd/process.c:1789(process_smb)
  Transaction 174 of length 63 (0 toread)
[2012/11/02 18:19:12.459259,  3] ../source3/smbd/process.c:1392(switch_message)
  switch message SMBreadX (pid 11302) conn 0x1598260
[2012/11/02 18:19:12.464500,  3] ../source3/smbd/process.c:1789(process_smb)
  Transaction 175 of length 63 (0 toread)
[2012/11/02 18:19:12.464549,  3] ../source3/smbd/process.c:1392(switch_message)
  switch message SMBreadX (pid 11302) conn 0x1598260
[2012/11/02 18:19:12.476760,  3] ../source3/smbd/process.c:1789(process_smb)
  Transaction 176 of length 63 (0 toread)
[2012/11/02 18:19:12.476829,  3] ../source3/smbd/process.c:1392(switch_message)
  switch message SMBreadX (pid 11302) conn 0x1598260
[2012/11/02 18:19:12.501988,  3] ../source3/smbd/process.c:1789(process_smb)
  Transaction 177 of length 63 (0 toread)
[2012/11/02 18:19:12.502039,  3] ../source3/smbd/process.c:1392(switch_message)
  switch message SMBreadX (pid 11302) conn 0x1598260
[2012/11/02 18:19:12.546623,  3] ../source3/smbd/process.c:1789(process_smb)
  Transaction 178 of length 63 (0 toread)
[2012/11/02 18:19:12.546692,  3] ../source3/smbd/process.c:1392(switch_message)
  switch message SMBreadX (pid 11302) conn 0x1598260
[2012/11/02 18:19:12.619302,  3] ../source3/smbd/process.c:1789(process_smb)
  Transaction 179 of length 63 (0 toread)
[2012/11/02 18:19:12.619371,  3] ../source3/smbd/process.c:1392(switch_message)
  switch message SMBreadX (pid 11302) conn 0x1598260
[2012/11/02 18:19:12.677597,  3] ../source3/smbd/process.c:1789(process_smb)
  Transaction 180 of length 63 (0 toread)
[2012/11/02 18:19:12.677664,  3] ../source3/smbd/process.c:1392(switch_message)
  switch message SMBreadX (pid 11302) conn 0x1598260
[2012/11/02 18:19:12.719097,  3] ../source3/smbd/process.c:1789(process_smb)
  Transaction 181 of length 63 (0 toread)
[2012/11/02 18:19:12.719166,  3] ../source3/smbd/process.c:1392(switch_message)
  switch message SMBreadX (pid 11302) conn 0x1598260
[2012/11/02 18:19:12.766312,  3] ../source3/smbd/process.c:1789(process_smb)
  Transaction 182 of length 63 (0 toread)
[2012/11/02 18:19:12.766380,  3] ../source3/smbd/process.c:1392(switch_message)
  switch message SMBreadX (pid 11302) conn 0x1598260
[2012/11/02 18:19:12.810994,  3] ../source3/smbd/process.c:1789(process_smb)
  Transaction 183 of length 63 (0 toread)
[2012/11/02 18:19:12.811063,  3] ../source3/smbd/process.c:1392(switch_message)
  switch message SMBreadX (pid 11302) conn 0x1598260
[2012/11/02 18:19:12.848722,  3] ../source3/smbd/process.c:1789(process_smb)
  Transaction 184 of length 63 (0 toread)
[2012/11/02 18:19:12.848791,  3] ../source3/smbd/process.c:1392(switch_message)
  switch message SMBreadX (pid 11302) conn 0x1598260
[2012/11/02 18:19:12.886421,  3] ../source3/smbd/process.c:1789(process_smb)
  Transaction 185 of length 63 (0 toread)
[2012/11/02 18:19:12.886488,  3] ../source3/smbd/process.c:1392(switch_message)
  switch message SMBreadX (pid 11302) conn 0x1598260
[2012/11/02 18:19:12.925811,  3] ../source3/smbd/process.c:1789(process_smb)
  Transaction 186 of length 63 (0 toread)
[2012/11/02 18:19:12.925879,  3] ../source3/smbd/process.c:1392(switch_message)
  switch message SMBreadX (pid 11302) conn 0x1598260
[2012/11/02 18:19:12.973718,  3] ../source3/smbd/process.c:1789(process_smb)
  Transaction 187 of length 63 (0 toread)
[2012/11/02 18:19:12.973787,  3] ../source3/smbd/process.c:1392(switch_message)

Re: [Samba] Migrating from windows server 2003 to SAMBA4

2012-11-02 Thread Innocent Yevide
Thanks Gémes 
2012-11-02 15:30 keltezéssel, Innocent Yevide írta:
 Hello,

 I have an existing basic DC configured on windows server 2003, and would like 
 to move/migrate it to Samba4.

 Is that possible, if so, could anyone tell me way to do it?

 Thanks beforehand.

 Inno.
1. Join samba4 with samba-tool domain join ...
2. ensure that the directory is replicated
3. copy the sysvol share from win2k3 to samba4
4. run samba-tool ntacl sysvolreset on the samba4 box
5.-1000. Test test test
1001. If you are satisfied with how samba4 is working you can launch 
dcpromo on win2k3 in order to demote it.

Regards

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


Re: [Samba] Scenario with CIFS

2012-11-02 Thread Jeff Layton
On Mon, 29 Oct 2012 22:13:34 +
Alumno Etsii todos.somos...@gmail.com wrote:

 Hi all!
 
 I'm trying to get samba working with CIFS, mounting a share on a client and
 keeping the original file/dir permissions. The problem is that after I
 (successfully) mount that share by CIFS, I can't write anything in it,
 because I get a 'Permission denied' error. smbd version is 6.3.6.
 
 My testparm is:
 
 root@samba:~# testparm
 Load smb config files from /etc/samba/smb.conf
 rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
 Processing section [shared]
 Loaded services file OK.
 Server role: ROLE_STANDALONE
 Press enter to see a dump of your service definitions
 
 [global]
 workgroup = SMB
 server string = %h server (Samba, Ubuntu)
 map to guest = Bad User
 obey pam restrictions = Yes
 pam password change = Yes
 passwd program = /usr/bin/passwd %u
 passwd chat = *Enter\snew\s*\spassword:* %n\n
 *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
 unix password sync = Yes
 syslog = 0
 log file = /var/log/samba/log.%m
 max log size = 1000
 load printers = No
 printcap name = /dev/null
 disable spoolss = Yes
 show add printer wizard = No
 dns proxy = No
 panic action = /usr/share/samba/panic-action %d
 idmap config * : backend = tdb
 hosts allow = 127.0.0.1, 192.168.0.
 hosts deny = 0.0.0.0/0
 printing = bsd
 print command = lpr -r -P'%p' %s
 lpq command = lpq -P'%p'
 lprm command = lprm -P'%p' %j
 
 [shared]
 comment = Shared documents
 path = /shared
 valid users = myuser
 admin users = admin
 read only = No
 create mask = 0700
 force create mode = 0700
 directory mask = 0700
 browseable = No
 
 ///
 
 Mounting command is:
 # mount -t cifs //192.168.0.99/shared ./mount -o
 uid=localuser,gid=localuser,iocharset=utf8,credentials=/tmp/credentials,nosetuids,noperm
 
 File /tmp/credentials contains username myuser and its password.
 
 I successfully mount that share, I can list, cd, etc. but not write:
 
 root@monitor:/mnt/mount/archiveupload# ll
 total 40
 drwxrwxr-x 4 localuser localuser 0 oct 29 21:25 ./
 drwxr-xr-x 3 localuser localuser 0 oct 29 17:30 ../
 -rw-rw-r-- 1 localuser localuser  9129 oct 29 19:41 action.php
 drwxrwxr-x 2 localuser localuser 0 may 21  2009 conf/
 -rw-rw-r-- 1 localuser localuser 17992 may 21  2009 COPYING
 drwxrwxr-x 4 localuser localuser 0 may 21  2009 lang/
 -rw-rw-r-- 1 localuser localuser   241 may 21  2009 README
 -rw-rw-r-- 1 localuser localuser11 may 21  2009 VERSION
 root@monitor:/mnt/mount/archiveupload# touch a
 touch: no se puede efectuar `touch' sobre «a»: Permiso denegado
 
 'localuser' exists in both server and client. My goal is to make that any
 newly created file gets server's 'localuser' permissions.

Then that won't work. You're connecting to the share as myuser. Any
files you create will be created as myuser, not localuser.

 I added a
 'smbpasswd -a' for myuser. I wonder why can't I write on this share from
 the client, since I think permissions and mount options are ok.
 
 I'll be very grateful for any idea!
 
 Regards.

Ok, so the file isn't created at all when you touch?

Does myuser have permission to write to /shared on the server?

-- 
Jeff Layton jlay...@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 Website Repository - branch master updated

2012-11-02 Thread Karolin Seeger
The branch, master has been updated
   via  757be53 devel: Update description of v4-0-x branches.
  from  e09853f Announce Samba 4.0.0rc4.

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


- Log -
commit 757be53fe778f8acba92952a45fba2f6b1cb4a4d
Author: Karolin Seeger ksee...@samba.org
Date:   Fri Nov 2 09:15:15 2012 +0100

devel: Update description of v4-0-x branches.

Karolin

---

Summary of changes:
 devel/index.html |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/devel/index.html b/devel/index.html
index e083769..35ee1cd 100755
--- a/devel/index.html
+++ b/devel/index.html
@@ -83,11 +83,11 @@ Git for Samba Development/a./p
 /li
 li
   h4emv4-0-stable/em/h4
-  pThis is the current branch for 4.x.x Alpha releases./p
+  pThis is the current branch for 4.0.x release candidates./p
 /li
 li
   h4emv4-0-test/em/h4
-  pThis is the current branch for 4.x.x Alpha releases./p
+  pThis is the current branch for 4.0.x release candidates./p
 /li
   /ul
 


-- 
Samba Website Repository


[SCM] Samba Shared Repository - branch master updated

2012-11-02 Thread Stefan Metzmacher
The branch, master has been updated
   via  73fa347 s3:smbd:smb2: fix a comment typo in the crediting code.
  from  2a3eb64 s3:winbindd: use PROTOCOL_LATEST instead of 
PROTOCOL_SMB2_02 (bug #9175)

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


- Log -
commit 73fa347507e6b551205725abd276b03b7e1f934c
Author: Michael Adam ob...@samba.org
Date:   Thu Nov 1 17:55:59 2012 +0100

s3:smbd:smb2: fix a comment typo in the crediting code.

Signed-off-by: Michael Adam ob...@samba.org
Reviewed-by: Stefan Metzmacher me...@samba.org

Autobuild-User(master): Stefan Metzmacher me...@samba.org
Autobuild-Date(master): Fri Nov  2 10:09:36 CET 2012 on sn-devel-104

---

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


Changeset truncated at 500 lines:

diff --git a/source3/smbd/smb2_server.c b/source3/smbd/smb2_server.c
index d92302e..8cf3a04 100644
--- a/source3/smbd/smb2_server.c
+++ b/source3/smbd/smb2_server.c
@@ -757,7 +757,7 @@ static void smb2_set_operation_credit(struct 
smbd_server_connection *sconn,
 *
 * Windows also starts with the 1/16th and then grants
 * more later. I was only able to trigger higher
-* values, when using a verify high credit charge.
+* values, when using a very high credit charge.
 *
 * TODO: scale up depending one load, free memory
 *   or other stuff.


-- 
Samba Shared Repository


[SCM] Samba Shared Repository - branch master updated

2012-11-02 Thread Karolin Seeger
The branch, master has been updated
   via  3ecbe8c docs-xml: fix use of smbconfoption tag (fix bug #9345)
  from  73fa347 s3:smbd:smb2: fix a comment typo in the crediting code.

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


- Log -
commit 3ecbe8c83a003825fc58f6dcb9e02a35aad2d86e
Author: Björn Baumbach b...@sernet.de
Date:   Fri Nov 2 10:25:27 2012 +0100

docs-xml: fix use of smbconfoption tag (fix bug #9345)

Signed-off-by: Björn Baumbach b...@sernet.de
Reviewed-by: Karolin Seeger k...@samba.org

Autobuild-User(master): Karolin Seeger ksee...@samba.org
Autobuild-Date(master): Fri Nov  2 12:37:42 CET 2012 on sn-devel-104

---

Summary of changes:
 docs-xml/build/DTD/samba.entities |   13 -
 1 files changed, 8 insertions(+), 5 deletions(-)


Changeset truncated at 500 lines:

diff --git a/docs-xml/build/DTD/samba.entities 
b/docs-xml/build/DTD/samba.entities
index f5d8cd2..c7e46c2 100644
--- a/docs-xml/build/DTD/samba.entities
+++ b/docs-xml/build/DTD/samba.entities
@@ -180,7 +180,7 @@ use only by developers and generate HUGE amounts of log
 data, most of which is extremely cryptic./para
 
 paraNote that specifying this parameter here will 
-override the smbconfoptionnamelog level/name/smbconfoption parameter
+override the smbconfoption name=log level / parameter
 in the smb.conf; file./para
 /listitem
 /varlistentry'
@@ -207,7 +207,7 @@ use only by developers and generate HUGE amounts of log
 data, most of which is extremely cryptic./para
 
 paraNote that specifying this parameter here will 
-override the smbconfoptionnamelog level/name/smbconfoption parameter
+override the smbconfoption name=log level / parameter
 in the smb.conf; file./para
 /listitem
 /varlistentry'
@@ -297,11 +297,13 @@ being on a locally connected subnet.
 
 paraIf this parameter is not set then the name resolve order 
 defined in the smb.conf; file parameter  
-(smbconfoptionnamename resolve order/name/smbconfoption) will be used.
+(smbconfoption name=name resolve order /) will be used.
 /para
 
 paraThe default order is lmhosts, host, wins, bcast. Without 
-this parameter or any entry in the smbconfoptionnamename resolve 
order/name/smbconfoption parameter of the smb.conf; file, the name 
+this parameter or any entry in the
+smbconfoption name=name resolve order / parameter of
+the smb.conf; file, the name
 resolution methods will be attempted in this order. /para/listitem
 /varlistentry'
 
@@ -310,7 +312,8 @@ resolution methods will be attempted in this order. 
/para/listitem
 term-n|--netbiosname lt;primary NetBIOS namegt;/term
 listitemparaThis option allows you to override
 the NetBIOS name that Samba uses for itself. This is identical
-to setting the smbconfoptionnamenetbios name/name/smbconfoption 
parameter in the smb.conf; file. 
+to setting the smbconfoption name=netbios name / parameter in
+the smb.conf; file.
 However, a command
 line setting will take precedence over settings in
 smb.conf;./para/listitem


-- 
Samba Shared Repository


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

2012-11-02 Thread Karolin Seeger
The branch, v4-0-test has been updated
   via  0ad1019 s3:smb2_read: fix SMBD_SMB2_NUM_IOV_PER_REQ check for 
sendfile() support (bug #9341)
   via  37cabc1 provision: No longer use the wheel group in new AD Domains
   via  daaf7f3 util: remove accidently committed hunk
   via  77ec8dc lib/replace: Fix detection of prctl (cherry picked from 
commit 80f42df4ec9194ff00aeeb3c2cf6acfa1f2ab5c3)
   via  b2a3b7f wscript: Removed executable bit.
   via  e95c162 wafbuild: use WERROR_FLAGS in 
wscript_configure_system_mitkrb5 (cherry picked from commit 
9a03cc93f45a6908c73afe2d059a4ebf5534fdb7)
   via  a39bed9 ntdb: Try to fix the build on Solaris which does not have 
err (cherry picked from commit 08d3062fc3ece6b5d98e32bad5f1d54c088b0dd0)
   via  0ce2f32 ccan/wafbuild: use WERROR_CFLAGS instead of -Werror (cherry 
picked from commit fdead585dc11101761ac975935134c6a84ea3b4f)
   via  31993a415 ccan: check for all the used config.h defines
   via  091a98f wafbuild: reorder the Werror checks so that the ambigous w2 
option is being checked last (cherry picked from commit 
7fcb2532b99ddf65d78dd02ea06ce8a1a6229949)
   via  d45b55d wafbuild: merge the missing IBM compiler Werror flag 
-qhalt=w to waf (cherry picked from commit 
51692042d9f898c5e8f1cbc78031e37d23ec032a)
   via  47668fe wfabuild: fix the -errwarn compile flag test
   via  e76ef27 lib/replace: Fix detection of rpcsrv/yp_prot.h on FreeBSD
   via  eb3cea9 lib/replace: Fix configure on FreeBSD: define_ret is not 
correct here
   via  a77ff57 pidl: Remove depends_on=PIDL_MISC as it sets -I/ into CFLAGS
   via  cca231e build: Remove support for IDL-generated files in git tree
   via  8124f4f build(waf): Fix the --with-cluster build
   via  12dfc7c build: Add #define FREEBSD on FreeBSD
   via  85639a0 waf: Create a libnss_wins.so symlink.
   via  3a3dbb2 waf: Create a libnss_winbind.so symlink.
   via  9b41aa7 wafsamba: If we define a realname and a soname create a 
symlink.
   via  1b70765 build: Remove --disable-shared
   via  cce83c9 build: Add vfs_media_harmony to the waf build
   via  1ccce52 nsswitch: Build nss_winbind on all supported platforms
   via  4ffd524 selftest: Always build a linux-style nss_winbind for 
nss_wrapper
   via  f4581f3 Fix release script to build full set of documentation
   via  5f8d574 s3: Fix libnss_winbind.so's build on Illumos/Solaris
   via  914159c build: Remove duplicate check for struct getquota_rslt 
member getquota_rslt_u
   via  1ff3c5a build: Fix quota tests, including move of sysquotas.c to 
the top level
   via  6d6cf39 lib/replace: Add test for what flag we need for -Werror 
behaviour (cherry picked from commit 931ed2509d93110b525f763ffb15ee3feff87fa0)
   via  ccb96ee nsswitch: Add waf tests for solaris special cases
   via  528c9fc build: Remove unused --with-sys-quotas option
   via  8ba6be6 build: Set HAVE_SYS_QUOTAS and WITH_QUOTAS if we have any 
supported sysquota backend
   via  44336ae build: Remove unused samba_cv_sysquotas_file variable from 
autoconf configure
   via  f8e1280 build: Add waf configure support for non-linux quotas
   via  6d048c6 lib/util/charset: We do not use fucntions from wchar.h any 
more
   via  a40f456 lib/util/charset: Try to find iconv on HP-UX
   via  c9e667c build: Fix detection of quotas on macos
   via  51434f1 build: Add missing dep on tdb_compat
   via  5352097 build: Remove unused define UNIXWARE
   via  69e5ad9 lib/replace: Remove unused nap and therefore the SCO define
   via  39fd935 build: Make waf configure match autoconf for HPUX ACLs
   via  1344646 build: Rework waf STAT_ST_BLOCKSIZE to match autoconf, with 
512 as the default
   via  3da347e lib/util: Remove unbuilt file util_getent.c and 
BROKEN_GETGRNAM
   via  1602636 build: Remove unused IRIX and IRIX6 defines
   via  1009e24 build: Fix enabled handling for HAVE_LDAP, we need to use 
bld.CONFIG_SET
   via  2969547 build: Try not build with LDAP if we do not have ldap.h
   via  13089f7 waf: Make samba ok with directories for install being 
symlinks
   via  1ded192 lib/replace: Look for special flags needed for c99
   via  647830c lib/replace: Improve mkstemp test in autoconf and waf
   via  47cbf54 quota: also log which fs type we found
   via  4a040da autoconf: check for dn_expand also in libinet
   via  74f2e8d wafbuild: check for dn_expand also in libinet
   via  d60bcf3 s3:winbindd:cache: fix offline logons with cached 
credentials (bug #9321)
  from  f40bfca packaging: Add NetworkManager dispatcher script for winbind.

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


- Log -
commit 0ad101966d6efea971989a991e20b9e25b81a714
Author: Stefan Metzmacher me...@samba.org
Date:   Tue Oct 30 11:08:19 2012 +0100

s3:smb2_read: 

[SCM] Samba Shared Repository - branch master updated

2012-11-02 Thread Volker Lendecke
The branch, master has been updated
   via  92e17d5 smb2_server: Fix typo in comment.
   via  d551b4a build(waf): Fail configure --with-cluster-support if ctdb 
support is not available.
   via  5f1b540 s3-torture:test_ctdbconn: fix the build against older ctdb 
versions
   via  541bde6 s3:ctdb library: fix the build against older ctdb versions
   via  bf269d6 build(waf): check if we have ctdb_protocol.h in the cluster 
checks
   via  d113d8a build(autoconf): check if we have ctdb_protocol.h in the 
cluster checks
   via  e5cce4f build(autoconf): fix check for ctdb_private.h
   via  872f499 build(waf): fix the cluster(ctdb) build without system 
talloc installed
   via  f8e71d4 build(waf): fix a tab indentation to spaces
  from  3ecbe8c docs-xml: fix use of smbconfoption tag (fix bug #9345)

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


- Log -
commit 92e17d5fd0f075a71d1c8f579c11b4ce9bbf6fa6
Author: Karolin Seeger ksee...@samba.org
Date:   Fri Nov 2 10:41:01 2012 +0100

smb2_server: Fix typo in comment.

Karolin

Autobuild-User(master): Volker Lendecke v...@samba.org
Autobuild-Date(master): Fri Nov  2 15:40:22 CET 2012 on sn-devel-104

commit d551b4ab4bb06dac7d90389febbc21c2afae8bca
Author: Björn Baumbach b...@sernet.de
Date:   Tue Oct 30 16:04:10 2012 +0100

build(waf): Fail configure --with-cluster-support if ctdb support is not 
available.

Currently, configure only warns if cluster support is not found.

Signed-off-by: Björn Baumbach b...@sernet.de
Reviewed-by: Michael Adam ob...@samba.org

commit 5f1b5404b8e642dd18b55e37793068216f668242
Author: Björn Baumbach b...@sernet.de
Date:   Tue Oct 30 16:45:30 2012 +0100

s3-torture:test_ctdbconn: fix the build against older ctdb versions

by checking if we have the ctdb_protocol.h and including ctdb_private.h 
otherwise.

Signed-off-by: Björn Baumbach b...@sernet.de
Reviewed-by: Michael Adam ob...@samba.org

commit 541bde605e8a1158411436c4f7fdc314dfdbff23
Author: Björn Baumbach b...@sernet.de
Date:   Wed Oct 17 16:54:33 2012 +0200

s3:ctdb library: fix the build against older ctdb versions

by checking if we have the ctdb_protocol.h and including ctdb_private.h 
otherwise.

Signed-off-by: Björn Baumbach b...@sernet.de
Reviewed-by: Michael Adam ob...@samba.org

commit bf269d6b5a6783e2479ac455b8e085a5d8ad9e9e
Author: Björn Baumbach b...@sernet.de
Date:   Tue Oct 30 13:59:41 2012 +0100

build(waf): check if we have ctdb_protocol.h in the cluster checks

Signed-off-by: Björn Baumbach b...@sernet.de
Reviewed-by: Michael Adam ob...@samba.org

commit d113d8aea5411e5e0701891f44b95d6d916b1271
Author: Björn Baumbach b...@sernet.de
Date:   Tue Oct 30 13:26:24 2012 +0100

build(autoconf): check if we have ctdb_protocol.h in the cluster checks

Signed-off-by: Björn Baumbach b...@sernet.de
Reviewed-by: Michael Adam ob...@samba.org

commit e5cce4f47274a02b752e47e3d1f23d3f64f72123
Author: Björn Baumbach b...@sernet.de
Date:   Tue Oct 30 13:40:48 2012 +0100

build(autoconf): fix check for ctdb_private.h

Signed-off-by: Björn Baumbach b...@sernet.de
Reviewed-by: Michael Adam ob...@samba.org

commit 872f499c55ac13befb357d3e8eca0f526ea14978
Author: Michael Adam ob...@samba.org
Date:   Tue Oct 30 14:43:42 2012 +0100

build(waf): fix the cluster(ctdb) build without system talloc installed

This is analogous to the earlier patch for tdb.
It temporarily adds the talloc include path to the
includes search list for the ctdb-header configure checks.

Signed-off-by: Michael Adam ob...@samba.org
Tested-by: Björn Baumbach b...@sernet.de

commit f8e71d4b602e5e1cca9f8701df93328718d8a6eb
Author: Michael Adam ob...@samba.org
Date:   Tue Oct 30 14:41:04 2012 +0100

build(waf): fix a tab indentation to spaces

Signed-off-by: Michael Adam ob...@samba.org

---

Summary of changes:
 source3/configure.in|4 +-
 source3/lib/ctdb_conn.h |5 
 source3/smbd/smb2_server.c  |2 +-
 source3/torture/test_ctdbconn.c |6 +
 source3/wscript |   43 --
 5 files changed, 50 insertions(+), 10 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/configure.in b/source3/configure.in
index fb00fee..179d12d 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -4969,7 +4969,7 @@ ctdb_broken=no
 SAVED_CPPFLAGS=$CPPFLAGS
 CPPFLAGS=$CPPFLAGS ${SAMBA_CONFIGURE_CPPFLAGS} $CTDB_CPPFLAGS
 
-AC_CHECK_HEADERS(ctdb.h ctdb_private.h,,,[
+AC_CHECK_HEADERS(ctdb.h ctdb_private.h ctdb_protocol.h ,,,[
 #include confdefs.h
 #define NO_CONFIG_H
 #include replace.h
@@ -4989,7 +4989,7 @@ then
 fi
 
 if test x$have_cluster_support = xyes -a \
-   

[SCM] Samba Shared Repository - branch master updated

2012-11-02 Thread Jeremy Allison
The branch, master has been updated
   via  60cf4cb vfs_acl_common: In add_directory_inheritable_components 
allocate on psd as parent
  from  92e17d5 smb2_server: Fix typo in comment.

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


- Log -
commit 60cf4cb5a630506747431ecbf00d890509baf2f3
Author: Andrew Bartlett abart...@samba.org
Date:   Thu Nov 1 09:51:28 2012 +1100

vfs_acl_common: In add_directory_inheritable_components allocate on psd as 
parent

When we add a new DACL to the security descriptor, we need to use the
SD as the memory context, so we can talloc_move() it as a tree to a
new parent.

Andrew Bartlett

Signed-off-by: Andrew Bartlett abart...@samba.org
Reviewed by: Jeremy Allison j...@samba.org

Autobuild-User(master): Jeremy Allison j...@samba.org
Autobuild-Date(master): Fri Nov  2 22:16:14 CET 2012 on sn-devel-104

---

Summary of changes:
 source3/modules/vfs_acl_common.c |   20 
 1 files changed, 16 insertions(+), 4 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/modules/vfs_acl_common.c b/source3/modules/vfs_acl_common.c
index ef2dda1..59ced29 100644
--- a/source3/modules/vfs_acl_common.c
+++ b/source3/modules/vfs_acl_common.c
@@ -195,9 +195,21 @@ static NTSTATUS 
add_directory_inheritable_components(vfs_handle_struct *handle,
mode_t dir_mode;
mode_t file_mode;
mode_t mode;
-   struct security_ace *new_ace_list = talloc_zero_array(talloc_tos(),
-   struct security_ace,
-   num_aces + 3);
+   struct security_ace *new_ace_list;
+
+   if (psd-dacl) {
+   new_ace_list = talloc_zero_array(psd-dacl,
+struct security_ace,
+num_aces + 3);
+   } else {
+   /*
+* make_sec_acl() at the bottom of this function
+* dupliates new_ace_list
+*/
+   new_ace_list = talloc_zero_array(talloc_tos(),
+struct security_ace,
+num_aces + 3);
+   }
 
if (new_ace_list == NULL) {
return NT_STATUS_NO_MEMORY;
@@ -256,7 +268,7 @@ static NTSTATUS 
add_directory_inheritable_components(vfs_handle_struct *handle,
psd-dacl-aces = new_ace_list;
psd-dacl-num_aces += 3;
} else {
-   psd-dacl = make_sec_acl(talloc_tos(),
+   psd-dacl = make_sec_acl(psd,
NT4_ACL_REVISION,
3,
new_ace_list);


-- 
Samba Shared Repository


[SCM] Samba Website Repository - branch master updated

2012-11-02 Thread John Terpstra
The branch, master has been updated
   via  65da244 Merge branch 'master' of 
git+ssh://git.samba.org/data/git/samba-web
   via  688cd5b Updated Lingora entry.
  from  757be53 devel: Update description of v4-0-x branches.

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


- Log -
commit 65da24451a7c3fd6a2664a26d8eec9d4db0f074b
Merge: 688cd5b778e7663ab1834390bf707efa7dbbe9e1 
757be53fe778f8acba92952a45fba2f6b1cb4a4d
Author: John H Terpstra j...@samba.org
Date:   Fri Nov 2 21:52:39 2012 -0500

Merge branch 'master' of git+ssh://git.samba.org/data/git/samba-web

commit 688cd5b778e7663ab1834390bf707efa7dbbe9e1
Author: John H Terpstra j...@samba.org
Date:   Thu Nov 1 23:07:42 2012 -0500

Updated Lingora entry.

---

Summary of changes:
 support/france.html |8 
 1 files changed, 4 insertions(+), 4 deletions(-)


Changeset truncated at 500 lines:

diff --git a/support/france.html b/support/france.html
index 2079e04..3c26409 100644
--- a/support/france.html
+++ b/support/france.html
@@ -113,12 +113,12 @@ applications libres performantes seacute;curiseacute;es,
 hr /
 h3LINAGORA SA/h3
 presmall
-LINAGORA SA
-27 rue de Berri, 
-75008 PARIS
+Linagora S.A.
+80 rue Roque de Fillol
+Puteaux 92800 F
 
 a href=http://www.linagora.com/;www.linagora.com/a
-+33 1 58 18 68 28
++33 (0)1 46 96 63 63
 a href=mailto:i...@linagora.com;i...@linagora.com/a
 /small/pre
 p


-- 
Samba Website Repository