Re: [Samba] moodle + samba4 authentication

2013-08-15 Thread Gémes Géza
2013-08-14 20:50 keltezéssel, Darek Frączkiewicz írta: hello, has anyone tried to log in from Moodle to samba4 AD users? I can't config LDAP authentication. Through MS ActiveDirectory doesn't work. Pozdrowienia -- Darek Frączkiewicz daf...@gmail.com

Re: [Samba] Trying to Join a Working W2K3 AD

2013-08-15 Thread Marc Muehlfeld
Hello Kevin, hello Eli, Am 15.08.2013 05:48, schrieb Kevin Field: I get to the step /usr/local/samba/bin/samba-tool dns add 192.168.1.252 _msdcs.domain.co.il 2d59ac49-1175-4656-943e-d556baa242cb CNAME DC2.domain.co.il -Uadministrator I get the following error message: ERROR(runtime): uncaught

Re: [Samba] Samba4 Delegation

2013-08-15 Thread Andreas Krupp
Hi, It has been a while that I did not come back to this topic, however I think I found a work-around for my initial problem. For information, what I was trying to do was: - Create an OU for a group of applications - Delegate control of this OU to a normal user (not helpdesk or

[Samba] Samba4 + Winbind + PAM Installation/Configuration

2013-08-15 Thread Andreas Krupp
Hello, Now that I have my Samba4 DC running great on CentOS6.4 I was wondering if somebody could help understand better how to install and configure Samba4 with winbind and PAM. I used the tutorial here:

Re: [Samba] Samba4 Delegation

2013-08-15 Thread Marc Muehlfeld
Hello Andreas, Am 15.08.2013 11:07, schrieb Andreas Krupp: For information, what I was trying to do was: - Create an OU for a group of applications - Delegate control of this OU to a normal user (not helpdesk or domain admin) to be able to create groups and assign domain users to them - What

Re: [Samba] Samba4 + Winbind + PAM Installation/Configuration

2013-08-15 Thread Daniel Müller
Just install pam and pam-devel And: /etc/nsswitch.conf: passwd: files winbind shadow: files group: files winbind And: ln -s /usr/local/samba/lib/libnss_winbind.so.2 /lib64/libnss_winbind.so ln -s /lib64/libnss_winbind.so /lib64/libnss_winbind.so.2 Test now: [root@s4master lib]#

Re: [Samba] Samba4 + Winbind + PAM Installation/Configuration

2013-08-15 Thread steve
On Thu, 2013-08-15 at 11:15 +0200, Andreas Krupp wrote: This got me through to the point where Using pam_winbind starts. Hi From that point: ln -s /usr/local/samba/lib/security/pam_winbind.so /lib/security then: pam-config -a --winbind Add: template shell = /bin/bash to smb.conf Do _not_

Re: [Samba] Samba4 Delegation

2013-08-15 Thread Andreas Krupp
Hi Marc, I will give this another try with the options you have mentioned - however, the same behavior is also present on a Microsoft Windows 2008 R2 Domain Server with the AD at 2008 R2 compatibility level. So for the moment, I have the impression that even Microsoft does not encourage ownership

Re: [Samba] Samba4 + Winbind + PAM Installation/Configuration

2013-08-15 Thread Andreas Krupp
Hello Daniel, Thx a lot for the quick reply. Actually I did all these steps already and the tests that you proposed and that are documented on the wiki are working fine. http://wiki.samba.org/index.php/Samba4/Winbind It is the next section Using pam_winbind that I cannot get to work. My goal is

Re: [Samba] Trying to Join a Working W2K3 AD

2013-08-15 Thread Kevin Field
Hi Marc, On 2013-08-15 4:18 AM, Marc Muehlfeld wrote: Hello Kevin, hello Eli, Am 15.08.2013 05:48, schrieb Kevin Field: I get to the step /usr/local/samba/bin/samba-tool dns add 192.168.1.252 _msdcs.domain.co.il 2d59ac49-1175-4656-943e-d556baa242cb CNAME DC2.domain.co.il -Uadministrator I

[Samba] Samba4 and iptables

2013-08-15 Thread Kevin Field
Hi everyone, I had posted recently about getting Samba4 to work on CentOS 6.4 but having changes only replicating in one direction, from the Win2k3 AD but not back to it. I solved the problem, this time, by disabling iptables. I find it a bit hard to understand. These are the rules I have

[Samba] users don't replicate from W2K3 to CentOS 6.4

2013-08-15 Thread Kevin Field
With iptables disabled until I can figure out appropriate rules ( http://www.spinics.net/lists/samba/msg104592.html -- what do you do then? ) I added a user using samba-tool user add. If I go to the Windows box and fire up ADUC, the user is not there, even though the AD Replication Status

Re: [Samba] samba4 - classicupgrade - problem - passdb.error uncaught exception - Cannot load backend methods for 'ldapsam:ldap://localhost' backend NT_STATUS_CANT_ACCESS_DOMAIN_INFO

2013-08-15 Thread itsaheb
Finally its worked. I just added *following parameter in my samba3 conf file. ldap timeout = 50 * *thanks to http://www.samba.org/samba/docs/man/manpages-3/smb.conf.5.html#LDAPTIMEOUT * *Thank you All. * ** 2013/8/1 Andrew Bartlett abart...@samba.org On Wed, 2013-07-31 at 15:41 +0530,

Re: [Samba] Samba4 and iptables

2013-08-15 Thread Thomas Harold
On 8/15/2013 10:36 AM, Kevin Field wrote: Hi everyone, I had posted recently about getting Samba4 to work on CentOS 6.4 but having changes only replicating in one direction, from the Win2k3 AD but not back to it. I solved the problem, this time, by disabling iptables. I find it a bit hard to

[Samba] Remote linux auth vs samba4: winbind or nslcd + openldap.

2013-08-15 Thread Andres Tello Abrego
I'm lost in documentation. I setup a samba4 AD, and configured winbind so I can have local authentification using pam, I can now login to AD users vía ssh. I want to achieve the Holy Gria of 1 source of users and password, for both, linux and windows machines, but I'm lost in documentation. So

[Samba] FW: Samba4 + Winbind + PAM Installation/Configuration

2013-08-15 Thread Andreas Krupp
Hello, The steps so far worked: 1) get all of pam installed via yum install pam* 2) Then recompile samba with ./configure.developer followed by make and make install 3) Restarted Samba... and great stuff, my domain controller, settings and users are still there! This is awesome by the way! 4)

