Re: [newbie] samba problem

2004-04-08 Thread Klemens Arro
Thanks everybody, I got it working :P

-- 
Klemens Arro

My software never has bugs; it just develops random features.

Using: Mandrake Linux 10
Registered Linux User#: 346118
ICQ#: 179198850


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



[newbie] samba problem

2004-04-07 Thread Klemens Arro
Hi,

I have samba server running, but I can't connect to any other win server's 
neither can they connect to my server.

I have tried to configure it with MCC samba wizard, but it fails when it asks 
for allowed users and I have tried to configure it with SWAT, but I cant get 
it to work. :'(

I added my smb.conf file as attachment.

Thanks!
-- 
Klemens Arro

My software never has bugs; it just develops random features.

Using: Mandrake Linux 10
Registered Linux User#: 346118
ICQ#: 179198850
# Samba config file created using SWAT
# from 127.0.0.1 (127.0.0.1)
# Date: 2004/04/07 23:23:33

# Global parameters
[global]
dos charset = CP850
unix charset = UTF-8
display charset = LOCALE
workgroup = VIRTUALHOME
realm = 
netbios name = NOLIFE
netbios aliases = 
netbios scope = 
server string = Nolife systems
interfaces = 
bind interfaces only = No
security = SHARE
auth methods = 
encrypt passwords = Yes
update encrypted = No
client schannel = Auto
server schannel = Auto
allow trusted domains = Yes
hosts equiv = 
min passwd length = 5
map to guest = Bad User
null passwords = No
obey pam restrictions = No
password server = *
smb passwd file = /etc/samba/smbpasswd
private dir = /etc/samba
passdb backend = smbpasswd
algorithmic rid base = 1000
root directory = 
guest account = nobody
pam password change = No
passwd program = 
passwd chat = *new*password* %n\n *new*password* %n\n *changed*
passwd chat debug = No
passwd chat timeout = 2
username map = 
password level = 0
username level = 0
unix password sync = No
restrict anonymous = 0
lanman auth = Yes
ntlm auth = Yes
client NTLMv2 auth = No
client lanman auth = Yes
client plaintext auth = Yes
preload modules = 
log level = 0
syslog = 1
syslog only = No
log file = /var/log/samba/log.%m
max log size = 50
timestamp logs = Yes
debug hires timestamp = No
debug pid = No
debug uid = No
smb ports = 445 139
protocol = NT1
large readwrite = Yes
max protocol = NT1
min protocol = CORE
unicode = Yes
read bmpx = No
read raw = Yes
write raw = Yes
disable netbios = No
acl compatibility = 
nt pipe support = Yes
nt status support = Yes
announce version = 4.9
announce as = NT
max mux = 50
max xmit = 16644
name resolve order = lmhosts wins host bcast
max ttl = 259200
max wins ttl = 518400
min wins ttl = 21600
time server = No
unix extensions = Yes
use spnego = Yes
client signing = auto
server signing = auto
client use spnego = Yes
change notify timeout = 60
deadtime = 0
getwd cache = Yes
keepalive = 300
kernel change notify = Yes
lpq cache time = 10
max smbd processes = 0
paranoid server security = Yes
max disk size = 0
max open files = 1
socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192
use mmap = Yes
hostname lookups = No
name cache timeout = 660
load printers = Yes
printcap name = cups
disable spoolss = No
enumports command = 
addprinter command = 
deleteprinter command = 
show add printer wizard = Yes
os2 driver map = 
mangling method = hash2
mangle prefix = 1
stat cache = Yes
machine password timeout = 604800
add user script = 
delete user script = 
add group script = 
delete group script = 
add user to group script = 
delete user from group script = 
set primary group script = 
add machine script = 
shutdown script = 
abort shutdown script = 
logon script = 
logon path = \\%N\%U\profile
logon drive = 
logon home = \\%N\%U
domain logons = No
os level = 20
lm announce = Auto
lm interval = 60
preferred master = No
local master = Yes
domain master = No
browse list = Yes
enhanced browsing = Yes
dns proxy = No
wins proxy = No
wins server = 
wins support = Yes
wins hook = 
wins partners = 
kernel oplocks = Yes
lock spin count = 3
lock spin time = 10
oplock break wait time = 0
ldap suffix = 
ldap machine suffix = 
ldap user suffix = 
ldap group suffix = 
ldap idmap suffix = 
ldap filter = (uid=%u)
ldap admin dn = 
  

