1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-04 05:18:06 +03:00
Commit Graph

5190 Commits

Author SHA1 Message Date
Jeremy Allison
0ca9f5c023 Fix for core dump in security = share code with new share security db.
Jeremy.
(This used to be commit 20b13bafdf)
2001-04-11 21:19:25 +00:00
Shirish Kalele
362e4bb21a Adding Solaris packaging files to HEAD.
(This used to be commit 3ac5f6b59e)
2001-04-11 02:28:38 +00:00
Jeremy Allison
91e97f9091 Changed the order of -kPIC and -kpic.
Added patch from Michael Davidson <md@sco.COM> for Solaris/Unixware ACLS.
Jeremy.
(This used to be commit 144a290681)
2001-04-11 02:02:45 +00:00
Tim Potter
b541683e44 Fixed some compiler warnings.
(This used to be commit cda0f211b0)
2001-04-11 01:50:12 +00:00
Jeremy Allison
3a38f122d9 Added SMB_ prefix to enums that clash with Solaris ACL definitions.
Jeremy.
(This used to be commit 493d2c316a)
2001-04-11 01:34:37 +00:00
John Terpstra
abd96b890b Updating pampass from Samba-2.2 code tree. ===> JHT
(This used to be commit 88b6043b4e)
2001-04-11 01:29:42 +00:00
Jeremy Allison
9e73a36193 Restrict dfs add and dfs remote to root at Shirish's advice.
Jeremy.
(This used to be commit 9dd77c4fb1)
2001-04-11 00:05:23 +00:00
Jeremy Allison
a591def534 Merged in missing break fix from Shirish.
Jeremy.
(This used to be commit 8ecf6c3367)
2001-04-10 23:58:27 +00:00
Jeremy Allison
55d60fce76 Fixed missing HAVE_STDARG_H.
Jeremy.
(This used to be commit 7cdd879546)
2001-04-10 22:01:53 +00:00
Jeremy Allison
3bfbc4aaec Fixed --with-automount compile error.
Jeremy.
(This used to be commit ab916199f5)
2001-04-10 21:43:37 +00:00
Jeremy Allison
9c9ce2f613 Added HAVE_STDARG_H to tdbutil.c
Jeremy.
(This used to be commit e404e00199)
2001-04-10 21:07:04 +00:00
Jeremy Allison
6d96224f81 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.
(This used to be commit 3c4c649951)
2001-04-10 19:43:14 +00:00
Jeremy Allison
ef1a7311ce Added JohnT and Andrew Bartlett's PAM changes.
Jeremy.
(This used to be commit ecd00e258c)
2001-04-10 18:10:38 +00:00
Jeremy Allison
a9f6e205fc Use message system to notify when smb.conf is updated.
Jeremy.
(This used to be commit ae9eda5c3c)
2001-04-10 01:44:45 +00:00
Gerald Carter
f8c12f4f4d looking towards abstracting the passdb and uidmapping interfaces.
This is more of a note to myself.  In not used anywhere yet.
(This used to be commit 442605c6bc)
2001-04-09 22:11:37 +00:00
Jeremy Allison
faf49bbe8c Fixup warnings about extra ';' from SGI compiler.
Jeremy.
(This used to be commit 7ee448d832)
2001-04-09 21:03:48 +00:00
Jeremy Allison
e796a35a8b Removed "read only" arg as it isn't useful.
Jeremy.
(This used to be commit 6b75d79c4b)
2001-04-09 20:12:53 +00:00
Jeremy Allison
7130bb0dcf Tidy up return codes for server manager.
Jeremy.
(This used to be commit b4cbdcb644)
2001-04-09 18:03:02 +00:00
Jeremy Allison
7fba7a0e82 Get/Set of SD's on shares now works. Correctly ensure scripts exist before
calling.
Jeremy.
(This used to be commit aae44ee41f)
2001-04-09 17:10:06 +00:00
Jeremy Allison
2b9e23855e Set SD's for share. Added level 1501. Map GENERIC file bits to specific bits.
Jeremy.
(This used to be commit 04976c32f3)
2001-04-09 08:00:19 +00:00
Jeremy Allison
33706e48f0 Ensure Everyone/All access is mapped correctly to file generic perms to allow
anonymous IPC access.
Jeremy.
(This used to be commit 2f34e144c5)
2001-04-09 07:03:28 +00:00
Jeremy Allison
9d6dd97624 Added set/get SD's on shares. Check before tcon.
Jeremy.
(This used to be commit 036b1a8b09)
2001-04-09 06:36:38 +00:00
Jeremy Allison
98560fa394 HEAD specific slprintf paranoia fixes.
Jeremy.
(This used to be commit 61723c18f9)
2001-04-08 20:31:39 +00:00
Jeremy Allison
f9a15ce1a6 Got "medieval on our ass" about adding the -1 to slprintf.
Jeremy.
(This used to be commit 94747b4639)
2001-04-08 20:22:39 +00:00
Jeremy Allison
607d5d508d Added per-share security tdb. Tidied up many slprintfs (need -1 on length).
Jeremy.
(This used to be commit d786191bc1)
2001-04-08 20:01:51 +00:00
Jeremy Allison
8e9d11f014 Fixed up the "add" command - although not SD's yet. Now for the SD db and
the "change" command.
Jeremy.
(This used to be commit bdec63bedb)
2001-04-07 18:46:47 +00:00
Jeremy Allison
950f1d9605 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.
(This used to be commit 2e6b1759e1)
2001-04-07 00:36:38 +00:00
Jeremy Allison
d4e8c87005 Fix from Ed Boraas for not core dumping when out of connection structs.
Jeremy.
(This used to be commit f50ea32dd0)
2001-04-06 20:32:36 +00:00
Herb Lewis
a01d164a12 keep cflags from being duplicated if defined in environment
(This used to be commit 2097298565)
2001-04-06 18:37:55 +00:00
Jeremy Allison
97cf9d3a3d Implemented stub function for NET_SHARE_DELETE. Now to implement the real
internals to support server manager.
Jeremy
(This used to be commit 3512ba1f65)
2001-04-06 18:25:17 +00:00
Jeremy Allison
3874261774 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.
(This used to be commit a2cd5f2ba1)
2001-04-06 17:41:47 +00:00
Jeremy Allison
fd4c525d58 If we can't open the username map file, at least print the strerror.
Jeremy.
(This used to be commit abf436153a)
2001-04-06 17:13:16 +00:00
Jeremy Allison
68c8638b36 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.
(This used to be commit cb66e78c18)
2001-04-06 02:12:07 +00:00
Jeremy Allison
529f7c07f5 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.
(This used to be commit a152c2c59a)
2001-04-06 01:39:12 +00:00
Jeremy Allison
72aa0d8073 Setup syslog correctly in swat. Patch from Andrew Bartlett.
Jeremy.
(This used to be commit ffd9bf1922)
2001-04-05 21:31:12 +00:00
Jeremy Allison
45646e8818 Fix from Michael Davidson <md@sco.COM> to merge Solaris and UnixWare ACLs.
Jeremy.
(This used to be commit ffa800e980)
2001-04-05 20:52:02 +00:00
Jeremy Allison
5d60916596 Fix from "Romeril, Alan" <a.romeril@ic.ac.uk> to get his NFS quota code
to work on Solaris 2.6.
Jeremy.
(This used to be commit bd2fe239db)
2001-04-05 20:46:15 +00:00
Jeremy Allison
730791a6a8 Tidy up tmp file handling.
Jeremy.
(This used to be commit 1751a6316a)
2001-04-05 19:17:54 +00:00
Jeremy Allison
852242a1b5 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.
(This used to be commit 3bfd155ba7)
2001-04-04 23:42:17 +00:00
Jeremy Allison
dcc01ec5fb Fix for broken RelientUNIX.
Jeremy.
(This used to be commit 6808ec0d47)
2001-04-04 17:20:57 +00:00
Jeremy Allison
5948fa9fe1 Missed forms update - my CVS mistake.
Jeremy.
(This used to be commit 06dee89860)
2001-04-03 23:09:04 +00:00
Andrew Tridgell
24a4483a9c test commit for jeremy
(This used to be commit d747ab8ab3)
2001-04-03 22:52:38 +00:00
Jeremy Allison
da8731e271 Sync up with new NT forms code.
Jeremy.
(This used to be commit 63ce316d87)
2001-04-03 22:41:31 +00:00
Jeremy Allison
a6d201a8d7 Added XFS ACLs on Linux. Code from John Trostel <jtrostel@connex.com>.
Jeremy.
(This used to be commit 0865366f6b)
2001-04-03 00:40:01 +00:00
Jeremy Allison
6c0c14a742 IRIX ACLs from Herb.
Jeremy.
(This used to be commit 2f2365e938)
2001-04-02 23:05:25 +00:00
Jeremy Allison
9f793948bd 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.
(This used to be commit 887ef3e12d)
2001-04-02 22:27:40 +00:00
Jeremy Allison
f439f72cee Integrated solaris nfs quota code from Alan Romeril <a.romeril@ic.ac.uk>
Jeremy
(This used to be commit 181d41572c)
2001-04-01 19:00:43 +00:00
Jeremy Allison
92368833fa 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.
(This used to be commit 13765eca71)
2001-03-31 19:06:45 +00:00
Andrew Tridgell
578a9fabfb 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
(This used to be commit 8b0e3679a6)
2001-03-31 13:48:24 +00:00
Jeremy Allison
fd6e9d6db9 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.
(This used to be commit f952380c5d)
2001-03-30 21:53:33 +00:00