here is my global details in smb.conf
[global]
workgroup = ASSURETYCONSULT
realm = ASSURETYCONSULTING.COM
netbios name = nasbox
server string = %h server
security = ADS
obey pam restrictions = Yes
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:*
%n\n*Retype\snew\s*\spassword:* %n\n *password\supd$
unix password sync = Yes
syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000
dns proxy = No
panic action = /usr/share/samba/panic-action %d
idmap uid = 10000-40000
idmap gid = 10000-40000
winbind enum users = Yes
winbind enum groups = Yes
winbind use default domain = Yes
On Wed, May 23, 2012 at 8:03 PM, Muhammad Yousuf Khan <sirtcp at
gmail.com> wrote:> OK, my samba server was working fine i have 2TB RAID1 drive as a
> storage and had 300gb sata drive for boot the Debian OS 6.0.4.
> unfortunately my sata boot drive faild and i had to reinstall the OS
> in new drive. now when i plug the old Raid drives the data was still
> there. but permissions were a bit messed, it was showing numbers like
> 100015 or 100016 instead of owning user name or groups.
> so i did ?"chown root:root * -R" i thought that i will reassign
the FS
> rights to every individual folder again. so i did. but now the shares
> in smb.conf that were working previously now they are throwing error
> in log files and the same share was working perfectly before.
>
>
> here is the error
>
> smbd/service.c:988(make_connection_snum)
> ?canonicalize_connect_path failed for service Filesharing, path
> /nas/backup/Filesharing
>
> now i created a new folder on new driver which is the new OS drive. i
> created a "test" folder at root
> my users and i can access either we can create folders and delete
>
> here is the folder at "/test" (we can access it with full rights)
> drwxrwxrwx ? 4 admin admin-grp ?4096 May 23 19:30 test
>
> this folder is on "/nas/backup/Filesharing" (this is the problem
part
> and many other share like this are not working)
> drwxrwxrwx ?3 admin admin-grp ?4096 May 23 19:34 Filesharing
>
>
>
> [test]
> ? ? ? ?comment = test for All
> ? ? ? ?path = /test
> ? ? ? ?read only = No
> ? ? ? ?create mask = 0770
> ? ? ? ?directory mask = 0770
>
> [Filesharing]
>
> ? ? ? ?comment = Filesharing for All
> ? ? ? ?path = /nas/backup/Filesharing
> ? ? ? ?read only = No
> ? ? ? ?create mask = 0770
> ? ? ? ?directory mask = 0770
>
> you can see both shares have same FS rights and same share rights but
> my users can access /test but not /nas/backup/filesharing
> and generating this error.
>
> smbd/service.c:988(make_connection_snum)
> ?canonicalize_connect_path failed for service Filesharing, path
> /nas/backup/Filesharing
>
> however i as admin user can access things in "filesharing" so i
> thought that admin is the owner of this folder so i change the
> ownership of Filesharing folder to a another user and i tested it with
> that user but still no luck. even thought it doesnt make any sense as
> 777 is already given to the folder.
>
> now i am handicap and nowhere to go. i look for the said error on
> google on so many places. which shows that it is a File system rights
> related issue. and according to my knowledge there is nothing to do
> with FS ?rights it is some thing different as 777 is already given to
> both of the folders.
>
> Thanks,
> MYK