Il 07/02/2016 15:59, Miguel Medalha ha scritto:
How I can assing permission on this share?
You can easily do it by following the instructions on the Samba Wiki:
Hi Miguel, I've followed the wiki how to but, I want configure a share on same machine where is hosted DC and seems that this is not possible.
I've configured AD DC on C7 using ServNet packages. Now after provisioning, I've tried to join a win7 host and all works.
After this, I've tried to add a share on AD server for all client, but when I try to assign permission on dir, I can't because my local system can't see domain user.
If I run wbinfo -u I can see user domain. If I run getent passwd, I can't see user domain, and so I can't give permission on share for this user but only using 777 on share directory (and this is not what I want).
Now, If I put a new samba4 machine and configure it as domain member, and join the domain, I can assign on this machine permission for user as explained from samba wiki. But this is not my case.
I need to configure DC and share on same machine, but I can't figure out why I can't see domain user in my local system.
Where is the problem?
Thanks in advance
I use these instructions to create a domain controller on CentOS for a Windows 10 lab I have: http://www.unixmen.com/setting-samba-primary-domain-controller-centos-7/
Regards, Ben
On Feb 7, 2016, at 8:29 AM, Alessandro Baggi alessandro.baggi@gmail.com wrote:
Il 07/02/2016 15:59, Miguel Medalha ha scritto:
How I can assing permission on this share?
You can easily do it by following the instructions on the Samba Wiki:
Hi Miguel, I've followed the wiki how to but, I want configure a share on same machine where is hosted DC and seems that this is not possible.
I've configured AD DC on C7 using ServNet packages. Now after provisioning, I've tried to join a win7 host and all works.
After this, I've tried to add a share on AD server for all client, but when I try to assign permission on dir, I can't because my local system can't see domain user.
If I run wbinfo -u I can see user domain. If I run getent passwd, I can't see user domain, and so I can't give permission on share for this user but only using 777 on share directory (and this is not what I want).
Now, If I put a new samba4 machine and configure it as domain member, and join the domain, I can assign on this machine permission for user as explained from samba wiki. But this is not my case.
I need to configure DC and share on same machine, but I can't figure out why I can't see domain user in my local system.
Where is the problem?
Thanks in advance _______________________________________________ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Il 07/02/2016 17:18, Ben Archuleta ha scritto:
I use these instructions to create a domain controller on CentOS for a Windows 10 lab I have: http://www.unixmen.com/setting-samba-primary-domain-controller-centos-7/
Regards, Ben
Thanks Ben, but this is for PDC NT not for AD DC. With C7 to perform this, I must install sernet samba version or change distro.
This tutorial uses Sernet Samba: http://www.server-world.info/en/note?os=CentOS_7&p=samba&f=4
This one done by compiling Samba yourself: https://imanudin.net/2014/11/16/how-to-install-samba4-active-directory-on-ce... https://imanudin.net/2014/11/17/how-to-install-samba4-active-directory-on-ce...
On Sun, Feb 7, 2016 at 11:34 PM, Alessandro Baggi alessandro.baggi@gmail.com wrote:
Il 07/02/2016 17:18, Ben Archuleta ha scritto:
I use these instructions to create a domain controller on CentOS for a Windows 10 lab I have: http://www.unixmen.com/setting-samba-primary-domain-controller-centos-7/
Regards, Ben
Thanks Ben, but this is for PDC NT not for AD DC. With C7 to perform this, I must install sernet samba version or change distro.
CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Il 07/02/2016 18:33, Nizar Armansyah ha scritto:
This tutorial uses Sernet Samba: http://www.server-world.info/en/note?os=CentOS_7&p=samba&f=4
This one done by compiling Samba yourself: https://imanudin.net/2014/11/16/how-to-install-samba4-active-directory-on-ce... https://imanudin.net/2014/11/17/how-to-install-samba4-active-directory-on-ce...
On Sun, Feb 7, 2016 at 11:34 PM, Alessandro Baggi alessandro.baggi@gmail.com wrote:
Il 07/02/2016 17:18, Ben Archuleta ha scritto:
I use these instructions to create a domain controller on CentOS for a Windows 10 lab I have: http://www.unixmen.com/setting-samba-primary-domain-controller-centos-7/
Regards, Ben
Thanks Ben, but this is for PDC NT not for AD DC. With C7 to perform this, I must install sernet samba version or change distro.
CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Thanks for the links. I found the problem. After some tries, I have added winbind on nsswitch.conf. Running getent passwd Domain user was not printed after local user and with this I've tried to find a solution without try the share. After several operation ecc..I've runned id "created domain user" and user exists. Tried also to chown domuser:domgr file and works but from getent I can't get user domain.
This is a bug on centos or it is related due to sernet package (winbind)??
I personally prefer to use sssd-ad instead of winbind. Works like a charm also in addition to sudo configuration.
Regards Tim
Am 7. Februar 2016 18:55:24 MEZ, schrieb Alessandro Baggi alessandro.baggi@gmail.com:
Il 07/02/2016 18:33, Nizar Armansyah ha scritto:
This tutorial uses Sernet Samba: http://www.server-world.info/en/note?os=CentOS_7&p=samba&f=4
This one done by compiling Samba yourself:
https://imanudin.net/2014/11/16/how-to-install-samba4-active-directory-on-ce...
https://imanudin.net/2014/11/17/how-to-install-samba4-active-directory-on-ce...
On Sun, Feb 7, 2016 at 11:34 PM, Alessandro Baggi alessandro.baggi@gmail.com wrote:
Il 07/02/2016 17:18, Ben Archuleta ha scritto:
I use these instructions to create a domain controller on CentOS
for a
Windows 10 lab I have:
http://www.unixmen.com/setting-samba-primary-domain-controller-centos-7/
Regards, Ben
Thanks Ben, but this is for PDC NT not for AD DC. With C7 to perform
this, I
must install sernet samba version or change distro.
CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Thanks for the links. I found the problem. After some tries, I have added winbind on nsswitch.conf. Running getent passwd Domain user was not printed after local user and with this I've tried to find a solution without try the share. After several operation ecc..I've runned id "created domain user" and user exists. Tried also to chown domuser:domgr file and works but from getent I can't get user domain.
This is a bug on centos or it is related due to sernet package (winbind)?? _______________________________________________ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos