Hi everyone: I am a student and recently I am going to build a computer system which using LDAP for integrating user authentication. There is a LDAP server and runs openldap on it, it is a file-server, and I am going to do is that, when users login in the client computers, it will get authentication from ldap server which running on the file-server, and the client computer will mount user's home folder on it automatically.
Unfortunately, I am totally new to LDAP, and to make things going faster, I choose to use LAM for making it easily to manager LDAP server. And the problem is, I can't create a samba domain anyway. I am sure I entered the right sambaDomainName and sid. But lam says: -------------------------------------- Was unable to create DN: sambaDomainName=FILE-SERVER,ou=domains,dc=file-server. Invalid DN syntax -------------------------------------- and I do have a dn below: dn: ou=domains,dc=file-server objectClass: organizationalUnit ou: domains Another problem, I thought I can use LAM to create system users, and I did created some users in LAM, but when I check the /etc/passwd file in file-server, the user I just created is not exist! And his home folder not created either. Here is my ldap.conf and slapd.conf: [r...@file-server home]# more /etc/openldap/ldap.conf BASE dc=file-server URI ldap://localhost:389 SIZELIMIT 0 TIMELIMIT 0 DEREF never [r...@file-server home]# more /etc/openldap/slapd.conf database bdb suffix "dc=file-server" rootdn "cn=root,dc=file-server" rootpw {crypt}ijFYNcSNctBYg (Note that the default thing in the file is not pasted.) Any ideas of you? Thanks in advance! -- Zengming Zhang <[email protected]> ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Lam-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/lam-public
