[Samba] Samba With LDAP

Bruno Lopes de Souza Benchimol brunobenchimol at terra.com.br
Mon Feb 23 01:11:00 GMT 2004


i've trying to make this work, ive got this far:

-- my smb.conf
deblab:/usr/local/samba# cat smb.conf| grep ldap
 passwd program = /usr/local/sbin/smbldap-passwd.pl -o %u
## configs ldap
 ldap suffix = dc=deblab
 ldap admin dn = cn=admin,dc=deblab
 ldap filter = (uid=%u)(objectclass=sambaSamAccount)
 ldap port = 389
 ldap server = 127.0.0.1
 ldap ssl = no
 add user script = /usr/local/sbin/smbldap-useradd.pl -w %u
# use either tdbsam or ldapsam. smbpasswd is available for backwards

- i put ldap on debug level and got this when im trying to connect to a
samba share.

<snip>

Feb 22 22:09:01 deblab slapd[891]: conn=407 op=0 BIND
dn="CN=ADMIN,DC=DEBLAB" method=128
Feb 22 22:09:01 deblab slapd[891]: conn=407 op=0 RESULT tag=97 err=0 text=
Feb 22 22:09:01 deblab slapd[289]: conn=407 op=1 SRCH base="dc=deblab"
scope=2
filter="(&(uid=con)(objectClass=sambaSamAccount)(objectClass=sambaAccount))"
Feb 22 22:09:01 deblab slapd[289]: conn=407 op=1 SEARCH RESULT tag=101 err=0
text=
Feb 22 22:09:01 deblab slapd[192]: conn=-1 fd=22 closed

he looks for sambaAccount ... sambaAccount is old, im using the samba.scheme
that came with the source code (samba 3.0.2a) but i dont know why the fuck
it still searching for sambaAccount since im using in my filter
sambaSamAccount (it shouldnt override my options...) .

im pretty sure if i get the "right search" i will make this finally log in
and i can keep working.

thanks in advance,
----- Original Message ----- 
From: "Loc Nguyen" <nguyenbloc at tuluc.com>
To: <brunobenchimol at terra.com.br>; <samba at lists.samba.org>
Sent: Sunday, February 22, 2004 9:06 PM
Subject: Re: [Samba] Samba With LDAP


> I found idealx.org SAMBA PDC howto very helpful
>
>
> BLOCKQUOTE { BORDER-LEFT:#1F4687 1px solid; padding-left:20px;
> margin-left: 0px; }-----Original Message-----
> From: "Bruno Lopes de Souza Benchimol" <brunobenchimol at terra.com.br>
> Sent: Sunday, 22. Feb 2004 14:09 -0800
> To: <samba at lists.samba.org>
> Subject: [Samba] Samba With LDAP
>
> Anyone could please help me to set up a samba authing on a ldap server
> ??? i
> mean.. someone can point me out a tutorial/howto/notes/tips/anything
> that
> can help me set up this together ??
> (or at least some part of the adminstration of ldap for samba)
>
> well anything will be welcome since i need to set up pretty soon.
>
> thanks in advance,
>
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
>
>
>
> -- 
> Esta mensagem foi verificada pelo E-mail Protegido Terra.
> Scan engine: VirusScan / Atualizado em 18/02/2004 / Versão: 1.4.1
> Proteja o seu e-mail Terra: http://www.emailprotegido.terra.com.br/
>



More information about the samba mailing list