[Samba] adding users in smbpasswd file instead of Directory

Gerald (Jerry) Carter jerry at samba.org
Sat Jul 23 20:22:38 GMT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Saravanan wrote:
| Hi,
|
| I am new to ldap. I am following Gerald Carter ldap
| system admin book.
|
| when i add user using
|
| [root at server openldap]# smbpasswd -a saravanan
|     [  OK  ]
| New SMB password:
| Retype new SMB password:
|
| it is updating users in /etc/samba/smbpasswd file
| instead of updating the Directory. Both openldap and
| samba runs in the same server. First I compiled samba
| without --with-ldapsam. Now i compiled the samba with
| --with-ldapsam. Still it is updating smbpasswd file.

Saravanan,

I need to update the book.  That covers the LDAP setup
for Samba 2.2.  For now, you are better off following
the passdb documentations in the samba/docs/ directory.


| [global]
|    netbios name       = LDAP	
|    workgroup          = LDAP

and don't set the netbios name and workgroup to
the values.  It will be painful.





cheers, jerrty
=====================================================================
Alleviating the pain of Windows(tm)      ------- http://www.samba.org
GnuPG Key                ----- http://www.plainjoe.org/gpg_public.asc
"I never saved anything for the swim back."     Ethan Hawk in Gattaca
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFC4qcOIR7qMdg1EfYRAksRAKDKtpcKjyviIfF0oFfgYnzdCFNDUQCg599o
3pVTiQ9FfdR7NCl6jROrNaU=
=lbvo
-----END PGP SIGNATURE-----


More information about the samba mailing list