Re: [Samba] Samba 4.0.6 Ubuntu Package Available

2013-06-11 Thread Andrew Bartlett
On Wed, 2013-06-12 at 16:37 +1000, Andrew Bartlett wrote: > On Tue, 2013-06-11 at 11:38 -0500, Mike Ray wrote: > > Andrew- > > > > I'll be sure to join the mailing list and help out when I can. However, a > > bit of bad news, I started to use that package that resulted from your > > debian dire

Re: [Samba] Samba 4.0.6 Ubuntu Package Available

2013-06-11 Thread Andrew Bartlett
On Tue, 2013-06-11 at 11:38 -0500, Mike Ray wrote: > Andrew- > > I'll be sure to join the mailing list and help out when I can. However, a bit > of bad news, I started to use that package that resulted from your debian > directory, and I'm having issues with LDB and replication (again!). > >

Re: [Samba] Replicating Windows 2008 to Samba4

2013-06-11 Thread Andrew Bartlett
On Tue, 2013-06-11 at 10:32 +0530, Ashok Kumar J wrote: > Hi, > I am integrating the existing my domain with the samba4. For that, I > tried to replicate one of my Windows 2008 DC to samba4 server DC. I > successfully replicated the Windows 2008 to the samba4 DC. Here I can login > with my win

Re: [Samba] Replicating Windows 2008 to Samba4

2013-06-11 Thread Andrew Bartlett
On Mon, 2013-06-10 at 15:11 +0530, Ashok Kumar J wrote: > Hi, > I am integrating the existing my domain with the samba4. For that, I > tried to replicate one of my Windows 2008 DC to samba4 server DC. I > successfully replicated the Windows 2008 to the samba4 DC. Here I can login > with my win

Re: [Samba] Losing Permissions of Files

2013-06-11 Thread Tanveer Virani
Hi Marc, Here is the information that you requested. When I say that "all permissions on a file are lost", this is at the windows level. In Windows Explorer, we go to open the file in the default program, we get an "Access denied. Contact your administrator." error. When I right click on the file

Re: [Samba] Samba4 errors

2013-06-11 Thread Andrew Bartlett
On Tue, 2013-06-11 at 19:03 +0200, Andreas Calvo wrote: > A more detailed output: > [root@sauron ~]# netstat -tnp|grep 445|grep "192.168.0.222"|grep 55257 > tcp 24 0 192.168.0.222:55257 192.168.0.222:445 > ESTABLISHED 17417/samba > tcp0 0 192.168.0.222:445

Re: [Samba] Building Samba4 for Debian from Git

2013-06-11 Thread Andrew Bartlett
On Mon, 2013-06-10 at 10:40 +0200, Dominique wrote: > Hi, > > I am trying to build samba4 for an Ubuntu 12 server, as the provided > package by Canonical is an alpha version. I got the latest? source from > git:git clone git://git.samba.org/samba.git samba-master > I then build it from this sour

[Samba] Replicating Windows 2008 to Samba4

2013-06-11 Thread Ashok Kumar J
Hi, I am integrating the existing my domain with the samba4. For that, I tried to replicate one of my Windows 2008 DC to samba4 server DC. I successfully replicated the Windows 2008 to the samba4 DC. Here I can login with my windows client. In Linux client , Domain join is successful, But i ca

[Samba] Replicating Windows 2008 to Samba4

2013-06-11 Thread Ashok Kumar J
Hi, I am integrating the existing my domain with the samba4. For that, I tried to replicate one of my Windows 2008 DC to samba4 server DC. I successfully replicated the Windows 2008 to the samba4 DC. Here I can login with my windows client. In Linux client , Domain join is successful, But i ca

[Samba] Building Samba4 for Debian from Git

2013-06-11 Thread Dominique
Hi, I am trying to build samba4 for an Ubuntu 12 server, as the provided package by Canonical is an alpha version. I got the latest? source from git:git clone git://git.samba.org/samba.git samba-master I then build it from this source (make/configure/maske install) and it worked. However, I re

[Samba] Replication problems

2013-06-11 Thread Alex Ferrara
Hi everyone, Samba4 has been going great for quite a while now, so I thought I would get a little adventurous. The goal is to install Openchange with SOGo. The SOGo part is fine, but Openchange extends the AD schema in a similar way that Exchange extends the AD schema. To facilitate this, I joi

Re: [Samba] Samba 4 Additional DC existing domain

2013-06-11 Thread Dino Edwards
That's exactly what I did From: Michael De Groote [mailto:i...@sint-pietersschool.be] Sent: Tuesday, June 11, 2013 4:15 PM To: Dino Edwards Cc: Marc Muehlfeld; samba@lists.samba.org Subject: Re: [Samba] Samba 4 Additional DC existing domain did you put in a dns forwarder = ip.of.external.dns.ser

Re: [Samba] Samba 4 Additional DC existing domain

2013-06-11 Thread Dino Edwards
> -Original Message- > From: Marc Muehlfeld [mailto:sa...@marc-muehlfeld.de] > Sent: Tuesday, June 11, 2013 4:19 PM > To: Dino Edwards > Cc: samba@lists.samba.org > Subject: Re: [Samba] Samba 4 Additional DC existing domain > > Hello Dino, > > > I changed the HowTo a bit, to make it mo

Re: [Samba] Samba 4 Additional DC existing domain

2013-06-11 Thread Ricky Nance
On Tue, Jun 11, 2013 at 3:19 PM, Marc Muehlfeld wrote: > I changed the HowTo a bit, to make it more clear, that the output shown is > from "klist" and not "kinit". Marc, thanks for adding that :). Also dns forwarder = 8.8.8.8 the 8.8.8.8 there is a Google dns server, so that ip WILL work :) but

Re: [Samba] Losing Permissions of Files

2013-06-11 Thread Marc Muehlfeld
Hello Tanveer, Am 11.06.2013 21:41, schrieb Tanveer Virani: I have a OpenSuse 12.2 system running Samba 4.0.6 (compiled from source). Every once in a while, we run into an issue where all permissions on a file are lost. I've checked the ACLs, and they seem fine. The only way to get permissions b

Re: [Samba] Samba 4 Additional DC existing domain

2013-06-11 Thread Marc Muehlfeld
Hello Dino, Am 11.06.2013 22:04, schrieb Dino Edwards: I believe I answered it albeit indirectly. One of the first steps of > joining a domain as a DC was to run the kinit command and upon success > proceed with joining the domain. Since I wasn't getting any output from > running that command,

Re: [Samba] Samba 4 Additional DC existing domain

2013-06-11 Thread Michael De Groote
did you put in a dns forwarder = ip.of.external.dns.server line? 2013/6/11 Dino Edwards > > > You haven't answered my previous question: > > > > > Did you followed *all* steps from the > > > http://wiki.samba.org/index.php/Samba4/HOWTO/Join_a_domain_as_a_DC > > > HowTo? I didn't saw, in th

Re: [Samba] Samba 4 Additional DC existing domain

2013-06-11 Thread Dino Edwards
> You haven't answered my previous question: > > > Did you followed *all* steps from the > > http://wiki.samba.org/index.php/Samba4/HOWTO/Join_a_domain_as_a_DC > > HowTo? I didn't saw, in the steps you had listed, that you joined > the > domain, etc. I believe I answered it albeit indirectl

[Samba] Losing Permissions of Files

2013-06-11 Thread Tanveer Virani
Hi, I have a OpenSuse 12.2 system running Samba 4.0.6 (compiled from source). Every once in a while, we run into an issue where all permissions on a file are lost. I've checked the ACLs, and they seem fine. The only way to get permissions back is to copy the file to a new name, remove the old file

Re: [Samba] Samba 4.0.6 Ubuntu Package Available

