[Samba] add machine script -problem

Felipe Augusto van de Wiel felipe at paranacidade.org.br
Mon Dec 11 18:48:06 GMT 2006

Hash: SHA1

On 12/11/2006 01:01 PM, ravi kumar escreveu:
> when i was trying to add (join) windows xp
> client(gari$) to samba pdc by using samba adminuser
> and passwd ,i got the error invalid username.In
> serverside log file(/var/log/samba/gari.loh) it shows
> gari$ invalid username.i am using samba 3.0.10 and
> RHEL4 as samba server.my configuration file is here
> below.

	Please, next time you post your config file, try
to not "wrap" it...

> # Be very careful with case sensitivity - it can break things!
> auth methods = guest sam winbind
>   case sensitive = no
> add machine script = /usr/sbin/adduser -n  -g machines  -s /bin/false -d /dev/null %m$ 

	From the [1]Samba Documentatio:

add machine script = /usr/sbin/useradd -d /var/lib/nobody -g 100 -s /bin/false -M %u

1. http://us2.samba.org/samba/docs/man/Samba-HOWTO-Collection/domain-member.html

	Of course it can change from distro to distro, but I don't
think you should use the "%m$".

	Kind regards,

- --
Felipe Augusto van de Wiel <felipe at paranacidade.org.br>
Coordenadoria de Tecnologia da Informação (CTI) - SEDU/PARANACIDADE
http://www.paranacidade.org.br/           Phone: (+55 41 3350 3300)
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Debian - http://enigmail.mozdev.org


More information about the samba mailing list