Re: [Samba] Issue with compile of 3.5.12 -- krb related

2011-11-09 Thread James Chase



=
I was missing the KRB5 line so I installed krb5-devel (centos 5.7) and
then re-configured. During the make command I now get the following error:

cifs.upcall.c:(.text+0x360): undefined reference to
`smb_krb5_principal_get_realm'
cifs.upcall.c:(.text+0x3d3): undefined reference to `smb_krb5_unparse_name'
collect2: ld returned 1 exit status
make: *** [bin/cifs.upcall] Error 1

I first installed every krb5 package I could find (didn't fix the
compile errors) and then I tried disabling this cifsupcall feature but
then got the same errors using testparm. So maybe this feature  is
required for the 'ads' option and 'realm' parameter. Arg -- does this
indicate my krb5 libraries are too old and missing some new function?

Did you make clean?

Doh! That fixed it =o)

Fixed the errors from testparm, though now wbinfo doesn't work...

[root@sambatest samba]# bin/wbinfo -u
Error looking up domain users

Grrr. Will have to mess around with it more later


Andrew Bartlett



--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Issue with compile of 3.5.12 -- krb related

2011-11-08 Thread Andrew Bartlett
On Tue, 2011-11-08 at 15:12 -0500, James Chase wrote:
> After compiling samba 3.5.12 from source on CentOS 5.7, I test the 
> configuration with 'testparm lib/smb.conf' and I get the following output
> 
> WARNING: Ignoring invalid value 'ADS' for parameter 'security'
> Unknown parameter encountered: "realm"
> Ignoring unknown parameter "realm"
> 
> I figured this might be due to a compile problem and I re-checked the 
> HOWTO pdf and saw that I needed to find the following in include/config.h
> 
> #define HAVE_KRB5 1
> #define HAVE_LDAP 1
> 
> I was missing the KRB5 line so I installed krb5-devel (centos 5.7) and 
> then re-configured. During the make command I now get the following error:
> 
> cifs.upcall.c:(.text+0x360): undefined reference to
> `smb_krb5_principal_get_realm'
> cifs.upcall.c:(.text+0x3d3): undefined reference to `smb_krb5_unparse_name'
> collect2: ld returned 1 exit status
> make: *** [bin/cifs.upcall] Error 1
> 
> I first installed every krb5 package I could find (didn't fix the 
> compile errors) and then I tried disabling this cifsupcall feature but 
> then got the same errors using testparm. So maybe this feature  is 
> required for the 'ads' option and 'realm' parameter. Arg -- does this 
> indicate my krb5 libraries are too old and missing some new function?

Did you make clean?  

Andrew Bartlett

-- 
Andrew Bartletthttp://samba.org/~abartlet/
Authentication Developer, Samba Team   http://samba.org

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] Issue with compile of 3.5.12 -- krb related

2011-11-08 Thread James Chase
After compiling samba 3.5.12 from source on CentOS 5.7, I test the 
configuration with 'testparm lib/smb.conf' and I get the following output


WARNING: Ignoring invalid value 'ADS' for parameter 'security'
Unknown parameter encountered: "realm"
Ignoring unknown parameter "realm"

I figured this might be due to a compile problem and I re-checked the 
HOWTO pdf and saw that I needed to find the following in include/config.h


#define HAVE_KRB5 1
#define HAVE_LDAP 1

I was missing the KRB5 line so I installed krb5-devel (centos 5.7) and 
then re-configured. During the make command I now get the following error:


cifs.upcall.c:(.text+0x360): undefined reference to
`smb_krb5_principal_get_realm'
cifs.upcall.c:(.text+0x3d3): undefined reference to `smb_krb5_unparse_name'
collect2: ld returned 1 exit status
make: *** [bin/cifs.upcall] Error 1

I first installed every krb5 package I could find (didn't fix the 
compile errors) and then I tried disabling this cifsupcall feature but 
then got the same errors using testparm. So maybe this feature  is 
required for the 'ads' option and 'realm' parameter. Arg -- does this 
indicate my krb5 libraries are too old and missing some new function?








--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba