Hi,
This is a function of your system 'useradd' program.  Some *UX systems only allow a 
'username' to be 8 characters.  try executing the useradd command as root and give it 
a username greater than 8 characters on the command line - should give you the same 
behavior.  To workaround this, you would need to implement some sort of wrapper around 
the useradd script that executes the useradd script, and then perhaps does some sort 
of 'awk' to change the name in /etc/passwd to the full name supplied by the %u 
variable.
not very pretty; better if your *ux distribution has a patch or version that supports 
>8character user names.
Hope this helps,
Don

Corey Hart <[EMAIL PROTECTED]> wrote:
when a new machine connects and the person logs them into the domain using the proper 
administrator account add user script runs.
add user script = /usr/sbin/useradd -d /dev/null -g machines -c Machine -s /bin/false 
-M %u

The problem is I notice in /etc/passwd the machine name is only using 7 characters. Is 
there a way to increase this so it uses them all?

Samba 2.2.8a
Red Hat Linux 8.0


--
----
Corey Hart
Systems/Security Analyst
St. Edward's University
[EMAIL PROTECTED]
512/428-1038 - voice
512/448-8492 - fax
512/470-8462 - cell


-- 
To unsubscribe from this list go to the following URL and read the
instructions: http://lists.samba.org/mailman/listinfo/samba


---------------------------------
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Reply via email to