Domain Name Yahoo

Easy Help Troubleshoot Your Linux Box



  

Samba Builtin_Administrators

This is taken from syslog :

Sep 24 21:29:15 localhost smbd[9789]: [2008/09/24 21:29:15, 0] auth/auth_util.c:create_builtin_administrators(785)
Sep 24 21:29:15 localhost smbd[9789]: create_builtin_administrators: Failed to create Administrators
Sep 24 21:29:15 localhost smbd[9789]: [2008/09/24 21:29:15, 0] auth/auth_util.c:create_builtin_users(751)
Sep 24 21:29:15 localhost smbd[9789]: create_builtin_users: Failed to create Users
Sep 24 21:29:15 localhost smbd[9791]: [2008/09/24 21:29:15, 0] auth/auth_util.c:create_builtin_administrators(785)
Sep 24 21:29:15 localhost smbd[9791]: create_builtin_administrators: Failed to create Administrators
Sep 24 21:29:15 localhost smbd[9791]: [2008/09/24 21:29:15, 0] auth/auth_util.c:create_builtin_users(751)
Sep 24 21:29:15 localhost smbd[9791]: create_builtin_users: Failed to create Users

It seems that you didnt add the idmap parameter. Try to edit /etc/samba/smb.conf , and take a look the idmap part of your smb.conf.

[global]

idmap uid = 15000-20000
idmap gid = 15000-20000
Then Restart samba & winbindd :

# service smb restart

# service winbindd restart

September 26th, 2008 Posted by admin | CentOS, Samba | no comments

pinged before offer ( dhcpd )

Q : What does this error log message mean ?
dhcpd Error Abandoning IP address 192.168.10.16: pinged before offer

A: Before the DHCP server assigns an IP address to a client, it pings the address to make sure nobody is using it already. In this case, the test failed, so the server “abandons” the address and picks another one to assign. Another computer may have already had that IP address statically assigned, or maybe it was dynamically assigned but the server and that client miscommunicated.

In either case, it is a harmless message and no action is necessary.

September 25th, 2008 Posted by admin | CentOS, General, dhcpd | no comments

Strange thing happened at CentOS-5 system-config-samba

Something strange about samba at CentOS.
After all samba configurations are setup properly as PDC , have tested to join domain and user sharing and authentications, suddenly the system-config-samba has missed all the samba users as follows :

samba screenshot

Here’s the trick.

First, you have to uninstall the system-config-samba-1.2.39-1.el5.noarch.rpm

# rpm -e system-config-samba-1.2.39-1.el5.noarch.rpm

then install system-config-samba for Fedora Core 9 , you may download here

# rpm -ivh system-config-samba-1.2.63-1.fc9.noarch.rpm –nodeps

Remember, use –nodeps parameter because the dependencies files are diffrent from CentOS.
And, you are done. You may see it at menu “Applications-System tools - Samba

August 7th, 2008 Posted by admin | CentOS, Samba | no comments

Mount NTFS using CentOS - plus

If you have tried all step to mount NTFS file system from all resource you got from internet, then the last try you have to do is install the CentOSplus kernel into your box.

Download the packages from http://mirror.centos.org/centos/5/centosplus/i386/RPMS/
# rpm -ivh kernel-xen*

This process will take a minutes, please be patient.
After all done, then restart your box and  choose the new kernel.

Try to mount the NTFS filesystem

# mount /dev/hdc1 /mnt/myntfs

voila, you did it.

August 6th, 2008 Posted by admin | CentOS | 3 comments

Failed to mount NTFS on CentOS

# mount -t ntfs /dev/hdc1 /mnt/hardisk1

mount: unknown filesystem type ‘ntfs’

This message appears when you try to mount the media with ntfs filesystem.
Somehow the default centos kernel doesnt support it, you may upgrade to centosplus or try to configure your box as follows:

yum install fuse fuse-ntfs-3g dkms dkms-fuse
or download the packages from :
http://dag.wieers.com/rpm/packages/fuse/

http://dag.wieers.com/rpm/packages/fuse-ntfs-3g/

http://dag.wieers.com/rpm/packages/dkms-fuse/

then install the packages :

# rpm -ihv dkms-fuse-* fuse*

Mount Device to /media/myntfs

# mount -t ntfs-3g /dev/sda1 /media/myntfs

If you still fail, try this article http://www.domainnameyahoo.info/mount-ntfs-using-centos-plus/

August 5th, 2008 Posted by admin | CentOS | no comments