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

4058 Commits

Author SHA1 Message Date
Jeremy Allison
0d658c35eb Fixed bug with tdb_next_lock failing when reaching then end of a hashchain
and the next hashchain is empty.
Jeremy
(This used to be commit f3b5e2a172)
2000-12-07 17:46:11 +00:00
Jeremy Allison
c31211167b Added better configure test for POSIX ACLs. Fixed stupid typo in sysacls.c
Jeremy.
(This used to be commit da6ae57501)
2000-12-07 06:23:01 +00:00
Tim Potter
028b197845 Added smbcacls binary.
(This used to be commit b380c3b9cc)
2000-12-07 06:11:27 +00:00
Tim Potter
34402b75b5 Added undocumented -t command for testing parsing of acl entries.
Print out hex value for ace mask if we can't decode it.

We can now parse FULL,CHANGE,READ as well as combos of RWXDPO as ace mask
values.

Clarified usage message.

Bomb out if excess args are given.
(This used to be commit ed5bda119a)
2000-12-07 06:05:57 +00:00
Jeremy Allison
423227d7ca 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.
(This used to be commit 6ae63e502e)
2000-12-07 05:38:01 +00:00
Jeremy Allison
70922b9bbe Cause smbd to use the new posix_acls code, not the old unix_acls code.
Currently does exactly the same thing (returns ACLs the same way). This
code is written to try and get a POSIX ACL via the abstract sys_XX interface,
then fall back to providing a UNIX based ACL if the calls fail. Seems to
work. Next step is to add a --with-posix-acls to configure.in and then
check on a POSIX ACL system that a complex ACL is returned correctly
as an NT ACL. Note that the ACL set (a more complex problem) is not
addressed yet.
Jeremy.
(This used to be commit 4339e20202)
2000-12-06 23:24:31 +00:00
Gerald Carter
e899f04a68 update for new pdbedit tool (code from Simo)
--jerry
(This used to be commit 3d0ecea18d)
2000-12-06 18:24:10 +00:00
Gerald Carter
c09b1d19f8 updates to the tdbsam implementation.
--jerry
(This used to be commit 29b3ac8634)
2000-12-06 18:22:29 +00:00
Gerald Carter
b6e03bf737 added passdb editor (rough form with a few bugs) Should work
with all backends.


--jerry
(This used to be commit fc43c63f48)
2000-12-06 18:18:48 +00:00
Tim Potter
a1f4e6e927 Print debug if domain_client_validate() cannot fetch the trust account
password (say for example if the tdb file format has changed).  (-:
(This used to be commit 447fbb38a8)
2000-12-06 03:22:44 +00:00
Tim Potter
bd54bcb397 make proto again
(This used to be commit 746e03dce8)
2000-12-06 02:55:08 +00:00
Tim Potter
6e9eb6a316 tdb_chainunlock() no longer returns a value.
(This used to be commit 2c9704c3db)
2000-12-06 02:53:36 +00:00
Tim Potter
4cf7fcc505 Fixed compiler warning.
(This used to be commit 6553f1d027)
2000-12-06 02:52:54 +00:00
Tim Potter
a58ca91245 tdb_unlockchain() no longer returns a value
(This used to be commit aee52c7acf)
2000-12-06 02:51:13 +00:00
Jeremy Allison
0293259eaa Make smbd/posix_acls.c use abstract interface.
include/smb_acls.h lib/sysacls.c: Added as interface definitions.
Jeremy.
(This used to be commit 8359375bba)
2000-12-06 02:32:48 +00:00
Tim Potter
b9df5ca827 Update required after changes to configure.in
(This used to be commit 644aa834e5)
2000-12-06 01:55:19 +00:00
Tim Potter
1f6fc3988d Fixed compiler warning.
(This used to be commit 5e81151e53)
2000-12-06 01:47:06 +00:00
Jeremy Allison
b881a55dfd Moving to abstract API interface (sys_get_acl() etc.) to allow system
specific ACL calls to be dealt with elsewhere. This file will eventually
be able to replace the old UNIX acl interface.
Jeremy.
(This used to be commit b27cac7762)
2000-12-06 01:34:16 +00:00
Jeremy Allison
b2d1c4fdee Sync-up with appliance-head printing code.
Jeremy.
(This used to be commit fe730614d7)
2000-12-06 00:37:25 +00:00
Jeremy Allison
7e4c4721b4 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.
(This used to be commit 9dea7b7c25)
2000-12-06 00:05:15 +00:00
Jeremy Allison
1cd8538b7a Fixed one tdb_read -> rec_free_read call.
Jeremy.
(This used to be commit c9884e16fc)
2000-12-05 03:44:30 +00:00
Jeremy Allison
1218b41474 Added sorted freelist neighbour merge code to stop tdb fragmentation.
This needs TESTING !!! (It passes tdbtest of course :-).
Jeremy.
(This used to be commit 7ae54a93e7)
2000-12-05 03:12:57 +00:00
David O'Neill
7e9736703c Remove C++ style comments
(This used to be commit 80c192244f)
2000-12-04 17:16:44 +00:00
Andrew Tridgell
d7a502f5a8 fixed a typo
(This used to be commit c9e4dea1cb)
2000-12-04 07:39:22 +00:00
Andrew Tridgell
3eee7625b1 added a comment
(This used to be commit 032442802f)
2000-12-04 07:38:06 +00:00
Andrew Tridgell
723c9b87e7 fixed the parsing again and got setting acls working with w2k
(This used to be commit 374d08be64)
2000-12-04 07:27:35 +00:00
Andrew Tridgell
d931013008 pass the desired access into cli_nt_create()
(This used to be commit a2d07994e0)
2000-12-04 07:26:56 +00:00
Tim Potter
54100bac69 Added some cli_errstr() calls.
(This used to be commit faaa71a032)
2000-12-04 06:46:52 +00:00
Tim Potter
92abcbc040 Removed lsa lookup warnings (I'll remember).
Print an error if -M refers to a non-existent ACL.
(This used to be commit ee6f5a9672)
2000-12-04 06:43:36 +00:00
Andrew Tridgell
3d43b2db28 fixed setting ACLs on directories
(This used to be commit 117956ecb1)
2000-12-04 06:39:31 +00:00
Andrew Tridgell
3a01ece497 fixed indentation
(This used to be commit b7a1c00bed)
2000-12-04 06:39:14 +00:00
Tim Potter
252e3ba128 Mask value now displayed as READ/CHANGE/FULL for standard permissions, or
RWXDPO for special permissions.

Append 0x to values printed as hex.

Spruced up the help message.
(This used to be commit 8a20318c56)
2000-12-04 06:14:28 +00:00
Andrew Tridgell
5092ad82ba removed SACL support (as it doesn't work with w2k if you ask for
SACLs)
(This used to be commit 52b27d75e1)
2000-12-04 04:58:40 +00:00
Andrew Tridgell
ca784bb028 in cli_session_setup() accept usernames of the form DOMAIN/USER or
DOMAIN\USER

this means all our tools can now put the domain name in the -U option
(This used to be commit bac1c76f03)
2000-12-04 04:26:22 +00:00
Andrew Tridgell
576a106d03 signed/unsigned warning fixed
(This used to be commit 71adecd163)
2000-12-04 03:27:02 +00:00
Andrew Tridgell
9b8a930f2c c++ style comments are NOT allowed
(This used to be commit 8b3c1f4455)
2000-12-04 03:01:31 +00:00
Andrew Tridgell
6399b62175 fixed acls set bug
(This used to be commit 44524958ed)
2000-12-04 02:01:57 +00:00
Andrew Tridgell
af4649bdf3 new proto
(This used to be commit 27c676cb3b)
2000-12-04 02:01:12 +00:00
Andrew Tridgell
0e494d7ec6 no longer pass the type to make_sec_desc(), instead the type is
derived from the other arguments
(This used to be commit 9ec4b1fa48)
2000-12-04 01:58:22 +00:00
Andrew Tridgell
0884d6ab52 fixed SACL bug
(This used to be commit 077ee4a7ac)
2000-12-04 00:35:31 +00:00
Andrew Tridgell
a4c11729b2 - with -D only delete first match
- fixed delete bug
(This used to be commit 1e0d5f0695)
2000-12-04 00:33:08 +00:00
Andrew Tridgell
0cb1c512f1 - added help
- added add/modify/delete/set as separate operations
(This used to be commit cb324b53c6)
2000-12-03 12:41:28 +00:00
Andrew Tridgell
efcb07a0dd new protos
(This used to be commit 0a990f02d0)
2000-12-03 11:05:30 +00:00
Andrew Tridgell
dc3251b460 cleaner parsing and default handling
(This used to be commit f8dbd2b799)
2000-12-03 11:05:11 +00:00
Andrew Tridgell
1fac52f9f0 changed an error message
(This used to be commit f9f14a4293)
2000-12-03 11:04:45 +00:00
Andrew Tridgell
3b22b74f9d - better parsing
- started to add non-numeric support
(This used to be commit fd4c03aef6)
2000-12-03 08:35:11 +00:00
Andrew Tridgell
4fee254d67 getting/setting acls now works. The SIDs are still numeric, the next
step is to support usernames etc
(This used to be commit 6cea1647fc)
2000-12-03 07:36:15 +00:00
Andrew Tridgell
c93f686f01 added basic ability to dump remote file acls
(This used to be commit c6c90dc8e1)
2000-12-03 05:24:16 +00:00
Andrew Tridgell
bf0f2ea6b6 make sure we don't duplicate object files
(This used to be commit 976b9f6264)
2000-12-03 05:23:46 +00:00
Andrew Tridgell
856816754d new proto
(This used to be commit 2f21a0b100)
2000-12-03 02:20:33 +00:00
Andrew Tridgell
83bd929883 a prootype program for querying/setting a security decsriptor on a
remote machine

it is by no means complete, expect more commits soon
(This used to be commit f2f9859b70)
2000-12-03 02:19:27 +00:00
Andrew Tridgell
0f1713068f - added client support for nttrans calls
- added a cli_ function for querying a security descriptor on a remote file
(This used to be commit e21994ff9d)
2000-12-03 02:18:14 +00:00
Andrew Tridgell
996bcb55a8 split the RPC_PARSE object into two pieces. The first is included as
part of LIBSMB and the latter is used by parts of samba that know
about the pwd backends
(This used to be commit 3420b52da5)
2000-12-03 02:15:58 +00:00
Jeremy Allison
040de369b2 Added print_freelist command.
Jeremy.
(This used to be commit ee89ca9e68)
2000-12-02 01:04:11 +00:00
Andrew Tridgell
e23067ad65 change the split threahold for the free list to prevent freelist
fragmentation
(This used to be commit b64e1ae693)
2000-12-02 00:53:03 +00:00
Andrew Tridgell
d546f555a2 fixed messaging bug - use strlen() instead of sizeof() in key length
(This used to be commit 1d63160c75)
2000-12-02 00:51:50 +00:00
Tim Potter
38a585c99d Allow zero length smb.conf files.
(This used to be commit 46007a541c)
2000-12-01 04:10:54 +00:00
Tim Potter
afa1a5abaa Run configure script using dirname of $0. This allows configure.developer
to be run when the build directory != source directory.
(This used to be commit 697e8e6de5)
2000-12-01 01:22:17 +00:00
Tim Potter
7d7c9a2f79 Use lp_codepagedir() instead of CODEPAGEDIR when loading the unicode map.
Found by Joseph Cheek <joseph@cheek.com>
(This used to be commit ec74fdc631)
2000-12-01 01:14:55 +00:00
Jeremy Allison
36390f7293 Code to read & return POSIX ACLs as NT ACLs. Close to test on Linux.
Jeremy.
(This used to be commit 52e9311bc2)
2000-12-01 00:32:25 +00:00
Jeremy Allison
8c0a28802a Keep syncing up POSIX ACL work...
Jeremy.
(This used to be commit 8f0062b873)
2000-11-30 19:31:04 +00:00
Jeremy Allison
94558441aa Work in progress, doesn't compile. Adding the POSIX ACL mapping....
Jeremy.
(This used to be commit bcac4ede76)
2000-11-30 01:00:36 +00:00
Jean-François Micouleau
0e84103a54 alignment issues.
I hate that job ...

	J.F.
(This used to be commit 97e3b29356)
2000-11-29 14:39:06 +00:00
Jeremy Allison
366bf693d2 include/dlinklist.h: Added '{' '}' around DLIST_PROMOTE so it can be used as a single
statement after an 'if'. Tracking this down took 4 hours from my life and ANDREW I WANT
THEM BACK !!!!! :-).
include/smb.h smbd/password.c: Fixed the bug veritas reported with realloc of the validated_users
array growing without bounds. This is now a linked list as god (Andrew) intended :-).
Jeremy.
(This used to be commit 346f2f9206)
2000-11-28 22:17:44 +00:00
Shirish Kalele
a149c6b025 Ran DFS on Linux and found that readlink() on Linux does not append NUL
to the link read. So add a NUL..
(This used to be commit 04ebcf954c)
2000-11-28 00:26:42 +00:00
Jeremy Allison
0f1c800f85 passdb/secrets.c passdb/smbpassfile.c smbd/server.c : Actually *use* the code
written to transition from an old DOMAIN.MACHINE.MAC file to secrets.tdb.
printing/nt_printing.c: Fix case insensitive name lookups for driver files.
John - this should fix the Win9x/WinME problem correctly.
Jeremy.
(This used to be commit 8f3332a9ac)
2000-11-27 23:59:42 +00:00
Jeremy Allison
120f3afa89 Fixed messaging so main smbd can get lib/message.c messages.
Jeremy.
(This used to be commit 349d58fb57)
2000-11-27 21:37:07 +00:00
Jeremy Allison
a1c3f33d94 Removed unnessesary init.
Jeremy.
(This used to be commit 2a797f9aa2)
2000-11-27 19:14:10 +00:00
Andrew Tridgell
fb3daf3653 fixed a potential locking deadlock in tdb
(This used to be commit 03453e2ae5)
2000-11-27 06:35:12 +00:00
Jeremy Allison
efb7bb3bcf This should fix Office failing to print to "FILE:".
Jeremy.
(This used to be commit a08b08f778)
2000-11-24 19:53:38 +00:00
Jeremy Allison
8d26523e90 Tar fixes from Craig Barratt craig@arraycomm.com.
Jeremy.
(This used to be commit cf05709ec3)
2000-11-22 23:06:29 +00:00
Gerald Carter
af85ca538c o fixed logon script problems (wrong len in reply to net_sam_logon for
a few strings).  I was the one who broke it obviously.

o changed a few more defaults in the smbpasswd backend with
  respect to times.  Now the logon time becomes '0' and the
  pass_can_change_time is set ot the same as pass_last_set_time

o change Get_Pwnam() call in local_lookup_name to sys_getpwnam()
  as it did not seem necessary to try case permutations in the
  username.

  Tim,  I think this was your code, so you might want to double
  check me.


-- jerry
(This used to be commit 37a665002c)
2000-11-22 19:51:41 +00:00
Jeremy Allison
b935b968ec Free talloc'ed memory from the main smbd. Patch from Rich Bollinger, Elliott Company
Jeremy.
(This used to be commit e041b144b2)
2000-11-22 19:42:54 +00:00
David O'Neill
a69a1a87d8 Changes from APPLIANCE_HEAD:
- Add code to test equivalence of private data in NT_DEVICEMODE
(This used to be commit 684981851f)
2000-11-22 16:19:07 +00:00
Jeremy Allison
6003be4856 ADDPRINTERDRIVER info level 6 fix - this is dynamic depending
on a field in the struct - that's why it was so hard to find.
Jeremy.
(This used to be commit 0ab6eb01b0)
2000-11-22 01:26:09 +00:00
Jeremy Allison
7254a66e00 Don't forget to convert into UNIX character set before calling
winbindd.
Jeremy.
(This used to be commit 00cd72c385)
2000-11-21 22:37:03 +00:00
Gerald Carter
14067f9c9c combined 2 if statments which used the same condition
-- jerry
(This used to be commit 445fd1dbd8)
2000-11-21 06:05:08 +00:00
Gerald Carter
eb2f9f8c92 make proto
(This used to be commit e0a02249d3)
2000-11-21 06:01:53 +00:00
Gerald Carter
0dcbafe2b9 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
(This used to be commit 4792029a29)
2000-11-21 05:55:16 +00:00
Jeremy Allison
2130ced345 Fix for off-by-one StrnCpy.
Jeremy.
(This used to be commit 63cafb34b3)
2000-11-21 02:38:22 +00:00
Jeremy Allison
2bd3a436fd Fix for updating of print queues changed from a local box. Essentially,
this makes sure that the change messages sent to ourselves are handled
synchronously w.r.t. other smb packets incoming.
Jeremy.
(This used to be commit 78a1307445)
2000-11-21 00:30:15 +00:00
Jeremy Allison
ac4d277561 Fix from John Reilly for equivalence tests.
Jeremy.
(This used to be commit b456274a7b)
2000-11-17 23:10:56 +00:00
Andrew Tridgell
5f8ff6056a we don't need the separate lp_status() connection records any more
(This used to be commit 209e20365e)
2000-11-17 03:31:03 +00:00
Andrew Tridgell
0de5569304 fixed the problem with messages not getting through
the problem had nothing to do with being your own pid, it was instead
a problem with IPC$ connections not being registered in the
connections database and an incorrect test for -1 in the messaging
code.

