1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-01 04:58:35 +03:00

6414 Commits

Author SHA1 Message Date
Tim Potter
544d0cf829 Terminate dfs referral alternate path string. DFS now works again in head
- hooray!
(This used to be commit 95df7ede465d835eb8ca1d1466c5153caf1a0d71)
2001-09-13 00:30:16 +00:00
Jeremy Allison
31e8101ea2 Fixed problems with arg parsing as root with smbpasswd.
Jeremy.
(This used to be commit 6399cf490dffbd162afa06f18cdd6e0364db567d)
2001-09-12 20:00:42 +00:00
Tim Potter
45762a62ce Converted msdfs referral server code to use rpcstr_push() functions. Still
doesn't work though.  )-:
(This used to be commit ec7296d6e9b5b61bac778c2093ee0cd0e23a2344)
2001-09-12 12:20:14 +00:00
Tim Potter
ad719ccbd6 String length fix from Toomas Soome <tsoome@ut.ee>
(This used to be commit 42417a425b524bc74360fdf6f1a16bfad38b9818)
2001-09-12 11:48:22 +00:00
Tim Potter
2f824ec474 Ignore torture test binaries.
(This used to be commit c5a94780dc653260cf6abd09f6a321b93806529a)
2001-09-12 07:36:27 +00:00
Tim Potter
ab4ebf4dd6 Fixed typo.
(This used to be commit 2138c4461921b8ac3141231169af1eaa6e85f9ba)
2001-09-12 07:22:55 +00:00
Tim Potter
b800a36b1c Some patches to authentication:
- the usersupplied_info now contains a smb_username (as it comes across on
   the wire) and a unix_username (after being passed through mapping
   functions)

 - when doing security={server,domain} use the smb_username, otherwise use
   the unix_username
(This used to be commit d34fd8ec0716127c7a68eeb8e77d1ae8cc07b547)
2001-09-12 06:39:50 +00:00
Andrew Tridgell
39d7983a47 - enable MSDFS by default, there seems no reason not to have it enabled
by default in Samba 3.x

- got rid of some unused parameters in Makefile.in

- declare DEBUGLEVEL in debug.h rather than in each file
(This used to be commit b8651acb9c0d7248a6a2e82c33b1e43633fd83fd)
2001-09-12 03:08:51 +00:00
Tim Potter
e041c15c53 Hmm - needs to be converted to pull/push unistr routines. But at least it
compiles now which should keep the build farm happy.
(This used to be commit 5686a2cfe874e8b30bcb2781fa4bfe7ae0cefb17)
2001-09-12 01:15:24 +00:00
Tim Potter
a39d4c052c Converted DFS error returns to WERROR instead of uint32.
(This used to be commit 97286570ef6f9151b5fe0be32aa4b294e7db9ab8)
2001-09-12 01:14:03 +00:00
Tim Potter
db9ba1f875 Moved and renamed DFS error constants from include/rpc_dfs.h to doserr.h to
fit in with new error reporting subsystem.
(This used to be commit dbfd50d447e4166a4233034885666d985ca6beb8)
2001-09-12 01:11:43 +00:00
Tim Potter
91bd0d7e9b Update from sgml source.
(This used to be commit e101e945b78fbe53b6bdcf6ddaa9355547af09fd)
2001-09-11 05:28:56 +00:00
Tim Potter
11ad75cf8a Fixed some bad markup.
(This used to be commit f66899965ea3d9677ba75dff56df2319b3e4b7c0)
2001-09-11 05:26:44 +00:00
Tim Potter
1ca1751862 Standardised on 'var = value' when referencing smb.conf parameters, rather
than 'var=value'.

Fixed up some dodgy quoting on the way.
(This used to be commit 0606c194d6e3aba0c1aac883fe04e0c6e9e9a578)
2001-09-11 05:19:10 +00:00
Richard Sharpe
8e80cb0e34 Tweak the building rules under Solaris with CC.
(This used to be commit d3758404d43b1b4be0b980a4fe078cab458e6d21)
2001-09-11 04:29:25 +00:00
Tim Potter
a94843061a Added a string for NT_STATUS_OK, m'kay?
(This used to be commit ff149308349fbf80399d9d541659f3c1d668306a)
2001-09-11 04:14:26 +00:00
Richard Sharpe
03afeaecfc Make sure to commit configure
(This used to be commit a3f5139beb774163f811d9e68839742b4d938e87)
2001-09-11 03:11:06 +00:00
Richard Sharpe
4353ea7d25 Some small changes to configure to remove things like -X4 etc on compiles.
(This used to be commit ec6c5da124bc0f090d8aef40247acd44aa2850f9)
2001-09-11 03:10:29 +00:00
Herb Lewis
70a51f9a37 fix typo
(This used to be commit 51795ca3509d9f1a076fae902211ebad02897c72)
2001-09-11 00:22:33 +00:00
Jeremy Allison
45706091f3 Fix for second logic bug when handing oplock breaks and client messages
simultaneously.
Jeremy.
(This used to be commit 227325b2d63dad55cbcda9608fba676fb6ce5584)
2001-09-10 23:03:14 +00:00
Herb Lewis
866598e430 left out {
(This used to be commit 70bd17473a2106ef41b5d921595ce537ec1871cb)
2001-09-10 22:40:15 +00:00
Herb Lewis
c5dd2c8271 prevent segv by not calling tdb_traverse and tdb_close if tdb_open_log
returns NULL.
(This used to be commit afdf93836b59d5d9ede2ac0f3298d99471872829)
2001-09-10 22:31:59 +00:00
Gerald Carter
cae476a1a2 cut-n-paste error
(This used to be commit b2ed211df0cad2013fd8ff67f48bf73962cc1d39)
2001-09-10 19:30:34 +00:00
Gerald Carter
c113b5196f merge from APPLIANCE_HEAD
(This used to be commit 55bd514c4576a273dac1ac5c37207a96b41f6572)
2001-09-10 19:29:00 +00:00
Andrew Tridgell
4d65bc0949 convert more code to use XFILE
(This used to be commit fd24265c06f6d2b636c1863941a33029dd9f3828)
2001-09-10 13:09:54 +00:00
Andrew Tridgell
79139fe8d8 convert more code to use XFILE
(This used to be commit fe6679dffba9a92bb35933ad52172c9be0e9ef90)
2001-09-10 12:46:42 +00:00
Andrew Tridgell
b12a4dd9b6 declare dbf in one spot
(This used to be commit f41c3bb80f1e498a9d27f6e236b0ff3a742764c9)
2001-09-10 12:14:18 +00:00
Andrew Tridgell
162e975514 more static/dead fns
(This used to be commit f59826c0c9ba283c25faeec2cbdc7e19cca7aa04)
2001-09-10 11:45:09 +00:00
Andrew Tridgell
12752486db kill a dead fn and make a local one static
(This used to be commit 1e9815105e235ad1141b899b03d3de756d217d49)
2001-09-10 11:34:32 +00:00
Andrew Tridgell
11bd06e99c made a couple of local fns static
(This used to be commit f0851202a852bed28fbd2446b44ce2b977ddacd8)
2001-09-10 11:23:41 +00:00
Andrew Tridgell
39b24e4865 passdb/smbpassfile ain't needed any more - it only provided migration from an ancient file format, not relevant for Samba 3.0
(This used to be commit 954adb630d7c41a45de3a0d656d03499e20727b6)
2001-09-10 11:16:18 +00:00
Andrew Tridgell
f096ba37af added xfile
(This used to be commit 7c2fe172c3322433571e73a0bef5c67168dd7c80)
2001-09-10 11:09:36 +00:00
Andrew Tridgell
b30e75692d replaced stdio in many parts of samba with a XFILE. XFILE is a cut-down
replacemnt of stdio that doesn't suffer from the 8-bit filedescriptor
limit that we hit with nasty consequences on some systems

I would eventually prefer us to have a configure test to see if we need
to replace stdio, but for now this code needs to be tested widely so
I'm enabling it by default.
(This used to be commit 1af8bf34f1caa3e7ec312d8109c07d32a945a448)
2001-09-10 11:08:57 +00:00
Richard Sharpe
ba8e3e0343 Make sure that if there are no interfaces, name_register_wins does not
segfault.
(This used to be commit a7842fac94a3f772da0e6ddf14044df24af798a9)
2001-09-09 09:59:33 +00:00
Christopher R. Hertel
0366f1d4bc Typo fix per Vance on IRC.
(This used to be commit 6f388502622fe77ae13ac2b0ae8f39b2e77ba455)
2001-09-09 04:21:12 +00:00
Andrew Tridgell
381b245d79 fixed typo
(This used to be commit 160906b57de8d1f8f76e716e0691223f743e07eb)
2001-09-09 03:18:23 +00:00
Andrew Tridgell
444a01d265 removed pointless parameter from readfile()
(This used to be commit 0742342ec496bec7246e067280737cd507465b50)
2001-09-09 02:43:30 +00:00
Andrew Tridgell
eb7b28759a fixed missing const on d_printf declaration
(This used to be commit 865e0507e6e6ad6a71d833c4f2a0f57362637719)
2001-09-09 02:37:10 +00:00
Andrew Tridgell
65c5a1c0ba convert more code to using d_printf
(This used to be commit 60d297303488ed583537ca2853828fccd6da2ade)
2001-09-08 02:59:23 +00:00
Andrew Bartlett
ed8883c5dd Change the description on --with-pam_smbpass to make it clearer - some peope
seem to think you need this module for normal samba/PAM operation.

rerun autoconf
rerun autoheader

(Note that --with-pam_smbpass still doesn't build, but at least when it does
again only people who actually need it will select it).
(This used to be commit bbda3dd7422a434f19ca8968dab8f9f210254c2f)
2001-09-07 23:56:54 +00:00
Jeremy Allison
84cca75739 Don't fail if no owner/group owner set. Use existing owners.
Jeremy.
(This used to be commit 9961c4c1a3b2dbf8d1062bc1fa103488c0d0ba79)
2001-09-07 20:08:16 +00:00
Jeremy Allison
0135666934 #ifdef out function when not used.
Jeremy.
(This used to be commit fa8d626a2773569a454451e77ea56c707b33b69e)
2001-09-07 20:01:19 +00:00
Volker Lendecke
22b51232c0 Fixed paragraph about byte range locking. Jerry, could you make a pdf of this?
Thanks,

Volker
(This used to be commit 3811b6a9eba8c5567b4df01c86cc4fe33b0a8079)
2001-09-07 15:35:26 +00:00
Andrew Tridgell
5573a1c739 added "display charset" option in smb.conf, along with d_printf()
which should now be used instead of DEBUG(0) or printf() for
interactive messages

I have only converted client.c to use d_printf(), and the code hasn't
had much testing yet. Eventually we want all interactive code to use
d_printf(), plus SWAT
(This used to be commit 266d8e67669adb329f25676c4bc4d4c50f223428)
2001-09-07 14:14:57 +00:00
Jeremy Allison
83ebf2b6b2 Fix the 62bit locking onto 32 bit NFS mounts problem generically for HPUX.
Don. please check this out.
Jeremy.
(This used to be commit ce9f95996498f7795aaef069e1443ea1c7d524b3)
2001-09-06 22:43:21 +00:00
Andrew Tridgell
9a9ac2739b got rid of USE_TDB_MMAP_FLAG as its not needed any more
(This used to be commit c26e0d3f27a05ecc8bd2390f9aab7f9451524e47)
2001-09-06 22:08:19 +00:00
Jeremy Allison
a92f02a0a0 Fixed O(N^2) talloc loop when allocating printer name memory - fix from
Richard Bollinger <rabollinger@home.com>.
Jeremy.
(This used to be commit 408c0595bbeafca87795e5278656471fbe0540e8)
2001-09-06 15:48:29 +00:00
Andrew Tridgell
fc07eb5eef - fixed proto.h build on systems using a parallel make
- changed DENY1 and DENY2 tests to only report errors
(This used to be commit 9341e5534d0786e6ad7980e5fd1a0b35d77a2806)
2001-09-06 10:37:21 +00:00
Tim Potter
f9f31ba33c Converted to NTSTATUS return codes.
Started on producing smbpasswd output from user account information.
Doesn't work yet.

Added -U option so samsync can be run interactively.
(This used to be commit 842fcd94fa847f71d828a46b092f5837743ffcde)
2001-09-06 09:15:57 +00:00
Tim Potter
65e35d5d4b Started a cleanup of smbpasswd related stuff. I've created a new file
lib/smbpasswd.c which will contain routines related to manipulating
smbpasswd entries.

 - renamed and moved pdb_{get,set}hexpwd() functions
 - renamed and moved pdb_{decode,encode}acct_ctrl() functions
 - started hiding references to the cruftalicious
   NEW_PW_FORMAT_SPACE_PADDED_LEN constant
 - started gradual rename of references to acct_ctrl to acb_info which is
   the nomenclature used in MSDN and header files

There's still more work to be done.  Currently there are several places
where smbpasswd entries are iterated etc.  Ideally this should all happen
through the passdb system.
(This used to be commit 4a01e240305fb6fead973beef4937a016b15d744)
2001-09-06 09:10:26 +00:00