kai/samba.git
20 years agoAdding the "Using Samba" book to the packaging in HEAD.
Shirish Kalele [Fri, 13 Apr 2001 18:18:25 +0000 (18:18 +0000)]
Adding the "Using Samba" book to the packaging in HEAD.

20 years agoUpdated with Andrew Bartlett patch.
John Terpstra [Fri, 13 Apr 2001 04:27:50 +0000 (04:27 +0000)]
Updated with Andrew Bartlett patch.

20 years agoUpdated Major/Minor version to 4.50 - see notes.
John Terpstra [Fri, 13 Apr 2001 02:51:58 +0000 (02:51 +0000)]
Updated Major/Minor version to 4.50 - see notes.

20 years agoAs Andrew suggested, make smbrun return a fd for a deleted file which can then
Jeremy Allison [Fri, 13 Apr 2001 00:37:00 +0000 (00:37 +0000)]
As Andrew suggested, make smbrun return a fd for a deleted file which can then
be read.
Jeremy.

20 years agoforgot one thing
Gerald Carter [Thu, 12 Apr 2001 22:15:57 +0000 (22:15 +0000)]
forgot one thing

20 years agostill working on it
Gerald Carter [Thu, 12 Apr 2001 22:14:20 +0000 (22:14 +0000)]
still working on it

20 years agoCan't use space in random string used for exec.
Jeremy Allison [Thu, 12 Apr 2001 07:20:15 +0000 (07:20 +0000)]
Can't use space in random string used for exec.
Jeremy.

20 years agoChanged lp_add/delete/enum scripts to use lockdir if spool dir doesn't
Jeremy Allison [Thu, 12 Apr 2001 07:00:08 +0000 (07:00 +0000)]
Changed lp_add/delete/enum scripts to use lockdir if spool dir doesn't
exist for printer. Rather than using pid for suffix, use a 16 byte random
string. Created generate_random_str() function in genrand.c. Still needs
more testing but this is the way to go.
Jeremy.

20 years agoAdded a caching system to smbsh. Previously access to workgroup or server
Tim Potter [Thu, 12 Apr 2001 05:53:07 +0000 (05:53 +0000)]
Added a caching system to smbsh.  Previously access to workgroup or server
directories under /smb generated net share enum or net server enum calls.
For large networks this could result in bad performance.  We now cache these
results and only call net * enums after the cache timeout has exceeded.

20 years agoMerged John's changes.
Jeremy Allison [Thu, 12 Apr 2001 05:32:27 +0000 (05:32 +0000)]
Merged John's changes.
Jeremy.

20 years agofix broken links in SWAT due to upper case anchors in the generated
Gerald Carter [Thu, 12 Apr 2001 05:24:57 +0000 (05:24 +0000)]
fix broken links in SWAT due to upper case anchors in the generated
HTML man pages.  Spotted by Herb.

20 years agoTo stop people complaining about the mktemp call, move it into lib/util.c. Thanks
Jeremy Allison [Wed, 11 Apr 2001 23:19:08 +0000 (23:19 +0000)]
To stop people complaining about the mktemp call, move it into lib/util.c. Thanks
to Andrew for all this code. Fixed extra line in lib/sysacls.c that broke
XFS ACL code.
Jeremy.

20 years agoFix for core dump in security = share code with new share security db.
Jeremy Allison [Wed, 11 Apr 2001 21:19:25 +0000 (21:19 +0000)]
Fix for core dump in security = share code with new share security db.
Jeremy.

20 years agoAdding Solaris packaging files to HEAD.
Shirish Kalele [Wed, 11 Apr 2001 02:28:38 +0000 (02:28 +0000)]
Adding Solaris packaging files to HEAD.

20 years agoChanged the order of -kPIC and -kpic.
Jeremy Allison [Wed, 11 Apr 2001 02:02:45 +0000 (02:02 +0000)]
Changed the order of -kPIC and -kpic.
Added patch from Michael Davidson <md@sco.COM> for Solaris/Unixware ACLS.
Jeremy.

20 years agoFixed some compiler warnings.
Tim Potter [Wed, 11 Apr 2001 01:50:12 +0000 (01:50 +0000)]
Fixed some compiler warnings.

20 years agoAdded SMB_ prefix to enums that clash with Solaris ACL definitions.
Jeremy Allison [Wed, 11 Apr 2001 01:34:37 +0000 (01:34 +0000)]
Added SMB_ prefix to enums that clash with Solaris ACL definitions.
Jeremy.

20 years agoUpdating pampass from Samba-2.2 code tree. ===> JHT
John Terpstra [Wed, 11 Apr 2001 01:29:42 +0000 (01:29 +0000)]
Updating pampass from Samba-2.2 code tree. ===> JHT

20 years agoRestrict dfs add and dfs remote to root at Shirish's advice.
Jeremy Allison [Wed, 11 Apr 2001 00:05:23 +0000 (00:05 +0000)]
Restrict dfs add and dfs remote to root at Shirish's advice.
Jeremy.

20 years agoMerged in missing break fix from Shirish.
Jeremy Allison [Tue, 10 Apr 2001 23:58:27 +0000 (23:58 +0000)]
Merged in missing break fix from Shirish.
Jeremy.

20 years agoFixed missing HAVE_STDARG_H.
Jeremy Allison [Tue, 10 Apr 2001 22:01:53 +0000 (22:01 +0000)]
Fixed missing HAVE_STDARG_H.
Jeremy.

20 years agoFixed --with-automount compile error.
Jeremy Allison [Tue, 10 Apr 2001 21:43:37 +0000 (21:43 +0000)]
Fixed --with-automount compile error.
Jeremy.

20 years agoAdded HAVE_STDARG_H to tdbutil.c
Jeremy Allison [Tue, 10 Apr 2001 21:07:04 +0000 (21:07 +0000)]
Added HAVE_STDARG_H to tdbutil.c
Jeremy.

20 years agopassdb/pass_check.c: Ensure second check is done only if given username is all in...
Jeremy Allison [Tue, 10 Apr 2001 19:43:14 +0000 (19:43 +0000)]
passdb/pass_check.c: Ensure second check is done only if given username is all in caps.
rpc_server/srv_srvsvc_nt.c: Added "CONFIGFILE" arg to scripts so path to smb.conf is given.
Jeremy.

20 years agoAdded JohnT and Andrew Bartlett's PAM changes.
Jeremy Allison [Tue, 10 Apr 2001 18:10:38 +0000 (18:10 +0000)]
Added JohnT and Andrew Bartlett's PAM changes.
Jeremy.

20 years agoUse message system to notify when smb.conf is updated.
Jeremy Allison [Tue, 10 Apr 2001 01:44:45 +0000 (01:44 +0000)]
Use message system to notify when smb.conf is updated.
Jeremy.

20 years agolooking towards abstracting the passdb and uidmapping interfaces.
Gerald Carter [Mon, 9 Apr 2001 22:11:37 +0000 (22:11 +0000)]
looking towards abstracting the passdb and uidmapping interfaces.
This is more of a note to myself.  In not used anywhere yet.

20 years agoFixup warnings about extra ';' from SGI compiler.
Jeremy Allison [Mon, 9 Apr 2001 21:03:48 +0000 (21:03 +0000)]
Fixup warnings about extra ';' from SGI compiler.
Jeremy.

20 years agoRemoved "read only" arg as it isn't useful.
Jeremy Allison [Mon, 9 Apr 2001 20:12:53 +0000 (20:12 +0000)]
Removed "read only" arg as it isn't useful.
Jeremy.

20 years agoTidy up return codes for server manager.
Jeremy Allison [Mon, 9 Apr 2001 18:03:02 +0000 (18:03 +0000)]
Tidy up return codes for server manager.
Jeremy.

20 years agoGet/Set of SD's on shares now works. Correctly ensure scripts exist before
Jeremy Allison [Mon, 9 Apr 2001 17:10:06 +0000 (17:10 +0000)]
Get/Set of SD's on shares now works. Correctly ensure scripts exist before
calling.
Jeremy.

20 years agoSet SD's for share. Added level 1501. Map GENERIC file bits to specific bits.
Jeremy Allison [Mon, 9 Apr 2001 08:00:19 +0000 (08:00 +0000)]
Set SD's for share. Added level 1501. Map GENERIC file bits to specific bits.
Jeremy.

20 years agoEnsure Everyone/All access is mapped correctly to file generic perms to allow
Jeremy Allison [Mon, 9 Apr 2001 07:03:28 +0000 (07:03 +0000)]
Ensure Everyone/All access is mapped correctly to file generic perms to allow
anonymous IPC access.
Jeremy.

20 years agoAdded set/get SD's on shares. Check before tcon.
Jeremy Allison [Mon, 9 Apr 2001 06:36:38 +0000 (06:36 +0000)]
Added set/get SD's on shares. Check before tcon.
Jeremy.

20 years agoHEAD specific slprintf paranoia fixes.
Jeremy Allison [Sun, 8 Apr 2001 20:31:39 +0000 (20:31 +0000)]
HEAD specific slprintf paranoia fixes.
Jeremy.

20 years agoGot "medieval on our ass" about adding the -1 to slprintf.
Jeremy Allison [Sun, 8 Apr 2001 20:22:39 +0000 (20:22 +0000)]
Got "medieval on our ass" about adding the -1 to slprintf.
Jeremy.

20 years agoAdded per-share security tdb. Tidied up many slprintfs (need -1 on length).
Jeremy Allison [Sun, 8 Apr 2001 20:01:51 +0000 (20:01 +0000)]
Added per-share security tdb. Tidied up many slprintfs (need -1 on length).
Jeremy.

20 years agoFixed up the "add" command - although not SD's yet. Now for the SD db and
Jeremy Allison [Sat, 7 Apr 2001 18:46:47 +0000 (18:46 +0000)]
Fixed up the "add" command - although not SD's yet. Now for the SD db and
the "change" command.
Jeremy.

20 years agoAdded 3 params to manipulate shares. "add share command/change share command/
Jeremy Allison [Sat, 7 Apr 2001 00:36:38 +0000 (00:36 +0000)]
Added 3 params to manipulate shares. "add share command/change share command/
delete share command". Implemented "delete" - more work to come on add and
change.
Jeremy.

20 years agoFix from Ed Boraas for not core dumping when out of connection structs.
Jeremy Allison [Fri, 6 Apr 2001 20:32:36 +0000 (20:32 +0000)]
Fix from Ed Boraas for not core dumping when out of connection structs.
Jeremy.

20 years agokeep cflags from being duplicated if defined in environment
Herb Lewis [Fri, 6 Apr 2001 18:37:55 +0000 (18:37 +0000)]
keep cflags from being duplicated if defined in environment

20 years agoImplemented stub function for NET_SHARE_DELETE. Now to implement the real
Jeremy Allison [Fri, 6 Apr 2001 18:25:17 +0000 (18:25 +0000)]
Implemented stub function for NET_SHARE_DELETE. Now to implement the real
internals to support server manager.
Jeremy

20 years agoAdded stub function for NET_SHARE_ADD. Once this is implemented to call a hook
Jeremy Allison [Fri, 6 Apr 2001 17:41:47 +0000 (17:41 +0000)]
Added stub function for NET_SHARE_ADD. Once this is implemented to call a hook
function (same for NET_SHARE_DELETE and NET_SHARE_SET) we will be able to manage
the shares section in smb.conf via NT server manager........
This should enhance the friendliness of Samba in NT-only shops by an order of
magnitude.
Jeremy.

20 years agoIf we can't open the username map file, at least print the strerror.
Jeremy Allison [Fri, 6 Apr 2001 17:13:16 +0000 (17:13 +0000)]
If we can't open the username map file, at least print the strerror.
Jeremy.

20 years agoNT sucks ! :-). We have to prefix the UNIX path with a C: in order to pass the
Jeremy Allison [Fri, 6 Apr 2001 02:12:07 +0000 (02:12 +0000)]
NT sucks ! :-). We have to prefix the UNIX path with a C: in order to pass the
server manager tests :-). Ensure we don't set a return level on set as
server manager barfs....
Jeremy.

20 years agoWe can now use server manager to look at Samba shares. NT still expects a ":"
Jeremy Allison [Fri, 6 Apr 2001 01:39:12 +0000 (01:39 +0000)]
We can now use server manager to look at Samba shares. NT still expects a ":"
in the path though.... I'm looking into it.
Jeremy.

20 years agoSetup syslog correctly in swat. Patch from Andrew Bartlett.
Jeremy Allison [Thu, 5 Apr 2001 21:31:12 +0000 (21:31 +0000)]
Setup syslog correctly in swat. Patch from Andrew Bartlett.
Jeremy.

20 years agoFix from Michael Davidson <md@sco.COM> to merge Solaris and UnixWare ACLs.
Jeremy Allison [Thu, 5 Apr 2001 20:52:02 +0000 (20:52 +0000)]
Fix from Michael Davidson <md@sco.COM> to merge Solaris and UnixWare ACLs.
Jeremy.

20 years agoFix from "Romeril, Alan" <a.romeril@ic.ac.uk> to get his NFS quota code
Jeremy Allison [Thu, 5 Apr 2001 20:46:15 +0000 (20:46 +0000)]
Fix from  "Romeril, Alan" <a.romeril@ic.ac.uk> to get his NFS quota code
to work on Solaris 2.6.
Jeremy.

20 years agoTidy up tmp file handling.
Jeremy Allison [Thu, 5 Apr 2001 19:17:54 +0000 (19:17 +0000)]
Tidy up tmp file handling.
Jeremy.

20 years agoI know we're supposed to be feature frozen, but I couldn't resist this... :-).
Jeremy Allison [Wed, 4 Apr 2001 23:42:17 +0000 (23:42 +0000)]
I know we're supposed to be feature frozen, but I couldn't resist this... :-).
I worked out and added the per-share get/set RPCs for security descriptors.
Currently this code returns Everyone, full access on get and permission denied
on set, but backending this with a tdb and checking it on tconX (to give full NT
semantics for security on shares) is now an excersise for the reader... :-).
Jeremy.

20 years agoFix for broken RelientUNIX.
Jeremy Allison [Wed, 4 Apr 2001 17:20:57 +0000 (17:20 +0000)]
Fix for broken RelientUNIX.
Jeremy.

20 years agoMissed forms update - my CVS mistake.
Jeremy Allison [Tue, 3 Apr 2001 23:09:04 +0000 (23:09 +0000)]
Missed forms update - my CVS mistake.
Jeremy.

20 years agotest commit for jeremy
Andrew Tridgell [Tue, 3 Apr 2001 22:52:38 +0000 (22:52 +0000)]
test commit for jeremy

20 years agoSync up with new NT forms code.
Jeremy Allison [Tue, 3 Apr 2001 22:41:31 +0000 (22:41 +0000)]
Sync up with new NT forms code.
Jeremy.

20 years agoAdded XFS ACLs on Linux. Code from John Trostel <jtrostel@connex.com>.
Jeremy Allison [Tue, 3 Apr 2001 00:40:01 +0000 (00:40 +0000)]
Added XFS ACLs on Linux. Code from John Trostel <jtrostel@connex.com>.
Jeremy.

20 years agoIRIX ACLs from Herb.
Jeremy Allison [Mon, 2 Apr 2001 23:05:25 +0000 (23:05 +0000)]
IRIX ACLs from Herb.
Jeremy.

20 years agoinclude/ntdomain.h:
Jeremy Allison [Mon, 2 Apr 2001 22:27:40 +0000 (22:27 +0000)]
include/ntdomain.h:
rpc_server/srv_lsa_hnd.c: Remove back pointer from policy handle list as the pipe
that opened the handle may have been closed. We were dereferencing
into something that had been closed.
rpc_parse/parse_spoolss.c: Sync up with Gerald's changes in 2.2.
lib/replace.c: Don't do proto on setlinebuf as it differs between systems.
Jeremy.

20 years agoIntegrated solaris nfs quota code from Alan Romeril <a.romeril@ic.ac.uk>
Jeremy Allison [Sun, 1 Apr 2001 19:00:43 +0000 (19:00 +0000)]
Integrated solaris nfs quota code from Alan Romeril <a.romeril@ic.ac.uk>
Jeremy

20 years agoconfigure configure.in include/config.h.in lib/replace.c: Added test and replacement
Jeremy Allison [Sat, 31 Mar 2001 19:06:45 +0000 (19:06 +0000)]
configure configure.in include/config.h.in lib/replace.c: Added test and replacement
for setlinebuf which apparantly doesn't exist on HPUX 11.
include/byteorder.h:
rpc_parse/parse_prs.c:
Ding Dong the witch is dead ! :-). Ok, I'm happy 'cos I've finally deleted
all the *HORRIBLE* DBG_RW_XXX and RW_XXX macros from include/byteorder.h.
They were macros that included macros that had conditional macros included.
No one understood them (they were the cause of most of the bigendian issue
bugs). Finally, I went into parse_prs.c and inlined all of that stuff with
regular function calls. They're understandable, they're easy to edit and
they don't include macros !
JF - please look at the one comment I added (JF PLEASE CHECK). I have
tested this partly with IRIX (a bigendian system) running with AS/U on
a Solaris box in SGI's lab, and I've also confirmed these new changes
work with W2K (vmware) but there may be the odd bug lurking. Herb, if
you could re-checkout and test again with this code that would help.

Extra.  Fixed bug spotted by the sharp eyes of JF - big endian unicode
packet would cause a early truncate of string parsing as we were checking for a char *
0, not a uint16 * 0.

Jeremy.

20 years agostarted converting some of the only-ascii code to use srvstr_*
Andrew Tridgell [Sat, 31 Mar 2001 13:48:24 +0000 (13:48 +0000)]
started converting some of the only-ascii code to use srvstr_*

added srvstr_push_ascii() and srvstr_pull_ascii() as convenience
routines to replace the current usage of strncpy() like fns
for packet pull/push. We need to do this in *lots* of places
in Samba in order to get our codepage handling right

20 years agoutils/torture.c: Added one more delete on close test.
Jeremy Allison [Fri, 30 Mar 2001 21:53:33 +0000 (21:53 +0000)]
utils/torture.c: Added one more delete on close test.
smbd/notify_kernel.c: This code was wrong I believe. It was structured to only
return a changenotify event on being called from timeout processing (t != 0).
The kernel changenotify events should fire on *asynchronous* processing (EINTR
return from select caused by the realtime signal delivery) with t == 0.
Reported by Juergen Hasch (Hasch@t-online.de).
ANDREW PLEASE CHECK THIS !
Currently the hash style changenotify is done on async processing as well
as timeout processing. As this is expensive we may want to revisit doing this
and maybe set it to fire only on timeout processing.
Jeremy.

20 years agoFixed extern ref typo for file generic perms. 2am coding strikes again :-).
Jeremy Allison [Fri, 30 Mar 2001 18:07:43 +0000 (18:07 +0000)]
Fixed extern ref typo for file generic perms. 2am coding strikes again :-).
Jeremy.