Re: [newbie] samba problem

2004-04-07 Thread Klemens Arro
On Wednesday 07 April 2004 23:58, Klemens Arro wrote:
 Hi,

 I have samba server running, but I can't connect to any other win server's
 neither can they connect to my server.

 I have tried to configure it with MCC samba wizard, but it fails when it
 asks for allowed users and I have tried to configure it with SWAT, but I
 cant get it to work. :'(

 I added my smb.conf file as attachment.

 Thanks!

I forgot to tell, I have a samba 3 server (default from mdk 10/cooker)

sorry

-- 
Klemens Arro

My software never has bugs; it just develops random features.

Using: Mandrake Linux 10
Registered Linux User#: 346118
ICQ#: 179198850


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] samba problem

2004-04-07 Thread Stephen Kuhn
On Thu, 2004-04-08 at 06:58, Klemens Arro wrote:
 Hi,
 
 I have samba server running, but I can't connect to any other win server's 
 neither can they connect to my server.
 
 I have tried to configure it with MCC samba wizard, but it fails when it asks 
 for allowed users and I have tried to configure it with SWAT, but I cant get 
 it to work. :'(
 
 I added my smb.conf file as attachment.
 
 Thanks!

Could be that your firewall is blocking port 137, 138 and 139?

stephen kuhn - owner
==
illawarra computer services
a kuhn media australia company
http://kma.0catch.com
--
  * This message was composed on a 100% Microsoft free computer *
  We expressly refuse to utilise Microsoft DRM encoded documents
--
All over the place, from the popular culture to the propaganda system,
there is constant pressure to make people feel that they are helpless,
that the only role they can have is to ratify decisions and to consume.
-- Noam Chomsky



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] samba problem

2004-04-07 Thread Klemens Arro
On Thursday 08 April 2004 00:50, Stephen Kuhn wrote:
 Could be that your firewall is blocking port 137, 138 and 139?


I don't think so. I have allowed Samba server from mcc Firewall

-- 
Klemens Arro

My software never has bugs; it just develops random features.

Using: Mandrake Linux 10
Registered Linux User#: 346118
ICQ#: 179198850


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] samba problem

2004-04-07 Thread Derek Jennings
On Wednesday 07 Apr 2004 21:58, Klemens Arro wrote:
 Hi,

 I have samba server running, but I can't connect to any other win server's
 neither can they connect to my server.

 I have tried to configure it with MCC samba wizard, but it fails when it
 asks for allowed users and I have tried to configure it with SWAT, but I
 cant get it to work. :'(

 I added my smb.conf file as attachment.

 Thanks!
The trouble with using SWAT is that it replaces the original Mandrake config 
file which is heavily annotated and has defaults which work out of the box.

I suggest you replace your config file with the default you will find 
at /usr/share/samba/smb.conf.clean and then start again from there.
Reading the default config file will give you a lot of hints.

Before users can connect to their home directories on your server you must 
execute the command
smbpasswd -a user_name
where user_name is a logon name that exits in both windows and Linux 
environments. You will be prompted for the *Windows* password of that user 
which does not have to be the same as that users Linux password.

derek
-- 
www.jennings.homelinux.net
http://twiki.mdklinuxfaq.org


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Samba Problem

2002-10-13 Thread Rulon Holm

On Sunday 13 October 2002 04:04 am, Robin Turner wrote:
 Rulon Holm wrote:
 I can't get samba to work ever since enabled internet connection sharing.
 I have a modem that connects to the internet. the other computer computer
  is running WindowsXP.
 Could someone help me.  THx

 Can you give more details? Is it that you can't connect to the Windows
 box with smbclient, or the Windows box can't connect to your samba
 server? ?n the latter case, 90% of problems come from the Windows user
 not being logged on with a valid name and password, or the password not
 having been entered into smbpasswd.

 Sir Robin

Both, but it was working before i turned on internet connection sharing

thanks for taking the time to answer.

-Ruggy 



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [newbie] Samba Problem

2002-10-13 Thread Sharrea

On Sunday 13 Oct 2002 2:00 pm, Rulon Holm wrote:
 I can't get samba to work ever since enabled internet connection sharing.
 I have a modem that connects to the internet. the other computer computer
 is running WindowsXP.
 Could someone help me.  THx

Firstly, I am NO expert on networking stuff!  Hell, it took me 5 days to get 
ICS, Samba, NFS and a decent firewall working correctly.  Heh, when I 
finally did get everything going I quickly backed up the /etc dir!

If you're using MDK9.0 then I think its something to do with shorewall 
(firewall).  Enabling ICS installs shorewall.  I read numerous accounts of 
people with network problems in MDK9.0.

I have only a small lan (2 PCs) and connect to the net via dialup modem.

I fiddled with so many config files that I don't know what I actually did 
(if anything) to fix it.  Couldn't figure out how to configure shorewall 
(even after reading the docs ; ) and belive me, I tried) so I downloaded 
and installed guarddog and used that to allow services for my lan.

Trouble is, shorewall had setup iptables and I think guarddog just adds to 
what is already running in iptables so effectively I have both shorewall 
and guarddog running.  If I stop both and start either one, there's always 
something that won't work so I guess I haven't configured guarddog properly 
yet.

Once you have configured everything you could try stopping all relative 
services (ie. smb, named, dhcpd, shorewall, portmap, nfs, nfslock, etc) and 
take the network down (ifdown ethX), then restart them.  In which case, I'd 
first start the firewall then bring the network back up (ifup ethX).  Then 
start named, dhcpd, etc.

One thing I noticed was that either dhcp or shorewall (can't remember which) 
was working with the wrong network address.  My network is 192.168.0.0 but 
one of them kept using 192.168.1.0.

Oh, and another thing I read somewhere at MandrakeForum is that it is 
IMPERATIVE to configure your network BEFORE enabling ICS otherwise you run 
into problems.  So I reinstalled and configured the network (as usual) 
during installation and once the system was running I added the IP address 
for PC#2 in /etc/hosts and enabled ICS - WRNGG!  It seems that 
configuring your network during installation isn't enough and that you must 
use MCC  Network  Internet  Connection and then enable ICS via MCC  
Network  Internet  Connection Sharing.  AND I had to use manual 
configuration and expert NOT auto configuration.  AND I found that 
adding my ISPs first DNS Server address in there worked.

Like I said, I'm no expert but I had big hassles getting it sorted and got 
rather confused in the process.  If this isn't your problem, I'm sorry for 
wasting bandwith.  Hopefully it might help someone.

Sharrea
-- 
Help Microsoft stamp out piracy - give Linux to a friend today



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[newbie] Samba Problem

2002-10-12 Thread Rulon Holm
I can't get samba to work ever since enabled internet connection sharing.
I have a modem that connects to the internet. the other computer computer is 
running WindowsXP.
Could someone help me.  THx
 
-Ruggy


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



RE: [newbie] Samba- problem - asking for an unkown password

2001-09-21 Thread John Clegg

Try running smbpasswd

 -Original Message-
 From: Roderick Scotto [mailto:[EMAIL PROTECTED]]
 Sent: Friday, September 21, 2001 5:14 AM
 To: [EMAIL PROTECTED]
 Subject: [newbie] Samba- problem - asking for an unkown password
 
 
 
 I managed to run samba and to see the linux machine on my 
 windows explore, 
 but when I click on the linux machine .. it prompts me for a 
 password, I had 
 tried all the passwords used in the linux box and windows 
 machine, but still 
 without success.
 I had try to tweak directly with the /etc/smb.conf file.. but It was 
 useless..
 I had also shared folders.. but I still cannot access the 
 linux machine
 
 I had then tried to modify the setting from the 
 drakeconfnetworksamba... 
 but still for nothing.
 
 Can you please help me!
 
 regards
 Roderick scotto
 
 
 
 
 
 _
 Get your FREE download of MSN Explorer at 
http://explorer.msn.com/intl.asp




**
Any views expressed in this message are the sender's own, and do not
represent the views of Nailsea Family Practice or Woodspring Healthcare
Limited except where the sender specifically states them to be the
views of one or both of those organisations. This e-mail should only be
read by those persons to whom it is addressed. Accordingly, we disclaim
all responsibility and accept no liability (including in negligence) for
the consequences of any person other than the intended recipients acting,
or refraining from acting, on such information. If you have received this
e-mail in error, please accept our apologies and we simply request that
you delete this document. Any form of reproduction, dissemination,
copying, disclosure, modification, distribution and/or publication of
this e-mail is strictly prohibited.




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[newbie] Samba- problem - asking for an unkown password

2001-09-20 Thread Roderick Scotto


I managed to run samba and to see the linux machine on my windows explore, 
but when I click on the linux machine .. it prompts me for a password, I had 
tried all the passwords used in the linux box and windows machine, but still 
without success.
I had try to tweak directly with the /etc/smb.conf file.. but It was 
useless..
I had also shared folders.. but I still cannot access the linux machine

I had then tried to modify the setting from the drakeconfnetworksamba... 
but still for nothing.

Can you please help me!

regards
Roderick scotto





_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[newbie] Samba problem!

2001-07-13 Thread AOL Systems

To all my firends

Can you pls send me a configuration of SAMBA from installation and
configuration cause my notes is missing and I will use it in our office
can anyone pls help me
I'll be configuring a Linux server to Windows NT and WIN98 workstation
pls help me and how can I download the browser for samba.


Respectfully
AOL
www.aolsystems.com
The Technology Specialist







RE: [newbie] Samba problem!

2001-07-13 Thread Daryl Johnson

Boy you certainly dive nto the deep end don't you?

When you install samba from RPMs, which is what I assume you have done from
your earlier posts, you have all the files installed for you in the
appropriate places.  The configuration file you are referring to is
/etc/smb.conf and contains a lot of fairly standard configuration options
that can be switched on by removing a semi-colon.  It isn't quite as
straight forward a package as you seem to be assuming however and I would
guess that you have a bit of research and effort to undertake yet.

Once again, check in /usr/share/doc/samba-verNo and see what docs have been
installed.  Frankly I don't see you installing and making samba work in a
n/w without going through the docs supplied with the package.  Learned
though some of the people on this list are - not to mention helpful, they
aren't going to wave a magic wand for you. It is possible to answer specific
queries as to why something doesn't work but to be honest, IMHO, you're not
going to get samba up and running without an effort on your part first.

If you are short of docs, or packages then www.samba.org is the place to
look. If you have RPMS available on cdrom then you require three RPMs, the
server, the common files and the client.  If you are going to compile from
sources then I believe v 2.1 is the lowest version that will deal properly
with NT.

As a final comment, you should be able to get a linux server working well
with win98 but you will have a more... interesting, task on your hands with
WinNT

Daryl Johnson
Proplan Associates



 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of AOL Systems
 Sent: 14 July 2001 05:04
 To: [EMAIL PROTECTED]
 Subject: [newbie] Samba problem!


 To all my firends

 Can you pls send me a configuration of SAMBA from installation and
 configuration cause my notes is missing and I will use it in our office
 can anyone pls help me
 I'll be configuring a Linux server to Windows NT and WIN98 workstation
 pls help me and how can I download the browser for samba.


 Respectfully
 AOL
 www.aolsystems.com
 The Technology Specialist










RE: [newbie] Samba problem!

2001-07-13 Thread Mark Johnson

Just look at the /etc/smb.conf file it's got a ton of examples and get your
company to go buy you Using Samba
(http://www.amazon.com/exec/obidos/ASIN/1565924495/qid=995029338/sr=2-1/ref=
aps_sr_b_1_1/103-6289178-7490252) it is definitely worth the $30. If they
don't buy it for you, go buy it for yourself.

Other than that post your questions...

I assume you have it installed.  The first thing after that is to make sure
the the 'workgroup' attribute is set to your NT workgroup, by default it's
set to MDKGROUP.  Then you need to decide if you want to use encrypted
passwords or clear-text.  What I would suggest is to use encrypted password
and create usernames specifcially for the shares you want to allow access
to. For example, if you want a marketing share add a user to the server
called 'marketing', then use 'smbpasswd -a marketing' it'll prompt you for a
password just like the passwd utility does. Then in the /etc/smb.conf
uncomment the lines: 

  encrypt passwords = yes
  smb passwd file = /etc/smbpasswd

Then specify your share:

[marketing]
   path = /shares/marketing
   public = yes
   only guest = no
   writable = yes
   printable = no
   valid users = marketing
   creation mask = 0744
   directory mask = 0755

Finally, samba should pick up this new configuration in about 60 seconds.
If you don't want to wait you can SIGHUB the smbd process.

If you just want to totally restart samba, use the comment
'/etc/rc.d/init.d/smb restart'

When the marketing guy goes to access the share on linux it'll prompt him
for a username and password and he can enter the 'marketing'
username/password.  This will save you from having to send clear-text
passwords on your network, and save you from having to add every user to you
linux server.

Otherwise, get the book and configure samba to use NT authentication, then
you don't have to  worry about usernames on the linux system since samba
will validate agains the PDC.

ps: there is no browser for samba, unless I'm misunderstanding what you are
wanting.  The Windows users simple use their regular file manager
application.

 -Original Message-
 From: AOL Systems [mailto:[EMAIL PROTECTED]]
 Sent: Friday, July 13, 2001 11:04 PM
 To: [EMAIL PROTECTED]
 Subject: [newbie] Samba problem!
 
 
 To all my firends
 
 Can you pls send me a configuration of SAMBA from installation and
 configuration cause my notes is missing and I will use it in 
 our office
 can anyone pls help me
 I'll be configuring a Linux server to Windows NT and WIN98 workstation
 pls help me and how can I download the browser for samba.
 
 
 Respectfully
 AOL
 www.aolsystems.com
 The Technology Specialist
 
 
 
 




Re: [newbie] Samba problem!

2001-07-13 Thread Lanman

Hey Mark,...Couldn't he use samba restart also? From a normal prompt ? If 
he's looking for a Linux browser for samba he could also use xsmbrowser or 
LinNeighborhood. But if he's trying to browse from Windows, then you're bang 
on the money about Windows Explorer. He might also want to run webmin on 
the linux box so that he can manage samba remotely on the network. Just a few 
things that have paid off time and again for me.

Dan LaBine

On July 13, 2001 09:15 am, Mark Johnson wrote:
 Just look at the /etc/smb.conf file it's got a ton of examples and get your
 company to go buy you Using Samba
 (http://www.amazon.com/exec/obidos/ASIN/1565924495/qid=995029338/sr=2-1/ref
= aps_sr_b_1_1/103-6289178-7490252) it is definitely worth the $30. If they
 don't buy it for you, go buy it for yourself.

 Other than that post your questions...

 I assume you have it installed.  The first thing after that is to make sure
 the the 'workgroup' attribute is set to your NT workgroup, by default it's
 set to MDKGROUP.  Then you need to decide if you want to use encrypted
 passwords or clear-text.  What I would suggest is to use encrypted password
 and create usernames specifcially for the shares you want to allow access
 to. For example, if you want a marketing share add a user to the server
 called 'marketing', then use 'smbpasswd -a marketing' it'll prompt you for
 a password just like the passwd utility does. Then in the /etc/smb.conf
 uncomment the lines:

   encrypt passwords = yes
   smb passwd file = /etc/smbpasswd

 Then specify your share:

 [marketing]
path = /shares/marketing
public = yes
only guest = no
writable = yes
printable = no
valid users = marketing
creation mask = 0744
directory mask = 0755

 Finally, samba should pick up this new configuration in about 60 seconds.
 If you don't want to wait you can SIGHUB the smbd process.

 If you just want to totally restart samba, use the comment
 '/etc/rc.d/init.d/smb restart'

 When the marketing guy goes to access the share on linux it'll prompt him
 for a username and password and he can enter the 'marketing'
 username/password.  This will save you from having to send clear-text
 passwords on your network, and save you from having to add every user to
 you linux server.

 Otherwise, get the book and configure samba to use NT authentication, then
 you don't have to  worry about usernames on the linux system since samba
 will validate agains the PDC.

 ps: there is no browser for samba, unless I'm misunderstanding what you are
 wanting.  The Windows users simple use their regular file manager
 application.

  -Original Message-
  From: AOL Systems [mailto:[EMAIL PROTECTED]]
  Sent: Friday, July 13, 2001 11:04 PM
  To: [EMAIL PROTECTED]
  Subject: [newbie] Samba problem!
 
 
  To all my firends
 
  Can you pls send me a configuration of SAMBA from installation and
  configuration cause my notes is missing and I will use it in
  our office
  can anyone pls help me
  I'll be configuring a Linux server to Windows NT and WIN98 workstation
  pls help me and how can I download the browser for samba.
 
 
  Respectfully
  AOL
  www.aolsystems.com
  The Technology Specialist




Re: [newbie] Samba Problem

2000-10-18 Thread Michael Lueck

On Tue, 17 Oct 2000 21:47:24 -0700, Erylon Hines wrote:

On Tue, 17 Oct 2000, Rick Cawood wrote:
 
 I can access my shares with smbclient so Samba must be working, but when i try to 
get in with Win98 my password isnt accepted.
 Anyone have any idea whats going on and how to remedy it?


The best resource I found was the RedHat 6 Unleashed book. You need to enable
the password file, run a SAMBA command to add users / passwords, and don't
forget to have allowed access at the filesystem level to the dirs you share -
using chmod. Most other books didn't have even half of the info needed to get
WinXX talking to SAMBA on Linux.

Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/






[newbie] Samba Problem

2000-10-17 Thread Rick Cawood




I can access my shares with smbclient so Samba must 
be working, but when i try to get inwith Win98 my password isnt 
accepted.
Anyone have any idea whats going on and how to 
remedy it?

Thanks

Richard CawoodICQ. 841290http://www.teampicard.co.uk/http://setiathome.ssl.berkeley.edu/


[newbie] SAMBA Problem

2000-04-21 Thread Nicholas Horton

Hello Folks..

When I type "smbclient -L localhost" from a prompt I get this message:

added interface ip=205.130.228.201 bcast=205.130.228.255 nmask=255.255.255.0
session request to LOCALHOST failed (Not listening for calling name)
session request to *SMBSERVER failed (Not listening for calling name)


Any idea what I need to do to fix my machine or more specifically, whats
wrong?

Thanks,
Nick Horton




Re: [newbie] Samba problem

2000-01-13 Thread Damien Mc Kenna

On 1/12/00 5:02:01 PM, Dennis wrote:
 I'm trying to run Samba on my Mdk6.1 system.
 
 The username and password that you are logged on as on the wondows box
 must match a user name and password on the linux box.   That user must
 also have access rights to the shared drive or directory on the linux
 box.

Any way to work around that?


Damien Mc Kenna   http://wso.net/mckenna   [EMAIL PROTECTED]   ICQ 17066133
Married Jen (1998)  Keene State College student, Applied Computer Science



Fwd: Re: [newbie] Samba problem

2000-01-13 Thread Meg




Uh..that's what I said. create a new user on your windows machine..via the
process that Dennis tells us to do. control panel- windows.

M

On Thu, 13 Jan 2000, you wrote:
 On Thu, 13 Jan 2000 09:10:10 +0800, you wrote:
 
 
 You can probably create a new user on your windows machine,  and log on
 using the username for your linux system. This is a windows issue, because
 windows doesn't have any provision for using login/passwd, unless you're using
 NT.
 
 Wrong.  Win95 and win98 both have provisions for setting user
 passwords and logon id's.You can do so by clicking on the "users"
 icon in control panel in windows.  
 
 
 So, people tweak with the registry files or something. I don't know how it's
 done, exactly, though.
 
 As above.   Or alternately you can set a logon id and password simply
 by erasing the .pwd file in your windows directory and shutting down.
 When you reboot windows will ask you to set a user id and password.
 Simply make sure that it matches one on the linux box.
 
 
 --M
 
 On Thu, 13 Jan 2000, you wrote:
  On Wed, 12 Jan 2000 14:41:23 -0500, you wrote:
  
  I'm trying to run Samba on my Mdk6.1 system.  I've got the client working
  A-OK (smbmount will connect to my Windows box fine), but I can't get the
  server-side working.  When I look in my Windows Network Neighborhood thing
  it lists the Mandrake machine, but when I try to view the shares I
  configured it says asks me for a password for the resource \\SERVER\IPC$
  which I'm lost at.
  
  The username and password that you are logged on as on the wondows box
  must match a user name and password on the linux box.   That user must
  also have access rights to the shared drive or directory on the linux
  box.
  
  
  I looked in /var/log/samba and smb.log says this:
  
  -
smbd version 2.0.5a started.
Copyright Andrew Tridgell 1992-1998
  [2000/01/13 12:31:15, 1] smbd/files.c:file_init(216)
file_init: Information only: requested 1 open files, 1014 are available.
  [2000/01/13 12:32:14, 0] lib/access.c:check_access(262)
Denied connection from ppro (198.168.0.1)
  [2000/01/13 12:32:14, 1] smbd/process.c:process_smb(608)
Connection denied from 198.168.0.1
  -
  
  Here's the smb.conf, or at least the uncommented lines:
  
  -
  [global]
 workgroup = McKenna
 server string = P166 running Linux
 hosts allow = 198.168.0. 127.
 printcap name = /etc/printcap
 load printers = yes
 log file = /var/log/samba/log.%m
 max log size = 50
 security = user
 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
 dns proxy = no 
  [homes]
 comment = Home Directories
 browseable = no
 writable = yes
  [tmp]
 comment = Temporary file space
 path = /tmp
 read only = no
 public = yes
  [webhome]
comment = Website home
path = /home/httpd/html
public = yes
writable = yes
  [rootdir]
comment = Dangerous! Be Careful!
path = /
public = yes
writable = yes
  -
  
  Any ideas?
  
  
  Damien Mc Kenna   http://wso.net/mckenna   [EMAIL PROTECTED]   ICQ 17066133
  Married Jen (1998)  Keene State College student, Applied Computer Science
-- 
Margaret Uy
[EMAIL PROTECTED]
---

-- 
Margaret Uy
[EMAIL PROTECTED]



[newbie] Samba problem 2

2000-01-13 Thread Damien Mc Kenna

Another problem with Samba is that when I mount a share to a directory its
permissions seem fixed to rwxr-xr-x whereas I want to change them all to
rwx.  Any way of doing this? (Mdk6.1)


Damien Mc Kenna   http://wso.net/mckenna   [EMAIL PROTECTED]   ICQ 17066133
Married Jen (1998)  Keene State College student, Applied Computer Science




[newbie] Samba problem

2000-01-12 Thread Damien Mc Kenna

I'm trying to run Samba on my Mdk6.1 system.  I've got the client working
A-OK (smbmount will connect to my Windows box fine), but I can't get the
server-side working.  When I look in my Windows Network Neighborhood thing
it lists the Mandrake machine, but when I try to view the shares I
configured it says asks me for a password for the resource \\SERVER\IPC$
which I'm lost at.

I looked in /var/log/samba and smb.log says this:

-
  smbd version 2.0.5a started.
  Copyright Andrew Tridgell 1992-1998
[2000/01/13 12:31:15, 1] smbd/files.c:file_init(216)
  file_init: Information only: requested 1 open files, 1014 are available.
[2000/01/13 12:32:14, 0] lib/access.c:check_access(262)
  Denied connection from ppro (198.168.0.1)
[2000/01/13 12:32:14, 1] smbd/process.c:process_smb(608)
  Connection denied from 198.168.0.1
-

Here's the smb.conf, or at least the uncommented lines:

-
[global]
   workgroup = McKenna
   server string = P166 running Linux
   hosts allow = 198.168.0. 127.
   printcap name = /etc/printcap
   load printers = yes
   log file = /var/log/samba/log.%m
   max log size = 50
   security = user
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
   dns proxy = no 
[homes]
   comment = Home Directories
   browseable = no
   writable = yes
[tmp]
   comment = Temporary file space
   path = /tmp
   read only = no
   public = yes
[webhome]
  comment = Website home
  path = /home/httpd/html
  public = yes
  writable = yes
[rootdir]
  comment = Dangerous! Be Careful!
  path = /
  public = yes
  writable = yes
-

Any ideas?


Damien Mc Kenna   http://wso.net/mckenna   [EMAIL PROTECTED]   ICQ 17066133
Married Jen (1998)  Keene State College student, Applied Computer Science



Re: [newbie] Samba problem

2000-01-12 Thread Meg


You can probably create a new user on your windows machine,  and log on
using the username for your linux system. This is a windows issue, because
windows doesn't have any provision for using login/passwd, unless you're using
NT.

So, people tweak with the registry files or something. I don't know how it's
done, exactly, though.

--M

On Thu, 13 Jan 2000, you wrote:
 On Wed, 12 Jan 2000 14:41:23 -0500, you wrote:
 
 I'm trying to run Samba on my Mdk6.1 system.  I've got the client working
 A-OK (smbmount will connect to my Windows box fine), but I can't get the
 server-side working.  When I look in my Windows Network Neighborhood thing
 it lists the Mandrake machine, but when I try to view the shares I
 configured it says asks me for a password for the resource \\SERVER\IPC$
 which I'm lost at.
 
 The username and password that you are logged on as on the wondows box
 must match a user name and password on the linux box.   That user must
 also have access rights to the shared drive or directory on the linux
 box.
 
 
 I looked in /var/log/samba and smb.log says this:
 
 -
   smbd version 2.0.5a started.
   Copyright Andrew Tridgell 1992-1998
 [2000/01/13 12:31:15, 1] smbd/files.c:file_init(216)
   file_init: Information only: requested 1 open files, 1014 are available.
 [2000/01/13 12:32:14, 0] lib/access.c:check_access(262)
   Denied connection from ppro (198.168.0.1)
 [2000/01/13 12:32:14, 1] smbd/process.c:process_smb(608)
   Connection denied from 198.168.0.1
 -
 
 Here's the smb.conf, or at least the uncommented lines:
 
 -
 [global]
workgroup = McKenna
server string = P166 running Linux
hosts allow = 198.168.0. 127.
printcap name = /etc/printcap
load printers = yes
log file = /var/log/samba/log.%m
max log size = 50
security = user
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = no 
 [homes]
comment = Home Directories
browseable = no
writable = yes
 [tmp]
comment = Temporary file space
path = /tmp
read only = no
public = yes
 [webhome]
   comment = Website home
   path = /home/httpd/html
   public = yes
   writable = yes
 [rootdir]
   comment = Dangerous! Be Careful!
   path = /
   public = yes
   writable = yes
 -
 
 Any ideas?
 
 
 Damien Mc Kenna   http://wso.net/mckenna   [EMAIL PROTECTED]   ICQ 17066133
 Married Jen (1998)  Keene State College student, Applied Computer Science