The help message for the net user command
rsharpe at ns.aus.com
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
libresolv.so.2 => /lib/libresolv.so.2 (0x40024000)
libdl.so.2 => /lib/libdl.so.2 (0x40036000)
libnsl.so.1 => /lib/libnsl.so.1 (0x40039000)
libcom_err.so.3 => /usr/kerberos/lib/libcom_err.so.3 (0x40050000)
libk5crypto.so.3 => /usr/kerberos/lib/libk5crypto.so.3
libkrb5.so.3 => /usr/kerberos/lib/libkrb5.so.3 (0x40068000)
libgssapi_krb5.so.2 => /usr/kerberos/lib/libgssapi_krb5.so.2
libpopt.so.0 => /usr/lib/libpopt.so.0 (0x400e5000)
libc.so.6 => /lib/libc.so.6 (0x400eb000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (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 ns.aus.com, www.richardsharpe.com
sharpe at samba.org, sharpe at ethereal.com
More information about the samba-technical