summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorSamba Release Account <samba-bugs@samba.org>1997-02-23 05:18:09 +0000
committerSamba Release Account <samba-bugs@samba.org>1997-02-23 05:18:09 +0000
commitdf42b0a7bcdaae96035ecb1d434a66735358fd95 (patch)
treea7d6b0e651b294a385b7524484beb54828bdf018 /source3/include
parentf71717efd03611459b90b6939f53410ebbacc303 (diff)
downloadsamba-df42b0a7bcdaae96035ecb1d434a66735358fd95.tar.gz
samba-df42b0a7bcdaae96035ecb1d434a66735358fd95.tar.bz2
samba-df42b0a7bcdaae96035ecb1d434a66735358fd95.zip
Makefile: Added cleandir target.
chgpasswd.c: Added patch from Roland Haag <haag@think.de> to allow password changes to be done more than once. loadparm.c: Added entries for the "directory mode/directory mask parameters". Changed default file mode to 644. proto.h: Added sys_gethostbyname. server.c: Added directory mode changes. system.c: Added sys_gethostbyname. trans2.c: Added NT_FILE_ATTRIBUTE_NORMAL patch from Roger Orr <rorr@csfp.csfb.com> trans2.h: Defined NT_FILE_ATTRIBUTE_NORMAL for above patch. util.c: Changes calls to gethostbyname to sys_gethostbyname. jra@cygnus.com (This used to be commit d8d8a7ee00971fca7a8d079bfb547af107df35a4)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h2
-rw-r--r--source3/include/trans2.h5
2 files changed, 7 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 5993e1d67b..2cd8cfe2a8 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -238,6 +238,7 @@ BOOL lp_map_system(int );
BOOL lp_delete_readonly(int );
BOOL lp_fake_oplocks(int );
int lp_create_mode(int );
+int lp_dir_mode(int );
int lp_max_connections(int );
int lp_defaultcase(int );
int lp_minprintspace(int );
@@ -762,6 +763,7 @@ int sys_rename(char *from, char *to);
int sys_chmod(char *fname,int mode);
int sys_chown(char *fname,int uid,int gid);
int sys_chroot(char *dname);
+struct hostent *sys_gethostbyname(char *name);
/*The following definitions come from testparm.c */
diff --git a/source3/include/trans2.h b/source3/include/trans2.h
index cc366ccaea..b99f1e6028 100644
--- a/source3/include/trans2.h
+++ b/source3/include/trans2.h
@@ -228,6 +228,11 @@ Byte offset Type name description
#define DIRLEN_GUESS (45+MAX(l1_achName,l2_achName))
+/* NT uses a FILE_ATTRIBUTE_NORMAL when no other attributes
+ are set. */
+
+#define NT_FILE_ATTRIBUTE_NORMAL 0x80
+
/* Function prototypes */