FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 09-13-2008, 11:37 AM
"Arunas"
 
Default ldap samba pdc problem

Hello,


*


I‘m trying to run ldap samba pdc, but
have one problem…


*


smbpassword –w password


Setting stored password for "cn=manager,dn=example,dn=net"
in secrets.tdb


*


*


But when I’m trying this: net
getlocalsid DOMAIN


I’m getting this:


*


[2008/09/13 14:26:38, 0]
lib/smbldap.c:smbldap_connect_system(982)


* failed to bind to server
ldap://127.0.0.1/ with dn="cn=manager,dn=example,dn=net" Error:
Invalid DN syntax


*******
invalid DN


[2008/09/13 14:26:53, 0]
utils/net.c:net_getlocalsid(651)


* Can't fetch domain SID for name:
DOMAIN


*


From smb.conf:


*** ldap suffix =
dc=example,dc=net


*** ldap admin dn =
cn=root,dn=example,dn=net


*** ldap group suffix =
ou=Groups


*** ldap user suffix =
ou=Users


*** ldap machine suffix =
ou=Computers


*** ldap idmap suffix =
ou=Idmap


*


testparm /etc/samba/smb.conf


Load smb config files from
/etc/samba/smb.conf


Processing section "[netlogon]"


Processing section "[profiles]"


Processing section "[homes]"


Processing section "[public
docks]"


Loaded services file OK.


Server role: ROLE_DOMAIN_PDC


*


Arunas







--

This message has been scanned for viruses and

dangerous content by
MailScanner, and is

believed to be clean.
 
Old 09-13-2008, 02:53 PM
 
Default ldap samba pdc problem

When you call

$ net getlocalsid DOMAIN

I don't know if you have to add DOMAIN to your command,
Try simply whithout and see if it's work:

$ net getlocalsid

As I have to setup a PDC using openldap and samba for my work I have
re-wrote an article describing the whole setup I have done, perhaps you
could also find some usefull information here:

http://www.drakonix.fr/index.php?id=gentoo&tab=21&pid=20

And excuse me for my poor english

Hope it will help

Fred
> Hello,
>
>
>
> I'm trying to run ldap samba pdc, but have one problem.
>
>
>
> smbpassword -w password
>
> Setting stored password for "cn=manager,dn=example,dn=net" in secrets.tdb
>
>
>
>
>
> But when I'm trying this: net getlocalsid DOMAIN
>
> I'm getting this:
>
>
>
> [2008/09/13 14:26:38, 0] lib/smbldap.c:smbldap_connect_system(982)
>
> failed to bind to server ldap://127.0.0.1/ with
> dn="cn=manager,dn=example,dn=net" Error: Invalid DN syntax
>
> invalid DN
>
> [2008/09/13 14:26:53, 0] utils/net.c:net_getlocalsid(651)
>
> Can't fetch domain SID for name: DOMAIN
>
>
>
> From smb.conf:
>
> ldap suffix = dc=example,dc=net
>
> ldap admin dn = cn=root,dn=example,dn=net
>
> ldap group suffix = ou=Groups
>
> ldap user suffix = ou=Users
>
> ldap machine suffix = ou=Computers
>
> ldap idmap suffix = ou=Idmap
>
>
>
> testparm /etc/samba/smb.conf
>
> Load smb config files from /etc/samba/smb.conf
>
> Processing section "[netlogon]"
>
> Processing section "[profiles]"
>
> Processing section "[homes]"
>
> Processing section "[public docks]"
>
> Loaded services file OK.
>
> Server role: ROLE_DOMAIN_PDC
>
>
>
> Arunas
>
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
>


--
http://www.drakonix.fr



