Hello!
A few days ago, two users of this list sent me examples of a working
machine account in Samba, beause the one I get when I try to add a
machine with smbldap doesn't work very well (as I explained in
http://lists.samba.org/archive/samba/2008-February/138639.html) and I
found that in my
Well... I've got this in the /etc/ldap.conf:
nss_base_passwd ou=People,dc=jome?one
nss_base_shadow ou=People,dc=jome?one
nss_base_group ou=Group,dc=jome?one
nss_base_hosts ou=Hosts,dc=jome?one
I added the nss_base_passwd ou=Hosts,dc=jome?one but nothing seems
Hi,
just one idea: have you configured nss_ldap to resolve account in ou=Computers ?
ie, in /etc/ldap.conf, have you the 2 lines:
nss_base_passwd ou=Users,..?sub
nss_base_passwd ou=Computers,..?sub
If not, add ou=Computers and remove any nscd cache before re-trying.
--
Jérôme
On
... I can see something in your Ldifs that I don't have: The
objectClass: sambaSamAccount... I bet this is important in order to
have Samba working!! Hehe... I'll keep working on this line... :)
The add user / account process should add the sambaSamAccount
objectclass and related
It doesn't seem to be that, in my case... I removed the smb.conf lines
that told Samba in which Ldaps tables (or OUs) had to look for the
users and so, and it isn't working...
Just in case, there goes my new smb.conf
Thanks
-- smb.conf
On Thu, 28 Feb 2008, Hector Blanco wrote:
It doesn't seem to be that, in my case... I removed the smb.conf lines
that told Samba in which Ldaps tables (or OUs) had to look for the
users and so, and it isn't working...
No, I don't think that is the problem. I have the ldap suffix directives
Mmmm..If I understood properly, I'm afraid I can just say... Welcome
to the club, mate:
Take a look to this:
http://lists.samba.org/archive/samba/2008-February/138639.html
http://lists.samba.org/archive/samba/2008-February/138442.html
May it be a bug?? Is the same thing that is happeing to you?
On Wed, Feb 27, 2008 at 3:13 PM, Hector Blanco [EMAIL PROTECTED] wrote:
Mmmm..If I understood properly, I'm afraid I can just say... Welcome
to the club, mate:
Take a look to this:
http://lists.samba.org/archive/samba/2008-February/138639.html
Ehm... just to make sure... could anybody who has LDAP+Samba working
send the ldif definition of what he has as a machine?
I've got this as a machine:
dn: uid=enano$,ou=Hosts,dc=jome
objectClass: top
objectClass: person
objectClass: organizationalPerson
If your solaris box is setup as an LDAP client you can add a search
descriptor with the ldapclient command.
Below is an example of what we changed to make joining the domain work on
the first try.
NS_LDAP_SERVICE_SEARCH_DESC= passwd: ou=computers,o=sju.edu;ou=People,o=sju.edu
At 03:13 PM
Below is a sample of a machine entry:
dn: uid=295mand01$,ou=computers,o=sju.edu
cn: 295mand01$
description: Computer
gecos: Computer
gidNumber: 515
homeDirectory: /dev/null
loginShell: /bin/false
objectClass: top
objectClass: person
objectClass: organizationalperson
objectClass: inetOrgPerson
Thank you Steve and Frank...
... I can see something in your Ldifs that I don't have: The
objectClass: sambaSamAccount... I bet this is important in order to
have Samba working!! Hehe... I'll keep working on this line... :)
Thank you again!
2008/2/27, Frank J. Pellegrino [EMAIL PROTECTED]:
We have just setup Samba 3.0.28 with LDAP support. We are using a Sun One
5.2 LDAP server.
We are having a problem when a new machine joins the domain.
Here is a snippet of our smb.conf file
add machine script = /usr/local/sbin/smbldap-useradd -w %m
ldap machine suffix = ou=computers
13 matches
Mail list logo