both smb and nmb say they're running.
What's the format for net join as a different user? and which domain?
Main Topics
Browse All TopicsI'm running a linux server for basic file sharing in a windows domain. It's been working great for a long time, but this morning it seems to have lost it's connection to the domain. It won't let my ad users access their files. When looking at the directories, I see the user has been reset to 10024 and does not allow me to browse to ad to add the user's name.
Is there a way to force it to re-connect to the domain?
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
I deleted the linux machine in AD. I then ran: net join -U administrator -W domainname
I entered the admin password when asked and got a bunch of kerberos_kinit_password failed : Clock skew too great, then the last line says: Joined 'LINUX-client' to realm 'DOMAINNAME.COM'
But, it still won't let me give folder permissions to domain users.
I checked time and time zone. I reset the time to as close to the net time as I could.
I then deleted the machine in AD again, waited a few minutes, then ran net join again.
This time it joined with no problem.
But I can't login to the domain on my linux box, nor can I give folder permissions to domain users.
I'm not sure what to make of this, but I think it's working now. The more I fiddled with it, the less I think it was a Linux issue and more of an AD issue.
Here's how I fixed it:
Using YaST I removed the Linux box from my AD domain and put it in the TUX-NET workgroup.
On the AD domain controller I deleted the computer account for the Linux box. I also deleted the dns entry.
I deleted /etc/samba/smb.conf and replaced it with a default copy. Then rebooted the Linux box.
Again using YaST I browsed to my AD domain and joined using the AD administrator account and password. I also selected 'Also use SMB information for Linux Authentication' and 'Create Home Directory on Login'. I rebooted the Linux box.
When it came up, I logged into the AD domain using my personal account information. The Linux box created a local account for me using the AD authentication.
I logged out, then logged back in as local root user.
Again in YaST I reconfigured the Samba shares and set Samba to load at bootup.
I was then able to browse to the folders I'm sharing and set the owner and group permissions using the AD domain accounts.
I recreated the dns entry for the Linux box.
Seems to be working. I still think it was an AD issue.
Business Accounts
Answer for Membership
by: dathhoPosted on 2008-11-25 at 07:59:07ID: 23035457
Typically you would use net join to add it to the domain. If there are already credentials in AD for the machine you may have to remove them first.
Check to see that samba is running. Depending on your distro and samba version this might differ but you can usually cd to /etc/init.d and ./smb status then ./nmb status.
How are you doing authentication? Winbind?