I added a linux server to the Active Directory domain, I realized that the samba-winbind package uses the smb.conf file, but I also need to use the same linux server with shares, if I install the samba package, this package use the smb.conf file. Is there a solution? Then i have problem with 2 services. Example systemctl services: smb.service winbind.service My system is Centos 7. -- <<<<<<<<<<<<<<<<<<<------------------------------------------------------------------->>>>>>>>>>>>>>>>>>> < Disse-lhe Jesus: Eu sou o caminho, e a verdade e a vida; ninguém vem ao Pai, senão por mim > (João 14:6) Att. ♪ ♫ Luiz Guilherme Nunes Fernandes ♫ ♪ <<<<<<<<<<<<<<<<<<<------------------------------------------------------------------->>>>>>>>>>>>>>>>>>>
Well... Perhaps you can use samba with another smb.conf... smbd -s <path to smb.conf> man smbd 2017-04-17 12:39 GMT-03:00 Luiz Guilherme Nunes Fernandes via samba < samba at lists.samba.org>:> I added a linux server to the Active Directory domain, I realized that the > samba-winbind package uses the smb.conf file, but I also need to use the > same linux server with shares, if I install the samba package, this package > use the smb.conf file. Is there a solution? > > Then i have problem with 2 services. > > Example > systemctl services: > > smb.service > winbind.service > > My system is Centos 7. > > -- > <<<<<<<<<<<<<<<<<<<----------------------------------------- > -------------------------->>>>>>>>>>>>>>>>>>> > > < Disse-lhe Jesus: Eu sou o caminho, e a verdade e a vida; ninguém vem ao > Pai, senão por mim > > (João 14:6) > > Att. > ♪ ♫ Luiz Guilherme Nunes > Fernandes ♫ ♪ > > <<<<<<<<<<<<<<<<<<<----------------------------------------- > -------------------------->>>>>>>>>>>>>>>>>>> > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >-- Obrigado Cordialmente Gilberto Ferreira Consultor TI Linux | IaaS Proxmox, CloudStack, KVM | Zentyal Server | Zimbra Mail Server (47) 3025-5907 (47) 99676-7530 Skype: konnectati www.konnectati.com.br
On Mon, 17 Apr 2017 12:39:33 -0300 Luiz Guilherme Nunes Fernandes via samba <samba at lists.samba.org> wrote:> I added a linux server to the Active Directory domain, I realized > that the samba-winbind package uses the smb.conf file, but I also > need to use the same linux server with shares, if I install the samba > package, this package use the smb.conf file. Is there a solution?Is this actually a problem ??? This is the way Samba usually works, one smb.conf that winbind uses to get the authentication settings which it passes to smbd (over simplification) and smbd uses the same smb.conf to get its settings and the shares info. It might help if you could tell us just how you expect Samba to work.> > Then i have problem with 2 services. > > Example > systemctl services: > > smb.service > winbind.serviceYes, you do have a problem, 'nmb' isn't running ;-) Rowland
Well, i need join 1 server Linux in Active Directory, i need too, create one domain in samba for shared printers with cups. But i need use users and groups of ad with shared in samba. This is my idea. I use samba winbind for read user and groups, i testing with apache and ssh, with this applications, working, but for shareding no. Does have any idea? 2017-04-17 12:39 GMT-03:00 Luiz Guilherme Nunes Fernandes < narutospinal at gmail.com>:> I added a linux server to the Active Directory domain, I realized that the > samba-winbind package uses the smb.conf file, but I also need to use the > same linux server with shares, if I install the samba package, this package > use the smb.conf file. Is there a solution? > > Then i have problem with 2 services. > > Example > systemctl services: > > smb.service > winbind.service > > My system is Centos 7. > > -- > <<<<<<<<<<<<<<<<<<<----------------------------------------- > -------------------------->>>>>>>>>>>>>>>>>>> > > < Disse-lhe Jesus: Eu sou o caminho, e a verdade e a vida; ninguém vem ao > Pai, senão por mim > > (João 14:6) > > Att. > ♪ ♫ Luiz Guilherme Nunes > Fernandes ♫ ♪ > > <<<<<<<<<<<<<<<<<<<----------------------------------------- > -------------------------->>>>>>>>>>>>>>>>>>> >-- <<<<<<<<<<<<<<<<<<<------------------------------------------------------------------->>>>>>>>>>>>>>>>>>> < Disse-lhe Jesus: Eu sou o caminho, e a verdade e a vida; ninguém vem ao Pai, senão por mim > (João 14:6) Att. ♪ ♫ Luiz Guilherme Nunes Fernandes ♫ ♪ <<<<<<<<<<<<<<<<<<<------------------------------------------------------------------->>>>>>>>>>>>>>>>>>>
On Mon, Apr 17, 2017 at 11:31 AM Luiz Guilherme Nunes Fernandes via samba < samba at lists.samba.org> wrote:> Well, i need join 1 server Linux in Active Directory, i need too, create > one domain in samba for shared printers with cups. > > But i need use users and groups of ad with shared in samba. This is my > idea. I use samba winbind for read user and groups, i testing with apache > and ssh, with this applications, working, but for shareding no. Does have > any idea? >still not quite clear. it sounds like you want to have this server host an AD as well as join one, but it doesn't seem like you actually need that. you can have samba as a member server providing file and print services in external AD domain.
On Mon, 17 Apr 2017 13:26:11 -0300 Luiz Guilherme Nunes Fernandes via samba <samba at lists.samba.org> wrote:> Well, i need join 1 server Linux in Active Directory, i need too, > create one domain in samba for shared printers with cups. > > But i need use users and groups of ad with shared in samba. This is my > idea. I use samba winbind for read user and groups, i testing with > apache and ssh, with this applications, working, but for shareding > no. Does have any idea? >OK, it sounds like you need a Unix domain member, have a look here: https://wiki.samba.org/index.php/Setting_up_Samba_as_a_Domain_Member If you follow the above, authentication will work and so will ssh. For Apache see here: https://wiki.samba.org/index.php/Authenticating_Apache_against_Active_Directory For printers, see here: https://wiki.samba.org/index.php/Print_Server_Support Any questions, just ask and we will try to help ;-) Rowland
Hi Luiz... I think you just misunderstood the concept of Samba... You can indeed you samba to make both task... Just join your samba box to AD and be happy. 2017-04-17 13:26 GMT-03:00 Luiz Guilherme Nunes Fernandes via samba < samba at lists.samba.org>:> Well, i need join 1 server Linux in Active Directory, i need too, create > one domain in samba for shared printers with cups. > > But i need use users and groups of ad with shared in samba. This is my > idea. I use samba winbind for read user and groups, i testing with apache > and ssh, with this applications, working, but for shareding no. Does have > any idea? > > 2017-04-17 12:39 GMT-03:00 Luiz Guilherme Nunes Fernandes < > narutospinal at gmail.com>: > > > I added a linux server to the Active Directory domain, I realized that > the > > samba-winbind package uses the smb.conf file, but I also need to use the > > same linux server with shares, if I install the samba package, this > package > > use the smb.conf file. Is there a solution? > > > > Then i have problem with 2 services. > > > > Example > > systemctl services: > > > > smb.service > > winbind.service > > > > My system is Centos 7. > > > > -- > > <<<<<<<<<<<<<<<<<<<----------------------------------------- > > -------------------------->>>>>>>>>>>>>>>>>>> > > > > < Disse-lhe Jesus: Eu sou o caminho, e a verdade e a vida; ninguém vem ao > > Pai, senão por mim > > > (João 14:6) > > > > Att. > > ♪ ♫ Luiz Guilherme Nunes > > Fernandes ♫ ♪ > > > > <<<<<<<<<<<<<<<<<<<----------------------------------------- > > -------------------------->>>>>>>>>>>>>>>>>>> > > > > > > -- > <<<<<<<<<<<<<<<<<<<----------------------------------------- > -------------------------->>>>>>>>>>>>>>>>>>> > > < Disse-lhe Jesus: Eu sou o caminho, e a verdade e a vida; ninguém vem ao > Pai, senão por mim > > (João 14:6) > > Att. > ♪ ♫ Luiz Guilherme Nunes > Fernandes ♫ ♪ > > <<<<<<<<<<<<<<<<<<<----------------------------------------- > -------------------------->>>>>>>>>>>>>>>>>>> > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >-- Obrigado Cordialmente Gilberto Ferreira Consultor TI Linux | IaaS Proxmox, CloudStack, KVM | Zentyal Server | Zimbra Mail Server (47) 3025-5907 (47) 99676-7530 Skype: konnectati www.konnectati.com.br