summaryrefslogtreecommitdiffstats
path: root/source/include/smb.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2001-12-05 11:00:26 +0000
committerAndrew Bartlett <abartlet@samba.org>2001-12-05 11:00:26 +0000
commit575897e879fc175ba702adf245384033342c903d (patch)
treebf9454363f2eea3df8bf273e0bf10948185abf1b /source/include/smb.h
parentc76c1f6904510d6ecca3453f91433420f22b7bd6 (diff)
downloadsamba-575897e879fc175ba702adf245384033342c903d.tar.gz
samba-575897e879fc175ba702adf245384033342c903d.tar.xz
samba-575897e879fc175ba702adf245384033342c903d.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
Diffstat (limited to 'source/include/smb.h')
-rw-r--r--source/include/smb.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/include/smb.h b/source/include/smb.h
index 0ac2118b94c..fa4cec4bdbf 100644
--- a/source/include/smb.h
+++ b/source/include/smb.h
@@ -1648,4 +1648,10 @@ typedef struct {
void *cd_direct, *cd_pull, *cd_push;
} *smb_iconv_t;
+/* The maximum length of a trust account password.
+ Used when we randomly create it, 15 char passwords
+ exceed NT4's max password length */
+
+#define DEFAULT_TRUST_ACCOUNT_PASSWORD_LENGTH 14
+
#endif /* _SMB_H */