2013-06-11 Thread Mike Ray
Ricky- Thanks for the response. Unfortunately that did not work. The domain controllers that are running with the package created using the up-to-date debian folder continue to show the WERR_BADFILE error. Following your advice, I have tried resolv.conf with dc1 specified, with dc2 specified

Re: [Samba] Samba4 errors

2013-06-11 Thread Andreas Calvo
A more detailed output: [root@sauron ~]# netstat -tnp|grep 445|grep "192.168.0.222"|grep 55257 tcp 24 0 192.168.0.222:55257 192.168.0.222:445 ESTABLISHED 17417/samba tcp0 0 192.168.0.222:445 192.168.0.222:55257 ESTABLISHED 23713/smbd Note that 192.168.0.22

Re: [Samba] Samba 4.0.6 Ubuntu Package Available

2013-06-11 Thread Ricky Nance
On Tue, Jun 11, 2013 at 11:38 AM, Mike Ray wrote: > On a possibly related note: replication spits out WERR_BADFILE for all > inbound/outbound neighbors on the PDC. The secondary DC states the inbound > is successful (even though they appear to not actually be) but attempts > nothing for outbound.

Re: [Samba] Samba 4 Additional DC existing domain

2013-06-11 Thread Marc Muehlfeld
Am 11.06.2013 18:21, schrieb Dino Edwards: samba version 4.0.6 started. Copyright Andrew Tridgell and the Samba Team 1992-2012 At this time the 'samba' binary should only be used for either: 'server role = active directory domain controller' or to access the ntvfs file server with 'server servic

Re: [Samba] Samba 4.0.6 Ubuntu Package Available

2013-06-11 Thread Mike Ray
Andrew- I'll be sure to join the mailing list and help out when I can. However, a bit of bad news, I started to use that package that resulted from your debian directory, and I'm having issues with LDB and replication (again!). Any ldb utility (e.g. ldbsearch) errors out as follows: WARNING:

Re: [Samba] Samba 4 Additional DC existing domain

2013-06-11 Thread Dino Edwards
> > Kinit doesn't have output on all systems (ubuntu is one of them) > after > > running that, klist should show that you have an active ticket. Running: Klist I get the following: Ticket cache: FILE:/tmp/krb5cc_0 Default principal: Administrator@MYDOMAIN.LOCAL Valid starting Expires

Re: [Samba] Samba 4 Additional DC existing domain

2013-06-11 Thread Dino Edwards
> -Original Message- > From: samba-boun...@lists.samba.org [mailto:samba- > boun...@lists.samba.org] On Behalf Of "David González Herrera - > [DGHVoIP]" > Sent: Tuesday, June 11, 2013 12:02 PM > To: Ricky Nance > Cc: samba@lists.samba.org > Subject: Re: [Samba] Samba 4 Additional DC existin

Re: [Samba] Samba 4 Additional DC existing domain

2013-06-11 Thread Dino Edwards
I'm pretty sure I did unless I'm missing something. According to what I'm reading, the very first step is running the kinit administrator command which of course shows no output on the screen. So, to address the second suggestion when I run: /usr/local/samba/sbin/samba -i -M single I get this:

Re: [Samba] Samba 4 Additional DC existing domain

2013-06-11 Thread David González Herrera - [DGHVoIP]
On 6/11/2013 10:58 AM, Ricky Nance wrote: Kinit doesn't have output on all systems (ubuntu is one of them) after running that, klist should show that you have an active ticket. Also do what Marc says samba -i -M single and see where samba is failing the startup. If I migh add issue the command wi

Re: [Samba] Samba 4 Additional DC existing domain

2013-06-11 Thread Ricky Nance
Kinit doesn't have output on all systems (ubuntu is one of them) after running that, klist should show that you have an active ticket. Also do what Marc says samba -i -M single and see where samba is failing the startup. Ricky On Tue, Jun 11, 2013 at 10:38 AM, Marc Muehlfeld wrote: > Hello Dino

Re: [Samba] Samba 4 Additional DC existing domain

