RE: [Samba] Permission denied on mounted CIFS share

2008-09-05 Thread Sledz, Steffen
> From: Damien Dye 
>
> could you also show whats logged when you do this you might 
> need to turn up the log level.

I'd send Damian the whole log but he wrote "going though the log it doesn't 
appear that the smbd server is denying it."

Any other ideas?

Or suggestions how to debug the problem?
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Permission denied on mounted CIFS share

2008-09-02 Thread Sledz, Steffen
> could be related to mapping of dos attribs

Hmmm? I can't believe this. No DOS or Windows system is involved.

> map read only
> map system
> map hidden

OK, after reading the documentation on this items I understand your first 
remark. ;-)

map archive = Yes
map hidden = No
map system = No
map readonly = yes

This seems to be OK.

> and the create mask all affect permissons

create mask = 0744

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


RE: [Samba] Permission denied on mounted CIFS share

2008-09-02 Thread Sledz, Steffen
> try giving the files 0755 perms

Hmmm? What's the intention for this? They had 0644 perms. Why should the x-bit 
change the behaviour?

Even though that's not clear for me I still tried it and got this.  :(

  [EMAIL PROTECTED]> ls -laF foo/
  total 8
  drwxr-xr-x 2 hydra domain users 0 2008-09-02 09:52 ./
  drwxr-xr-x 3 hydra domain users 0 2008-09-02 11:24 ../
  -rwxr-xr-x 1 hydra domain users 3 2008-09-02 09:52 23.txt*
  -rwxr-xr-x 1 hydra domain users 3 2008-09-02 09:52 42.txt*
  [EMAIL PROTECTED]> cp -rv foo bar
  `foo' -> `bar'
  `foo/23.txt' -> `bar/23.txt'
  cp: cannot create regular file `bar/23.txt': Permission denied
  `foo/42.txt' -> `bar/42.txt'
  cp: cannot create regular file `bar/42.txt': Permission denied
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Permission denied on mounted CIFS share

2008-09-02 Thread Sledz, Steffen
Hi Damian,

> what the unix file permissions like on the system A ?

I'm not sure if I understand you. What permissions do you mean? The file 
permissions should be seen in the listings I posted before.

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


[Samba] Permission denied on mounted CIFS share

2008-09-02 Thread Sledz, Steffen
We have this situation:

System A (running openSUSE 11.0 with samba-3.2.3-0.1) exports user home shares 
(e.g. for user sledz).

On system B (running openSUSE 11.0 with samba-3.2.3-0.1) user hydra mounts the 
home share from sledz at system A with this command:

  sudo mount -t cifs -o user=sledz,uid=hydra //A/sledz localdir

A subdir of this directory seen from A looks like this:

  [EMAIL PROTECTED]> ls -laF .
  total 12
  drwxr-xr-x 3 sledz domain users 4096 2008-09-02 10:33 ./
  drwxr-xr-x 3 sledz domain users 4096 2008-09-02 09:54 ../
  drwxr-xr-x 2 sledz domain users 4096 2008-09-02 09:52 foo/
  [EMAIL PROTECTED]> ls -laF foo
  total 16
  drwxr-xr-x 2 sledz domain users 4096 2008-09-02 09:52 ./
  drwxr-xr-x 3 sledz domain users 4096 2008-09-02 10:33 ../
  -rw-r--r-- 1 sledz domain users3 2008-09-02 09:52 23.txt
  -rw-r--r-- 1 sledz domain users3 2008-09-02 09:52 42.txt

The same dir seen from B looks like this:

  [EMAIL PROTECTED]> ls -laF .
  total 0
  drwxr-xr-x 3 hydra domain users 0 2008-09-02 10:33 ./
  drwxr-xr-x 3 hydra domain users 0 2008-09-02 09:54 ../
  drwxr-xr-x 2 hydra domain users 0 2008-09-02 09:52 foo/
  [EMAIL PROTECTED]> ls -laF foo
  total 8
  drwxr-xr-x 2 hydra domain users 0 2008-09-02 09:52 ./
  drwxr-xr-x 3 hydra domain users 0 2008-09-02 10:33 ../
  -rw-r--r-- 1 hydra domain users 3 2008-09-02 09:52 23.txt
  -rw-r--r-- 1 hydra domain users 3 2008-09-02 09:52 42.txt

When I try to copy the subdir foo on B a error occurs:

  [EMAIL PROTECTED]> cp -rv foo bar
  `foo' -> `bar'
  `foo/23.txt' -> `bar/23.txt'
  cp: cannot create regular file `bar/23.txt': Permission denied
  `foo/42.txt' -> `bar/42.txt'
  cp: cannot create regular file `bar/42.txt': Permission denied

The access rights of bar look like this:

  [EMAIL PROTECTED]> ls -laF bar
  total 0
  drwxr-xr-x 2 hydra domain users 0 2008-09-02 10:38 ./
  drwxr-xr-x 4 hydra domain users 0 2008-09-02 10:38 ../

If I try to copy the files now everything is fine:

  [EMAIL PROTECTED]:~/ssz/bla/tmp> cp -v foo/* bar/
  `foo/23.txt' -> `bar/23.txt'
  `foo/42.txt' -> `bar/42.txt'

So what's the cause for the "Permission denied" error above?  :(
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

RE: [Samba] winbindd freezes on name requests

2008-09-01 Thread Sledz, Steffen
> We're running samba-winbind-3.2.0-22.1 on an openSUSE 11.0 
> system. But we have the problem that winbindd freezes when 
> commands request (many) names to UID/GIDs mapped from SIDs 
> (e.g. id or mc).

Sometimes problems just disappear. :)

Yesterday openSUSE published a patch which updates Samba to 3.2.3. Now 
everything works fine.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

[Samba] winbindd freezes on name requests

2008-09-01 Thread Sledz, Steffen
We're running samba-winbind-3.2.0-22.1 on an openSUSE 11.0 system. But we have 
the problem that winbindd freezes when commands request (many) names to 
UID/GIDs mapped from SIDs (e.g. id or mc).

id -g username
  --> OK (reports gid of primary group)

id -n -g username
  --> OK (reports name of primary group)

id -G username
  --> OK (reports gids of 267 groups)

id -n -G username
  --> freeze  :(

Is this a (known) bug? Is there a fix available? Or is this just a 
misconfiguration?

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

RE: [Samba] Add winbind user to local unix group?

2008-08-25 Thread Sledz, Steffen
> Just add DOMAIN\user to /etc/group.

It was a bit tricky but now it works. Because we use

  winbind use default domain = Yes

it was necessary to add just user (not DOMAIN\user) to /etc/group.

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


[Samba] Add winbind user to local unix group?

2008-08-25 Thread Sledz, Steffen
I wan't to add some winbind authorized domain users to the local unix
group "uucp" to give them access to some test equipment connected to
serial ports (e.g. using minicom). I tried to add their UIDs
(1...) to the uucp item in /etc/group, but this does not seem to
work. "id -G" reports just the group memberships from the domain.
What's the right way to configure this?

The local machine is running openSUSE 11.0, is not a DC and does not
run a local samba server.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba