[Samba] Re: Connecting without smbpasswd file

Ow Mun Heng ow.mun.heng at wdc.com
Tue Oct 28 01:36:56 GMT 2003


>>  The only way I'm able to connect is to remove the public = false
>> from the [homes] section,  but then I don't have any write access into >>
the unix home directories.

There _are_ ways of doing it but I would rather you not do it that way cause
of permission problems. eg : user1 would be able to access/write into user2
directory!!

The thing here is that AFAIUnderstand, samba needs the username/passwd combo
to determine write/read access. If you were to just ignore the
username/passwd combo and enable public=yes then when a user browse into
that share folder, it will be under the user nobody or guest which has _no_
priviledges. Hence you _Still_ will not be able to write to it. 

Then you can also put the statment readonly=false (or something along those
lines, I can't remember the exact name) but that will also not make it
writeable because of your *nix permissions. Most home directories will be
drwx------. YOu're using solaris, you should know more about this than me,
the linux newbie.

But, as they say, I can only get my newbie status lifted if I help enough
people.


Cheers,                                                 .^.
Mun Heng, Ow                                            /V\
H/M Engineering                                       /(   )\
Western Digital M'sia                                  ^^-^^
DID : 03-7870 5168                          The Linux Advocate

        


-----Original Message-----
From: Robin Dyer [mailto:rdyer at ci.riverside.ca.us]
Sent: Tuesday, October 28, 2003 5:54 AM
To: samba at lists.samba.org
Subject: [Samba] Re: Connecting without smbpasswd file


That still gives me the "Incorrect password or Unknown username" error
message.  The only way I'm able to connect is to remove the public = false
from the [homes] section,  but then I don't have any write access into the
unix home directories.

-Robin


"Brandon Craig Rhodes" <brandon at oit.gatech.edu> wrote in message
news:vw3cdel6wr.fsf at guinness.ts.gatech.edu...
> "Robin Dyer" <rdyer at ci.riverside.ca.us> writes:
>
> > Is there anyway to modify the smb.conf file so that [a user] entry
> > in smbpasswd is not required?
>
> Try adding "encrypt passwords = no" since, if your windows machines
> are sending samba NT password hashes rather than plain-text passwords,
> they cannot be checked against the /etc/passwd file at all.
>
> -- 
> Brandon Craig Rhodes
http://www.rhodesmill.org/brandon
> Georgia Tech
brandon at oit.gatech.edu
>
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
>



-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



More information about the samba mailing list