2013-06-11 Thread Marc Muehlfeld
Hello Dino, Am 11.06.2013 17:11, schrieb Dino Edwards: Using Ubuntu 10.04 LTS 32-bit. Tried following the wiki to install an additional DC in an existing AD domain. Here are the steps I took: 1. Installed the Ubuntu prerequisites and then I built from source. It compiled and installed

[Samba] Samba 4 Additional DC existing domain

2013-06-11 Thread Dino Edwards
Using Ubuntu 10.04 LTS 32-bit. Tried following the wiki to install an additional DC in an existing AD domain. Here are the steps I took: 1. Installed the Ubuntu prerequisites and then I built from source. It compiled and installed successfully to /usr/local/samba 2. Skipped Step 1

[Samba] Clustered Samba 3.6.6 connection issues

2013-06-11 Thread Adi Kriegisch
Dear Samba Community, we recently did upgrade our data server cluster from Debian Squeeze (Samba 3.5.6) to Debian Wheezy (Samba 3.6.6). The cluster is configured to act as BDC too. After the upgrade, connecting to the server works for a short while and then users experience disconnects and are una

Re: [Samba] samba4+bind on centos

2013-06-11 Thread Rowland Penny
You need to create the reverse zone using samba-tool. Example using '192.168.0.10' for the Samba 4 server and the realm 'DOMAIN.LAN' samba-tool dns zonecreate 192.168.0.10 0.168.192.in-addr.arpa -U administra...@domain.lan Now add the AD server to the reverse zone. Here the Samba 4 servers FQDN

Re: [Samba] samba4+bind on centos

2013-06-11 Thread NOC
On 06/11/2013 12:15 PM, Rowland Penny wrote: Have you created the reverse zone? Samba, for some reason, does not automatically create it. If I run your command, I get: IPs: ['192.168.0.2'] Calling nsupdate for A domain.lan 192.168.0.2 Outgoing update query: ;; ->>HEADER<<- opcode: UPDATE, statu

Re: [Samba] samba4+bind on centos

2013-06-11 Thread Rowland Penny
Have you created the reverse zone? Samba, for some reason, does not automatically create it. If I run your command, I get: IPs: ['192.168.0.2'] Calling nsupdate for A domain.lan 192.168.0.2 Outgoing update query: ;; ->>HEADER<<- opcode: UPDATE, status: NOERROR, id: 0 ;; flags:; ZONE: 0, PRERE

Re: [Samba] samba4+bind on centos

2013-06-11 Thread NOC
Hi All I've started again from scratch, following the wikipage at https://wiki.samba.org/index.php/Dns-backend_bind#Bind_9.8_.2F_9.9 I'm using bind 9.8.5-P1 and samba4 master (from yesterday I guess) compiling from scratch: bind: ./configure --with-gssapi=/usr/include/gssapi --with-dlopen=yes

Re: [Samba] DC IP address change

2013-06-11 Thread Marc Muehlfeld
Hello, Am 10.06.2013 21:30, schrieb Saad Benateigha: Hello: I have been using a test network for testing Samba 4 Everything worked OK using 192.168.1.20 for DC When I changed the IP to another one in a different subnet I modified the following: * The hosts file * Network interfaces

Re: [Samba] Samba4 errors

2013-06-11 Thread Andreas Calvo
We found out that samba is performing connections on the RPC port (TCP 445) against itself, and it scales until the memory is gone completely and crashes. Any hint? On Mon, Jun 10, 2013 at 3:08 PM, Andreas Calvo wrote: > Hello, > We've been using samba v4 for a while, but recently we faced two

[Samba] custom permission for single user deep in tree where he has no access

2013-06-11 Thread Coert Waagmeester
Hello all, Got samba with AD integration and extended ACL up and running. Here is what I am trying to do. share1 in smb.conf: [share1] comment = share1 path = /mnt/data/share1 public = no writable = yes printable = no valid users = @DOMAIN