diff options
author | Andrew Tridgell <tridge@samba.org> | 1996-10-04 09:31:07 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1996-10-04 09:31:07 +0000 |
commit | e23f2b9cef8428bda51b413642d9720ba5c590d5 (patch) | |
tree | da1eb0426445f4d2f2d5304f6b8969074c711998 /source3/include | |
parent | f60dec78f993721c31d1650a0710a1a790efd76a (diff) | |
download | samba-e23f2b9cef8428bda51b413642d9720ba5c590d5.tar.gz samba-e23f2b9cef8428bda51b413642d9720ba5c590d5.tar.bz2 samba-e23f2b9cef8428bda51b413642d9720ba5c590d5.zip |
- changed the umask handling. We now set the umask to 0 and explicitly
set the mode on all created files. I think this is a better policy.
- change the debug levels on some items
- fix a charset handling bug which affected foreign and extended
charset users
- no longer switch back to the original directory when idle, instead
switch to / as the original directory may not be readable by ordinary
users.
- fix some bugs where the create mode of files was not being
explicitly set (it was relying on the umask and using fopen). Not a
big bug as it only affected obscure commands like the messaging ops.
- got rid of the lock code in the lpq cache as its no longer needed
- rewrote smbrun to be faster and to remove the security hole. We now
don't actually need a external smbrun binary, its all done by smbd.
- add a more explicit warning about uids and gids of -1 or 65535
(This used to be commit 5aa735c940ccdb6acae5f28449d484181c912e49)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/local.h | 4 | ||||
-rw-r--r-- | source3/include/proto.h | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/source3/include/local.h b/source3/include/local.h index 3f8572e73d..115617094c 100644 --- a/source3/include/local.h +++ b/source3/include/local.h @@ -154,4 +154,8 @@ #define LONG_CONNECT_TIMEOUT 30 #define SHORT_CONNECT_TIMEOUT 5 + +/* the directory to sit in when idle */ +#define IDLE_DIR "/" + #endif diff --git a/source3/include/proto.h b/source3/include/proto.h index 1b76591abd..8b26aa062f 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -805,7 +805,7 @@ void init_uid(void); BOOL become_guest(void); BOOL become_user(int cnum, int uid); BOOL unbecome_user(void ); -int smbrun(char *cmd,char *outfile); +int smbrun(char *cmd,char *outfile,BOOL shared); /*The following definitions come from username.c */ |