do { $emptyOid ++;
print "Warning : no OID for attributes element at line $attr->{LINENUMBER} \n";
} if( !defined($attr->{OID}));
- print "### Unknow element embedded in ATTRIBUTE at line $attr->{LINENUMBER} :\n$attr->{DATA}\n"
+ print "### Unknown element embedded in ATTRIBUTE at line $attr->{LINENUMBER} :\n$attr->{DATA}\n"
} if($attr->{DATA} =~ /\w/);
}
do { $emptyOid++ ;
print "Warning : no OID for object class element at line $objc->{LINENUMBER} \n";
} if( $objc->{OID} eq "");
- print "### Unknow element embedded in OBJECT CLASS at line $objc->{LINENUMBER} :\n$objc->{DATA}\n"
+ print "### Unknown element embedded in OBJECT CLASS at line $objc->{LINENUMBER} :\n$objc->{DATA}\n"
} if($objc->{DATA} =~ /\w/);
}
s/\t/ /;
$oc_string .= $_;
- $endParenthesis = 0; # best methode to accept an elements :
+ $endParenthesis = 0; # best method to accept an elements :
$beginParenthesis = 0; # left parenthesis sum == right parenthesis sum, so we are sure to
for(my $i=0;$ i < length($oc_string); $i++) { # have an element.
$beginParenthesis++ if(substr ($oc_string, $i, 1) eq "(");
[homes]
comment = Home Directories
- browseable = no
+ browsable = no
read only = no
create mode = 0750
[oecdfs]
comment = Corporate Cell
path = /.../corp.boston.oec.com/fs
- browseable = no
+ browsable = no
read only = no
create mode = 0750
[develdfs]
comment = Technology Development Cell
path = /.../devel.boston.oec.com/fs
- browseable = no
+ browsable = no
read only = no
create mode = 0750
char smb_path[32768] = "smb://";
if ((ctx = create_smbctx()) == NULL){
- perror("Cant create samba context.");
+ perror("Can't create samba context.");
return 1;
}
sambaconf = "/etc/samba/smb.conf"
logtype = file
-# Change and uncomment the below value to force the servername, some clients ocassionally
+# Change and uncomment the below value to force the servername, some clients occasionally
# have trouble picking up the right servername so it may need to be set. It CANNOT be left blank AND uncommented.
servername = "TIGER"
PLEASE NOT THAT I AM CONSIDERING THIS A BETA UNTIL I GET SOME FEEDBACK
FROM USERS ON WHETHER THE MACRO FEATURE WORKS FOR THEM.
-added the ability to define substitution macros: see the useage section
+added the ability to define substitution macros: see the usage section
removed the large docstring from the file and moved the information to
-the USEAGE section of this file
+the USAGE section of this file
cleaned up the code and made more flexible
root postexec = rm /usr/local/samba/netlogon/%U.bat
======
-USEAGE
+USAGE
======
PLEASE SEE NTLOGON.CONF FOR A DETAILED CONFIGURATION EXAMPLE
This programme will build a Windows NT logon script for users connecting
-to a Samba server. Samba macros that are curently understood:
+to a Samba server. Samba macros that are currently understood:
%U user name
%G group name
varsub = string.strip(vardef.group(2)) # and trailing spaces
if varname == '':
- print "Error: No substition name specified line: %d" % idx
+ print "Error: No substitution name specified line: %d" % idx
sys.exit(1)
if varsub == '':
# afterwards)
;krb5_ccache_type =
-# make successful authentication dependend on membership of one SID
+# make successful authentication dependent on membership of one SID
# (can also take a name)
;require_membership_of =
This program converts a libpcap network trace file (produced by ethereal or
another pcap-aware network analyzer) into a output suitable for nbench. The
-only option it takes it -i which supresses any reads/writes/closes that use a
+only option it takes is -i which suppresses any reads/writes/closes that use a
FID that does not have a corresponding ntcreateandx
Limitations
#!/usr/bin/perl
#
-# 0 == stdin == docuement
+# 0 == stdin == document
# 1 == stdout == printer
# 2 == stderr == logging
#
#!/usr/bin/perl
#
-# 0 == stdin == docuement
+# 0 == stdin == document
# 1 == stdout == printer
# 2 == stderr == logging
#
-----------------------
To resolve this problem the idmap tdb2 module has the ability to call
-out to an external script whenever it meeds an unknown SID or UID/GID
+out to an external script whenever it needs an unknown SID or UID/GID
for the first time. It is then the job of that script to provide a
mapping consistent with whatever external system is in place (such as
NIS), and return the mapped result to winbind.
# syntax:
# findsmb [-d|-D] [-r] [subnet broadcast address]
#
-# with no agrument it will list machines on the current subnet
+# with no argument it will list machines on the current subnet
#
# There will be a "+" in front of the workgroup name for machines that are
# local master browsers for that workgroup. There will be an "*" in front
$server = $options{S};
}
else {
- print "ERROR: madatory argument '-S' missing\n";
+ print "ERROR: mandatory argument '-S' missing\n";
usage();
exit 1;
}
$server = $options{S};
}
else {
- print "ERROR: madatory argument '-S' missing\n";
+ print "ERROR: mandatory argument '-S' missing\n";
usage();
exit 1;
}
#============================ Share Definitions ==============================
[homes]
comment = Home Directories
- browseable = no
+ browsable = no
writable = yes
# Un-comment the following and create the netlogon directory for Domain Logons
# the default is to use the user's home directory
;[Profiles]
; path = /usr/local/samba/profiles
-; browseable = no
+; browsable = no
; guest ok = yes
[printers]
comment = All Printers
path = /usr/spool/samba
- browseable = no
+ browsable = no
# Set public = yes to allow user 'guest account' to print
guest ok = no
writable = no
`testing for AIDS on a regular basis', if you know what I mean).\r
\r
This is VALIDCHR, a little DOS program I wrote to create\r
-an apropriate `valid chars =' config parameter.\r
+an appropriate `valid chars =' config parameter.\r
It is freeware and is thought to be distributed freely with Samba.\r
\r
WARNING:\r
} else if ((strstr(cmdline, var_runas) == cmdline) && (cmdline[l = strlen(var_runas)] == ' ')) {
c->runas = strdup(cmdline + l + 1);
} else {
- hprintf(c->pipe, "error Unknown commad (%s)\n", c->cmd);
+ hprintf(c->pipe, "error Unknown command (%s)\n", c->cmd);
goto finish;
}
res = 1;