Hi Mark, thx for your response !
I tried id admin : no such user like u said. I had already install libnss-ldap, but i had "files ldap" for passwd and group. but id admin still doesnt work. "id root" says: uid=0(root) gid=0(root) groups=0(root) But the LDAP administrator is "admin" not "root" ... i dont understand why... Cheers, Guillaume On 5/17/05, Mark Roach <[EMAIL PROTECTED]> wrote: > On Tue, 2005-05-17 at 11:26 -0400, chuchyyy wrote: > > > i ve got a problem. Im running open LDAP with samba server. I have an > > LDAPadministrator which is referred to as "admin". > > i added my computer windows 2K to LDAP with "smbldap-useradd -w" from > > smbldap-tools. > > Now i can't join the samba server with "admin". it says that "unknown > > user name or bad password". > > >From the samba system, what does "id admin" give you? It should give > something like this: > ~# id Administrator > uid=0(root) gid=512(Domain Admins) groups=0(root) > > Yup, you saw that right, uid=0. This is necessary unless you are using > samba 3.0.11+ with privileges. > > if instead, it says "no such user" this means you need to install > libnss-ldap, and modify /etc/nsswitch.conf to have the lines: > passwd: compat ldap > group: compat ldap > > > -Mark > >