TurnKey Linux Virtual Appliance Library

Samba Share and windows login permissions

stoute's picture

Hallo,

I just installed tkl.

I would like make shares for al my windows users.

What is would like to do is sync my account from an windows domain controller.

And be able to update them if i change a users password in de ad

Is this possible? Outherwise i would need to manualy enter a lot of accounts not realy pratical.

 

 

 

stoute's picture

Getting there

ok getting there need to add to your domain first.

Check following:

You must use at least the following three options in smb.conf:

realm = your.kerberos.REALM

security = ADSsecurity = ADS

encrypt passwords = true

 

check time en use ntp server

check dns /wins settings

 

now getting error

Failed to join domain: failed to connect to AD: Server not found in Kerberos databas


stoute's picture

Joined domain now but dns error

Binding to domain with command /usr/bin/net join -U administrator ..

Enter administrator's password:
DNS update failed!
Using short domain name -- DGL
Joined 'DGL-VL-SHARE' to realm 'DeGraafLogistics.local'
No DNS domain configured for dgl-vl-share. Unable to perform DNS Update.

.. failed! See the output above for the reason why.

 

Server is now in my ad but it looks like the only entering wins was not enough.


stoute's picture

Joined domain

Now joined to domain.

 

Problem was server had no fqdn

dns server on the  domain controller did not know de server name. i added an A record and now. tada

Binding to domain with command /usr/bin/net join -U dgladministrator ..

[2012/06/22 10:36:20,  0] param/loadparm.c:7472(lp_do_parameter)
  Ignoring unknown parameter "dns server"
Enter dgladministrator's password:
Using short domain name -- DGL
Joined 'DGL-VL-SHARE' to realm 'DeGraafLogistics.local'

.. complete.

 

Now I need to have the users account from windowns domain controller be syncronised to unix or samba anyone an idee how to go from here


Jeremy's picture

Good work

You've been doing a great job working through the issues.

I haven't used Samba that much so I'm not directly a lot of use to you. Perhaps this may be useful to you? Although TKL doesn't include Samba v3.5 (IIRC it's 3.4.something...) hopefully it's close enough?

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)