Summary: | SAMBA is compiling for some users w/ LDAP despite a lack of ldap in /etc/make.conf | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Josiah Ritchie (flickerfly) <josiah.ritchie> |
Component: | [OLD] Server | Assignee: | Donny Davies (RETIRED) <woodchip> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
URL: | http://forums.gentoo.org/viewtopic.php?p=190771#190771 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Josiah Ritchie (flickerfly)
2003-01-31 09:32:42 UTC
imo ldap should be in use.defaults due to the fact that it is not common for ppl to auth via ldap ... (i for one have no idea how to utilize it ;D) U s e r E r r o r. if its in use.defaults they have to compile with either USE=-ldap or tweak USE_ORDER in make.conf, like I've been doing for months. Is there any way to make LDAP usage configurable via smb.conf or a flag? Even if I add LDAP support via USE="ldap" I may or may not want to use LDAP any given time. Why does "adding support for" have to mean "forced to use"? Go to: http://us1.samba.org/samba/docs/man/smb.conf.5.html#LDAPADMINDN to find out what the ldap parameters are for smb.conf. I'm pretty sure that you can comment them out and then have no LDAP interaction, but still have the capability if you decide to take advantage of it at some point. (If I'm wrong, sorry.) I think you make a good point though. What is the correct smb.conf configuration? If ldap is a default USE then should SAMBA have those commented out? I don't expect it will change, but it seems there must be a better way to handle the situation. LDA is in /etc/make.profile/use.defaults - for whatever reason. who knows. but i didnt put it there ;) i do not use this facility, i prefer to precisely control the build options for every package on my system. if you dont want LDAP support in SAMBA then dont compile it in! USE="-* pam mysql" emerge samba <- then no LDAP USE="-ldap xml" emerge samba <- again, no LDAP i personally tweak USE_ORDER in make.conf to permanently remove it's irritating features. In SAMBA_3_0 you use: passdb backend = smbpasswd guest ^^^ in your [global] section which stores the SAM info in the /etc/samba/private/smbpasswd file, like the old days. For more information, read some documentation on the new passdb features of SAMBA 3. |