are you using samba from 8.1???

if so, go to the cooker and get the 2.2.2 rpms,, they are excellent and
appear to be very stable, have loaded them on mine when they came out and
not restarted since and all is fine..

the default setup,  (just starting smb) will make your home directories
available to whatever login you have..
will also share any cups printers on the box.

then make your samba users, and make them the same as the username and
passwords on your windows box's

so if you have a windows box that you log into as username: markw and
password markwpassword
then use the:
smbpasswd -a markw

to create the user and enter its password..

when your windows box tries to connect to the samba shares, it will by
default send the username and password that the windows box was logged in
as.

I had lots of problems until I got it worked out (by luck the first time),
since then none of my installs has had any problems.


so here is what I would do in your situation, (assuming I understand your
situation.)
1. install 2.2.2 samba all packages, (you don't need all, but what the hell,
they are small.)
2. smbpasswd -a for all users.
3. Doesn't hurt for all samba users to have the same username and password
on the linux box. but you don't have to, you can map a smb user to a
different linux user. but for the purposes of this, lets go with KISS and
match the usernames and passwords.


give that a shot and let me know how you go..


rgds

Frank




-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Mark Weaver
Sent: Sunday, 16 December 2001 10:10 AM
To: newbie
Subject: Re: [newbie] Samba question - making shares invisible


On Sat, 15 Dec 2001 19:44:45 -0600
Julian Opificius <[EMAIL PROTECTED]> studiouisly spake these words to
ponder:

> I'm a little worried, as I said before, about the users mdw1982 and the
> alexhome in the valid users list in the above definition. It would be
> better if, until you got all this working, you didn't have account names
> the same as machine names. I don't know if it's a problem, but it might be
> better to simplify things till you're sure it's OK to do that. Try taking
> out mdw1982 and alexhome account names.
> Also, I'd take out the "write list = ".  The fact that the key word is
> there but has no arguments will probably make the share essentially
read-only.
>

ok...I've redone the entire configuration. I'm beginning to think that
there's something really simple that I'm overlooking cause when I attempt to
map a drive in Network Neighborhood I get as far as making the connection
where it asks for the password, but I'm not sure which password it's asking
for cause I give it the password of the user thats trying to connect,

        user = markw
        passwd = casey81

and it doesn't like that one. i've even tried the Linux box's root passwd
and _that_ doens't work either.

the weird thing that got me going this direction was I opened the config
file and commented out ALL of the global settings cause i wanted to see how
things would react, then attempted to connect from the windows machine in a
terminal. low and behold it asked for a password. But neither my son nor
myself knew which one it was asking for.

I'm going to take your advice and get rid of the other two users that mirror
machine names. they're confusing the hell outa me.

O, and BTW... I LOVE british humor. the dryer the better sometimes.
--
daRcmaTTeR

Registered Linux User 182496
Mandrake 8.1
---------------------------------------------------------------------
  8:05pm  up 5 days, 22:00,  3 users,  load average: 0.31, 0.39, 0.37



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

Reply via email to