[Bug 210741] Re: no way to read and write files on mounted samba share on hardy

2008-05-17 Thread Jan Hoogenraad
Below the server side log, as for the file debug1.txt.
uid is same as on client, gid differs; gid is OK for client.
I did try to disable unix extensions on the client side, but this did not 
change the results
Further information on the systems that may help:
Under previous Ubuntu versions, I was able to mount this share with smbfs, but 
not with CIFS (probably due to permissions).

[2008/05/02 22:07:28, 1] smbd/service.c:make_connection(550)
  his08 (10.0.0.151) connect to service jhh as user jhh (uid=1015, gid=100) 
(pid 1795)
[2008/05/02 22:07:46, 0] smbd/nttrans.c:map_share_mode(443)
  map_share_mode: Incorrect value 8000 for desired_access to file 
\pldirs.txt
[2008/05/02 22:07:52, 1] smbd/service.c:close_cnum(583)
  his08 (10.0.0.151) closed connection to service jhh
[2008/05/02 22:09:18, 1] smbd/service.c:make_connection(550)
  his08 (10.0.0.151) connect to service jhh as user jhh (uid=1015, gid=100) 
(pid 1797)
[2008/05/02 23:20:52, 1] smbd/reply.c:reply_sesssetup_and_X(925)
  Rejecting user 'jhh': authentication failed
[2008/05/02 23:21:41, 1] smbd/service.c:close_cnum(583)
  his08 (10.0.0.151) closed connection to service jhh

server side permissions
-rw-r--r--1 jhh  users 456 Apr 12 14:26 pldirs.txt
and output on client side, after mount command:
-rwxrwSrwx 1 root root 456 2008-04-12 14:26 pldirs.txt

-- 
no way to read and write files on mounted samba share on hardy
https://bugs.launchpad.net/bugs/210741
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 210741] Re: no way to read and write files on mounted samba share on hardy

2008-05-16 Thread Jan Hoogenraad
My server: an old linux server: Linux 2.2.16-22 #1 Tue Aug 22 16:16:55 EDT 2000 
i586 unknown
/usr/sbin/smbd -V: Version 2.0.7

On the server: both accounts where the uid is the same as on the client, and 
(most) accounts where the uid differs from that on the client.
Passwords in plain text (local network, also supporting Windows XP en Windows 
95 machines)

Shares: defined as:
[homes]
   comment = Home Directories
   browseable = no
   writable = yes

Command:
sudo mount -t smbfs //his01/jhh ~/t5 -o user=jhh

---

Did the client side log I (debug1.txt) attached to the bug report help
you at all ?

 Mapping smb error code 12 to POSIX err -13
 Error in Open = -13
cifs_open returned 0xfff3
CIFS VFS: leaving cifs_open (xid = 30) rc = -13

netmisc is not coming from the samba git, so I looked it up at:
http://lxr.free-electrons.com/source/fs/cifs/netmisc.c
The mapping error string does not tell if it is a DOS or SVR error class. I 
guess it is a bad open mode:
 #define ERRbadaccess12  /* Invalid open mode. */

If I look at the samba SERVER code, I guess that the new Hardy samba
provides garbled (or improved ???) parameters to the open command, where
map_open_params_to_ntcreate then breaks (rather than the PERMISSIONS) on
the server.

The POSIX err -13 is then (incorrectly !) further propagated as a
permissions error.

Furthermore: I am able to read the files using Nautilus, but I need to
type my passwords a few times. It is just that mounting does not work.
Therefore my first personal suspect were the interactions with the (for
Hardy changed) gvfs and keyring.

-- 
no way to read and write files on mounted samba share on hardy
https://bugs.launchpad.net/bugs/210741
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 210741] Re: no way to read and write files on mounted samba share on hardy

2008-05-03 Thread Jan Hoogenraad
** Changed in: samba (Ubuntu)
   Status: Incomplete = New

-- 
no way to read and write files on mounted samba share on hardy
https://bugs.launchpad.net/bugs/210741
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 210741] Re: no way to read and write files on mounted samba share on hardy

2008-05-02 Thread Jan Hoogenraad
I have exaxctly the same problems. Due to this, my Ubuntu computer has
started to be a nuisance, especially because downgrading back to 7.* is
impossible, and gvfs cannot be disabled without removing Nautilus and
the Ubuntu desktop. What a pain  is hardy !

My configuration: 1 Ubuntu hardy destop, and a file server (90 MHz
Pentium, 40Mb RAM) running another distro, with an old kernel 2.2.16-22.
Using samba, no guest accounts, plain passwords, different UIDs for the
same users on both machines.

I have performed the commands below
  515  cd /proc/fs
  517  smbmount //his01/jhh ~/t5 
  519  cd cifs
  521  sudo sh -c 'echo 1  traceSMB '
  522  sudo sh -c 'echo 3  cifsFYI '
  523  cd ..
  524  smbumount  ~/t5 
...
  532  smbmount //his01/jhh ~/t5 
  533  cat ~/t5/pldirs.txt
cat: /home/jhh/t5/pldirs.txt: Permission denied
  534  smbumount  ~/t5 

After the smbmount: the directory structure looks fine. On this particular file:
-rwxrwSrwx 1 jhh jhh 456 2008-04-12 14:26 pldirs.txt

Attached the logging. I've taken out the raw data blocks (hex codes).
At May  2 22:07:46 his08 kernel: [ 5020.107903] : the signature of the error


** Attachment added: debug1.txt
   http://launchpadlibrarian.net/14095273/debug1.txt

-- 
no way to read and write files on mounted samba share on hardy
https://bugs.launchpad.net/bugs/210741
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs