Fwd: [Samba] Almost all working, except for "[: too manyarguments"
on samba login
war at starband.net
Tue Feb 12 04:45:23 GMT 2002
This still does not help, does anyone have this working (reconnect at
login) with Samba?
Andrew Bartlett wrote:
> Mark Cooke wrote:
> > >
> > >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?
> > We had the same problem here, ON RH, its to do with your /etc/profile and
> > it not liking spaces in the users & groups (this might not be youre
> > problem, but this was ours).
> > Anyway Ive edited the folowing in my /etc/profile:
> > basically its the addition of the backticks on the if line..
> I assume you mean the addition of the quotes, the backticks should have
> been there before...
> > if [ "`id -gn`" = "`id -un`" -a `id -u` -gt 14 ]; then
> > umask 002
> > else
> > umask 022
> > fi
> 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
> To unsubscribe from this list go to the following URL and read the
> instructions: http://lists.samba.org/mailman/listinfo/samba
More information about the samba