[Samba] Almost all working, except for "[: too many arguments" on
abartlet at pcug.org.au
Sun Feb 10 03:10:36 GMT 2002
"Blanchard, Michael" wrote:
> I've fixed my WINS server problems (long story) got all my "wbinfo"'s
> working, along with creating home directories and everything, but now I
> have 1 problem and one question.
> 1. whenever a user logs in with a winbind user account, it says "[: too
> many arguments" This only started since I added a line in system.auth
> for the pam_mkhomedirs.so to make the directories. If I remove that
> line, I still get the error. Can I safely ignore it, or is it a symptom
> of a big problem?
It depends on what is in the dir that pam_mkhomdir was using for its
skeleton, and some (possibly) dodgy shell scripting in there. Do your
usernames have spaces?
> 2. I'm running redhat 7.2. Is there anway to avoide having to add
> winbind.so to all of the \etc\pam.d\* files? I thought there was a
> single file you could edit to change them all?
Andrew Bartlett abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team abartlet at samba.org
Student Network Administrator, Hawker College abartlet at hawkerc.net
http://samba.org http://build.samba.org http://hawkerc.net
More information about the samba