Archive

Posts Tagged ‘samba’

Could not resolve mount point

July 10th, 2009 iceman No comments

This morning end user complaint that she failed to access to her folder.
After checking I found that my machine didn’t mount to the file server.
Then I try to remount again but it give me “Could not resolve mount point” error message.

[root@ftp ~]#mount -t smbfs -o username=username%password //MyFileServer/SharedFolder /mnt/MountedFolder

Could not resolve mount point /mnt/MountedFolder

After googling I still failed to get a solution.

Then, I listed my /mnt and found that my MountedFolder got problem as below.

[root@ftp mnt]# ls -l /mnt
total 1
?——— 1 root root 4096 Jul 10 11:13 MountedFolder

There was a question mark for the folder mod.
Solution:
reboot the machine then list again the folder

[root@ftp mnt]#ls -l /mnt
total 1
drwxrwxrwx 1 root root 4096 Jul 10 11:13 MountedFolder

Now it was back to normal.
Remount again the folder and can access to the mounted folder now.

It could me many reason you get a “Could not resolve mount point”.
You may googling the solution and mine is one of the solution.
If you had try others solution and can’t work and your mount folder have a “question mark” aslo.
You should try it.

Have a nice day.

Related posts

Categories: Networking Tags: , ,

Samba – idmap Fatal Error: UID range full!!

December 9th, 2008 iceman No comments

I am using samba file server.
One day, a user told me that he failed to open a shared folder.
Every time he open the shared folder authentication will be prompt.
He still failed to open the shared folder even though he key in the correct user name and password.

After diagnosis I found this error in my /var/log/samba/winbindd.log

more /var/log/samba/winbindd.log
show me this:
idmap Fatal Error: UID range full!! (max: 20000)

Then I googling and finally find the solution. Google always is my GURU. Thanks Google.

Below are the step to fix this problem.

Stop your samba and winbind services

service winbind stop
service smb stop

Delete secrets.tdb and smbpasswd

rm /etc/samba/secrets.tdb
rm /etc/samba/smbpasswd
rm /var/cache/samba/winbindd_idmap.tdb

Ensure “winbind trusted domains only = no” if not just modified it in smb.conf

testparm -v | grep winbind
or
vi /etc/samba/smb.conf

Rejoin the domain

net rpc join -S SERVERNAME -U ADMINISTRATOR%ADMINPASSWORD

Restart winbind service

service winbind start

Ensure can get the user list from domain

wbinfo -u

Fetch list of user accounts and group accounts

getent passwd
getent group

Test the login from another workstation.
Solved!
Job Done!

Related posts

Categories: samba Tags: , , , ,