The help message for the net user command

Richard Sharpe rsharpe at
Mon Oct 21 19:33:01 GMT 2002

On Mon, 21 Oct 2002, Jim McDonough wrote:

> >Maybe it's one of these popt library version issues?  Does the behaviour
> >change when you use the included popt?
> Sounds likely.  Either works for me, using the system libpopt on RedHat
> 7.1, but it looks to me like the included popt will only handle --longarg=.
> Perhaps we need to just use the included one?  Seems a bit silly when
> systems have it, but it would make it more consistent.
Hmmm, here is what ldd bin/net shows:

[root at richardsharpe source]# ldd bin/net => /lib/ (0x40024000) => /lib/ (0x40036000) => /lib/ (0x40039000) => /usr/kerberos/lib/ (0x40050000) => /usr/kerberos/lib/
(0x40053000) => /usr/kerberos/lib/ (0x40068000) => /usr/kerberos/lib/
(0x400d0000) => /usr/lib/ (0x400e5000) => /lib/ (0x400eb000)
	/lib/ => /lib/ (0x40000000)

And here is what happens when I run the command:

[root at richardsharpe source]# ./bin/net user -p=445

Invalid option õ (-11)
No command: ./bin/net
  net time		to view or set time information
  net lookup		to lookup host name or ip address
  net user		to manage users

So, there does seem to be a problem. Not sure what yet.

Richard Sharpe, rsharpe at,
sharpe at, sharpe at

More information about the samba-technical mailing list