I think that's the testing Steve is asking for:
[EMAIL PROTECTED] cgi-bin]$ perl -T faus.cgi user=tonho password=senha
password2=senha options=add group=samba username='Antonio dos Santos'
Content-Type: text/html; charset=ISO-8859-1
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US"
xml:lang="en-US"><head><title>FAUS - version 1.4.6</title>
</head><body><table width="100%" bgcolor="#3684FF" border="0"><tr><td><font
color="#ffffff"><h1>User Administration</h1></font></td></tr></table><p>User
added succesfully.</p><hr /><h4>User List</h4><table cellspacing="2"
cellpadding="2" border="1"><th>Users</th> <th>Name</th> <th>Type</th>
<th>Status</th> <th>Password expiration</th><th colspan="3">Operations</th><tr
align="center" valign="middle"><td>juca</td> <td>Juca Bala 2</td> <td>user
account</td> <td>disabled</td> <td>expires</td> <td><a
href="faus.cgi?user=juca&options=enable">Enable</a></td> <td><a
href="faus.cgi?user=juca&options=block">Disable</a></td> <td><a
href="faus.cgi?user=juca&options=del">Delete</a></td></tr><tr align="center"
valign="middle"><td>sala12$</td> <td>Computador da sala 12</td> <td>user
account</td> <td>disabled</td> <td>expires</td> <td><a
href="faus.cgi?user=sala12$&options=enable">Enable</a></td> <td><a
href="faus.cgi?user=sala12$&options=block">Disable</a></td> <td><a
href="faus.cgi?user=sala12$&options=del">Delete</a></td></tr><tr align="center"
valign="middle"><td>tonho</td> <td>Antonio dos Santos</td> <td>useraccount</td>
<td>enabled</td> <td>expires</td> <td><a
href="faus.cgi?user=tonho&options=enable">Enable</a></td> <td><a
href="faus.cgi?user=tonho&options=block">Disable</a></td> <td><a
href="faus.cgi?user=tonho&options=del">Delete</a></td></tr></table><br><br><br><br><a
href="faus.cgi">Go back</a></body></html>
[EMAIL PROTECTED] cgi-bin]$
[EMAIL PROTECTED] ~]# getpassfile
+--------------+---------------+--------------+---------------------+--------------------------------+
| Login | Type | Status | Password expiration | Username
|
+--------------+---------------+--------------+---------------------+--------------------------------+
| tonho | user | unlocked | expires | Antonio
dos Santos |
| sala12$ | user | locked | expires |
Computador da sala 12 |
| juca | user | locked | expires | Juca Bala
2 |
+--------------+---------------+--------------+---------------------+--------------------------------+
[EMAIL PROTECTED] ~]#
Ok, that's the result in my machine. But you can use the same line
below:
[EMAIL PROTECTED] cgi-bin]$ perl -T faus.cgi user=tonho password=senha
password2=senha options=add group=samba username='Antonio dos Santos'
to reproduce the test with Ubuntu.
You should apply the patch as well or use the attached file in the post
to replace addsmb script. I added some checking about the return results
from getpwnam() and print some output if it does not work.
Regards,
Alceu
** Attachment added: "replacement for addsmb with added checking for getpwnam()
execution"
http://launchpadlibrarian.net/12101987/addsmb
--
Failure when using getpwnam core function from perl
https://bugs.launchpad.net/bugs/192055
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs