Read , write & execute access in my network (various OS)

Hi :wink:

I have a network of 5 computers :

1 laptop : OS 10.3.9

4 desktops : OS 10.6.1, openSUSE 11.2, 2 * seven

Could you please help me so that i can have full access between all the computers ?

What is the most convenient option between ? :

os x - linux
os x - seven

linux - os x
linux - seven

seven - linux
seven - os x

Is Smb able to solve all of these ?

So far from os 10.6.1 i can’t see none of the local computers , and seven can’t see the imac.

From openSUSE i have nmb and smb on and dolphin refuses to access seven when i smb://seven_ip + seven’s admin IDs .
It used to work a few days ago, the only change since then is an update of the seven eset smart security antivirus.
This looks like its impeding in some way suse to access seven.
The password is not taken, then it says access refused on suse.

Thanks ;=)

ok, i’m working on the openSUSE 11.2 <-> seven part :

I added netbios server and samba server in the external zone of the firewall, plus the broadcast according to swerdna’s tutorial Samba and Suse: HowTo Set up an openSUSE-Windows Home Office LAN/Network. Versions 10, 11

i now can see in the workgroup both suse and seven , but when i try to enter seven from Suse it’s refused either with the following in Dolphin :

1- smb://seven/

  • id and password

2- smb://192.xxxx (seven ip)

Any tips why ?

Thanks :wink:

On Wed December 9 2009 07:46 am, manchette fr wrote:

>
> ok, i’m working on the openSUSE 11.2 <-> seven part :
>
> I added netbios server and samba server in the external zone of the
> firewall, plus the broadcast according to swerdna’s tutorial ‘Samba and
> Suse: HowTo Set up an openSUSE-Windows Home Office LAN/Network. Versions
> 10, 11’ (http://opensuse.swerdna.org/suselanprimer.html)
>
> i now can see in the workgroup both suse and seven , but when i try to
> enter seven from Suse it’s refused either with the following in Dolphin
> :
>
> 1- smb://seven/
> + id and password
>
>
> 2- smb://192.xxxx (seven ip)
>
>
> Any tips why ?
>
> Thanks :wink:
>
>
manchette fr;

What happens if you drill down on an actual share:


smb://<server name or IP>/<share name>

Have you checked that the “Everyone” group has the proper permissions?

P. V.
“We’re all in this together, I’m pulling for you.” Red Green

Hi :wink:

even when i stop windows firewall and service , plus i stop kaspersky firewall i can’t access to windows from suse.

In Win7 :
i shared the user with the residential group

all the Hard disks are shared : C, D, E , F and G

windows mentions that the network path is \seven\g

what should i write in dolphin ?

smb:/\seven\g ?

Should i use / or \ ? :expressionless:

acces is refused to smb://seven/g

When i try in one HD : G is shared but directories within are ‘not shared’ . When i share one with the residential group i still can’t access to share directory

On Thu December 10 2009 03:26 pm, manchette fr wrote:

>
> Hi :wink:
>
> even when i stop windows firewall and service , plus i stop kaspersky
> firewall i can’t access to windows from suse.
>
> In Win7 :
> i shared the user with the residential group
>
> all the Hard disks are shared : C, D, E , F and G
>
> windows mentions that the network path is \seven\g
>
> what should i write in dolphin ?
>
> smb:/\seven\g ?
>
> Should i use / or \ ? :expressionless:
>
> acces is refused to smb://seven/g
>
> When i try in one HD : G is shared but directories within are ‘not
> shared’ . When i share one with the residential group i still can’t
> access to share directory
>
manchette fr;

The proper syntax would be:


smb://seven/<sharename assigned to G>/

However; I don’t think you will see any useful with the above. Try sharing an
actual folder on G: with the share name, say, “MySharedFolder”. Then use:


smb://seven/MySharedFolder

Curiously, I’ve found that if you enter: “smb://<servername>/” you can than
select the shared name of a drive to see it’s contents. Go figure.

–
P. V.
“We’re all in this together, I’m pulling for you.” Red Green

;)i still can’t access windows from suse

i shared the user and the HDs
also i tried smb:/seven/g : not working

in C/users/user i shared my_music and my_downloads for all the residential group : still can’t access it

It’s always refused

i chose a 120 bits encryption and password sharing in windows

i’m wondering if some network services are impeded ( :expressionless: ) , as i can’t access Win7 even after turning off windows firewall service and kaspersky firewall

On Fri December 11 2009 03:56 pm, manchette fr wrote:

>
> ;)i still can’t access windows from suse
>
> i shared the user and the HDs
> also i tried smb:/seven/g : not working
>
> in C/users/user i shared my_music and my_downloads for all the
> residential group : still can’t access it
>
> It’s always refused
>
> i chose a 120 bits encryption and password sharing in windows
>
> i’m wondering if some network services are impeded ( :expressionless: ) , as i can’t
> access Win7 even after turning off windows firewall service and
> kaspersky firewall
>
manchette fr;
Open a terminal window and enter:


smbclient -L //<w7 name or w7 IP> -Uguest%

Can you get a listing of shares either with the the “seven’s” name or “seven’s
IP”?

If not please post the contents of /etc/samba/smb.conf.

Be sure you have nmbd running and smbd running. It might help to review
Swerdna’s howto at: http://opensuse.swerdna.org/suselanprimer.html

–
P. V.
“We’re all in this together, I’m pulling for you.” Red Green

Hi :wink:
i 1st of all applied swerdna’s tutorial :wink:

here’s the command line result :

~> smbclient -L //seven -Uguest%
Anonymous login successful
Domain=[WORKGROUP] OS=[Windows 7 Ultimate 7600] Server=[Windows 7 Ultimate 6.1]

    Sharename       Type      Comment
    ---------       ----      -------

Error returning browse list: NT_STATUS_ACCESS_DENIED
Anonymous login successful
Domain=[WORKGROUP] OS=[Windows 7 Ultimate 7600] Server=[Windows 7 Ultimate 6.1]

    Server               Comment
    ---------            -------

    Workgroup            Master
    ---------            -------

my smb.conf :

smb.conf is the main Samba configuration file. You find a full commented

version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE if the

samba-doc package is installed.

Date: 2009-10-27

[global]
workgroup = WORKGROUP
netbios name = fujitsu
name resolve order = bcast host lmhosts wins
passdb backend = tdbsam
printing = cups
printcap name = cups
printcap cache time = 750
cups options = raw
map to guest = Bad User
include = /etc/samba/dhcp.conf
#logon path = \%L\profiles.msprofile
#logon home = \%L%U.9xprofile
#logon drive = P:

    usershare allow guests = Yes
    usershare max shares = 100
    usershare owner only = False

   local master = yes
   preferred master = yes
   os level = 65

[homes]
comment = Home Directories
valid users = %S, %D%w%S
browseable = No
read only = No
inherit acls = Yes
[profiles]
comment = Network Profiles Service
path = %H
read only = No
store dos attributes = Yes
create mask = 0600
directory mask = 0700
[users]
comment = All users
“/etc/samba/smb.conf” 64L, 1489C

again today i’ve tried many things : e.g trying to enter as a guest is not better : no password sharing makes seven no more seen in samba shares, i’ve changed windows 7 user name to one without accents nor Upper letters , used windows firewall, skiped all firewalls, so far nothing helps i’m always refused access to windows 7 .
i also the following :

mount -t smbfs -o username=“test”,password=“testpswd” //"netbiosname/“share” /“mount_point_in_linux”

it gives me a smbfs unknown error message.

Any tips welcome :wink:

Did you open the firewall to local??

This needs to be done to get outside the Linux machine.

As I recall it is the second page of the firewall setup in Yast.

On Sat December 12 2009 02:06 pm, manchette fr wrote:

>
> Hi :wink:
> i 1st of all applied swerdna’s tutorial :wink:
>
> here’s the command line result :
>
> ~> smbclient -L //seven -Uguest%
> Anonymous login successful
> Domain=[WORKGROUP] OS=[Windows 7 Ultimate 7600] Server=[Windows 7
> Ultimate 6.1]
>
> Sharename Type Comment
> --------- ---- -------
> Error returning browse list: NT_STATUS_ACCESS_DENIED
> Anonymous login successful
> Domain=[WORKGROUP] OS=[Windows 7 Ultimate 7600] Server=[Windows 7
> Ultimate 6.1]
>
> Server Comment
> --------- -------
>
> Workgroup Master
> --------- -------
>
>
> my smb.conf :
>
> # smb.conf is the main Samba configuration file. You find a full
> commented
> # version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE if
> the
> # samba-doc package is installed.
> # Date: 2009-10-27
> [global]
> workgroup = WORKGROUP
> netbios name = fujitsu
> name resolve order = bcast host lmhosts wins
> passdb backend = tdbsam
> printing = cups
> printcap name = cups
> printcap cache time = 750
> cups options = raw
> map to guest = Bad User
> include = /etc/samba/dhcp.conf
> #logon path = \%L\profiles.msprofile
> #logon home = \%L%U.9xprofile
> #logon drive = P:
>
> usershare allow guests = Yes
> usershare max shares = 100
> usershare owner only = False
>
> local master = yes
> preferred master = yes
> os level = 65
>
> [homes]
> comment = Home Directories
> valid users = %S, %D%w%S
> browseable = No
> read only = No
> inherit acls = Yes
> [profiles]
> comment = Network Profiles Service
> path = %H
> read only = No
> store dos attributes = Yes
> create mask = 0600
> directory mask = 0700
> [users]
> comment = All users
> “/etc/samba/smb.conf” 64L, 1489C
>
>
>
>
> again today i’ve tried many things : e.g trying to enter as a guest
> is not better : no password sharing makes seven no more seen in samba
> shares, i’ve changed windows 7 user name to one without accents nor
> Upper letters , used windows firewall, skiped all firewalls, so far
> nothing helps i’m always refused access to windows 7 .
> i also the following :
>
> # mount -t smbfs -o username=“test”,password=“testpswd”
> //"netbiosname/“share” /“mount_point_in_linux”
>
> it gives me a smbfs unknown error message.
>
> Any tips welcome :wink:
>
manchette fr;

The mount smbfs error is expected, this is no longer supported. You need to
use mount.cfs. See:
man mount.cifs and swerdna.org

Just try a simple share with neither encryption nor password. Make sure that
the “everyone” group has read/write permissions. If this works, you know
where the problem lies. Lets make sure your samba is working first. It
rather looks like you’re getting through to “seven”, but unable to see the
shares.

–
P. V.
“We’re all in this together, I’m pulling for you.” Red Green

What do you mean open the firewall to local ?
Which 2d page ? i might have not seen it so far.

I don’t know how to not encrypt , the choice is between 128 bits and 40/56bits ;

when i use “no password share” i do not see anymore seven.

This is it : i can see seven in the network : samba shares , but can’t access it

On Sun December 13 2009 05:46 am, manchette fr wrote:

>
> gogalthorp;2086837 Wrote:
>> Did you open the firewall to local??
>>
>> This needs to be done to get outside the Linux machine.
>>
>> As I recall it is the second page of the firewall setup in Yast.
>
> What do you mean open the firewall to local ?
> Which 2d page ? i might have not seen it so far.
>
>
> I don’t know how to not encrypt , the choice is between 128 bits and
> 40/56bits ;
>
> when i use “no password share” i do not see anymore seven.
>
> This is it : i can see seven in the network : samba shares , but can’t
> access it
>
>
manchette fr;
We have had a few Windows 7 members on our domain, but as yet we had not tried
to share from Win7. However, tonight I was able to lay my hands on a Windows
Seven machine and test sharing from Windows 7.

  1. The encryption just refers to NTLM, leave it at the default.
  2. You may choose to use a password or not. I will comment on that choice
    later.
  3. For the directory/file you want to share:
    a. Right click
    b. Choose properties
    c. Select the Sharing tab
    d. Select advanced sharing
    e. assign a name
    f. select Permissions
    g. assign appropriate permissions to the EveryOne group
    h. backout and you’re done
  4. To access the shares from dolphin
    a. With passwords
    i. Enter smb://<win7 machine name or IP>/
    ii. When requested to authenticate enter the <username>:<password>
    of valid WINDOWS 7 USER.
    b. With no password
    i. There seemed to be some difference between the very first try
    and all subsequent tries.
    ii. Initially I needed to use: smb:\<Windows 7 name>/<share name>
    iii. Subsequent attempts required only: smb:\<windows 7 name>/
    iv. There was some delay in step (iii) it is possible that this would
    have worked initially had I just waited long enough.
    c. Do not try to access the X$ shares (X=C,D,E etc) these are special.

The above rules for dolphin also work for FF and Konqueror. No other browsers
were checked.

P. V.
“We’re all in this together, I’m pulling for you.” Red Green

On Sun December 13 2009 09:59 pm, PV wrote:

> On Sun December 13 2009 05:46 am, manchette fr wrote:
>
<snip>
> manchette fr;
> We have had a few Windows 7 members on our domain, but as yet we had not
tried
> to share from Win7. However, tonight I was able to lay my hands on a
Windows
> Seven machine and test sharing from Windows 7.
>
> 1. The encryption just refers to NTLM, leave it at the default.
> 2. You may choose to use a password or not. I will comment on that choice
> later.
> 3. For the directory/file you want to share:
> a. Right click
> b. Choose properties
> c. Select the Sharing tab
> d. Select advanced sharing
> e. assign a name
> f. select Permissions
> g. assign appropriate permissions to the EveryOne group
> h. backout and you’re done
<snip>
>
> P. V.
> “We’re all in this together, I’m pulling for you.” Red Green
In retrospect, I believe I also added the EveryOne group, with appropriate
permissions, to the “security” tab" on the properties page. Not sure if that
was necessary.

P. V.
“We’re all in this together, I’m pulling for you.” Red Green

hi :wink:

this is what i’ve tried already, checked it once again and alos added the everyone group as you said at the end.
When i try from dolphin to access to seven :
smb://192.168.x.y it asks me the user and password,
after providing them it keeps asking me the password all the time ,
if i cancel i see an "access refused " error message (access refused to smb://user@192.168.x.y/ )

On Tue December 15 2009 11:16 am, manchette fr wrote:

>
> hi :wink:
>
> this is what i’ve tried already, checked it once again and alos added
> the everyone group as you said at the end.
> When i try from dolphin to access to seven :
> smb://192.168.x.y it asks me the user and password,
> after providing them it keeps asking me the password all the time ,
> if i cancel i see an "access refused " error message (access refused to
> smb://user@192.168.x.y/ )
>
>
manchette fr;

With no password you may need to drill down on an actual shared folder at
least the first time (e.g. smb://<windows 7 name>/<myshare>)

  1. Are both machines on the same subnet (i.e both have an IP and mask of the
    form 192.168.x. and 255.255.255.0)? If no you will need to address the
    machine by IP or set up a WINS server. If Yes try my next suggestion.

  2. Create a new Win7 user with a simple ASCII username and Password (e.g.
    manchette:bigsecret) in the admin group. Log on to the Win7 machine with
    that name. In C: create a folder which contains a single text file. Share
    that folder as in my earlier post. Make sure there are no firewalls running
    on either machine. Reboot the Win7 machine. Now try to access the file with
    Dolphin. When asked for a username:password use the username password you
    just created (e.g. manchette:bigsecret).

–
P. V.
“We’re all in this together, I’m pulling for you.” Red Green

hi,

i’m sharing with a password, when i don’t seven is not seen anymore by suse

i created the new admin in seven
but after creating a file in c i have no access to share

:
> 3. For the directory/file you want to share:
> a. Right click
> b. Choose properties
> c. Select the Sharing tab -> no sharing tab at this step
> d. Select advanced sharing
> e. assign a name
> f. select Permissions
> g. assign appropriate permissions to the EveryOne group
> h. backout and you’re done

On Wed December 16 2009 05:16 am, manchette fr wrote:

>
> hi,
>
> i’m sharing with a password, when i don’t seven is not seen anymore by
> suse
>
>
> i created the new admin in seven
> but after creating a file in c i have no access to share
>
> :
>> 3. For the directory/file you want to share:
>> a. Right click
>> b. Choose properties
>> c. Select the Sharing tab__->no_sharing_tab_at_this_step

>> d. Select advanced sharing
>> e. assign a name
>> f. select Permissions
>> g. assign appropriate permissions to the EveryOne group
>> h. backout and you’re done
>
>
manchette fr;

Are you sure you are on the “Properties” page.

There should be 5-tabs at the top of the properties page. These are labeled:
General, Sharing, Security, Previous Versions, and Customize

If you do NOT see the sharing tab, then you need take this up on a MicroSoft
forum. It has nothing to do with Linux. That tab is there even on Windows7
Starter.

You might want to also check that you have done each of these:

  1. Setup name/workgroup.
    a. Go to:
    start –> control panel –> system–> Advanced System Settings –>
    Computer name –> change. Set the machine name to your taste
    and enter the workgroup name.
    b. Restart Windows 7
    2. Configure Sharing.
    Go to:
    start –> control panel –> Network and sharing center–>Change
    advanced sharing settings.
    a. turn on network discovery
    b. turn on file printer sharing
    c. leave encryption at the default 128
    d. configure passwords to your choice.

I am unable to reproduce your problem.

P. V.
“We’re all in this together, I’m pulling for you.” Red Green