[Bug 268536] Re: mount smbfs not working properly after upgrade from 6 to 8

Dmole elatllat at gmail.com
Sat May 30 20:49:29 BST 2009


The only outstanding problem is the permissions show as -rwxrwSrwx when
they should show as -r-xr-Sr-x or -r-xr-xr-x

Thierry Carrez :

cifs is what gave me all the other problems and I think smb is a wrapper
for cfs now?

I don't know how to be more "precise" then what I already said: "cat /proc/version
Linux version 2.6.24-24-generic (buildd at rothera) (gcc version 4.2.4 (Ubuntu 4.2.4-1ubuntu4)) #1 SMP Wed Apr 15 15:54:25 UTC 2009" maybe you could tell me how or maybe you missed the first post?

Pedro Villavicencio : here is some DebuggingSamba info for you:

categorie: samba as a client.
Did this use to work properly with a previous release ?:yes.

>dpkg-query -W -f='${Package} ${Version} ${Source} ${Status}\n' | grep samba
libpam-smbpass 3.0.28a-1ubuntu4.7 samba install ok installed
libsmbclient 3.0.28a-1ubuntu4.7 samba install ok installed
samba 3.0.28a-1ubuntu4.7  install ok installed
samba-common 3.0.28a-1ubuntu4.7 samba install ok installed
samba-doc 3.0.28a-1ubuntu4.7 samba install ok installed
smbclient 3.0.28a-1ubuntu4.7 samba install ok installed
smbfs 3.0.28a-1ubuntu4.7 samba install ok installed
swat 3.0.28a-1ubuntu4.7 samba install ok installed
winbind 3.0.28a-1ubuntu4.7 samba install ok installed

How is the remote share accessed from the Ubuntu system?
mount -t smbfs -r -o username=user,password=pass //192.168.1.100/MrSan /media/san

>cat /proc/fs/cifs/DebugData
Display Internal CIFS Data Structures for Debugging
---------------------------------------------------
CIFS Version 1.52
Active VFS Requests: 0
Servers:
entry for 192.168.1.100 not fully displayed
	TCP status: 1
	Local Users To Server: 2 SecMode: 0x3 Req On Wire: 0
MIDs:

entry for 192.168.1.100 not fully displayed
	TCP status: 1
	Local Users To Server: 2 SecMode: 0x3 Req On Wire: 0
MIDs:

Shares:
1) \\192.168.1.100\MrSan Uses: 1 Type: NTFS DevInfo: 0x0 Attributes: 0xb
PathComponentMax: 255 Status: 1 type: 0 
2) \\192.168.1.100\MrSan Uses: 1 Type: NTFS DevInfo: 0x0 Attributes: 0xb
PathComponentMax: 255 Status: 1 type: 0

>smbclient -L //192.168.1.100
Password: 
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 2.2.8a-ja-1.1]

	Sharename       Type      Comment
	---------       ----      -------
	info            Disk      TeraStation utilities
	MrSan           Disk      MrSan
	IPC$            IPC       IPC Service (MrSan)
	ADMIN$          IPC       IPC Service (MrSan)
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 2.2.8a-ja-1.1]

	Server               Comment
	---------            -------
	MRSERVER             MrServer
	MRSAN                MrSan

	Workgroup            Master
	---------            -------
	WORKGROUP            MRSAN

>ls -hal /media/san/Audio/Albums/B/The\ Beatles\ -\ The\ White\ Album\ CD1/ | head -n 4
total 272M
drwxrwxrwx   1 root root    0 2008-07-20 19:58 .
drwxrwxrwx 624 root root    0 2009-05-30 13:39 ..
-rwxrwSrwx   1 root root  18M 2008-07-20 12:32 The Beatles - The White Album CD1 - 01 - Back In The U S S R.flac

>mkdir /media/san/Audio/Albums/B/The\ Beatles\ -\ The\ White\ Album\ CD1/test
mkdir: cannot create directory `/media/san/Audio/Albums/B/The Beatles - The White Album CD1/test': Read-only file system

-- 
mount smbfs not working properly after upgrade from 6 to 8
https://bugs.launchpad.net/bugs/268536
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.



More information about the Ubuntu-server-bugs mailing list