Bluehost.com Web Hosting $6.95

[Samba] Proper use of SID's and LDAPon dc's?

This is a discussion on [Samba] Proper use of SID's and LDAPon dc's? within the Samba forums, part of the Networking and Network Related category; I have two samba dc's, same subnet, the goal is to have them both be able to answer domain ...


Go Back   Usenet Forums > Networking and Network Related > Samba

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-02-2005
Matt Pruett
 
Posts: n/a
Default [Samba] Proper use of SID's and LDAPon dc's?

I have two samba dc's, same subnet, the goal is to have them both be
able to answer domain login requests and therefore if one goes down we
still have the ability to login to the domain. Can this be done with
samba? if so could you just tell me generally the procedure for this?
heres what I have right now.

server1, openldap master, samba points to loopback for ldap
server2, openldap replica, samba points I have two samba dc's, same subnet, the goal is to have them both be
able to answer domain login requests and therefore if one goes down we
still have the ability to login to the domain. Can this be done with
samba? if so could you just tell me generally the procedure for this?
heres what I have right now.

server1, openldap master, samba points to loopback for ldap
server2, openldap replica, samba points to loopback, but to server1 for
writes

I figured that would ato loopback, but to server1 for
writes

I figured that would about do it, however then I see in the smbldap.conf
for the idealx scripts it says

# Notes: to use to dual ldap servers backend for Samba, you must patch
# Samba with the dual-head patch from IDEALX. If not using this patch
# just use the same server for slaveLDAP and masterLDAP.

I am using the latest stable of samba, is that patch included? is that
something i have to worry about? I searched all over the net, and I
found several asking the question but found no answers.

Lastly I think my sid's are messed up a bit. My understanding is that
all dc's should have the same local sid, and that the local sid as
entered by net setlocalsid, will be the domain's sid. Correct?
Regardless I think I have an issue here, have a look...

on server1:
[root@server1 samba]# net getlocalsid server1
SID for domain SERVER1 is: S-1-5-21-1624854736-2567889874-1153258394
[root@server1 samba]# net getlocalsid server2
[2005/11/02 00:16:17, 0] utils/net.c:net_getlocalsid(494)
Can't fetch domain SID for name: server2

on server2:
[root@server2 samba]# net getlocalsid server1
SID for domain server1 is: S-1-5-21-3030423605-2090081018-3134100962
[root@server2 samba]# net getlocalsid server2
SID for domain server2 is: S-1-5-21-1624854736-2567889874-1153258394

so why is it that I can not query the localsid for server2 from server1,
and that it reports some other sid on the other box for server1?

I should mention that server2 is the wins server, and server1 has a
"wins server = ipofserver2" in its config. Domain logins work fine when
workstations authenticate to server2, they dont seem to work at all when
going to 1. They used to, but something got jacked up and several things
I don't think were ever quite right.

Thanks, I hope you guys can straighten me out a bit.

--
Matt Pruett <entelin@logicaldreams.net>

--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 07:46 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0