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

2013-08-15 Thread L . P . H . van Belle
centos bug ? https://www.centos.org/modules/newbb/viewtopic.php?topic_id=42048 >-Oorspronkelijk bericht- >Van: muel...@tropenklinik.de >[mailto:samba-boun...@lists.samba.org] Namens Daniel Müller >Verzonden: vrijdag 16 augustus 2013 8:37 >Aan: 'Andreas Krupp'; 'samba' >Onderwerp: Re:

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

2013-08-15 Thread Daniel Müller
Did you set the [home] var already in your smb.conf? --- EDV Daniel Müller Leitung EDV Tropenklinik Paul-Lechler-Krankenhaus Paul-Lechler-Str. 24 72076 Tübingen Tel.: 07071/206-463, Fax: 07071/206-499 eMail: muel...@tropenklinik.de Internet: www.tropen

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

[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 rea

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 W

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 mach

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

[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!

[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 fa

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

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 > On Wed, 2013-07-31 at 15:41 +0530, itsaheb wrote: > > Than

[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 tool

[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 s

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 get

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] 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 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 _no

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 & 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 w

[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: [http://wiki.samba.org/index.php/Samba4/Winbind](http://wiki.samba.org/index.php

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 doma

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] 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 It