Is there a way to list all Samba users with the net command. The help shows the following syntax, however I cannot get it to list one user, let alone all users... net [<method>] user [misc. options] [targets] List users After a 1/2 hour of attempts, it does not matter what combination of methods or options I try, I either get a listing for all the net syntax or I am prompted for my user password which does nothing. Can someone please show an example of the proper syntax.. Thanks, Mark
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Mark ?rta: | Is there a way to list all Samba users with the net command. | | The help shows the following syntax, however I cannot get it to list one | user, let alone all users... | | net [<method>] user [misc. options] [targets] | List users | | After a 1/2 hour of attempts, it does not matter what combination of | methods or options I try, I either get a listing for all the net syntax | or I am prompted for my user password which does nothing. | | Can someone please show an example of the proper syntax.. | | Thanks, | Mark | Why not try pdbedit -L as root? Cheers Geza -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFAeZXI/PxuIn+i1pIRAhm7AJ90UoeDoXC43GAAtwZIM8bnqU7REQCfRHwq EXHgKS7I4Nxfqo9MA+x2D+I=6fii -----END PGP SIGNATURE-----
G?mes G?za wrote:> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Mark ?rta: > | Is there a way to list all Samba users with the net command. > | > | The help shows the following syntax, however I cannot get it to list one > | user, let alone all users... > | > | net [<method>] user [misc. options] [targets] > | List users > | > | After a 1/2 hour of attempts, it does not matter what combination of > | methods or options I try, I either get a listing for all the net syntax > | or I am prompted for my user password which does nothing. > | > | Can someone please show an example of the proper syntax.. > | > | Thanks, > | Mark > | > Why not try pdbedit -L as root? > > Cheers > > Geza > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.3 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFAeZXI/PxuIn+i1pIRAhm7AJ90UoeDoXC43GAAtwZIM8bnqU7REQCfRHwq > EXHgKS7I4Nxfqo9MA+x2D+I> =6fii > -----END PGP SIGNATURE----- >Thanks!!
On Sunday 11 April 2004 20:39, Mark wrote:> Is there a way to list all Samba users with the net command. > > The help shows the following syntax, however I cannot get it to list one > user, let alone all users... > > net [<method>] user [misc. options] [targets] > List users > > After a 1/2 hour of attempts, it does not matter what combination of > methods or options I try, I either get a listing for all the net syntax > or I am prompted for my user password which does nothing. > > Can someone please show an example of the proper syntax.. > > Thanks, > Marknet user -U administrator Password: Administrator nobody gerrit krelis net user INFO krelis -U administrator Password: Domain Users