Re: Samba encrypted passwd file

1998-10-05 Thread peloy
Kent West [EMAIL PROTECTED] wrote:

  According to the Encryption.txt doc file for Samba, the command to
 create the encrypted password file is:
  cat /etc/passwd | mksmbpasswd.sh  /usr/local/samba/private/smbpasswd
 but when I run this I can a error:
  bash: mksmbpasswd.sh: command not found

See samba's postinst script to see how it is done 
(/var/lib/dpkg/info/samba.postinst).

 Is the documentation wrong, or am I missing a file? I've tried to
 locate mksmbpasswd* but found nothing.

Make that locate mksmbpasswd (without the '*').

 Also, doesn't this copy the /etc/password file? But if I'm running
 shadow passwords, doesn't that mean the encrypted file won't be able to
 find the passwords?

The only thing that mksmbpasswd does is to copy the user names and IDs
from the /etc/passwd to /etc/smbpasswd, nothing else. Passwords in the
just created smbpasswd file are XX so you will have to 
run smbpasswd to set the password for each user in the smbpasswd file
(Unix hashes are different than NT hashes, so there is no automatic
way to convert Unix hashes to NT hashes).

peloy.-


Re: Samba

1998-09-26 Thread peloy
Michael Beattie [EMAIL PROTECTED] wrote:

 Is is running from inetd.conf? If so, then it will not show unless someone
 is browsing your box on the network. Otherwise... Pass.

This is absolutely correct.

 I do not see it either.. at startup:
 
 Warning: Samba is not running as daemons. Daemons not restarted/stopped.
 Daemons will start automatically by inetd. Use 'killall nmbd' and
 'killall smbd' to stop the Samba daemons (they'll start again).
 
 Do you get this?

You only get this when you are running Samba from inetd. Otherwise you
would see a message like Starting Samba daemons: nmbd smbd.

peloy.-


Re: renamed my server now Samba doesn't work

1998-09-11 Thread peloy
What exactly does not work?

peloy.-

Keith [EMAIL PROTECTED] wrote:
 I accidentally renamed my server and now ,Samba in particular, does not
 work anymore. I removed Samba and reloaded it but it still does not work.
 Any suggestions.
 
 
 Keith


Re: SAMBA: Help!!

1998-09-09 Thread peloy
Hi,

so you are saying that the first user can login succesfully but after
that no one else can log in?

Are you sure Windows users are logged in their Windows 95 boxes as
user student? If not do Start Menu:Shutdown:Close all programs and
log in as a different user.

I have never tried using null passwords but I guess it is doable...

peloy.-

bmorgan [EMAIL PROTECTED] wrote:
 This is a reposting of a previous message.  I'm starting to get
 desperate.  Any help would be greatly appreciated!
 
 I'm having trouble connecting to my debian machine from my windows
 machine using samba.  I've successfully done this before, but now I've
 got several users connecting to the samba server for IP printing to
 jet-direct boxes.  Right now, I've got my SMB.CONF file set so that it
 uses the workgroup linux and security = user.  All my users should
 be able to connect with the same login name (student), and no password.
 
 Is it possible for multiple users to connect to the samba server all
 using the same login name?  Or do I need to have a separate account for
 everyone who connects (the latter would NOT be a good scenario, if I can
 
 avoid it).  Is there something else I need to set in the smb.conf file
 to allow multiple users with the same login name?  Perhaps the security
 
 = parameter?
 
 Believe me, I've got everything else setup correctly.  Null passwords,
 smbpassword file is set for no passwords as well.
 
 Thanks in advance.
 
 
 --  
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null
 

-- 
--

Eloy A. Paris
Information Technology Department
Rockwell Automation Venezuela
Telephone: +58-2-9432311 Fax: +58-2-9431645


Re: NetWare Volumes

1998-09-09 Thread peloy
Get and install packages ipx and ncpfs. Works pretty well (read and
write access). Your kernel must be compiled to support IPX and ncpfs.

peloy.-

Peter Paluch [EMAIL PROTECTED] wrote:
 Hello, friends.
 ===
 
 Thank you all for replies to my question about keyboards in XWindow. I
 have another quite important question: is it possible to mount Novell
 Netware 3.12 disk partitions under Linux? What software do I need for
 it? I really mean the physical disks which were installed in Netware
 servers and contain all Netware volumes and software on them, not the
 network services exported using IPX protocol. Read-only access is
 sufficient.
 
 Thank you again very much.
 
 All the very best,
 Peter


Re: Backspace in xterm (again)

1998-09-06 Thread peloy
I think I had this same problem and solved it after someone in IRC
(#debian) told me to disable XKEYBOARD extension (but I am not sure
this was the problem, though).

Try disabling XKEYBOARD in XF86Config...

peloy.-

Joost Witteveen [EMAIL PROTECTED] wrote:
 Hi, here I am agian.
 
 I upgraded my system yesterday (OK to slink, but it appears the same problem
 is present in hamm), and now my bacspace generates an delete again.
 (in an xterm that is. Emacs (X11) and VC are OK)
 
 I already asked this question once, but I seem to have lost the responce
 I got then. 
 
 Does anybody know what I should do to get my beloved backspace back again
 (yes, I want backspace to delete the char left to the curser, as it does
 in the VC's).
 
 Thanks,
 [EMAIL PROTECTED] / [EMAIL PROTECTED]
 
 
 --  
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null
 

-- 
--

Eloy A. Paris
Information Technology Department
Rockwell Automation Venezuela
Telephone: +58-2-9432311 Fax: +58-2-9431645


Re: New SMB Timeout...

1998-08-26 Thread peloy
Hi,

In article [EMAIL PROTECTED] you wrote:

 Another package that I could not get my Bo configuration to work with the 
 Hamm 
 setup is SAMBA.  Shares seem to be fine, but when I use SMBCLIENT I get an 
 error such as:
 
 startlmhosts: Can't open lmhosts file /etc/lmhosts. Error was No such file or 
 directory

Uhhmmm... I am not sure I understand. You say that you had a working
Samba setup but when you upgraded to Hamm Samba stopped working?

 ...Then it simply hangs!

The error about inexistant /etc/lmhosts file isn't a big deal if
smbclient is able to find the IP address of the host you are trying to
connect to.

Also, wha do you mean by it simply hangs?

 It is true, I do not have a lmhosts file.  I was hoping it to resolve via 
 DNS.  So I added name resolve order = hosts and I get the same error as 
 above and also it tells me that port 134 on the machine I am tring to connect 
 has timed-out?

What version of Samba are you using, by the way?

 All Win95 clients connect to this same WinNT box just fine.  Connections 
 worked a-okay with my Bo setup.  I currently run smbd and nmbd as daemons. 
 
 Any ideas on the hangup?  Encrypted passwords?  This NT box getting to my 
 Linux server works fine (printers, apps, shares, etc.).

OK, so Win95 - WinNT is OK, WinNT - Samba is OK, smbclient - WinNT
is not OK. Is this OK? And what about Win95 - Samba?

Can you try connecting to the NT box with smbclient using the IP
address instead of the host name?

smbclient ntbox\\share_to_connect_to -I 1.2.3.4

Please let me know if that works...

Good luck.

peloy.-


Re: CD-RW experiences?

1998-08-20 Thread peloy
Dan Hugo [EMAIL PROTECTED] wrote:

 I am thinking about getting a CD-RW drive to archive things, and maybe
 even to maintain an up-to-date Debian CD set.
 
 Does anyone have any experience with these drives?
[...]

My personal experience with the H-P SureSture 7100 CD-RW drive is
excellent, specially when I bought the external model, which connects
through the parallel port to the computer.

Note that I have never used the CD-RW in RW mode. I have only used it
to burn CD-R's with cdrecord (an excellent program).

To be able to use the 7100e I moved to the development kernels
(currently at 2.1.117), but I think the recent parport support (and
the new pg driver) was backported to 2.0.35.

The 7100i is the internal model and has an IDE interface. The 7100 was
superceded by the 7200, but there shouldn't be any major differences.

See ya!

peloy.-


Re: Samba and win98

1998-08-19 Thread peloy
Brian May [EMAIL PROTECTED] wrote:

 What kernel version are you using? You can find out by typing in
 uname -a.
 
 I have had problems using 2.1.109 accessing a Win98 computer, as I often
 get errors: Too many open files (or something similar). I am not sure
 if this is becuase of Linux or Win98.

Uhh, this was with Samba (the smbd daemon) or with smbmount-2.1.x?
I've seen the Too many open files or something like that when using
smbmount with Windows 95 clients, but have never seen the message with
Samba.

peloy.-


Re: Samba and win98

1998-08-19 Thread peloy
Michael Beattie [EMAIL PROTECTED] wrote:

 I have just stumbled across an annoying little problem. A friend and I
 have a network between our PC's, and when I mount his smbfs shares, I get
 really screwy file listings. when there is 700 files or something (windows
 dir.. :) ) it comes out showing me 64, 128 etc... it changes
 intermitently. Anyone got an idea as to wtf is going on?

Oh, the problem is with smbfs and NOT with Samba. I got confused by
the subject line...

Yup, what kernel version are you using? There's something wrong with
smbfs in 2.1.x kernels when smbmount'ing a share from Windows 95 (and
probably Windows 98 as well, as you report) servers.

peloy.-


Re: Samba passwords

1998-08-19 Thread peloy
Hi,

Brian Morgan [EMAIL PROTECTED] wrote:

 Does anyone know how to set a Samba user password to NONE, if a password
 already exists?  I've tried smbpasswd [user] and hit return twice, only
 to find that Samba password not changed. 

Well, firstly, are you using password encryption? If you are, then
passwords are stored in /etc/smbpasswd and you need to fill that file
with valid account names and passwords (hint: use smbpasswd -a
username).

If not, then the security depends on the setting of the security =
parameter in /etc/smb.conf.

Recommended readings are: /usr/doc/samba/{ENCRYPTION.txt,security_level.txt}

Finally, Samba by default does not allow acces to accounts that have
null passwords. To change this add this to the [global] section of
/etc/smb.conf:

null passwords = yes

See man smb.conf for more info.

Regards,

peloy.-


Re: Burning Debian CDs with Windows/NT software

1998-08-13 Thread peloy
Arifi Koseoglu [EMAIL PROTECTED] wrote:

 I downloaded the Debian CD images, and unsuccessfully tried to write
 them to CDs using the following applications:
 
 HP SureStore cd writer software
 Adaptec EZ CD-Writer

I really prefer to use Linux to burn my CD's. I don't really like
booting into Windows NT just to burn CD's, and besides, I don't like
Windows NT as much as Linux :-)

I am using the latest 2.1.x kernels, mkeisfs/mkhybrid and cdrecord to
burn CD's with an external HP SureStore 7100e and haven't had any
problem at all. It works like a charm. And besides, you can do other
things with your machine while you are burning a CD (like compiling a
kernel :-). With Windows NT I wouldn't take that risk because it could
crash, or it could stop sending data to the writing software,
corrupting the CD you are burning.

peloy.-


Re: samba problems

1998-08-11 Thread peloy
Hamish Moffatt [EMAIL PROTECTED] wrote:

 However, now 95 users have to supply their network password once,
 which is undesirable. Once entered it seems happy enough, but I would
 prefer that those users didn't have to enter a password.
 
 Any suggestions for a solution?

And what about setting the password for those users in /etc/smbpasswd
to be blank? Does that work?

I have just checked smb.conf's man page and it looks like you have to
add:

