CyberKeeda In Social Media
Showing posts with label Samba. Show all posts
Showing posts with label Samba. Show all posts

net ads dns register WARNING: no network interfaces found



Recently i got a requirement to change my MAC entry for a specific KVM host, since it's Virtual host MAC.
And the requirement also need to change the interface from eth0 to eth1


So after changing the MAC and interface name to eth1, everything went fine but i had a issue after few hours.
KVM host uses samba to register it's DNS entry into Active Directory, but it was failing somehow though it can join itself into AD but couldnot register it's IN A record into AD.

To fix it, check the two config files.
cybeerkeeda@Linux-Maniac:~ vim /etc/samba/smb.conf
And look for the below line , it must be look same 
interfaces = eth* bond* tun0 br0
cybeerkeeda@Linux-Maniac:~ vim /etc/samba/smb.sys


interfaces = eth*

Restart smb and all will work fine

cybeerkeeda@Linux-Maniac:~ service smb restart


Read more ...

Ubuntu : net usershare' returned error 255: mkdir failed on directory /var/run/samba/msg.lock: Permission denied net usershare add: cannot convert name



Nautilus Error message while sharing a directory into local network as

Ubuntu : net usershare' returned error 255: mkdir failed on directory /var/run/samba/msg.lock: Permission denied net usershare add: cannot convert name,.

Solved : Restart Samba services.


/etc/init.d/samba restart
Sounds fizzy, but yes it will fix.
Read more ...
Designed By Jackuna