Sat Sep 13 18:30:01 2008
Return-path: <ubuntu-users-bounces@lists.ubuntu.com>
Envelope-to: tom@linux-archive.org
Delivery-date: Sat, 13 Sep 2008 17:57:58 +0300
Received: from chlorine.canonical.com ([91.189.94.204])
by s2.java-tips.org with esmtp (Exim 4.69)
(envelope-from <ubuntu-users-bounces@lists.ubuntu.com>)
id 1KeWZS-0007l8-2H
for tom@linux-archive.org; Sat, 13 Sep 2008 17:57:58 +0300
Received: from localhost ([127.0.0.1] helo=chlorine.canonical.com)
by chlorine.canonical.com with esmtp (Exim 4.60)
(envelope-from <ubuntu-users-bounces@lists.ubuntu.com>)
id 1KeWXj-0000vT-Mn; Sat, 13 Sep 2008 15:56:11 +0100
Received: from ug-out-1314.google.com ([66.249.92.174])
by chlorine.canonical.com with esmtp (Exim 4.60)
(envelope-from <ubuntu@bugabundo.net>) id 1KeWXh-0000v9-9l
for ubuntu-users@lists.ubuntu.com; Sat, 13 Sep 2008 15:56:09 +0100
Received: by ug-out-1314.google.com with SMTP id x30so280317ugc.11
for <ubuntu-users@lists.ubuntu.com>;
Sat, 13 Sep 2008 07:56:08 -0700 (PDT)
Received: by 10.86.79.19 with SMTP id c19mr4208546fgb.5.1221317768202;
Sat, 13 Sep 2008 07:56:08 -0700 (PDT)
Received: from blubug.localnet ( [87.196.117.243])
by mx.google.com with ESMTPS id l19sm12286494fgb.7.2008.09.13.07.55.57
(version=SSLv3 cipher=RC4-MD5); Sat, 13 Sep 2008 07:56:06 -0700 (PDT)
Organization: http://BUGabundo.net
To: "navin kumar" <navinvkl@gmail.com>
Subject: Re:
Date: Sat, 13 Sep 2008 12:01:59 +0100
User-Agent: KMail/1.10.1 (Linux/2.6.27-1-generic; KDE/4.1.1; x86_64; ; )
References: <99eaf9000809120955t18ed0ccbv914db6fce6ad24f1@mail .gmail.com>
In-Reply-To: <99eaf9000809120955t18ed0ccbv914db6fce6ad24f1@mail .gmail.com>
MIME-Version: 1.0
Message-Id: <200809131202.03138.Ubuntu@bugabundo.net>
From: "(=?utf-8?q?``-_-´´?=) -- Fernando"
<ubuntu@bugabundo.net>
Cc: ubuntu-users@lists.ubuntu.com
X-BeenThere: ubuntu-users@lists.ubuntu.com
X-Mailman-Version: 2.1.8
Precedence: list
Reply-To: Ubuntu-reply@bugabundo.net, ubuntu-users@lists.ubuntu.com
List-Id: "Ubuntu user technical support,
not for general discussions" <ubuntu-users.lists.ubuntu.com>
List-Unsubscribe: <https://lists.ubuntu.com/mailman/listinfo/ubuntu-users>,
<mailto:ubuntu-users-request@lists.ubuntu.com?subject=unsubscribe>
List-Archive: <https://lists.ubuntu.com/archives/ubuntu-users>
List-Post: <mailto:ubuntu-users@lists.ubuntu.com>
List-Help: <mailto:ubuntu-users-request@lists.ubuntu.com?subject=help>
List-Subscribe: <https://lists.ubuntu.com/mailman/listinfo/ubuntu-users>,
<mailto:ubuntu-users-request@lists.ubuntu.com?subject=subscribe>
Content-Type: multipart/mixed; boundary="==============55954229750736012=="
Mime-version: 1.0
Sender: ubuntu-users-bounces@lists.ubuntu.com
Errors-To: ubuntu-users-bounces@lists.ubuntu.com

--==============55954229750736012=Content-Type: multipart/signed;
boundary="nextPart1752730.40ehh2jxtV";
protocol="application/pgp-signature";
micalg=pgp-sha1
Content-Transfer-Encoding: 7bit

--nextPart1752730.40ehh2jxtV
Content-Type: text/plain;
charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Olá navin e a todos.

On Friday 12 September 2008 17:55:28 navin kumar wrote:
> hi.. i am new to ubuntu.. i am using sony ericsson k320i as modem to
> connect to internet in windows xp through pc suite. i want to use my
> mobile as modem in ubuntu. Tel me how to do it in detail..waitin for
> ur reply

Don't take Jim's suggestion of not using the ML so serious. Feel free to ask any time.
If you are using Hardy or Intrepid maybe you can try Network-Manager 0.7.
It was much better support for GSM Modems.

https://launchpad.net/~network-manager/+archive
https://wiki.ubuntu.com/NetworkManager/Hardware/3G
https://wiki.ubuntu.com/NetworkManager/Hardware/3G/Probing
https://wiki.ubuntu.com/3GNetworkingIntrepid

--
BUGabundo )
(``-_-´´) http://LinuxNoDEI.BUGabundo.net
Linux user #443786 GPG key 1024D/A1784EBB
My new micro-blog @ http://BUGabundo.net
ps. My emails tend to sound authority and aggressive. I'm sorry in advance. I'll try to be more assertive as time goes by...

--nextPart1752730.40ehh2jxtV
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEABECAAYFAkjLnagACgkQcV4wzCrhCco4yACgwW/Q0MVDXIGsE6m+epFMXIMB
1YwAoNpv1xKmfdJgl1MXSkoBoTxRyfIZ
=CVA7
-----END PGP SIGNATURE-----

--nextPart1752730.40ehh2jxtV--


--==============55954229750736012=Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

--==============55954229750736012==--
 
Old 09-13-2008, 07:04 PM
Norberto Bensa
 
Default ldap samba pdc problem

Quoting raptor@drakonix.fr:


Setting stored password for "cn=manager,dn=example,dn=net" in secrets.tdb



Your DN is wrong. Probably you meant:

cn=manager,dc=example,dc=net



----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
 
Old 09-14-2008, 09:37 AM
"Arunas"
 
Default ldap samba pdc problem

Hi,

Yes, this is the problem, stupid typo mistake.

Arunas

-----Original Message-----
From: Norberto Bensa [mailto:nbensa@gmail.com]
Sent: Saturday, September 13, 2008 10:04 PM
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] ldap samba pdc problem

Quoting raptor@drakonix.fr:

>> Setting stored password for "cn=manager,dn=example,dn=net" in secrets.tdb
>>

Your DN is wrong. Probably you meant:

cn=manager,dc=example,dc=net



----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.




--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
 

Thread Tools




All times are GMT. The time now is 05:29 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org