These changes also mean that IPC$ shares now show up in
smbstatus. That is probably a good thing.
(This used to be commit 3575ad1098)
2000-11-17 03:15:18 +00:00
Jeremy Allison
475fb713a9 Fix for memory leak when adding driver.
Jeremy.
(This used to be commit eeab4e0290)
2000-11-17 02:22:35 +00:00
Andrew Tridgell
08036f0f3d support smbcontrol sending messages to itself (for testing purposes)
(This used to be commit 5dfae86dab)
2000-11-17 01:20:03 +00:00
Andrew Tridgell
9770a81363 save and restore errno in select
(This used to be commit 34f0379096)
2000-11-17 01:05:50 +00:00
Jeremy Allison
29e6b9cdd0 Delete queue on empty.
Jeremy.
(This used to be commit 6e18a2aa58)
2000-11-17 00:48:02 +00:00
Jeremy Allison
901c3224de John Reillys fix for de-registering broadcast names (NT doesn't do this).
Jeremy.
(This used to be commit 245907f2af)
2000-11-17 00:33:06 +00:00
Jeremy Allison
826c2f9269 Fix for incorrect break using wrong offset when updating a form.
Jeremy.
(This used to be commit 365c76e39d)
2000-11-17 00:31:29 +00:00
Andrew Tridgell
7c8e73e943 the duplicate checking code will cause unaligned accesses on non-intel
processors. Fixed.
(This used to be commit 64d38c2410)
2000-11-17 00:08:42 +00:00
Andrew Tridgell
2add922323 use process_exists() not kill(pid, 0)
(This used to be commit 30048cff12)
2000-11-17 00:02:16 +00:00
Jeremy Allison
cdac09614e Fix for a problem with the new messaging system. If a sender is using the
messaging system as a notification mechanism, and the speed of notification
greatly exceeds the speed of message recovery, then you get a massively (>75Mb)
growing tdb. If the message is a simple notification, then the message is
static, and you only need one of them in transit to a target process at
any one time.
This patch adds a BOOL "allow_duplicates" to the message_send_XX primitives.
If set to False, then before sending a message the sender checks the existing
message queue for a target pid for a duplicate of this message, and doesn't
add to it if one already exists.
Also added code into msgtest.c to test this.
Jeremy.
(This used to be commit 3aa7995660)
2000-11-16 21:38:24 +00:00
Jeremy Allison
fb71f4a0af Fix for plaintext passwords from Pat Sandfort @ HP.
Jeremy.
(This used to be commit b8753b92fb)
2000-11-16 21:33:21 +00:00
Jeremy Allison
9df3d64a2c Fix from Jim McDonough @ IBM for OS/2 clients.
Jeremy.
(This used to be commit f571e1efd0)
2000-11-16 19:08:55 +00:00
Jeremy Allison
6f58dd5871 Ok - fixed a bug in our levelII oplock code. We need to break a level II on
a byte range lock (write lock only, but Win2k breaks on read lock also so I
do the same) - if you think about why, this is obvious. Also fixed our client
code to do level II oplocks, if requested, and fixed the code where we would
assume the client wanted level II if it advertised itself as being level II
capable - it may not want that.
Jeremy.
(This used to be commit 213cd0b519)
2000-11-16 00:59:18 +00:00
Jeremy Allison
14355a6434 Uninitialized memory read fixes.
open_file_shared takes a DOS pathname, not a UNIX one.
Jeremy.
(This used to be commit b2b59b93ff)
2000-11-15 02:39:11 +00:00
Jeremy Allison
e8d43bbfe4 Tuyrn debug timestamps on by default.
Add Tim's lpq race fix.
Jeremy.
(This used to be commit d43405bc47)
2000-11-15 01:11:38 +00:00
Jeremy Allison
4bce271e4f Merge from appliance head of JR's changes for driver versioning.
Jeremy.
(This used to be commit cdbd2e9977)
2000-11-14 21:56:32 +00:00
David O'Neill
47dc568a3b - fix "declaration of 'time' shadows global declaration" warning.
(This used to be commit 92ff07132b)
2000-11-14 15:50:30 +00:00
David O'Neill
f9680a444b Changes from APPLIANCE_HEAD:
- merged Tim's vlp (virtual lp) test program.  Enable it with
      -DDEVELOPER or by using ./configure.developer
	  (source/include/smb.h source/configure.developer
	   source/printing/lpq_parse.c source/param/loadparm.c
	   testsuite/printing/.cvsignore testsuite/printing/Makefile.vlp
	   testsuite/printing/vlp.c)
(This used to be commit fbcf83140d)
2000-11-14 15:26:53 +00:00
Jeremy Allison
e0bcc7ff54 printing/nt_printing.c: After long soul searching and making both Andrew and my
life a misery, here is the only possible null driver fix we have found.
		This *SUCKS*.
rpc_server/srv_spoolss_nt.c: Correct printername search. Correct portname reply
						Correct attributes reply. Removal of unused temp variable.
Jeremy.
(This used to be commit 06e71c9f8b)
2000-11-14 02:14:58 +00:00
Jeremy Allison
f77ceb61c0 Fixed the cut-n-paste bugs in the new passdb backend code that leaked memory.
Jeremy.
(This used to be commit 55c6acce26)
2000-11-14 01:40:40 +00:00
Jeremy Allison
8993ee7d6c Tims fixes for non-local lookup.
Jeremy.
(This used to be commit 38e04c43cc)
2000-11-13 23:37:53 +00:00
Gerald Carter
9fede0dc0d Large commit which restructures the local password storage API.
Currently the only backend which works is smbpasswd (tdb, LDAP, and NIS+)
are broken, but they were somewhat broken before. :)

The following functions implement the storage manipulation interface

/*The following definitions come from  passdb/pdb_smbpasswd.c  */

BOOL pdb_setsampwent (BOOL update);
void pdb_endsampwent (void);
SAM_ACCOUNT* pdb_getsampwent (void);
SAM_ACCOUNT* pdb_getsampwnam (char *username);
SAM_ACCOUNT* pdb_getsampwuid (uid_t uid);
SAM_ACCOUNT* pdb_getsampwrid (uint32 rid);
BOOL pdb_add_sam_account (SAM_ACCOUNT *sampass);
BOOL pdb_update_sam_account (SAM_ACCOUNT *sampass, BOOL override);
BOOL pdb_delete_sam_account (char* username);

There is also a host of pdb_set..() and pdb_get..() functions for
manipulating SAM_ACCOUNT struct members.  Note that the struct
passdb_ops {} has gone away.  Also notice that struct smb_passwd
(formally in smb.h) has been moved to passdb/pdb_smbpasswd.c
and is not accessed outisde of static internal functions in this
file.  All local password searches should make use of the the SAM_ACCOUNT
struct and the previously mentioned functions.

I'll write some documentation for this later.  The next step is to fix
the TDB passdb backend, then work on spliting the backends out into
share libraries, and finally get the LDAP backend going.

What works and may not:

	o domain logons from Win9x 	works
	o domain logons from WinNT 4	works
	o user and group enumeration
		as implemented by Tim	works
	o file and print access		works
	o changing password from
		Win9x & NT		ummm...i'll fix this tonight :)

If I broke anything else, just yell and I'll fix it.  I think it
should be fairly quite.





-- jerry
(This used to be commit 0b92d0838e)
2000-11-13 23:03:34 +00:00
Tim Potter
8f338ee3dd Fetch authentication info before actually using it.
(This used to be commit 600eb0eb00)
2000-11-11 01:21:31 +00:00
Jeremy Allison
20838bb9ed Merge of Herb's profiling code.
Jeremy.
(This used to be commit 3be056c71a)
2000-11-11 00:33:33 +00:00
Jeremy Allison
c97023b14c Merge in Herb's changes from 2.2.
Jeremy.
(This used to be commit 24d76c5fbd)
2000-11-10 22:07:57 +00:00
Jeremy Allison
108f86dccc Added Tim's changes to lock DB during update.
Jeremy.
(This used to be commit f25b5798b8)
2000-11-10 22:05:08 +00:00
Jeremy Allison
6cc6a4f3f3 rpc_parse/parse_spoolss.c: Updated comment for old version of W2K.
tdb/tdbutil.c: With varargs uint16 is cast to (int).
Jeremy.
(This used to be commit 98764c5df9)
2000-11-10 21:24:09 +00:00
Jeremy Allison
c1900772ce printing/nt_printing.c: use getpwuid not smbgetpwuid. Canonicalize printernames.
printing/printing.c: Insure fix for malloc of zero.
rpc_parse/parse_misc.c: Enusre UNISTR's are zero filled.
rpc_parse/parse_spoolss.c: Correct INFO_6 - differs between pre-releases of W2K and shipping build.
rpc_server/srv_spoolss_nt.c: Canonicalize printernames.
Jeremy.
(This used to be commit b17e23a8ff)
2000-11-10 19:36:34 +00:00
Jeremy Allison
3c330068ad Fix from John E. Malmberg <wb8tyw@qsl.net> for -1 return in interfaces scan.
Jeremy.
(This used to be commit 4d25a53c36)
2000-11-10 19:02:32 +00:00
Andrew Tridgell
3adc0e7a4e an attempt to get the handling of fields in printer info structures
consistent. Still working with Jeremy on this, there is probably more
to be done
(This used to be commit c4bb9c598c)
2000-11-08 03:12:16 +00:00
Tim Potter
1d3747e7f2 Merge fest!!!
(This used to be commit 87775074b2)
2000-11-08 00:20:26 +00:00
Tim Potter
29cb8c12ca make proto
(This used to be commit 88a2d224f1)
2000-11-08 00:19:30 +00:00
Tim Potter
e1cc6c85d7 More merging of printing stuff from appliance.
(This used to be commit 18fa724a79)
2000-11-08 00:16:38 +00:00
Tim Potter
dd2f6f448d Merge of latest round of printing fixes from appliance branch.
(This used to be commit 8fe17fd594)
2000-11-07 23:05:53 +00:00
Tim Potter
e5225bfc6b make proto
(This used to be commit 6ced1bb8b9)
2000-11-07 17:48:54 +00:00
Tim Potter
8a190a9e46 Merge of printer security descriptor, info level and printerdata
comparison changes from appliance branch.
(This used to be commit ae087bdf31)
2000-11-07 02:54:50 +00:00
Jeremy Allison
7185f5fbe6 64 bit fix from Uros Prestor <uros@turbolinux.com>.
Jeremy.
(This used to be commit 9a5471b3e8)
2000-11-06 23:14:59 +00:00
Jeremy Allison
0042bf32cc Fix to the "known/unknown user" difference patch from "Ron Alexander" <rcalex@home.com>.
Jeremy.
(This used to be commit 7a698c1f23)
2000-11-06 23:08:00 +00:00
Jeremy Allison
6d36edaf43 Added a VFS version return to init call. Allows smbd to fail an init if
versions don't match.
Jeremy.
(This used to be commit d0fbb4f5d9)
2000-11-06 21:44:33 +00:00
Jeremy Allison
a6ff0d29d6 Merge from Tim - don't reinsert UNIX job if already exists.
Jeremy.
(This used to be commit a33c395c98)
2000-11-04 19:48:53 +00:00
Tim Potter
61b659faaf Fix some compiler warnings.
(This used to be commit 852de9226d)
2000-11-04 18:44:34 +00:00
Tim Potter
34b397f8ac Merge of printing improvements/fixes from appliance branch.
(This used to be commit 8e163eac33)
2000-11-04 18:24:15 +00:00
Jeremy Allison
5073d11643 Fix for admin user being ignored.
Jeremy.
(This used to be commit f0dcc39d34)
2000-11-04 06:45:26 +00:00
Jeremy Allison
cbe839f35c Sync up with Tim's changes in applience-head for SACLs.
Jeremy.
(This used to be commit 6b94273fc6)
2000-11-04 06:36:18 +00:00
Jeremy Allison
9e70ba71af Remove CGI logging code. Make username/password lookups take
the same time.
Jeremy.
(This used to be commit 9698f74685)
2000-11-01 19:43:53 +00:00
Tim Potter
ae7911e4d8 Added a authentication hook to smbwrapper which allows a (username,
workgroup, password) tuple to be provided by another function.
(This used to be commit 644c78d64a)
2000-11-01 04:31:19 +00:00
Tim Potter
71daef8167 Added smbsh to list of ignored files.
(This used to be commit 3ff75e92ad)
2000-11-01 03:22:38 +00:00
Tim Potter
cd8525a767 Merge of comment repair.
(This used to be commit 7712421910)
2000-10-30 21:55:30 +00:00
Jeremy Allison
d4959bdbdc Only use prs_uint8s on marshalling as we know we're little endian. On
unmarshalling use prs_uint16s. Yes this sucks :-).
Jeremy.
(This used to be commit 3d68257850)
2000-10-30 21:47:20 +00:00
Jeremy Allison
dc0b638489 Fixed double btyte-swap problems with bigendian architectures.
Jeremy.
(This used to be commit c96a77957b)
2000-10-30 19:45:22 +00:00
Jeremy Allison
ff6f0c1a3b Call standard_sub_advanced() after lp_logon_XX() calls.
Jeremy.
(This used to be commit d5be2334d4)
2000-10-30 19:35:43 +00:00
Tim Potter
80dcdd1cf4 proto.h was out of date.
(This used to be commit 63e4f62916)
2000-10-29 23:52:21 +00:00
Jeremy Allison
c33d0e466d Patches from John Reilly @ HP for print job time bugs.
Jeremy.
(This used to be commit 0eb7f2d514)
2000-10-29 17:27:41 +00:00
Jeremy Allison
e2d1dd47d8 Another patch to fix cli_reestablish_connection from Kenichi Okuyama@Tokyo Research Lab. IBM-Japan. Co. Jp.
Jeremy.
(This used to be commit 06f5da5d4b)
2000-10-28 20:54:45 +00:00
Jeremy Allison
1cb444057a David Lee's utmp patch (finally). Thanks David !
Jeremy.
(This used to be commit b809a2d0c8)
2000-10-28 19:38:39 +00:00
Jeremy Allison
234792321c Fixed silly bug in dup2 code found by Kenichi Okuyama@Tokyo Research Lab. IBM-Japan. Co. Jp.
Jeremy.
(This used to be commit 9c2272e056)
2000-10-28 19:30:21 +00:00
Jeremy Allison
2e62e34fe4 Rolled back find NetBIOS name of PDC/BDC code as a temp fix. This
code works :-).
Jeremy.
(This used to be commit 4f66eda11e)
2000-10-27 03:02:22 +00:00
Jeremy Allison
9a8749d33a Added John Reillys patch for error code returns from clean_up_printer_driver_strunct()
calls.
Jeremy.
(This used to be commit f81a2a03bf)
2000-10-26 22:09:22 +00:00
Jeremy Allison
b5ac72cc64 Sorry JF - no billable hours :-). I fixed the "stream of events" problem
with PCL drivers. The problem was we were updating the changeid on every
SETPRINTERDATA/DELETEPRINTERDATA call. We should not do this, we should
just update the 'setprinter' called count. We update the changeid on calls
to SETPRINTER/ADDPRINTER/ADDPRINTEREX etc. Also fixed the correct returning
of the create time on printers.
Jeremy.
(This used to be commit 521f09829f)
2000-10-26 21:43:13 +00:00
Gerald Carter
01e0d3879e 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
(This used to be commit 0435af4417)
2000-10-26 03:31:41 +00:00
Jeremy Allison
f3a20ba1f3 Even when looking up a users groups via winbindd even if the lookup for
the list of groups a user is in succeeds via winbind, we must allow the
lookup of the group name -> gid we are checking if the user is a member
of to go via winbind or /etc/group - as it may be a group on the local
box we are checking against. This is a subtle one.....
Jeremy.
(This used to be commit 4ffda462b9)
2000-10-25 23:32:12 +00:00
Jeremy Allison
0b0681388d We already have a perfectly good next_token() function we should be using
instead of strtok - this fixes a bug with NT users with spaces in their
names when using winbindd. Needs to be added to the other parse_lpXX functions
(currently only added to lprng parsing code).
Jeremy.
(This used to be commit c3e4ac9a2d)
2000-10-25 21:28:15 +00:00
Jeremy Allison
7b1cf88670 Fix for uidtoname not returning DOMAIN\name but just name. This caused
printer_access_check to break in a domain environment.
Jeremy.
(This used to be commit 0fc1a46150)
2000-10-25 20:02:25 +00:00
Jeremy Allison
2094856942 John Reilly @ HP (who is a wonderful human being and *definately* needs
CVS commit access :-) has written a simple routine that peeks inside the
MS PE printer driver file format and can tell if a driver is W2K or NT4.x.
So we can now correctly return the driver version number. Hurrah !
JF - this is the code you always wanted ..... :-) :-).
Jeremy.
(This used to be commit fd17374e6d)
2000-10-25 17:56:38 +00:00
Tim Potter
888643b981 Removed erroneous +1's on length of unicode domain names for various
functions in the \\lsarpc pipe.
(This used to be commit 30bb3f2df9)
2000-10-25 04:29:35 +00:00
Jeremy Allison
af33ececd9 Yeah - not setting getwd_cache to True as default, that'd do it for a 5x
performance hit..... :-) :-).
Jeremy.
PS. Yes this was my fault for everyone who wants to throw rotten fruit...
(This used to be commit 4f5bbc38ce)
2000-10-24 19:44:02 +00:00
Jeremy Allison
d199eebcf7 Fixes from David Lee for utmp handling.
Jeremy.
(This used to be commit 70cecfefc8)
2000-10-21 01:47:25 +00:00
Jeremy Allison
bbce6b44eb Fix for vfs_fstat() crash with new stat code.
Jeremy.
(This used to be commit 979aa01e01)
2000-10-20 23:59:47 +00:00
Tim Potter
4e1d306945 Merge from appliance-head
(This used to be commit 6d39df7cf8)
2000-10-20 03:23:36 +00:00
Tim Potter
849f0d0fd0 Fixed missing bracket on debug statement.
(This used to be commit 9328bc7b8a)
2000-10-19 21:49:48 +00:00
Jeremy Allison
abf055046f Ok - this is a big patch - and it may break smbd a bit (although
I hope not). If you encounter strange file-serving behavior after this
patch then back it out. I analysed our stat() usage and realised we
were doing approx. 3 stat calls per open, and 2 per getattr/setattr.
This patch should fix all that. It causes the stat struct returned
from unix_convert() (which now *must* be passed a valid SMB_STRUCT_STAT
pointer) to be passed through into the open code. This should prevent
the multiple stats that were being done so as not to violate layer
encapsulation in the API's.

Herb - if you could run a NetBench test with this code and do a
padc/par syscall test and also run with the current 2.2.0 code
and test the padc/par syscalls I'd appreciate it - you should
find the number of stat calls reduced - not sure by how much.

The patch depends on unix_convert() actually finding the file
and returning a stat struct, or returning a zero'd out stat
struct if the file didn't exist. I believe we can guarentee this
to be the case - I just wasn't confident enough to make this
an assertion before.

Ok ok - I did write this whilst at the Miami conference.....
sometimes you get a little free time at these things :-).

Jeremy.
(This used to be commit 66a5c05ec4)
2000-10-19 02:58:24 +00:00
Tim Potter
7b0a62c8cd Removed null user checks to enable lanman print queue pausing and print job
deleting.
(This used to be commit e40a0e2f52)
2000-10-18 06:31:14 +00:00
Tim Potter
ecd90a0bf4 Renamed WPrintQueuePurge to WPrintQueueCtrl as this function can purge, pause
or resume a print queue.
(This used to be commit 9998518a69)
2000-10-18 06:22:20 +00:00
Christopher R. Hertel
f0bd621a50 Bug report that on some systems extended characters are being returned as
negative values from the mygetc() function.  I've modified the return
line so that it should return values in the 0..255 range for legitimate
characters.

This change should probably be copied into SAMBA_2_2 but I haven't checked
that tree out yet.

Chris -)-----
(This used to be commit e2ce5ce0fd)
2000-10-18 01:36:26 +00:00
Tim Potter
282930d31f Merge of rpc parse buffer underflow debug code.
(This used to be commit c8d88713d9)
2000-10-18 01:15:05 +00:00
Tim Potter
60661e1d28 Fixes for io_q_setprinter rpc parsing.
(This used to be commit 1b86b9139e)
2000-10-18 00:55:02 +00:00
Jeremy Allison
359048cc74 Fixes to get ms-dfs code to compile with the new changes.
Jeremy
(This used to be commit d712b5b071)
2000-10-13 21:53:51 +00:00
Jeremy Allison
6d475b7217 Added David O'Neills fix to HEAD (hmmm. how did this compile... :-).
Jeremy.
(This used to be commit e222057140)
2000-10-13 17:36:22 +00:00
Jean-François Micouleau
85643cd72c last part of W2K support.
the trust domain list reply on netlogon pipe was wrong, interim hack until
we have full trust relationships.

changed some unistr2 to parse the ending NULL char.

added a prs_align_needed() function. much like a prs_align but with a
condition. needed for the unistr2 parsing.

	J.F.
(This used to be commit d8bf81553c)
2000-10-13 14:02:01 +00:00
Tim Potter
8c7f2fbab2 Fixed merging mess.
(This used to be commit 7b8c03de1f)
2000-10-13 05:19:57 +00:00
Jeremy Allison
330d678fba Fix to allow smbd to call winbindd if it is running for all group enumeration,
falling back to the UNIX calls on error. This should fix all problems with
smbd enumerating all users in all groups in all trusted domains via winbindd.
Also changed GETDC to query 1C name rather than 1b name as only the PDC
registers 1b.
Jeremy.
(This used to be commit 5b0038a2af)
2000-10-13 01:59:14 +00:00
Jeremy Allison
a7f8d8b636 Fix to allow smbd to call winbindd if it is running for all group enumeration,
falling back to the UNIX calls on error. This should fix all problems with
smbd enumerating all users in all groups in all trusted domains via winbindd.
Jeremy.
(This used to be commit 54a1ae815b)
2000-10-13 01:16:35 +00:00
Jeremy Allison
c56301b1d1 Ignore SIGUSR2. Terminate nmbd if we have no interfaces.
Jeremy.
(This used to be commit 580e2e044c)
2000-10-12 21:19:49 +00:00
Herb Lewis
2a2a93bebe allow "master" smbd to call message_init so it is not killed by messages
sent to it's PID

Jeremy or Andrew please check this out for other possible side effects.
(This used to be commit f365950e7d)
2000-10-12 19:42:18 +00:00
Herb Lewis
53ce2f7012 lib/messages.c add debug print for receipt of PING and
REQ_DEBUGLEVEL messages
utils/smbcontrol.c      allow "q" to exit interactive mode. Exit on error
                        from message_init.
(This used to be commit cda8c04391)
2000-10-12 17:58:40 +00:00
Herb Lewis
7a42a9da7d use macros for incrementing profile counters
(This used to be commit cae5eeb16e)
2000-10-12 15:41:16 +00:00
Herb Lewis
ca4acd520e print source PID in PONG and debuglevel message. Allow request debuglevel
message to go to any dest. Put timeout for commands that expect a reply.

sync with 2.2 branch
(This used to be commit 45632bb813)
2000-10-12 00:29:01 +00:00
Jeremy Allison
d81a598230 Turns out we do need the pwnam check as on many systems the users
primary group is not listed in the groups file...
Jeremy.
(This used to be commit b1cb7bec51)
2000-10-11 22:38:38 +00:00
Jeremy Allison
93932079c6 Fixed %d printf with unsigned long arg.
Jeremy.
(This used to be commit 448ff58fd5)
2000-10-11 17:26:14 +00:00
Jeremy Allison
cd6a6bd2cb Use sys_setgroups - systems with broken getgroups need this.
Jeremy.
(This used to be commit c7c90c8337)
2000-10-11 17:20:18 +00:00
Christopher R. Hertel
2cddf134e6 Simple cleanup, but I also changed the value of the dlevel parameter passed
to open_socket_in() from within the open_sockets() function.  This has some
effect on the way port numbers are assigned.  Basically, if we use the -r
switch we are saying 'use port 137'.  If we can't do that, there should
be an error message and a failure.  If we don't use -r then we simply select
the first available port.  The way it was working, if we selected -r and
port 137 was in use, wierd things would happen as open_socket_in() tried to
find another port.
(This used to be commit f09cb41ad8)
2000-10-11 16:24:20 +00:00
Christopher R. Hertel
9a872fb616 Converted to call lib/wins_srv.c:wins_srv_ip() instead of lp_wins_server()
when looking up the WINS server address.

Please *don't* use lp_wins_server() any more!

The wins_srv_ip() function has the following features:

- If the WINS server was entered as a DNS name then the translation to an
  IP address will already have taken place.  We used to do this every time
  a call to the WINS server was made.  Ick.

- The return value of wins_srv_ip() is a struct in_addr.  Ready to go.

- When WINS failover is fully implemented, you'll be able to enter a colon-
  separated list of WINS servers via the WINS SERVER parameter.  Using
  lp_wins_server() directly will fail if this syntax is used.