20 years agoThis is a big, rather ugly patch. Whilst investigating the files not truncated
Jeremy Allison [Fri, 30 Mar 2001 08:57:24 +0000 (08:57 +0000)]
This is a big, rather ugly patch. Whilst investigating the files not truncated
when copying to a full disk problem, I discovered that we were not allowing
the delete on close flag to be set properly, this led to other things, and
after investigation of the proper delete on close semantics and their relationship
to the file_share_delete flag I discovered there were some cases where we
weren't doing the deny modes properly. And this after only 5 years working
on them..... :-) :-).
So here's the latest attempt. I realised the delete on close flag needs to
be set across all smbds with a dev/ino pair open - in addition, the delete
on close flag, allow share delete and delete access requested all need to
be stored in the share mode tdb.
The "delete_on_close" entry in the fsp struct is now redundant and should
really be removed. This may also mean we can get rid of the "iterate_fsp"
calls that I didn't like adding in the first place. Whilst doing this patch,
I also discovered we needed to do the se_map_generic() call for file opens
and POSIX ACL mapping, so I added that also.
This code, although ugly, now passes the deny mode torture tests plus the
delete on close tests I added. I do need to add one more multiple connection
delete on close test to make sure I got the semantics exactly right, plus we
should also (as Andrew suggested) move to random testing here.

The good news is that NT should now correctly delete the file on disk
full error when copying to a disk :-).

Jeremy.

20 years agoAdded one more test - just to make sure flag can be unset.
Jeremy Allison [Fri, 30 Mar 2001 06:31:22 +0000 (06:31 +0000)]
Added one more test - just to make sure flag can be unset.
Jeremy.

20 years agoExpanded delete on close test to 6 cases. I now understand the semantics of
Jeremy Allison [Fri, 30 Mar 2001 06:22:14 +0000 (06:22 +0000)]
Expanded delete on close test to 6 cases. I now understand the semantics of
this and the FILE_SHARE_DELETE flag exactly. The bad news is it means our
share mode handling is broken (again :-).
Jeremy.

20 years agoChanged to using GENERIC_XX constants instead of hex values to make
Jeremy Allison [Fri, 30 Mar 2001 02:48:06 +0000 (02:48 +0000)]
Changed to using GENERIC_XX constants instead of hex values to make
delete test explicit.
Jeremy.

20 years agoAdded delete on close test that has allowed me to determine how w2k
Jeremy Allison [Fri, 30 Mar 2001 00:35:47 +0000 (00:35 +0000)]
Added delete on close test that has allowed me to determine how w2k
behaves in this situation.
Jeremy.

20 years agoAdded cli_nt_delete_on_close() call to allow flag to be set for torture tests.
Jeremy Allison [Thu, 29 Mar 2001 02:58:47 +0000 (02:58 +0000)]
Added cli_nt_delete_on_close() call to allow flag to be set for torture tests.
Jeremy.

20 years agoAdded cli_nt_create_full() as a way to get at all the ntcreate parameters.
Jeremy Allison [Thu, 29 Mar 2001 00:58:52 +0000 (00:58 +0000)]
Added cli_nt_create_full() as a way to get at all the ntcreate parameters.
Used in smbtorture mods. Re-cast cli_nt_create() as a call to cli_nt_create_full().
Jeremy.

20 years agoInsure fix. Don't read 4 bytes from data area unless there are 4 bytes to read.
Jeremy Allison [Wed, 28 Mar 2001 23:20:46 +0000 (23:20 +0000)]
Insure fix. Don't read 4 bytes from data area unless there are 4 bytes to read.
Jeremy.

20 years agoFixed typo bug spotted by Jim Vopni jimv@metrics.com. Caused no status to
Jeremy Allison [Wed, 28 Mar 2001 18:12:49 +0000 (18:12 +0000)]
Fixed typo bug spotted by Jim Vopni jimv@metrics.com. Caused no status to
be returned.
Jeremy.
CVS ----------------------------------------------------------------------

20 years agorename of 16 new_smb_io functions to smb_io_* for consistency sake
Gerald Carter [Wed, 28 Mar 2001 16:08:00 +0000 (16:08 +0000)]
rename of 16 new_smb_io functions to smb_io_* for consistency sake
(merge from 2.2)

20 years agoMore memory leaks fixed courtesy of Insure ...
Richard Sharpe [Wed, 28 Mar 2001 14:45:57 +0000 (14:45 +0000)]
More memory leaks fixed courtesy of Insure ...

20 years agoChanged usage message for query_groupmem and query_usergroups as they don't
Tim Potter [Wed, 28 Mar 2001 05:01:54 +0000 (05:01 +0000)]
Changed usage message for query_groupmem and query_usergroups as they don't
convert names to rids yet.

20 years agoFixed the problem Gerald reported. Unfortunately we need to go back to
Jeremy Allison [Wed, 28 Mar 2001 01:33:57 +0000 (01:33 +0000)]
Fixed the problem Gerald reported. Unfortunately we need to go back to
reporting imaginary "default" inheritable ACLs on directories, otherwise,
when you add an entry and click on apply without noticing there's no
default entry associated with it, it applies a null acl on the files
within the directory (hey, that's what you told NT you wanted, right ! :-).
Also ensure that minimum permissions for a directory are r-x for owner,
not just r--.
Jeremy.

20 years agomake proto
Gerald Carter [Tue, 27 Mar 2001 18:19:21 +0000 (18:19 +0000)]
make proto

20 years agomerge from 2.2.
Gerald Carter [Tue, 27 Mar 2001 18:19:01 +0000 (18:19 +0000)]
merge from 2.2.

20 years agoOne small Insure fix for a memory leak. More fixes to come perhaps ...
Richard Sharpe [Tue, 27 Mar 2001 12:13:59 +0000 (12:13 +0000)]
One small Insure fix for a memory leak. More fixes to come perhaps ...

Also fixed an error return for smbc_rmdir so that we can distinguish
between EACCES and ENOTEMPTY

20 years agoRemoved NFS quotas code for Solaris as Alan wants to re-write it.
Jeremy Allison [Tue, 27 Mar 2001 08:08:04 +0000 (08:08 +0000)]
Removed NFS quotas code for Solaris as Alan wants to re-write it.
Jeremy.

20 years agoPatch from itegem <J.P.M.v.Itegem@ele.tue.nl> to handle LPRng v3.16 and above.
Jeremy Allison [Tue, 27 Mar 2001 03:16:05 +0000 (03:16 +0000)]
Patch from itegem <J.P.M.v.Itegem@ele.tue.nl> to handle LPRng v3.16 and above.
Jeremy

20 years agoAdded NFS quota support for Solaris 5.x from Alan Romeril <a.romeril@ic.ac.uk>.
Jeremy Allison [Tue, 27 Mar 2001 02:43:34 +0000 (02:43 +0000)]
Added NFS quota support for Solaris 5.x from Alan Romeril <a.romeril@ic.ac.uk>.
sun1.samba.org is down at the moment so I can't test the compile on this. I'm
sure Solaris people using quotas will scream if I've meesed anything up :-).
Jeremy.

20 years agostandards.h only exists on IRIX 6.x and above (Herb please check !).
Jeremy Allison [Tue, 27 Mar 2001 01:41:50 +0000 (01:41 +0000)]
standards.h only exists on IRIX 6.x and above (Herb please check !).
Jeremy.

20 years agoPatch from David Gibson <dgibson@linuxcare.com> to reduce "silent abort"
Jeremy Allison [Tue, 27 Mar 2001 01:19:54 +0000 (01:19 +0000)]
Patch from David Gibson <dgibson@linuxcare.com> to reduce "silent abort"
problems with smbd failing to create a log file. If we can't create a log
file keep using the old file.
Jeremy.

20 years agoFix for ENOSPC from DCB.
Jeremy Allison [Tue, 27 Mar 2001 00:28:01 +0000 (00:28 +0000)]
Fix for ENOSPC from DCB.
Jeremy.

20 years agoBail out early if null passwords and lp_null_passwords not set.
Jeremy Allison [Tue, 27 Mar 2001 00:24:40 +0000 (00:24 +0000)]
Bail out early if null passwords and lp_null_passwords not set.
Jeremy.

20 years agomerge from 2.2
Gerald Carter [Tue, 27 Mar 2001 00:03:49 +0000 (00:03 +0000)]
merge from 2.2

20 years agoPatch from Massimo Sivilotti <mass@tanner.com> to log remote machine/ip on
Jeremy Allison [Mon, 26 Mar 2001 23:21:29 +0000 (23:21 +0000)]
Patch from Massimo Sivilotti <mass@tanner.com> to log remote machine/ip on
connection fail.
Jeremy.

20 years agoFix from Ryo Kawahara <rkawa@lbe.co.jp> to make SWAT correctly write and smb.conf
Jeremy Allison [Mon, 26 Mar 2001 23:13:02 +0000 (23:13 +0000)]
Fix from Ryo Kawahara <rkawa@lbe.co.jp> to make SWAT correctly write and smb.conf
file in utf8.
Jeremy.

20 years agoFix for smbtar race condition from Glenn Burkhardt <glenn@aoi.ultranet.com>.
Jeremy Allison [Mon, 26 Mar 2001 22:34:25 +0000 (22:34 +0000)]
Fix for smbtar race condition from Glenn Burkhardt <glenn@aoi.ultranet.com>.
Jeremy.

20 years agoMissed a cli_set_port on message code connect.
Jeremy Allison [Mon, 26 Mar 2001 22:28:12 +0000 (22:28 +0000)]
Missed a cli_set_port on message code connect.
Jeremy.

20 years agoPatch from Sean.Batt@anu.edu.au to ensure error reporting is done before
Jeremy Allison [Mon, 26 Mar 2001 22:20:43 +0000 (22:20 +0000)]
Patch from Sean.Batt@anu.edu.au to ensure error reporting is done before
any code that could modify errno is called.
Jeremy.

20 years agoFix from Dave Collier Brown to log a debug at level zero on common misconfigure.
Jeremy Allison [Mon, 26 Mar 2001 22:15:40 +0000 (22:15 +0000)]
Fix from Dave Collier Brown to log a debug at level zero on common misconfigure.
Jeremy.

20 years agoPatch to make automount lookup fallback to get home directory from getpwnam.
Jeremy Allison [Mon, 26 Mar 2001 21:52:43 +0000 (21:52 +0000)]
Patch to make automount lookup fallback to get home directory from getpwnam.
From Robert Montjoy <Rob_Montjoy@ECECS.UC.EDU>.
Jeremy.

20 years agosmbd/posix_acls.c: Saving and restoring errno here is the wrong place. Moved it
Jeremy Allison [Mon, 26 Mar 2001 19:18:06 +0000 (19:18 +0000)]
smbd/posix_acls.c: Saving and restoring errno here is the wrong place. Moved it
to the places where [f]chmod_acl is called instead.
Jeremy.

20 years agoEnsure get/set NT ACL code is redirected through vfs.
Jeremy Allison [Mon, 26 Mar 2001 17:58:05 +0000 (17:58 +0000)]
Ensure get/set NT ACL code is redirected through vfs.
Jeremy.

20 years agosmbd/posix_acls.c: Sync up with 2.2 changes - don't return deny ACE's.
Jeremy Allison [Mon, 26 Mar 2001 05:43:04 +0000 (05:43 +0000)]
smbd/posix_acls.c: Sync up with 2.2 changes - don't return deny ACE's.
smbd/vfs.c: Don't call [f]chmod_acl if no acl support.
Jeremy.

20 years agomerge from 2.2
Gerald Carter [Sun, 25 Mar 2001 06:05:57 +0000 (06:05 +0000)]
merge from 2.2

20 years agoAdded Gerald's fixes.
Jeremy Allison [Fri, 23 Mar 2001 21:54:30 +0000 (21:54 +0000)]
Added Gerald's fixes.
Jeremy.

20 years agoa much simpler talloc() implementation. This version has the following
Andrew Tridgell [Fri, 23 Mar 2001 21:37:30 +0000 (21:37 +0000)]
a much simpler talloc() implementation. This version has the following
advantages:

- memory is trackable by insure
- a very simple talloc_realloc() is possible (I've added it)

It is slower than the previous talloc code, but I don't think that
is going to be a problem. If it is a problem then there are
some ways we can make it faster but I'd like to leave those
until we have tested this a bit and can see what performance
problems might show up in profiling