Luke Leighton [Wed, 2 Dec 1998 16:20:36 +0000 (16:20 +0000)]
issues spotted by andrej: %s\\%s not %s\%s
(This used to be commit
779a7aa30d4b8a3c8ca1d817a3fd9886c0437def)
Luke Leighton [Wed, 2 Dec 1998 16:01:40 +0000 (16:01 +0000)]
string_to_sid was using next_token() this is bad as it stops you from
being able to use next_token() outside of string_to_sid calls.
use strchr instead
(This used to be commit
1c478ca1723558cc5dde693b4abacb56bd98cd43)
John Terpstra [Wed, 2 Dec 1998 13:20:18 +0000 (13:20 +0000)]
Updated HEAD branch version to 2.1.0-prealpha in response to a user
complaint about confusion because both the HEAD and SAMBA_2_0 reported
the same version info.
(This used to be commit
195b860b46b78a6a2dd83909477dbc2e9af8f845)
Luke Leighton [Wed, 2 Dec 1998 01:13:02 +0000 (01:13 +0000)]
adding group member code, made a start. found that the group members'
rid is needed not the name (see DOMAIN_GRP_MEMBER) decided to go home.
(This used to be commit
9337049dfc98becfa74522d418dae64a97c7a304)
Luke Leighton [Tue, 1 Dec 1998 23:51:17 +0000 (23:51 +0000)]
ok. unix-nt mapping code issues
need to check, when looking up group members, that a group member is
a unix user [being mapped to an nt user] FIRST then if that fails
check that a group member is a unix group [being mapped to an nt group].
why? because you can have group names in a unix /etc/group file with
the same name as users.
this _might_ be a problem...
(This used to be commit
585d47644d3d709ccdfd5135c5f77166b609eb3b)
Luke Leighton [Tue, 1 Dec 1998 22:39:33 +0000 (22:39 +0000)]
check server role before doing nt user to unix user mapping
(This used to be commit
9d4e810e7dd8d6d80b47204636f9a37774f95455)
Luke Leighton [Tue, 1 Dec 1998 22:18:48 +0000 (22:18 +0000)]
query_aliasmem code. it works (hurrah).
(This used to be commit
f7f2516df46dde1671235f788f7689c93d9395ae)
Luke Leighton [Tue, 1 Dec 1998 19:34:58 +0000 (19:34 +0000)]
fixing smbpasswd to link to smbd to obtain domain sid
(This used to be commit
bfb75e58ced1082d3bb7d6b3f3367d50a0ca26ea)
Luke Leighton [Tue, 1 Dec 1998 19:10:44 +0000 (19:10 +0000)]
rpc_samr.h parse_samr.c srv_samr.c :
samr_query_aliasmembers (cool!)
util_pwdb.c sids.c nmbd.c server.c smbpasswd.c swat.c :
pwdb_initialise(BOOL is_server) now creates / reads DOMAIN_NAME.SID
if is_server is True, and does LsaQueryInfoPolicy(levels 3 and 5)
to obtain member and pdc sids.
(This used to be commit
3e1eb4f26b67e484b05e1dde94fd4e4dae982631)
Luke Leighton [Tue, 1 Dec 1998 18:24:23 +0000 (18:24 +0000)]
andrej spotted that entries _not_ in domain map user were being refused.
modified map_nt_and_unix_names() to never refuse a mapping (returns void
now not BOOL).
(This used to be commit
faffcb3c8955dcea3987e2978dc34b4dba580167)
Luke Leighton [Tue, 1 Dec 1998 16:41:34 +0000 (16:41 +0000)]
hm. removed the "if failed to map nt name to unix name, fail tcon call"
restriction and "domain user map" seems to work.
amazing.
(This used to be commit
2c0d91e64a6b330b209ca62c3306ec1a53fda873)
Luke Leighton [Tue, 1 Dec 1998 16:22:09 +0000 (16:22 +0000)]
fix to domain_namemap (domain, ntname wrong way round oops)
stupid compile errors with file_rename() call just created.
(This used to be commit
f5cedb8c9618b83b63b5e2db867d238eebc7e13c)
Luke Leighton [Tue, 1 Dec 1998 16:04:24 +0000 (16:04 +0000)]
adding some samr parsing calls (group / alias adding / deleting)
added code that moves MACHINE.SID to DOMAIN_NAME.SID if it exists.
(This used to be commit
51c1c31768a92d9c57ee6c09b78419bcbc544f03)
Luke Leighton [Mon, 30 Nov 1998 22:42:13 +0000 (22:42 +0000)]
attempting to fix "domain user map" up, but it's a bit complicated.
i may simply go for a response in the NetSamLogon returning the
unix username, forcing the NT user to appear to be a unix user,
however even that is fraught with implications.
might just have to go the whole hog and do this tuple thing,
"unix_name + nt_name" always associated together...
issue with api_net_sam_logon, getsam21pwent() being called twice,
the second time overwriting static buffer data (argh) so had to
make a copy.
noticed a nested "become_root()"/"unbecome_root()" which will have
to be tracked down...
(This used to be commit
474f94f419a531e33b475249da7efb99ac22f454)
Luke Leighton [Mon, 30 Nov 1998 20:42:49 +0000 (20:42 +0000)]
passdb.c now calls getpwnam() which returns results in a static buffer.
a call _outside_ of this was _also_ calling getpwnam. the calls to
getsmbpwnam() were therefore overwriting the static buffer.
(This used to be commit
c5ba5fa6feab2884a23b8bcb5dcb349ee1a7c139)
Luke Leighton [Mon, 30 Nov 1998 19:29:32 +0000 (19:29 +0000)]
pwdb_initialise() in the wrong place: must load smb.conf first. thanks phil.
(This used to be commit
4b5bd4e18cee72aeb76909cf85b1f932393fcfc8)
Luke Leighton [Mon, 30 Nov 1998 19:15:02 +0000 (19:15 +0000)]
missed out endit()s, ta andrej.
(This used to be commit
37a6acf43ca308647bee66f1e68a43d641b77f6f)
Michael Warfield [Mon, 30 Nov 1998 18:06:29 +0000 (18:06 +0000)]
Earlier fix for smbmount timing window was the wrong patch.
My bad... Earlier one was the patch from the CIFS conference that
didn't work, this fixes...
(This used to be commit
12739f0456e9f707a361bce2fa01b0baaae182d9)
Luke Leighton [Mon, 30 Nov 1998 17:55:46 +0000 (17:55 +0000)]
moving rpc/rpc.h to after netinet.h
(This used to be commit
3257b72c6e2722a6de6b40b4c16e934c02a7c508)
Luke Leighton [Mon, 30 Nov 1998 16:00:27 +0000 (16:00 +0000)]
another attempt at a fix on connect_serverlist()...
(This used to be commit
603c5f6df8c525f30d00da912d408b98378ea538)
Luke Leighton [Mon, 30 Nov 1998 15:42:40 +0000 (15:42 +0000)]
builtin alias password API
(This used to be commit
58c0f0a77c396a6021596c84d4a30b1c9a4b1419)
Luke Leighton [Mon, 30 Nov 1998 15:32:15 +0000 (15:32 +0000)]
andrej spotted problem with connect_serverlist (starts off assuming
a connection succeeds...).
(This used to be commit
c0efc35b27d50c40bc04bfd9fb1d61ea5d32bde5)
Luke Leighton [Mon, 30 Nov 1998 15:08:58 +0000 (15:08 +0000)]
- adding builtin[alias]db.
- lib/sids.c:
generate_sam_sid() modified to take a domain name: it now
generates "DOMAIN_NAME.SID". reasons:
1) if you run multiple samba servers on the same machine
under different netbios names as members of a domain,
they won't all use the same SID, which is a _big_ mistake
but it would happen _by default_.
2) we have (had) a problem with sid_to_string() and string_to_sid()
which cause SIDs to be incorrectly read. one of the major
reasons for *NOT* making this change was so as not to disrupt
existing users. but as they will be anyway by this bug,
we might as well go ahead.
- passdb/smbpass.c:
wanted to change the meaning of the name in the smbpasswd
file to an "nt" name not a "unix" name. this is probably
not a good idea: reverted this.
- output formatting / bug-fixing in rpcclient query_useraliases code.
(This used to be commit
e4930f5f48f8246ceec8add8bf769954a963190c)
Luke Leighton [Mon, 30 Nov 1998 15:02:17 +0000 (15:02 +0000)]
updated smb.conf - have not done a yodl2xxx.
(This used to be commit
b95b2b5d44ad9f998a6f422132b854593de20f04)
Luke Leighton [Sun, 29 Nov 1998 20:16:20 +0000 (20:16 +0000)]
cvs getting it wrong. again.
(This used to be commit
776abe3fe52748b9d2939ff77f8a39155894b952)
Luke Leighton [Sun, 29 Nov 1998 20:08:04 +0000 (20:08 +0000)]
enabling optimisation switches on some compiler warnings
(This used to be commit
e717b898405fdcd0bb7787394961589aa62cacc3)
Luke Leighton [Sun, 29 Nov 1998 20:06:52 +0000 (20:06 +0000)]
"retired" two modules to preserve their cvs history.
added their replacements, added sam password database API modules
(This used to be commit
b1d1c1337c69c6f6bf25ab932a1a6a757e3ea2ae)
Luke Leighton [Sun, 29 Nov 1998 20:03:33 +0000 (20:03 +0000)]
weekend work. user / group database API.
- split sam_passwd and smb_passwd into separate higher-order function tables
- renamed struct smb_passwd's "smb_user" to "unix_user". added "nt_user"
plus user_rid, and added a "wrap" function in both sam_passwd and smb_passwd
password databases to fill in the blank entries that are not obtained
from whatever password database API instance is being used.
NOTE: whenever a struct smb_passwd or struct sam_passwd is used, it MUST
be initialised with pwdb_sam_init() or pwd_smb_init(), see chgpasswd.c
for the only example outside of the password database APIs i could find.
- added query_useraliases code to rpcclient.
- dealt with some nasty interdependencies involving non-smbd programs
and the password database API. this is still not satisfactorily
resolved completelely, but it's the best i can do for now.
- #ifdef'd out some password database options so that people don't
mistakenly set them unless they recompile to _use_ those options.
lots of debugging done, it's still not finished. the unix/NT uid/gid
and user-rid/group-rid issues are better, but not perfect. the "BUILTIN"
domain is still missing: users cannot be added to "BUILTIN" groups yet,
as we only have an "alias" db API and a "group" db API but not "builtin-alias"
db API...
(This used to be commit
5d5d7e4de7d1514ab87b07ede629de8aa00519a1)
Andrew Tridgell [Sun, 29 Nov 1998 09:29:24 +0000 (09:29 +0000)]
removed include of net/route.h because it prevents compilation under
SCO 3.2 (including it also requires lots of streams stuff, making it a
total mess).
If this causes problems on some other platform then please add a
comment stating what platform and why the include is needed so we can
work out how to test for it properly.
(This used to be commit
21d779bf7def71d5d9c899eabbb6a110860bd8e2)
Andrew Tridgell [Sun, 29 Nov 1998 06:23:16 +0000 (06:23 +0000)]
don't allow ".." in service name when doing "default service"
processing.
(This used to be commit
702263bba555a1d7c7999d40e5789b7e920dbce4)
John Terpstra [Sat, 28 Nov 1998 03:01:32 +0000 (03:01 +0000)]
Fixed typo. "Browsable is an acronym for browseable.
(This used to be commit
8de177b05a1043d4416e8f673e499cd403bb3522)
Tim Potter [Fri, 27 Nov 1998 21:32:08 +0000 (21:32 +0000)]
Now uninstalls man pages from correct source location.
Fix by Andrej Borsenkow <borsenkow.msk@sni.de>
(This used to be commit
5c0e31982e8eb1c93bc77925e59be65798f2dbad)
Andrew Tridgell [Fri, 27 Nov 1998 06:36:56 +0000 (06:36 +0000)]
make the help links appear in a separate window, so you can read the
docs and do configuration at the same time.
(This used to be commit
386a3bfd337f4b248f6c88b9c98b9d6471cc9b25)
Andrew Tridgell [Fri, 27 Nov 1998 06:11:03 +0000 (06:11 +0000)]
- removed smb.conf.5.html as it now comes as part of htmldocs
- changed swat welcome screen to have links to all Samba html docs instead
of just singing the praises of swat :)
(This used to be commit
c830d893f1f7eb176dc1fb7de0a4efc748fd1423)
Andrew Tridgell [Fri, 27 Nov 1998 06:09:25 +0000 (06:09 +0000)]
better layout of password options.
(This used to be commit
d3fa0dd7a80a8d20e2d9db0b5ca24988059280fb)
Andrew Tridgell [Fri, 27 Nov 1998 06:09:03 +0000 (06:09 +0000)]
install all html docs in yodl help directory
(This used to be commit
ed4d1062b2655d59f6904344e708aa53af235ad5)
Andrew Tridgell [Fri, 27 Nov 1998 06:04:28 +0000 (06:04 +0000)]
Andrew Tridgell [Fri, 27 Nov 1998 05:15:55 +0000 (05:15 +0000)]
got rid of a dangerous message command example
(This used to be commit
bfca6e6a9d06742ea4ef36f1faac57eb0419b2d6)
Tim Potter [Thu, 26 Nov 1998 06:35:25 +0000 (06:35 +0000)]
Replaced ZERO_STRUCT() with ZERO_STRUCTP() in cli_connect_serverlist().
Fix by Matt Chapman <m.chapman@student.unsw.edu.au>
(This used to be commit
c44b418d6fd16a257af21f6b5b29b1cdf26015b7)
Andrew Tridgell [Thu, 26 Nov 1998 04:18:11 +0000 (04:18 +0000)]
updated SWAT README to remove cgi-bin instructions
(This used to be commit
baa43fb17b04b7945456514e01682e5dca5dfe99)
Luke Leighton [Thu, 26 Nov 1998 00:48:31 +0000 (00:48 +0000)]
we have a problem: resolution of "Primary Group RID" which we assumed
would only be a domain group rid. it can also be a local group rid,
which causes us problems in attempting to turn a unix gid into the
correct rid (domain group or local group).
sooo.... the fix is _in_ there, we just can't use it because it causes
link / knock-on problems in nmbd.
(This used to be commit
e4ee6538709c33000774eb1676608f2dd67d5a30)
Luke Leighton [Wed, 25 Nov 1998 23:54:30 +0000 (23:54 +0000)]
yeehaah got users to be included in S-1-5-xxx-yyy-zzz's local groups.
now need search capability on S-1-5-20, which will need argh, a
"group database API" on S-1-5-20, and the ability to add BUILTIN\Admins
etc to "local group map" argh.
(This used to be commit
a24f6eb00ba7486479cbcf7fadf5456521c56179)
Luke Leighton [Wed, 25 Nov 1998 23:11:25 +0000 (23:11 +0000)]
fixing group database issues
(This used to be commit
591c63e3e1e3201ddcd7582585b652fb848d80ca)
Jeremy Allison [Wed, 25 Nov 1998 21:17:20 +0000 (21:17 +0000)]
Makefile.in: Added maintainer mode fixes.
aclocal.m4: Added AC_LIBTESTFUNC.
configure.in: Fixed -lsecurity -lsec problems.
client.c: dos_ fixes.
groupdb/aliasunix.c: Dead code removal.
include/includes.h: Added default PRINTCAP_NAME.
lib/genrand.c: dos_ fixes.
lib/replace.c: Added strtoul.
lib/system.c: dos_ fixes.
lib/util.c: dos_ fixes.
lib/util_sid.c: Signed/unsigned fixes.
lib/util_str.c: removed bad const.
locking/locking_slow.c: dos_ fixes.
printing/printing.c: dos_ fixes.
rpc_server/srv_samr.c: Dead code removal.
rpc_server/srv_sid.c: global_myworkgroup defined with wrong size AGAIN !
smbd/dir.c: dos_ fixes.
smbd/open.c: dos_ fixes.
smbd/oplock.c: dos_ fixes.
smbd/reply.c smbd/server.c smbd/service.c smbd/uid.c: dos_ fixes.
Jeremy.
(This used to be commit
6acb4b68f68d516e2ac3c47e500f5600d653435e)
Luke Leighton [Wed, 25 Nov 1998 19:57:04 +0000 (19:57 +0000)]
LsaLookupNames client call (first used as lookupnames command in rpcclient).
(This used to be commit
68342a29a892e515cf2b22d759476d61944bcd59)
Herb Lewis [Wed, 25 Nov 1998 18:11:42 +0000 (18:11 +0000)]
added file from 2.0 branch
(This used to be commit
8ec972ba6c274076b46081502acef256a70d1a38)
Luke Leighton [Wed, 25 Nov 1998 14:54:23 +0000 (14:54 +0000)]
fixing domain join and domain login problems
(This used to be commit
90a24664318da97a6e8cfe4622a8573c0e3cbe5e)
Luke Leighton [Tue, 24 Nov 1998 18:58:56 +0000 (18:58 +0000)]
clearer debug comments
(This used to be commit
06b9100c1c1590bad392a8d9bdd79a6c554a3cac)
Luke Leighton [Tue, 24 Nov 1998 18:43:59 +0000 (18:43 +0000)]
oops, forgot to rename smbfilegrp to smbunixgrp.
(This used to be commit
6de2b03d1c6714d63c6dbe7a417fb442e95ee0d9)
Luke Leighton [Tue, 24 Nov 1998 17:21:12 +0000 (17:21 +0000)]
updated from yodl
(This used to be commit
f057b2e7a2e6d6d1a2e9e24f4bb20d38bf6af9a2)
Luke Leighton [Tue, 24 Nov 1998 17:18:07 +0000 (17:18 +0000)]
added "domain group map" and "local group map" explanations.
(This used to be commit
6c4cf9ea4ac9bc441236d4e823d5fa1e7a487c26)
Luke Leighton [Tue, 24 Nov 1998 16:47:49 +0000 (16:47 +0000)]
sorting out difference between aliases and groups in the cases where
unix groups are not explicitly mapped.
i.e as a PDC or BDC you can have domain groups, as a member of a domain
you cannot.
as a member of a domain, unmapped unix groups are assumed to be aliases,
and as a PDC or BDC, unmapped unix groups are assumed to be unix groups.
there is _one_ other check needed with aliases to be added: unmapped unix
groups that have the same name as an NT group on the PDC (for which i will
need to write an LsaLookupNames call) should be assumed to be domain groups
on the PDC.
(This used to be commit
53b49b44e13a4ca9818ebc947372b1374831b568)
Luke Leighton [Tue, 24 Nov 1998 14:42:42 +0000 (14:42 +0000)]
jean-francois pointed out problem with "lp_domain_role()" code, you
could never be a PDC.
(This used to be commit
2bcc540af80c37b8032a23d6d0045160a7c40e32)
Luke Leighton [Tue, 24 Nov 1998 14:36:49 +0000 (14:36 +0000)]
initialise not initialize...
(This used to be commit
b67d66a1e9d879cd5960380c94422c0af8dedaad)
Jeremy Allison [Tue, 24 Nov 1998 00:40:27 +0000 (00:40 +0000)]
Fixed oplock test path spec bug.
Jeremy.
(This used to be commit
252dd8b8929adbdff9917395d4f8caad2d7882b2)
Jeremy Allison [Mon, 23 Nov 1998 23:55:33 +0000 (23:55 +0000)]
Fixed -Wall -Wshadow warning.
Jeremy.
(This used to be commit
81b90208910528a4ace683f30e39c54d8cfa12b7)
Luke Leighton [Mon, 23 Nov 1998 23:44:09 +0000 (23:44 +0000)]
uninitialised counter
(This used to be commit
403f53d696d17f34dd1afc035a72eda792dd20ea)
Luke Leighton [Mon, 23 Nov 1998 23:29:07 +0000 (23:29 +0000)]
yp_prot.h and ypclnt.h correct: ypprot.h and yp_clnt.h wrong...
(This used to be commit
c89642ff3fa0c0bc2bca62304db0282676e0b649)
Luke Leighton [Mon, 23 Nov 1998 23:09:26 +0000 (23:09 +0000)]
re-added ypprot.h and yp_clnt.h
(This used to be commit
d50238823411f07d5db112843d9a1e3a84c7dbd7)
Luke Leighton [Mon, 23 Nov 1998 23:07:38 +0000 (23:07 +0000)]
re-added includes for yp_prot.h and yp_clnt.h
(This used to be commit
53339b63897f51913fef183fd3b4565dad2ffad1)
Luke Leighton [Mon, 23 Nov 1998 23:02:16 +0000 (23:02 +0000)]
get rid of __wait boring warning, caused by rpc/clnt.h
(This used to be commit
0fdac4b42fb55a26cdd73d6d5f4a3017d1b4db46)
Luke Leighton [Mon, 23 Nov 1998 22:45:36 +0000 (22:45 +0000)]
cvs being STUPID
(This used to be commit
22802195ed544b6042d791b34e704d608bbdfd84)
Luke Leighton [Mon, 23 Nov 1998 22:33:08 +0000 (22:33 +0000)]
remove unused variable
(This used to be commit
30b3f339f8d55c2d3a4cbc380b7f12eb040bf381)
Luke Leighton [Mon, 23 Nov 1998 22:21:19 +0000 (22:21 +0000)]
unused variable removed
(This used to be commit
16ac5c89b7417a6aa2596c5c7fbb1fa7542accfd)
Luke Leighton [Mon, 23 Nov 1998 22:16:37 +0000 (22:16 +0000)]
cvs being STUPID
(This used to be commit
ba78b5932a1ed3f7c07720703b9131234f035689)
Luke Leighton [Mon, 23 Nov 1998 22:07:05 +0000 (22:07 +0000)]
cvs is acting wierd.
(This used to be commit
10e4cbd2647eb629b60b0060fa184212a89e54f2)
Luke Leighton [Mon, 23 Nov 1998 22:04:23 +0000 (22:04 +0000)]
someone had added code to convert rids to rids, assuming that the rids
in the file were gids: they are not.
(This used to be commit
8af860394fa3251a26285c8c96c9e4093346f20b)
Luke Leighton [Mon, 23 Nov 1998 21:54:19 +0000 (21:54 +0000)]
remove / add / attempt to stop remove didn't work.
(This used to be commit
82b6292dff38f4e22ee8feab1b54504b95d705fa)
Luke Leighton [Mon, 23 Nov 1998 21:51:05 +0000 (21:51 +0000)]
unix instance of group database API
(This used to be commit
e76f593b3572ac881f1aa1fb3326d8b7169b0078)
Andrew Tridgell [Mon, 23 Nov 1998 03:46:51 +0000 (03:46 +0000)]
replace ' with _ as well
(This used to be commit
e93491953a2555401a372de74ac2aee0cc44cb88)
Andrew Tridgell [Mon, 23 Nov 1998 03:36:10 +0000 (03:36 +0000)]
changed string_sub() to replace " ; and ` in the inserted string with _
use all_string_sub() if you don't want this.
(This used to be commit
a3357ab49335106674fe7a7481cd0f146d74fbe5)
Andrew Tridgell [Sun, 22 Nov 1998 09:44:46 +0000 (09:44 +0000)]
deleted some old DEBUG() code that wasn't used
(This used to be commit
bdcee2557bd243a1bfbde3353ebcfe3d82bf9fc5)
Andrew Tridgell [Sun, 22 Nov 1998 00:06:44 +0000 (00:06 +0000)]
use http://samba.org/ not http://samba.org/samba/
(This used to be commit
7cb1470eb3db60c37dc108e8537634d08b1cf740)
Andrew Tridgell [Sat, 21 Nov 1998 13:20:31 +0000 (13:20 +0000)]
global change from samba.anu.edu.au to samba.org
(This used to be commit
42d2509c9fab5c774fd33b9d4b5bd1ee125479c3)
Richard Sharpe [Sat, 21 Nov 1998 09:29:35 +0000 (09:29 +0000)]
Added changes to smbtar submitted by Sandy Whitesel
Added some extra documentation for smbclient
Grr, Jeremy beat me to a bug fix in client.c
Will have to get Jeremy to tell me how to check out SAMBA_2_0 :-)
(This used to be commit
8594c4bcae503972679c55a2fcab8eb69faf3ae3)
Andrew Tridgell [Sat, 21 Nov 1998 01:41:14 +0000 (01:41 +0000)]
make SWAT obey the global "hosts allow" and "hosts deny" settings.
any attempt to run swat from a host that is disallowed will give an
error.
(This used to be commit
fe4ef4bbef01aed75807c884249ca8efa5de4140)
Andrew Tridgell [Sat, 21 Nov 1998 01:28:15 +0000 (01:28 +0000)]
try to use *SMBSERVER to connect to password server if the first
session_request fails.
(This used to be commit
ab2370e7ac770f1e32b8d726ab955457fcc8c2d7)
Andrew Tridgell [Sat, 21 Nov 1998 01:26:45 +0000 (01:26 +0000)]
add a error code when failed to get lock
(This used to be commit
05696b4bbfb66bfdbdc19f395efe062ac890bc41)
Andrew Tridgell [Sat, 21 Nov 1998 01:26:18 +0000 (01:26 +0000)]
formatting change
(This used to be commit
94fc7fe3afa1dc5547050248738eb697c1eeef59)
Andrew Tridgell [Sat, 21 Nov 1998 00:56:52 +0000 (00:56 +0000)]
use bindir not sbindir in Makefile to ensure that we don't break
existing setups
(This used to be commit
e97cbd6912a58d4985c2b8a649cfe6982809892d)
Jeremy Allison [Sat, 21 Nov 1998 00:16:28 +0000 (00:16 +0000)]
smbd/password.c: Added *SMBSERVER fix is name is too long.
web/swat.c: Changed '?' to help.
Jeremy.
(This used to be commit
631913ea856926a77304692c74a1bd27faead179)
Jeremy Allison [Fri, 20 Nov 1998 23:22:43 +0000 (23:22 +0000)]
Instrumented hack fix with debug level 10 statements just in case :-).
Jeremy.
(This used to be commit
10f51b85722141f99ffecc3f19a39de108400828)
Jeremy Allison [Fri, 20 Nov 1998 20:44:21 +0000 (20:44 +0000)]
acconfig.h configure configure.in include/config.h.in: Added -lsec and -lsecurity checks
in a more sane way.
rpc_client/cli_netlogon.c: Removed correct bits check to see if this works with an NT3.51 PDC.
rpc_parse/parse_samr.c: Fixed compile warnings.
Jeremy.
(This used to be commit
34d8f4b1c4d59ab3c009360fc67eef9361dd859b)
Jeremy Allison [Fri, 20 Nov 1998 01:06:09 +0000 (01:06 +0000)]
Fixed stupid blunder where I renamed getpwanam to getpwnam.
Jeremy.
(This used to be commit
b02d21a73d7f098c5599c606abbb5c92ea4ba13e)
Herb Lewis [Fri, 20 Nov 1998 00:15:26 +0000 (00:15 +0000)]
wrong directory path for smbd and nmbd
(This used to be commit
a33b4f623f196ca7e8056454b9212fe0ffa389c2)
Jeremy Allison [Thu, 19 Nov 1998 23:42:57 +0000 (23:42 +0000)]
Makefile.in: Added passing of CPPFLAGS into Makefile.
configure
configure.in
include/config.h.in: Fixes for AIX4.x. AIX *will not*
enable large file support of *any* description unless
either -D_LARGE_FILES or -D_LARGE_FILES_API are defined.
I chose "-D_LARGE_FILES" as this leads to cleaner code...
Also fixed bug where getpwnam was listed as getpw(a)nam in configure.in.
Jeremy.
(This used to be commit
2d62dc26f4e3a171ecbe56f33d94db2fea0ef0ad)
Jeremy Allison [Thu, 19 Nov 1998 22:37:33 +0000 (22:37 +0000)]
Sync up with 2.0 code.
Added HPUX autoconf changes.
Added "gross hack" printer code.
Jeremy.
(This used to be commit
1ef6d3bd63722afe9c376793a6ea72046d1a0602)
Herb Lewis [Thu, 19 Nov 1998 21:30:58 +0000 (21:30 +0000)]
smb.conf : explicitly state "printcap name=" and "security=" parameters
idb.pl : change default behaviour for installation of config files.
(This used to be commit
36928da28ca84fa64cd7b0dd66cab879e307911c)
Herb Lewis [Thu, 19 Nov 1998 21:17:58 +0000 (21:17 +0000)]
update testparm with -s option so it doesn't require a carriage return
also allow specifying [host hostip] without [configfile]
updated man page
(This used to be commit
85fbd401026e7f1464c9a125cbaa505b768f8a10)
Jeremy Allison [Thu, 19 Nov 1998 04:15:23 +0000 (04:15 +0000)]
Changes to make the default prefix /usr/local/samba - as it was in 1.9.18p10.
acconfig.h configure configure.in include/config.h.in: Fixes to DEC OSF1.
libsmb/nmblib.c: Fixes to nmbd jumps in scope names.
Jeremy.
(This used to be commit
5ad77769be85e6727319afb0f02e5d94c2f9f16f)
Jeremy Allison [Wed, 18 Nov 1998 22:04:24 +0000 (22:04 +0000)]
Added OSF1 changes to HEAD (-lsecurity etc.)
groupdb/groupdb.c: Fixed compile error caught by IRIX compiler.
utils/smbpasswd.c: Fixed SunOS optind, optarg problem.
Jeremy.
(This used to be commit
30af39ae1edf51d5d06a1764982e5df431c142ac)
Jeremy Allison [Wed, 18 Nov 1998 19:06:51 +0000 (19:06 +0000)]
Fixed crash bug which was assuming that fd_ptr was always non-null
(which is not the case with open directories).
Jeremy.
(This used to be commit
c154b1601f5891d664fc538ec8874fa8ef2061e6)
John Terpstra [Wed, 18 Nov 1998 12:44:29 +0000 (12:44 +0000)]
Updated packaging files in line with restructuring of Makefile.in
(This used to be commit
05f2d78c8ee1dc0516d9e1076e0954ee2c2cd4b2)
Herb Lewis [Wed, 18 Nov 1998 02:15:35 +0000 (02:15 +0000)]
change to new prefix path
(This used to be commit
64b2ffc679b39f1654c5dcd36276bcb9e6c553b4)
Jeremy Allison [Wed, 18 Nov 1998 01:19:32 +0000 (01:19 +0000)]
Fixed problem with HAVE_NETGROUP being used on platforms
that cannot support it.
Jeremy.
(This used to be commit
7a6f25ac4ab0f0bef7a66f26004c15120248ff66)
Jeremy Allison [Tue, 17 Nov 1998 23:44:52 +0000 (23:44 +0000)]
Fixed NT modify timestamp issue.
If a client does a modify timestamp on an open file (which will
do no good at all on UNIX :-) then keep the modify request pending
in the files_struct and apply it at close instead.
Jeremy.
(This used to be commit
92a7a86f0e0255e3812dd35bebfcd653091514ae)
Jeremy Allison [Tue, 17 Nov 1998 22:06:59 +0000 (22:06 +0000)]
Changed Makefile.in to use autoconf prefixes.
NOTE: The packaging scripts will have to be changed !!!!
Jeremy.
(This used to be commit
79c259f05cf7cd4f2d3d1bb92fff3bde7acd8a50)
Jeremy Allison [Tue, 17 Nov 1998 20:50:07 +0000 (20:50 +0000)]
Added the same open()/fopen()/creat()/mmap() -> sys_XXX calls.
Tidied up some of the mess (no other word for it). Still doesn't
compile cleanly. There are calls with incorrect parameters that
don't seem to be doing the right thing.
This code still needs surgery :-(.
Jeremy.
(This used to be commit
18ff93a9abbf68ee8c59c0af3e57c63e4a015dac)
Luke Leighton [Tue, 17 Nov 1998 19:32:06 +0000 (19:32 +0000)]
lookup_alias_name() %s not %d for sid_str
(This used to be commit
2a98135bbc759ab334d76cce98ea673871445db1)
Luke Leighton [Tue, 17 Nov 1998 18:50:14 +0000 (18:50 +0000)]
somehow this file got missed in the groupdb commit.
(This used to be commit
06da8e49f1cf5d6b954f586f6720ade1c5b8de74)