what have you done about windows passwords for the linux machine.

you need to use smbpasswd to set up your encreypted windows passwords.

smbpasswd -a roger

give it the same password as roger has on the windows machine.

windows enforces encrypted passwords since win98. the encryption is
different to the unix encryption in /etc/shadow, so you need to set up a
separate password scheme

roger does have to have a user account on the linux box too.


On Thu, 23 Sep 2004 12:36:14 +1200 (NZST)
Roger Searle <[EMAIL PROTECTED]> wrote:

> And now for something completely different...
> 
> With my notebook running suse I am connected to a workgroup with xp and 2000
> machines and am trying to configure samba server to allow access to shares
> from a windows machine. I have been beaten by this stuff in the past but
> will not give up this time around! I have had a look at swat previously but
> this doesn't seem to be available on the suse cds so for now thought I'd go
> with using the Samba Server utility in Yast and editing samba.conf.
> 
> I have set up a share of the fat32 partition and a home directory, but not
> quite getting the results I want. Firstly, I can only browse a share from
> the windows machine with "guest ok = yes", as soon as this is "no" the share
> isn't accessible with an "access denied" message. I want to be specifying
> users who can access that share. Secondly alll files are read-only, even
> though I have "read only = no" or "writeable = yes". The line "create mask
> = 777" is my attempt to fix that, unsuccessfully.
> 
> Time to ask for some help :-)
> Here are a couple of sections from the samba.conf file:
> [global]
>    workgroup = Workgroup
>    printing = cups
>    printcap name = cups
>    printcap cache time = 750
>    cups options = raw
>    printer admin = @ntadmin, root, administrator
>    username map = /etc/samba/smbusers
>    map to guest = Bad User
>    logon path = \\%L\profiles\.msprofile
>    logon home = \\%L\%U\.9xprofile
>    logon drive = P:
>    security = user
>    encrypt passwords = yes
>    passdb backend = smbpasswd
>    server string = Samba Server
>    add machine script = 
>    domain master = false
>    domain logons = no
>    local master = no
>    preferred master = auto
>    ldap suffix = dc=example,dc=com
> 
> [notebook-d]
>    available = yes
>    browseable = yes
>    comment = Notebook's D Drive
>    guest ok = yes
>    path = /windows/E/
>    create mask = 777
>    printable = no
>    writeable = yes
> 
> Roger

-- 
Nick Rout <[EMAIL PROTECTED]>

Reply via email to