1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-31 17:18:04 +03:00
Commit Graph

228 Commits

Author SHA1 Message Date
Jeremy Allison
956e2a4e37 Fix from bernd@arresum.inka.de for broken krb configure.
Jeremy.
0001-01-01 00:00:00 +00:00
Andrew Tridgell
abe01facea removed remnants of libtool 0001-01-01 00:00:00 +00:00
Andrew Tridgell
debb471267 The big character set handling changeover!
This commit gets rid of all our old codepage handling and replaces it with
iconv. All internal strings in Samba are now in "unix" charset, which may
be multi-byte. See internals.doc and my posting to samba-technical for
a more complete explanation.
0001-01-01 00:00:00 +00:00
Jeremy Allison
016a97d71a Removed the default addition of /include to the directory given in
--with-sslinc. Should allow building on RH7.1 when set correctly.
Jeremy.
0001-01-01 00:00:00 +00:00
Tim Potter
547d63c60a Reran autoconf. 0001-01-01 00:00:00 +00:00
Tim Potter
33f668b137 Re-ran configure. 0001-01-01 00:00:00 +00:00
Andrew Bartlett
aa5708de69 Not all OSs have setbuffer, so we better check for it.
Andrew Bartlett
0001-01-01 00:00:00 +00:00
Richard Sharpe
332f646fdc Modified Makefile.in to work properly. Define BLDSHARED as a variable in the makefile now. 0001-01-01 00:00:00 +00:00
Jeremy Allison
c24e6b41ea Ensured all the system calls in msdfs.c go through the vfs layer.
Added vfs calls to symlink() and readlink() with appropriate configure
checks.
Jeremy.
0001-01-01 00:00:00 +00:00
Martin Pool
8b0a5bc436 Add check for working AF_LOCAL sockets, which are borken
on RH7.0 with _LARGEFILE64_SOURCE, and probably not
present on non-Unix systems like VMS.
0001-01-01 00:00:00 +00:00
Andrew Tridgell
e2ecff419f fixed usage of socklen_t and also tidied up SIG_ATOMIC_T, using a typedef instead of a define 0001-01-01 00:00:00 +00:00
Jeremy Allison
db5b82e53a Added patches to remove Linux specific XFS ACLs. These are now handled by the
generic Linux ACL code.
rpc_server/srv_samr_nt.c: Don't delete a policy handle before it's created.
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
d0c276c242 Added getconf flags for RH7.1 lfs support. Changed while() to a for()
loop in Simo's code (removes much grp = gep->next code).
Jeremy.
0001-01-01 00:00:00 +00:00
Tim Potter
cae6958f08 Compile fix for wbinfo on solaris. 0001-01-01 00:00:00 +00:00
Tim Potter
de46428d05 Added a --with/without winbind option to configure. The default is to
compile winbind on supported systems but this may be disabled using
--without-winbind.  Using --with-winbind on unsupported systems has
no effect.
0001-01-01 00:00:00 +00:00
Andrew Tridgell
ab24652394 - added AC_HAVE_DECL() macro to aclocal.m4, so we can easily add
tests for a fn or variable being defined in headers
- used this to add prototypes for asprintf and vasprintf on systems
  that don't have them
0001-01-01 00:00:00 +00:00
Jeremy Allison
d52bc4d219 Try to fix build by adding autoconf tests for pam headers.
Jeremy.
0001-01-01 00:00:00 +00:00
Andrew Tridgell
cf4e439a1e - added ability for swat to run under CGI. This needs
to be setup very carefully for it not to be a security hole
- reran configure
0001-01-01 00:00:00 +00:00
Tim Potter
ded776af28 Added winbind programs to build for supported systems (i.e linux and
solaris) so the autobuilder can have a crack at it.

Cosmetic fix for large file support ./configure output.
0001-01-01 00:00:00 +00:00
Jeremy Allison
7792e32ba7 Fixed SHM_R/SHM_W warnings by moving sys/ipc.h and sys/shm.h into includes.h
and using autoconf tests.
Added "restrict acl with mask" parameter.
Jeremy.
0001-01-01 00:00:00 +00:00
Andrew Tridgell
4d7565342d added more complete C99 snprintf test 0001-01-01 00:00:00 +00:00
Andrew Tridgell
c7aeb2254d - added test for vasprintf
- cleaned up GNUC printf attribute macros
- added enum handling in mkproto
- removed non-vararg code
- made slprintf and vslprintf just macros for snprintf and vsnprintf
- don't need slprintf code any more
0001-01-01 00:00:00 +00:00
Andrew Tridgell
8bda86c0bf added asprintf test 0001-01-01 00:00:00 +00:00
Andrew Tridgell
9ebd90904e added test for C99 compliant vsnprintf 0001-01-01 00:00:00 +00:00
Jeremy Allison
3cfcaaca5b Fixed REPLACE_GETPASS test.
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
c6f25e84d3 Re-ran autoheader; autoconf to fix pam_smb build.
Jeremy.
0001-01-01 00:00:00 +00:00
John Terpstra
550cc5c182 Added Steve Langasek <vorlon@netexpress.net> pam_smbpass support 0001-01-01 00:00:00 +00:00
Gerald Carter
cf9e34c79b updating changes with 2.2 (comment lines in ./configure --help) 0001-01-01 00:00:00 +00:00
Jeremy Allison
d4b1c0be2e Added smb_ prefix to all Samba wrapper pam functions.
Fixed off by one bug using StrnCpy instead of strdup().
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
1d4438f077 AIX ACLs donated by IBM.
Merge Andrew's fnmatch fix for WfW.
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
1cfc542685 Added --with-codepagedir as RedHat 6.2 and 7.x place them differently.
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
c236287463 Added POSIX_ACL support for *BSD. Patch from jedgar@fxp.org. Changed
a bit to use AC_TRY_LINK to ensure functions are available for link
instead of AC_TRY_COMPILE.
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
32397e5bc6 configure:
configure.in:
include/config.h.in:
include/profile.h:
smbd/vfs-wrap.c:
smbd/vfs.c:
Added fchmod and fchown to VFS (sorry Gerald - but we needed them anyway).
smbd/dosmode.c:
smbd/files.c:
printing/printfsp.c:
smbd/close.c:
smbd/open.c:
Fixed "dos filemode" correctly so there are no race conditions. Forces test
of open of file O_WRONLY before allowing fchmod as root. Afterwards, calls
standard close function that preserves POSIX locks due to POSIX-me-harder
braindamage. :-). Andrew please review this code.
Also - in removing the tmpdir param in smbrun an extra NULL parameter
was missed in each print_run_command() call (which is a varargs fn.).
Now fixed.
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
fc76681812 Merge of Andrew's changes in 2.2.
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
9b32b8a8cf 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.
0001-01-01 00:00:00 +00:00
Jeremy Allison
144a290681 Changed the order of -kPIC and -kpic.
Added patch from Michael Davidson <md@sco.COM> for Solaris/Unixware ACLS.
Jeremy.
0001-01-01 00:00:00 +00:00
Herb Lewis
2097298565 keep cflags from being duplicated if defined in environment 0001-01-01 00:00:00 +00:00
Jeremy Allison
0865366f6b Added XFS ACLs on Linux. Code from John Trostel <jtrostel@connex.com>.
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
13765eca71 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.
0001-01-01 00:00:00 +00:00
Jeremy Allison
80ce12d953 standards.h only exists on IRIX 6.x and above (Herb please check !).
Jeremy.
0001-01-01 00:00:00 +00:00
Andrew Tridgell
e1487eb2c4 much better readline support from Simo Sorce, with some mods from me
to make it a bit simpler
0001-01-01 00:00:00 +00:00
Jeremy Allison
c59a5db9c2 Added patch from Urban Widmark <urban@teststation.com> modified by me to
enable large file support on Linux if glibc >= 2.2 and kernel >= 2.4.
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
f0d11b6997 rpc_client/cli_netlogon.c: Fixed incorrect printf.
Added Solaris ACL support.
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
3ded1e6bd5 configure configure.in smbd/posix_acls.c smbd/dosmode.c: Fix for zero permission W2K profiles.
libsmb/cliconnect.c rpc_client/cli_login.c smbd/reply.c: codepage fixes from Tim.
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
523c919356 Fixed typo with acl_set_fd() not needing an ACL_TYPE_T parameter.
Ensure HAVE_NO_ACLS is set in configure if ACL support not selected.
Jeremy
0001-01-01 00:00:00 +00:00
Tim Potter
671be48221 Cosmetic fixups for large file support message. 0001-01-01 00:00:00 +00:00
Jeremy Allison
da6ae57501 Added better configure test for POSIX ACLs. Fixed stupid typo in sysacls.c
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
6ae63e502e Working code to read POSIX ACLs on a Linux system using the bestbits
ACL patch from http://acl.bestbits.at/.
configure support needs more work (just assumes correct headers at
the moment). ACL writing needs adding.
Jeremy.
0001-01-01 00:00:00 +00:00
Tim Potter
644aa834e5 Update required after changes to configure.in 0001-01-01 00:00:00 +00:00
Jeremy Allison
9dea7b7c25 Changed to sourceforge tdb code. This includes spinlocks (so we now have
a --with-spinlocks option to configure, this does mean the on-disk tdb
format has changed, so 2.2alphaX sites will need to re-create their
tdb's. The upside is no more tdb fragmentation and a +5% on netbench.
Swings and roundabouts....
Jeremy.
0001-01-01 00:00:00 +00:00
Gerald Carter
4792029a29 Another large patch for the passdb rewrite.
o added BOOL own_memory flag in SAM_ACCOUNT so we could
    use static memory for string pointer assignment or
    allocate a new string

  o added a reference TDB passdb backend.  This is only a reference
    and should not be used in production because
	- RID's are generated using the same algorithm as with smbpasswd
 	- a TDB can only have one key (w/o getting into problems) and we
	  need three.  Therefore the pdb_sam-getpwuid() and
	  pdb_getsampwrid() functions are interative searches :-(

    we need transaction support, multiple indexes, and a nice open
    source DBM.  The Berkeley DB (from sleepycat.com seems to fit
    this criteria now)

  o added a new parameter "private dir" as many places in the code were
    using lp_smb_passwd_file() and chopping off the filename part.
    This makes more sense to me and I will docuement it in the man pages

  o Ran through Insure-lite and corrected memory leaks.  Need for
    a public flogging this time Jeremy (-:



-- jerry
0001-01-01 00:00:00 +00:00
Gerald Carter
0435af4417 TDB password backend support written by Simo Sorce <simo.sorce@polimi.it>
Marked as an experimental compile time option (defaults to off) for now.





jerry
0001-01-01 00:00:00 +00:00
Jeremy Allison
70cecfefc8 Fixes from David Lee for utmp handling.
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
44ed8abb2a Fix for yp_get_default_domain from Neil Hoggarth <neil.hoggarth@physiol.ox.ac.uk>
Jeremy.
0001-01-01 00:00:00 +00:00
Tim Potter
2003c11c3e Re-ran autoconf 0001-01-01 00:00:00 +00:00
Jeremy Allison
711f15ac23 Fixes for IRIX kernel oplocks and systems that don't have nss.h
Jeremy.
0001-01-01 00:00:00 +00:00
Andrew Tridgell
fabe1f350e added support for kernel level share modes. These are a (small) hack,
I suspect we will either get rid of them or do them properly at some
stage.
0001-01-01 00:00:00 +00:00
Andrew Tridgell
92d0382c9e fixed autoconf test for kernel change notify support 0001-01-01 00:00:00 +00:00
Andrew Tridgell
44766c39e0 totally rewrote the async signal, notification and oplock notification
handling in Samba. This was needed due to several limitations and
races in the previous code - as a side effect the new code is much
cleaner :)

in summary:

- changed sys_select() to avoid a signal/select race condition. It is a
  rare race but once we have signals doing notification and oplocks it
  is important.

- changed our main processing loop to take advantage of the new
  sys_select semantics

- split the notify code into implementaion dependent and general
  parts. Added the following structure that defines an implementation:

struct cnotify_fns {
	void * (*register_notify)(connection_struct *conn, char *path, uint32 flags);
	BOOL (*check_notify)(connection_struct *conn, uint16 vuid, char *path, uint32 flags, void *data, time_t t);
	void (*remove_notify)(void *data);
};


then I wrote two implementations, one using hash/poll (like our old
code) and the other using the new Linux kernel change notify. It
should be easy to add other change notify implementations by creating
a sructure of the above type.

- fixed a bug in change notify where we were returning the wrong error
  code.

- rewrote the core change notify code to be much simpler

- moved to real-time signals for leases and change notify

Amazingly, it all seems to work. I was very surprised!
0001-01-01 00:00:00 +00:00
Andrew Tridgell
fbeb980434 continued the split of the kernel level oplocks code into a more
modular form. In this pass I added oplock_irix.c and added a "struct
kernel_oplocks" that describes a kernel oplock implementation.

I also removed the maintainence mode from the Makefile. It was causing
too much trouble. If someone really likes it they can keep a patch
around to enable it themselves.
0001-01-01 00:00:00 +00:00
Andrew Tridgell
0368f68529 - changed HAVE_KERNEL_OPLOCKS to HAVE_KERNEL_OPLOCKS_IRIX
- added autoconf test for HAVE_KERNEL_OPLOCKS_LINUX
0001-01-01 00:00:00 +00:00
Shirish Kalele
e0965a80bd Changed MS_DFS to WITH_MSDFS throughout.
Fixed trans2 calls on IPC$ to let dfs referral calls through.
0001-01-01 00:00:00 +00:00
Andrew Tridgell
e23f43e7d3 we don't need fnmatch.c any more 0001-01-01 00:00:00 +00:00
Andrew Tridgell
f137648504 got rid of some more old configure tests and includes 0001-01-01 00:00:00 +00:00
Andrew Tridgell
e8905a557a removed some obsolete configure tests (sysv ipc etc) 0001-01-01 00:00:00 +00:00
Andrew Tridgell
0b68660159 The following series of commits are for the new tdb based printing
backend. This completely replaces our old printing backend.

Major changes include:

- all print ops are now done in printing/*.c rather than scattered all
  over the place
- system job ids are decoupled from SMB job ids
- the lpq parsers don't need to be nearly so smart, they only need to
  parse the filename, the status and system job id
- we can store lots more info about a job, including the full job name
- the queue cache control is much better

I also added a new utility routine file_lines_load() that loads a text
file and parses it into lines. This is used in out lpq parsing and I
also want to use it to replace all of our fgets() based code in other
places.
0001-01-01 00:00:00 +00:00
Andrew Tridgell
0ec1072e01 split out the lpq parsing code into a separate file
printing/lpq_parse.c

getting ready for the new printing backend
0001-01-01 00:00:00 +00:00
Herb Lewis
351b25727e fixes for broken IRIX header file merged from 2.0 branch 0001-01-01 00:00:00 +00:00
Jeremy Allison
3a39acd353 IRIX include fixes.
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
567713a07c Added check for LL suffix to long long ints needed by AIX 4.3.x compiler
to allow successful build.
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
f02999dbf7 acconfig.h configure configure.in: Added check for UT_SYSLEN for utmp code.
include/byteorder.h: Added alignment macros.
include/nameserv.h: Added defines for msg_type field options - from rfc1002.
lib/time.c: Typo fix.
lib/util_unistr.c: Updates from UNICODE branch.
printing/nt_printing.c: bzero -> memset.
smbd/connection.c: Added check for UT_SYSLEN for utmp code.

Other fixes : Rollback of unapproved commit from Luke.
Please *ask* next time before doing large changes to HEAD.

Jeremy.
0001-01-01 00:00:00 +00:00
Tim Potter
b183c24220 Adding libtool support to HEAD branch. We're going to need this for
various things yet to be merged from TNG.  The smbwrapper stuff should
probably be ported across too.
0001-01-01 00:00:00 +00:00
Shirish Kalele
4684b4a188 dded Microsoft Dfs services.
* added a new msdfs/ directory under source/
* added msdfs sources under this directory.
* modified configure setup to add a --with-msdfs configure time option

 Modified Files:
 	Makefile.in acconfig.h configure configure.in
 	include/config.h.in include/includes.h include/proto.h
 	include/smb.h include/smb_macros.h param/loadparm.c
 	smbd/negprot.c smbd/nttrans.c smbd/process.c smbd/reply.c
 	smbd/server.c smbd/trans2.c
 Added Files:
 	include/msdfs.h msdfs/README msdfs/msdfs.c msdfs/msdfs_tdb.c
 	msdfs/parse_dfs_map.c
 ----------------------------------------------------------------------
0001-01-01 00:00:00 +00:00
Jeremy Allison
b52e92b09d Added replacement functions sys_popen and sys_pclose. These are based
on the glibc source code and are safer than the traditional popen as
they don't use a shell to exec the requested command. Now we have
these functions they can be tightened up (environment etc.) as required
to make a safe popen. It should now be safe to add the environement
variable loading code to loadparm.c
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
773d6e504b Added check for SGI IRIX brokenness with semaphores when using gcc.
Code from Don Badrak <dbadrak@census.gov>
Jeremy.
0001-01-01 00:00:00 +00:00
Tim Potter
8b26be1e82 Backed out -rdynamic linker option. It seems to be GNU ld specific.
Need a platform independant way of exporting symbols for dlopen().
Perhaps this is only needed for certain platforms anyway...
0001-01-01 00:00:00 +00:00
Tim Potter
4c14a343d1 Add -rdynamic to LDFLAGS if libdl found. 0001-01-01 00:00:00 +00:00
Jeremy Allison
94c075faee Wrapped popen calls in HAVE_POPEN - needed if we are to add the
env patch.
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
95d37a1d25 Added utmp fix from David Lee <T.D.Lee@durham.ac.uk>.
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
210d61db08 Moved check_plaintext_password() into smbd/chgpasswd.c from smbd/ipc.c.
configure configure.in include/config.h.in: Added <sys/un.h> autoconf
code for Luke's UNIX domain sockets code.
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
1ba42aca21 Converted most of the functions in lib/util_str.c to smb_ucs2_t equivalents.
Jeremy.
0001-01-01 00:00:00 +00:00
Andrew Tridgell
453a822a76 first pass at updating head branch to be to be the same as the SAMBA_2_0 branch 0001-01-01 00:00:00 +00:00
Luke Leighton
b2ea37a8f1 moved sys/un.h to after sys/socket.h. done a gnu autoconf around sys/un.h 0001-01-01 00:00:00 +00:00
Tim Potter
26d66071fb Put back in GNU readline support for smbclient accidentally trashed by
tridge in the clientgen.c to clientutil.c conversion.
0001-01-01 00:00:00 +00:00
Andrew Tridgell
ef3d61a80a Ken McDonell from SGI was interested in adding some profiling
capabilities to Samba so that Samba could talk to the SGI PCP
(Performance Co-Pilot) apps.

This change adds a profiling shared memory area and uses it to count
two fairly trivial things, the number of uid switches and the number
of SMB packets processes. To add more just edit include/profile.h and
then increment it at the right place.

I've also added a -P switch to smbstatus to dump the profile area.
0001-01-01 00:00:00 +00:00
Luke Leighton
511ef8a58c added <mysql.h> autoconf test. 0001-01-01 00:00:00 +00:00
Richard Sharpe
3598d90a32 More changes to get SSL working with 2.x.x
Now, we have most of the configure support done, next
have to fix Makefile.in and other things ...
0001-01-01 00:00:00 +00:00
Richard Sharpe
524c4d2978 Fixing up configure to properly support ssl 0001-01-01 00:00:00 +00:00
Andrew Tridgell
ccf6443887 and in head branch:
make sure we include sys/mman.h if available
0001-01-01 00:00:00 +00:00
Luke Leighton
d11859041d updated for Matt Chapman's ldap code 0001-01-01 00:00:00 +00:00
Jeremy Allison
6acb4b68f6 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.
0001-01-01 00:00:00 +00:00
Luke Leighton
c89642ff3f yp_prot.h and ypclnt.h correct: ypprot.h and yp_clnt.h wrong... 0001-01-01 00:00:00 +00:00
Luke Leighton
d502388234 re-added ypprot.h and yp_clnt.h 0001-01-01 00:00:00 +00:00
Luke Leighton
e76f593b35 unix instance of group database API 0001-01-01 00:00:00 +00:00
Jeremy Allison
34d8f4b1c4 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.
0001-01-01 00:00:00 +00:00
Jeremy Allison
b02d21a73d Fixed stupid blunder where I renamed getpwanam to getpwnam.
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
2d62dc26f4 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.
0001-01-01 00:00:00 +00:00
Jeremy Allison
1ef6d3bd63 Sync up with 2.0 code.
Added HPUX autoconf changes.
Added "gross hack" printer code.
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
5ad77769be 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.
0001-01-01 00:00:00 +00:00
Jeremy Allison
30af39ae1e 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.
0001-01-01 00:00:00 +00:00