Estevam Henrique Carvalho
2004-Mar-15 12:11 UTC
[Samba] Howto give console access to a samba user ?
Hi people, I have a Debian (Woody) 2.4.25+Samba 3.0.2a running, I've joined a Active Directory domain (net ads join) and I can successfully browse the AD users and groups with wbinfo -u and wbinfo -g. I need to give to the samba (Windows) users access do linux console/terminal, I've read the samba documentation about pam_winbind ( http://us1.samba.org/samba/docs/man/winbind.html <http://us1.samba.org/samba/docs/man/winbind.html> ), but I found some difficulties, in my system there is no pam_stack module, where I can find it ? In despite of that I did the rest of the procedure described in the doc above and now when the samba users logon on the system they receive an error regarding to the home directory and alerting the user that (HOME=/) will be used instead (how can I give a home folder to windows users ?), after this message linux returns the user to the first questions in the logon screen (user name). Reading the logon files (auth.log) I could see the pam_winbind successfully authenticate the user, I also ran getent passwd and received a list with all linux+windows users, I observed the windows users have as shell /bin/false, and I think that is the root of the problem. Any help ? Thank you, Estevam Henrique ========================================================= Esta mensagem pode conter informacao confidencial e/ou privilegiada. Se voce nao for o destinatario ou a pessoa autorizada a receber esta mensagem, nao devera utilizar, copiar, alterar, divulgar a informacao nela contida ou tomar qualquer acao baseada nessas informacoes. Se voce recebeu esta mensagem por engano, por favor avise imediatamente o remetente, respondendo o e-mail e em seguida apague-o. Agradecemos sua cooperacao. This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose, change, take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation. =========================================================