[Samba] adding users in smbpasswd file instead of Directory

Ilia Chipitsine ilia at paramon.ru
Sun Jul 24 08:54:40 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.

probably samba should do some checks:

1) both "wins server" and "wins support" set

2) "netbios name" = "workgroup"

I'd suggest that samba won't start if it encounters such things in 
smb.conf.

>
>
>
>
>
> 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-----
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/listinfo/samba
>


More information about the samba mailing list