diff options
author | Andrew Bartlett <abartlet@samba.org> | 2001-12-05 11:00:26 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2001-12-05 11:00:26 +0000 |
commit | 8ba00d147bbdb705b411e182433632c81a036188 (patch) | |
tree | ebbeb3b46c5cb3a2da025a324b1cc31f8af182ac /source3/utils/net.h | |
parent | 0d09562eed608941b2bee29e37d7ea4ba33582c3 (diff) | |
download | samba-8ba00d147bbdb705b411e182433632c81a036188.tar.gz samba-8ba00d147bbdb705b411e182433632c81a036188.tar.xz samba-8ba00d147bbdb705b411e182433632c81a036188.zip |
OK. Smbpasswd -j is DEAD.
This moves the rest of the functionality into the 'net rpc join' code.
Futhermore, this moves that entire area over to the libsmb codebase, rather
than the crufty old rpc_client stuff.
I have also fixed up the smbpasswd -a -m bug in the process.
We also have a new 'net rpc changetrustpw' that can be called from a
cron-job to regularly change the trust account password, for sites
that run winbind but not smbd.
With a little more work, we can kill rpc_client from smbd entirly!
(It is mostly the domain auth stuff - which I can rework - and the
spoolss stuff that sombody else will need to look over).
Andrew Bartlett
(This used to be commit 575897e879fc175ba702adf245384033342c903d)
Diffstat (limited to 'source3/utils/net.h')
-rw-r--r-- | source3/utils/net.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/utils/net.h b/source3/utils/net.h index bdc4a088682..e912efe09e0 100644 --- a/source3/utils/net.h +++ b/source3/utils/net.h @@ -26,13 +26,13 @@ For example, localhost is insane for a 'join' operation. */ -#define NET_FLAGS_LOCALHOST_DEFAULT_INSANE 3 +#define NET_FLAGS_LOCALHOST_DEFAULT_INSANE 4 /* We want to find the PDC only */ -#define NET_FLAGS_PDC 4 +#define NET_FLAGS_PDC 8 /* We want an anonymous connection */ -#define NET_FLAGS_ANONYMOUS 5 +#define NET_FLAGS_ANONYMOUS 16 extern int opt_maxusers; |