Re: [Samba] Remote linux auth vs samba4: winbind or nslcd + openldap.

2013-08-15 Thread Marc Muehlfeld
Hello Andres, Am 15.08.2013 18:45, schrieb Andres Tello Abrego: I want to achieve the Holy Gria of 1 source of users and password, for both, linux and windows machines, but I'm lost in documentation. So far I know: samba4 cann't use openldap as backend. Right. samba4 ldap doesn't really is

Re: [Samba] Remote linux auth vs samba4: winbind or nslcd + openldap.

2013-08-15 Thread Andres Tello Abrego
How can I help :) maybe you can pass whatever you have written, tip me to mabe, use sssd What I refer to remote winbind is that. currently I have 1box with AD, I want to use that same box, that same users, to client linux... winbind worked as a charm, but I only have authentication to the

Re: [Samba] Samba4 and iptables

2013-08-15 Thread Kevin Field
Thanks for your help, Thomas. I think it was the missing state part of some of the lines. When I use your example, it replicates, even in both directions this time! Which is quite odd, since without iptables running, I still had problems getting my Samba test user to replicate over to the

[Samba] share permissions

2013-08-15 Thread Kevin Field
I have a share setup on a Samba 4.0.8 / CentOS 6.4 box that is successfully replicating with a W2K3 server. I'm following the HOWTO here: https://wiki.samba.org/index.php/Setup_and_configure_file_shares [mytest] path = /home/me/mytestshare -- with or without trailing slash

Re: [Samba] Remote linux auth vs samba4: winbind or nslcd + openldap.

2013-08-15 Thread Gémes Géza
2013-08-15 18:45 keltezéssel, Andres Tello Abrego írta: I'm lost in documentation. I setup a samba4 AD, and configured winbind so I can have local authentification using pam, I can now login to AD users vía ssh. I want to achieve the Holy Gria of 1 source of users and password, for both, linux

[SCM] Samba Shared Repository - branch master updated

2013-08-15 Thread Stefan Metzmacher
The branch, master has been updated via b706ca6 s3:libsmb: call smb2cli_logoff() from cli_ulogoff() via 1d7bdfc s3:libsmb: make cli_ulogoff_send/recv static via e6be68f s3:libsmb: call smb2cli_tdis() from cli_tdis() via d732e9a s3:libsmb: only set tcon to invalid in

autobuild: intermittent test failure detected

2013-08-15 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-08-15-1936/flakey.log The samba3 build logs are available here:

[SCM] Samba Shared Repository - branch master updated

2013-08-15 Thread Jeremy Allison
The branch, master has been updated via 0a42493 libctdb: Avoid an explicit memset via e0bda35 torture: support Windows 2k8 response for compress_invalid_buf via 2c7c3fd torture: add more [no-]compress-on-open ioctl tests via 337a94f torture: add file_attribs arg to

autobuild: intermittent test failure detected

2013-08-15 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-08-16-0256/flakey.log The samba3 build logs are available here:

[SCM] Samba Shared Repository - branch master updated

2013-08-15 Thread Andrew Bartlett
The branch, master has been updated via 52ec52b loadparm: Use the new fully featured kcc by default from 0a42493 libctdb: Avoid an explicit memset http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log -