summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-06-09 11:02:27 +0200
committerGünther Deschner <gd@samba.org>2008-06-17 20:00:11 +0200
commit44e153e3c1880d63a3e4ea03a61bd43a05dea74a (patch)
tree16ef9d16f9aa645661e64c1ccfd89a6f9e5d7e86 /source3/lib
parentb330ea29c7af8e0cdd7d9773016e8fdc2d09df22 (diff)
downloadsamba-44e153e3c1880d63a3e4ea03a61bd43a05dea74a.tar.gz
samba-44e153e3c1880d63a3e4ea03a61bd43a05dea74a.tar.bz2
samba-44e153e3c1880d63a3e4ea03a61bd43a05dea74a.zip
netapi: use NetUserEnum filter in example code.
Guenther (This used to be commit ad105177686da823ef9cce1c1bedaf0f84a49b8c)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/netapi/examples/user/user_enum.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/netapi/examples/user/user_enum.c b/source3/lib/netapi/examples/user/user_enum.c
index e1f6bda10b..569d5a62d6 100644
--- a/source3/lib/netapi/examples/user/user_enum.c
+++ b/source3/lib/netapi/examples/user/user_enum.c
@@ -71,7 +71,7 @@ int main(int argc, const char **argv)
do {
status = NetUserEnum(hostname,
0,
- 0,
+ FILTER_NORMAL_ACCOUNT,
&buffer,
(uint32_t)-1,
&entries_read,