Chris -)-----
(This used to be commit 56be7c2a49)
2000-10-11 15:54:17 +00:00
Tim Potter
76aab4ad56 Renamed WINBINDD_INITGROUPS constant to WINBINDD_GETGROUPS.
(This used to be commit 5f3cf2eb78)
2000-10-11 05:45:06 +00:00
Herb Lewis
9dc817cdfc sync with 2.2. tree
(This used to be commit 8586624815)
2000-10-11 05:38:37 +00:00
Herb Lewis
8719c27726 changes to sync with 2.2. tree
.cvsignore              remove config.h - not in this directory
include/profile.h       profile changes
lib/messages.c          added message to return debug level
libsmb/clierror.c       cast to get rid of compiler warning
libsmb/smbencrypt.c     cast to get rid of compiler warning
profile/profile.c       add flush profile stats changes for profile struct
rpc_parse/parse_samr.c  fix for compiler warning
rpc_server/srv_samr.c   cast to get rid of compiler warning
smbd/ipc.c              profile stats
message.c               profile stats
smbd/negprot.c          profile stats
smbd/nttrans.c          profile stats
smbd/trans2.c           profile stats
utils/smbcontrol.c      new flush stats command
(This used to be commit bbb24daa25)
2000-10-11 05:31:39 +00:00
Tim Potter
c72f94dad9 Modified initgroups to provide a get groups a user is a member of
functionality.  This is much faster than inverting the group database.

Added client side command for this to wbinfo.
(This used to be commit e87b2d3d1f)
2000-10-11 05:25:32 +00:00
Tim Potter
cbee552bdb Don't initialise groups twice.
(This used to be commit 15d7f16bdc)
2000-10-11 04:54:37 +00:00
Tim Potter
7c4c781df2 Remove duplicate group initialisation function.
Don't initialise groups twice.
(This used to be commit 5375261152)
2000-10-11 04:54:01 +00:00
Jeremy Allison
4498212487 Fix to avoid calling getgrgid for no reason.
Jeremy.
(This used to be commit b057a7349b)
2000-10-11 03:46:14 +00:00
Jeremy Allison
26a4a34d36 Fix for growing printing.tdb by adding check on job creation.
This also updates the printing.tdb db version to 2.
Jeremy.
(This used to be commit 13395514c6)
2000-10-11 02:26:27 +00:00
Jeremy Allison
e9270d61fc Remove lpq as root fix - do this in print_job_start instead
as part of print queue length processing.
Jeremy.
(This used to be commit e85a0fadd8)
2000-10-11 02:04:46 +00:00
Jeremy Allison
cdb71ca518 Fixes to periodically scan printing.tdb in idle time and occasionally
on exit. Needed to fix printing.tdb from groving to 300Mb+ if being
driven by smbclient clients that never ask for status... (effective
DOS attack :-).
Jeremy.
(This used to be commit 6581066b93)
2000-10-10 21:52:31 +00:00
Jeremy Allison
e8912baf02 Fix found by Andrew to stop local/remote printers being
confused. check_printer_ok was causing SETPRINTER calls to fail.
Jeremy.
(This used to be commit b41cc5fea7)
2000-10-10 19:09:48 +00:00
Jeremy Allison
30dbac7e02 Fixed Realloc memory fragmentation problems.
Jeremy.
(This used to be commit 5518f59976)
2000-10-10 18:40:03 +00:00
Jeremy Allison
d508794118 Fixed nasty size wrong bug spotted by the eagle eyes of
JF :-).
Jeremy.
(This used to be commit 443293a065)
2000-10-10 18:34:44 +00:00
Jeremy Allison
afe321b7c9 Added debug so we can see how winbindd converts SIDS.
Jeremy.
(This used to be commit 6696bf203c)
2000-10-10 18:22:50 +00:00
Jean-François Micouleau
11d999f2bc a netlogon enum trust query doesn't have a function_code at end.
a sam_user_info_24 doesn't have a uint16 at end
samr_create_user also creates the unix account now
samr_set_userinfo changes the password.

        J.F.
(This used to be commit 94f4024481)
2000-10-10 13:08:55 +00:00
Andrew Tridgell
2d33e87424 got rid of tdb_writelock() and instead lock a chain. tdb_writelock()
is conceptually flawed
(This used to be commit 6e4a358552)
2000-10-10 06:45:09 +00:00
Andrew Tridgell
2a9ce69f3b added tdb_lock_bystring() and tdb_unlock_bystring()
(This used to be commit ca443210c8)
2000-10-10 06:43:26 +00:00
Andrew Tridgell
d2f07bb765 don't use gets() !
(This used to be commit e4ea0a5975)
2000-10-10 05:05:35 +00:00
John Terpstra
96e27b10bf Fixes to allow wins.c to compile to allow building of libnss_wins.so.
(This used to be commit 3fb2e94c44)
2000-10-09 21:44:00 +00:00
Jean-François Micouleau
43b2bdce3e I introduced a bug in my last commits. Hopefully nobody noticed :-)
J.F.
(This used to be commit 044246fe7e)
2000-10-09 14:41:19 +00:00
Jeremy Allison
4d968ed35d Missing conn parameter missed in vfs rewrite.
Jeremy.
(This used to be commit 4eecc63be5)
2000-10-09 00:06:30 +00:00
Jeremy Allison
33170cc6fb sys_popen got damaged when converted from FILE * to int fd I think.
Patrick Powell kindly pointed out the bug.
Jeremy.
(This used to be commit 1f156b2420)
2000-10-08 21:21:27 +00:00
Jean-François Micouleau
5ad18c79ad more cleanup of samr
J.F.
(This used to be commit c49cc88445)
2000-10-07 17:32:40 +00:00
Jean-François Micouleau
75c346e70c added samr_set_user_info and info_2.
cleanup of create_user
cleanup of rid/sid mix in samr. now we only have sid.

some prs_align() missing in parse_samr.c

a small debug change in srv_pipe.c

You still can't change a user's password in this commit.
Will be availble in the next one.

	J.F.
(This used to be commit b655bc281f)
2000-10-07 15:56:36 +00:00
Jeremy Allison
8582d42646 Ensure browse.dat is written and read in UNIX character set format.
Jeremy.
(This used to be commit 279d0ec656)
2000-10-07 01:15:07 +00:00