Displaying 20 results from an estimated 40000 matches similar to: "Samba LDAP multiple servers"
2005 Nov 05
1
Understanding Documentation about BDC in HowTo Collection
hi list&john,
i read in the documention about BDCs:
The domain SID has to be the same on the PDC and the BDC. In Samba
versions pre-2.2.5, the domain SID was stored in the file
|private/MACHINE.SID|. For all versions of Samba released since 2.2.5
the domain SID is stored in the file |private/secrets.tdb|. This file is
unique to each server and cannot be copied from a PDC to a BDC; the BDC
2007 Dec 29
1
Migrate SMB/LDAP to new server
I need to migrate my current LDAP/SMB PDC to a new server. I found the information on how to replace an existing server with a new system with the same name, but in my case, I still need the existing system to continue as a slave LDAP/SMB BDC. I used slapcat to get the ldap database, and then used this ldif to create the new ldap database on the new server. Linux logins work fine. I used
2006 Sep 21
1
LDAP/Samba issues when replacing server
I hope that someone can let me know what I have done wrong.
I need to replace and existing server (server1) with a new server (server2). Server1 is currently running LDAP/Samba (3.0.14). Profiles stored in /opt/samba/profiles
I installed all of the pieces, and LDAP works (mostly, I have an issue, see below)
I ran net getlocalsid DOMAINNAME on server1
used the SID value in net setlocalsid
2005 May 01
2
Samba-3 by Example Ch 6
I am following Chapter 6 of Samba-3 By Example to set up Samba on
a Fedora 3 box. It seems to go Ok until page 144 step 5.
# net getlocalsid
[2005/05/02 00:22:04, 0] lib/smbldap.c:smbldap_search_suffix(1155)
smbldap_search_suffix: Problem during the LDAP search: (No such object)
SID for domain SIROCCO is: S-1-5-21- etc
Running the same command with some debugging:
# net -d 2 getlocalsid
2003 Sep 11
3
samba 3.0 with ldap / sambaSID
Hello,
I'm lloking for a way to convert my company's existing samba2.2 ldap
backed service to samba 3.0. What's particulary making me curious is the
sambaSID. As I've read it is the unique identifier of a PDC in the
windows world. So, how does samba3 generate this? Is it supposed to be
changed by the admin or is it determined by samba on the first startup?
Any pointer to a doc
2006 Nov 08
1
BDC nmblookup and net getlocalsid not working
Hi,
After lots of struggle and rtfm I finally got most things running, except
for 'nmblookup' and 'net getlocalsid' on the BDC. I'm not new to Samba, but
plenty more to learn. Here's the setup in summary:
system pdc is the PDC on subnet 192.168.0.0, running SuSE10.1, LDAP master,
wins server, domain master browser, no iptables;
system bdc is the BDC on subnet 192.168.2.0,
2011 Apr 28
1
Samba with 389 Directory Server Auth problem
Hi Folks,
I had a crack at setting up a Samba PDC using a fresh installation of FDS
1.2.4 as the backend on one of our RHEL 5.3 servers per the Wiki
Howto:Samba but ran into a few issues.
In the section 'Populating FDS with PDC Entry', it instructs the user to run
'net getlocalsid'. This results in the following:
[root at mybox logs]# net getlocalsid
2005 Jul 29
4
Problem to logon after join LDAP/SAMBA domain
Hi all,
I'm using SAMBA with LDAP as my PDC but after I join a workstations
Windows XP to the domain, I can't authenticate any user with this
workstation, It gives the fallowing error when I press ctrl+alt+del
and try to logon:
"The system can't authenticate the user. Check if the user and
password is correct then retype them press ok" etc.....
In the server, I can see the
2007 Jul 17
1
Changing domain name
Hi,
For reasons best known to the IT admin before myself, we currently
have a domain name of WARLOCK. I want to change this. We have about
15 WinXP Pro client machines on the domain as well as a few linux
domain clients.
A bit of reading shows that it should be as simple as doing a net
getlocalsid, making the change, followed by a net setlocalsid.
I started doing this when I noticed something
2005 Feb 08
1
Domain SID issue
Hello
I have a client who historical had a machinename with an underscore
in it : samba_machine
I had to get rid of the underscore names and changed the name
to samba-machine. At the same time I upgraded to samba-3.0.11 to
get a printer queue problem resolved.
Now it seems the Domain SID has changed, so I changed the new SID
back to the old one with net setlocalsid, because on all machines I had
2003 Jul 01
1
Two differents sambaSID ! Very strange !
Hi,
I've configured the SambaSID of my domain manualy with "net setlocalsid
S-1-...."
I've done a check with "net getlocalsid" and everything seems to be ok,
but when I add a new user with smbpasswd, his sambaSID doesn't
correspond to the Domain SambaSID ! And in the LDAP directory, the
sambaSID of the sambaDomain ObjectClass doens't correspond to the
officiel
2004 Aug 25
1
"net setlocalsid" question
Hi,
I'm a tad confused about something. I've got a production instance of Samba
running. I am trying to get a test version running on the same box, with the
same SID. Without the test server running, I used "net setlocalSID
<oldsid>" (the net binary is the one for the new server). Then when I issued
'net getlocalsid' it returned it. I thought I was fine.
2014 Nov 02
2
SID of member server in Samba domain (smbldap_search_domain_info: NT_STATUS_UNSUCCESSFUL)
I have a domain with Samba 3 acting as PDC, and using LDAP (passdb backend = ldapsam).
I now wanted to add a second Samba 3 machine as a simple file server. I get errors
with getdomainsid and getlocalsid, so there is obviously still something wrong with
my config.
The PDC runs Samba 3.5.6 on Debian Squeeze. Sid queries return:
# net getdomainsid
SID for local machine MY_PDC_HOST is:
2003 Sep 29
1
net getlocalsid: some questions
Hello,
Is it possible to get the SID of a domain different than the one your
server is in?
e.g.: net getlocalsid ==> gives you the sid of the domain your server is in.
but suppose you would like to know the SID of another domain.
net getlocalsid DOMAIN2 ==> samba3 does not give the SID
[root@server root]# net getlocalsid DOMAIN2
[2003/09/29 11:59:04, 0] utils/net.c:net_getlocalsid(414)
2018 Aug 22
2
Samba+LDAP problem after replacing BDC
Hi,
I had a working enviroment of one PDC and several BDCs. The PDC is Samba
version 3.6.6. After replacing of one BDC, I've started to get the
following error in LDAP master server:
Aug 22 13:44:59 gw slapd[28598]: conn=46129 op=51 do_search: invalid dn (sambaDomainName=Administrator,(null))
and on the PDC:
root@:~# net getlocalsid
smbldap_search_domain_info: Adding domain info for XXX
2003 Aug 18
2
Samba 3.0.0rc1 and 2 servers - PDC and homes
I have Samba 3.0.0rc1 installed on a linux server DC-01 and it's configured as
a PDC. The only share it has is netlogon. Users are stored in an LDAP passdb.
All our users' home directories are on a second linux server, FS-01. It's
been joined to the domain (command "sudo net join -U Administrator", which is
the name of the "root" account). And here's a
2005 Nov 21
1
does a pdc need to be in the domain itself?
Hello List,
we have installed samba Version 3.0.20-0.1-SUSE.
when I'm entering
> net getlocalsid
I get
> SID for domain <netbios name> is:
S-1-5-21-4166838278-3756557259-2095403906
entering
> net getlocalsid <domain name>
returns
> SID for domain <domain name> is:
S-1-5-21-2018781741-1218799122-1862565094
Does this mean that the pdc itself is not in the domain
2013 Jun 20
3
Samba+LDAP: NT_STATUS_UNSUCCESSFUL because of primary group SID mismatch
Hi,
I'm trying to get my new samba server running for a few days now and I
start losing my mind over not figuring out what I'm doing wrong. Here's
my setup:
OpenLDAP 2.4.21 server with ~15 groups and >100 users, all having a unix
and a samba NT password stored in the LDAP as well as a User SID and
Primary Group SID assigned and stored in the LDAP, derived from the SID
of the LDAP
2009 Jan 02
2
net getlocalsid: is this a bug?
I noticed the following:
Suppose that we have a server called "SMALLSERVER" working as a PDC for
"SMALLDOMAIN**".
When I enter "net getlocalsid" I get the following output:
SID for domain SMALLSERVER is: S-1-5-21-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx
But when I enter "net getdomainsid" I get:
SID for local machine SMALLSERVER is:
2008 Jan 01
2
Problem with samba and ldap
Hello and happy new year :)
I have to set up a samba server as a PDC with a openldap backend. My
openldap server is fully functionnal and it is not secured yet (so no
problems with tls). I must use debian etch or lenny.
My server's IP is 192.168.9.10/24. I have set up a dns server (bind9)
for my domain named "mik". It's a local domain for testing only. There
is a piece of