Archive

Posts Tagged ‘error’

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: , , , ,

The RPC server is unavailable

November 14th, 2008 iceman 1 comment

When I try to renew an IP address I get this message

C:\>ipconfig /renew

Windows IP Configuration

An error occurred while renewing interface Local Area Connection : The RPC server is unavailable.

How can I solve this problem?

After googling I found that is caused by a file named iKernel.exe is missing.
This problem can be solved by just copy back this execute file to the path.

Solution:
1. Copy a iKernel.exe file from any computer and then paste to below location
C:\Program Files\Common Files\InstallShield\Engine\6\Intel 32\
2. Reboot your computer.
3. Done.

Related posts

Categories: Windows Tags: , , , , ,
Data Recovery Software