null passwords=yes

to the global section of your smb.conf, as this parameter defaults to
no.

Good luck!

Eloy.-

--

Eloy A. Paris
Information Technology Department
Rockwell Automation Venezuela
Telephone: +58-2-9432311 Fax: +58-2-9431645


Re: Win 95 and NT

1998-07-25 Thread peloy
You can use the NT boot menu to boot Linux. Read the Linux+NT
mini-HOWTO for instructions.

peloy.-

Darren Trott [EMAIL PROTECTED] wrote:

 I am currently running 3 operating systems on a P200MMX, Win 95, Win NT =
 Workstation and Win NT Server.  If I install Debian Linux in it's own =
 partition on this system, will it use the NT boot menu or trash my =
 system and make the Windows OS inoperative?

-- 

Eloy A. Paris
Information Technology Department
Rockwell Automation Venezuela
Telephone: +58-2-9432311 Fax: +58-2-9431645


--  
Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null


Re: connecting debian to win98

1998-07-17 Thread peloy
[EMAIL PROTECTED] wrote:

 [...]  You should also check out the Samba web pages.  There
 is a modification you need to do to the Win98 registry to change the
 password encryption behavior, it should be in the docs
 somewhere.

Or better yet, configure Samba for encrypted passwords. Read
ENCRYPTION.txt in /usr/doc/samba/ for info. on how to do this.

peloy.-

-- 

Eloy A. Paris
Information Technology Department
Rockwell Automation Venezuela
Telephone: +58-2-9432311 Fax: +58-2-9431645


--  
Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null


Re: - MARK --

1998-07-10 Thread peloy
Oh, cool, I always wanted to know why I was getting those messages!
And now I see why our production server does not show this behavior
(it is always busy logging mail and lots of other things like DNS zone
transfers, etc.)

peloy.-

dpk [EMAIL PROTECTED] wrote:
I have a long /var/log/messages and /var/log/syslog contain the
following. Can any one tell me what is the cause?  
Thanks


Jul  5 10:28:19 superman -- MARK --
Jul  5 10:48:19 superman -- MARK --
 
 From the manpage: 
 
   -m interval
 The syslogd logs a mark timestamp regularly.  The
 default interval between two -- MARK -- lines is 20
 minutes. This can be changed with this option.
 
 If syslogd does not write any information within 20 minutes to
 logfiles, it will mark a timestamp - intended to let you know that
 syslogd is running.
 
 Dennis
 --
 Dennis Kelly [EMAIL PROTECTED] |  phone: 353.4844   
 Network Admin, College of Engineering, MSU |  pager: 222.5875


-- 

Eloy A. Paris
Information Technology Department
Rockwell Automation Venezuela
Telephone: +58-2-9432311 Fax: +58-2-9431645


--  
Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null


Re: xcdroast and scsi

1998-07-07 Thread peloy
[EMAIL PROTECTED] wrote:

 When I run xcdroast, it told me ni ' no SCSI-generic-support has been
 detected '
  and I can't select any  cd burner in the menu.
 So, I recompiled my kernel (2.0.34 with hamm) with SCSI-generic-support
 selected.
 It doesn't change anything.

Just a stupid question: did you reboot that box after the kernel
compile? Did you compile generic SCSI support as modules or in the
kernel?

peloy.-

-- 

Eloy A. Paris
Information Technology Department
Rockwell Automation Venezuela
Telephone: +58-2-9432311 Fax: +58-2-9431645


--  
Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null


Re: Bo pppd not support IPX?

1998-07-05 Thread peloy
Tim Thomson [EMAIL PROTECTED] wrote:

 I've being trying to get a Win95 machine to dialin with a IPX connecting,
 but adding the settings for IPX as per the man page, causes pppd to fail,
 saying that the ipx settings are invalid.
 
 I take it this means the pppd isn't compiled with IPX support, as ipx is
 enables in the kernel.

Probably pppd in the Bo ppp package is not compiled with IPX support.
At least, the Bo ppp packages I used were crippled in terms of IPX,
but I don't know if a Bo update of package ppp solved this problem.

 Why not? Is it enabled in the hamm one?
 I don't want to upgrade to hamm on this system yet, so I'll need to
 download another pppd, where from?

The ppp package in Hamm has IPX support and in fact I am using it
(works perfectly).

If you want to stick to Bo you can always grab the source package for
ppp and compiled it yourself, enabling IPX support.

peloy.-

-- 

Eloy A. Paris
Information Technology Department
Rockwell Automation Venezuela
Telephone: +58-2-9432311 Fax: +58-2-9431645


--  
Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null


Re: Stopping and restarting mgetty.

1998-07-05 Thread peloy
Damon Muller [EMAIL PROTECTED] wrote:

 Try 
 
 'kill -HUP' init

I don't think this will work unless you make changes to /etc/inittab
before killing init with -HUP. The best way to do what he wants is to
do killall -TERM mgetty. This will kill all running mgetty's and
init will respawn them again, and they will run loading the new
configuration.

peloy.-

-- 

Eloy A. Paris
Information Technology Department
Rockwell Automation Venezuela
Telephone: +58-2-9432311 Fax: +58-2-9431645


--  
Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null


Re: svgatextmode fails with 2.1.108

1998-07-04 Thread peloy
Hi,

I wouldn't worry too much about VGA-related stuff not working in
2.1.107 and 2.1.108. The VGA Console is completely broken in these two
kernels. Shift-PgUp/PgDn does not work and God knows what else is
broken. As far as I know a fix has not been provided yet, not even in
the kernel mailing list.

E.-

Lindsay Allen [EMAIL PROTECTED] wrote:
 
 Hi,
 
 I have been using 116x34x9 for many moons now, but after changing from
 2.1.106 to 2.1.108 my screen is steps and stairs.  It all comes good if I
 revert to 80x25.
 
 Using hamm and svgatextmode_1.8-5.2.deb.
 
 Can anyone point me in the right direction to get this fixed?
 

-- 

Eloy A. Paris
Information Technology Department
Rockwell Automation Venezuela
Telephone: +58-2-9432311 Fax: +58-2-9431645


--  
Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null


Re: Upgrade to hamm ! Should I do it !? :)

1998-07-01 Thread peloy
I am using Hamm in production since before it was beta. It runs very
very nicely. Also, you get all the new packages that are not in Bo.

Also, think about this: I, as a developer, have forgotten about Bo.
When I make a new release of the packages I maintain (Samba, for
example) I release it only for Hamm (and Slink), but not for Bo. I
only make releases for Bo when there is a serious security hole...

Regards,

E.-

Nuno Carvalho [EMAIL PROTECTED] wrote:
 
  Hi,
 
   I'm using Debian 1.3.1 (bo) and I would like to download from ftp the
 Debian 2.0 (hamm)
 but it's Beta Test, right !?
 
  Should I wait till it wouldn't be beta test to have a more stable
 system !?
 
 
  Best regards,
Nuno Carvalho
 

-- 

Eloy A. Paris
Information Technology Department
Rockwell Automation Venezuela
Telephone: +58-2-9432311 Fax: +58-2-9431645


--  
Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null


Re: connect to Samba from DOS

1998-06-30 Thread peloy
Steve Mayer [EMAIL PROTECTED] wrote:
 Paul,
 
   Try ftp.microsoft.com/bussys/Clients/LANMAN/
 
   There should be four disk images there that give you a the DOS
 LanManager client.  This should work.
 
   You can also use Lantastic 7.0 with the encapsulated NetBIOS and SMB
 support.

This works quite well. I have installed Windows 95 and Windows NT in
computers booted with a DOS floppy disk and with this client installed
to connect to a Samba (or NT server) that is sharing the Windows 95 or
NT CD-ROM.

There's a client on that same place that is only 2 disks, IIRC. That's
the client I used.

Good luck!

E.-

-- 

Eloy A. Paris
Information Technology Department
Rockwell Automation Venezuela
Telephone: +58-2-9432311 Fax: +58-2-9431645


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: Linux print server, windows machines

1998-06-30 Thread peloy
Jay Barbee [EMAIL PROTECTED] wrote:

 ...agree with Jens... SAMBA is the way to go.  I wondered, just out of 
 curiosity, 
 was Win98 packaged with a LPR utility yet?  Thought since NT 4 does have 
 the support maybe 98 did. 

As far as I know the lpr command in Windows NT is command-line
oriented only. This means that normal applications like Word, etc. can
not print to a Unix printer using the lpr command, but I haven't
played with lpr in Windows NT yet...

peloy.-

-- 

Eloy A. Paris
Information Technology Department
Rockwell Automation Venezuela
Telephone: +58-2-9432311 Fax: +58-2-9431645


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: Linux print server, windows machines

1998-06-30 Thread peloy
Brian Morgan [EMAIL PROTECTED] wrote:

 I'm running hamm, 2.0.33 kernel, and need to connect several printers on
 our campus to the linux print server (whatever that may be:  I don't
 know.  Is there a print server type package I need to have installed?)
 All the printers will have ip addresses, via HP jetdirect boxes and
 cards.  I will have several laptops that will need to be able to print
 to these printers.  All the laptops will be running windows 98.
 
 I'm also running samba on my linux box, but haven't quite got the hang
 of it yet (getting closer).  Is this the service I need to allow the
 windows machines to print to the linux print server?  Do I need to
 specify anything in the smb.conf file (ip addresses, etc.) or is that
 done somewhere else in a different package?

We use Samba and the lpr package to accomplish the same thing you are
trying to do (Windows for Workgroups, Windows 95 and Windows
NT clients).

Quick Start:

1) Edit /etc/smb.conf:

[global]
   printing = bsd
   printcap name = /etc/printcap
   load printers = yes
   [...]

[printers]
   comment = Printers in /etc/printcap
   browseable = no
   path = /var/tmp
   writable = no
   public = no
   printable = yes

[...]

(the default smb.conf provided with the Samba package for Debian has
these).

2) Edit /etc/printcap:

lj5_text|Remote LaserJet 5 in text mode:\
:lp=:\
:rm=laserjet5:\
:rp=text:\
:sd=/var/spool/lpd/remote/lj5_text:\
:mx#0:\
:sh:

lj5|Remote LaserJet 5 in raw mode:\
:lp=:\
:rm=laserjet5:\
:rp=raw:\
:sd=/var/spool/lpd/remote/lj5_raw:\
:mx#0:\
:sh:

The important lines are those with rm and rp. rm especifies the
IP address (or name if DNS is configured right) of the JetDirect box. 
Instead of laserjet5 (which really refers to laserjet5.ven.ra.rockwell.com)
you could have used rm=130.151.17.154. rp especifies what printer
queue you want to use. For a H-P JetDirect that can be raw or text
depending on if you want CR-LF conversion or not.

3) When you browse the shares of the Samba server you'll see the same
printers in /etc/printcap. In our example you'll see 2 printers:
lj5_text and lj5. Installing a printer in Windows is a piece of cake:
just Add Printer, select Network Printer and browse the network
until you find the Samba server and the printers shared inside it.

Windows machines will send print jobs to the Samba print server. The,
the Samba print server will spool the job using the lpr Unix command
and the lpd daemon will send the job to the JetDirect box, which will
send it finally to the printer.

That should be all, and this really works well.

Do not hesitate to ask if you need more information.

peloy.-

-- 

 Eloy A. Paris
Information Technology Department
Rockwell Automation Venezuela
Telephone: +58-2-9432311 Fax: +58-2-9431645


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]