HI, on debian i use pam winbind by adding the file /usr/share/pam-configs/winbind and enable this. Is there another way on RHEL? i have configure RHEL that wbinfo -u gives me the users and getent passwd also. id <username> is not possible. It tells me user unknown. With authconfig i have enable winbind for authentication. Im Using RHEL6 and Samba 4.4.9 Best wishes OLIVER WERNER System-Administrator
check your /etc/nsswitch.conf and confirm that passwd and group lines have the winbind keyword passwd: files winbind group: files winbind Em 10/01/2017 10:29, Oliver Werner via samba escreveu:> HI, > > on debian i use pam winbind by adding > > the file /usr/share/pam-configs/winbind and enable this. > > Is there another way on RHEL? i have configure RHEL that wbinfo -u gives me the users and getent passwd also. > > id <username> is not possible. It tells me user unknown. > > With authconfig i have enable winbind for authentication. > > Im Using RHEL6 and Samba 4.4.9 > > Best wishes > OLIVER WERNER > System-Administrator-- Vinicius Silva SOC BRA: + 55 51 2117.1000 | 55 11 5521.2021 USA: + 1 888 259.5801 vbs at e-trust.com.br skype: vinicius.bones.silva Smiley face www.e-trust.com.br <http://www.e-trust.com.br/> Esta mensagem pode conter informações confidenciais ou privilegiadas. Se você recebeu esta mensagem por engano, você não deve usar, copiar, divulgar ou tomar qualquer atitude com base nestas informações. Solicitamos que você apague a mensagem imediatamente e avise a E-TRUST, enviando um e-mail para suporte at e-trust.com.br. Opiniões, conclusões ou informações contidas nesta mensagem não necessariamente refletem a posição oficial da E-TRUST. Caso assinada digitalmente, a autenticidade desta mensagem pode ser confirmada pela Autoridade Certificadora Privada E-TRUST, disponível em www.e-trust.com.br. This message may contain privileged and confidential information for the use of the intended recipients only. If you are not an intended recipient then you should not disseminate, copy, or take any action based on its contents. If you have received this message in error then please notify E-TRUST by sending an e-mail message to suporte at e-trust.com.br immediately. Views and opinions expressed in this message do not necessarily reflect the position of E-TRUST. If this message is digitally signed, its authenticity can be confirmed by E-TRUST Private Certificate Authority, available at www.e-trust.com.br.
jep thats also configured. OLIVER WERNER System-Administrator> Am 10.01.2017 um 13:41 schrieb Vinicius Bones Silva via samba <samba at lists.samba.org>: > > check your /etc/nsswitch.conf and confirm that passwd and group lines have the winbind keyword > > passwd: files winbind > group: files winbind > > > > Em 10/01/2017 10:29, Oliver Werner via samba escreveu: >> HI, >> >> on debian i use pam winbind by adding >> >> the file /usr/share/pam-configs/winbind and enable this. >> >> Is there another way on RHEL? i have configure RHEL that wbinfo -u gives me the users and getent passwd also. >> >> id <username> is not possible. It tells me user unknown. >> >> With authconfig i have enable winbind for authentication. >> >> Im Using RHEL6 and Samba 4.4.9 >> >> Best wishes >> OLIVER WERNER >> System-Administrator > > -- > > > Vinicius Silva > SOC > > > BRA: + 55 51 2117.1000 | 55 11 5521.2021 > USA: + 1 888 259.5801 > vbs at e-trust.com.br > skype: vinicius.bones.silva > > > > > > > > > > Smiley face > > www.e-trust.com.br <http://www.e-trust.com.br/> > > > Esta mensagem pode conter informações confidenciais ou privilegiadas. Se você recebeu esta mensagem por engano, você não deve usar, copiar, divulgar ou tomar qualquer atitude com base nestas informações. Solicitamos que você apague a mensagem imediatamente e avise a E-TRUST, enviando um e-mail para suporte at e-trust.com.br. Opiniões, conclusões ou informações contidas nesta mensagem não necessariamente refletem a posição oficial da E-TRUST. Caso assinada digitalmente, a autenticidade desta mensagem pode ser confirmada pela Autoridade Certificadora Privada E-TRUST, disponível em www.e-trust.com.br. > > This message may contain privileged and confidential information for the use of the intended recipients only. If you are not an intended recipient then you should not disseminate, copy, or take any action based on its contents. If you have received this message in error then please notify E-TRUST by sending an e-mail message to suporte at e-trust.com.br immediately. Views and opinions expressed in this message do not necessarily reflect the position of E-TRUST. If this message is digitally signed, its authenticity can be confirmed by E-TRUST Private Certificate Authority, available at www.e-trust.com.br. > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba
On Tue, 10 Jan 2017, Oliver Werner via samba wrote:> on debian i use pam winbind by adding > > > Is there another way on RHEL? i have configure RHEL that wbinfo -u gives me the users and getent passwd also. > > id <username> is not possible. It tells me user unknown. > > With authconfig i have enable winbind for authentication.The RHEL way to do it is with authconfig. The documentation for RHEL6 is here: https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/ch-Configuring_Authentication.html#Setting-Auth-Stores Note that you need to enable both authorization ("user account configuration" in the GUI) and authentication. If you want to use the CLI, you probably want something like: authconfig --enablewinbind --enablewinbindauth --smbsecurity ads --enablewinbindoffline --smbservers=ad.example.com --smbworkgroup=EXAMPLE --smbrealm EXAMPLE.COM --winbindtemplateshell=/bin/sh --enablemkhomedir --update ...you may want to replace --update with --test the first time around. Also note that if you've configured any of the several things that authconfig configures manually, it may overwrite some or all of your changes.