LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-15-2005, 09:48 AM   #1
stephen_davies
LQ Newbie
 
Registered: Aug 2005
Posts: 14

Rep: Reputation: 0
Samba 3.0.14-a not making


Hello everyone


I was wondering if someone could help with this little problem I have encountered?

The problem is that I am trying to use samba 3.0.14-a on a suse 8.2 machine. The configure options I am using is:
./configure
--prefix=/usr
--localstatedir=/var
--with-configdir=/etc/samba
--with-privatedir=/etc/samba
--with-fhs
--with-quotas
--with-msdfs
--with-smbmount
--with-ads
--with-pam
--with-pam_smbpass
--with-syslog
--with-utmp
--with-sambabook=/usr/share/swat/using_samba
--with-swatdir=/usr/share/swat
--with-libsmbclient
--with-winbind
--with-winbind-auth-challenge

and that seems to work but when I come to run a "make" I get the error "passdb/pdb_ldap.c:3269: error: incompatible types in assignment
passdb/pdb_ldap.c:3288: warning: assignment makes pointer from integer without a cast
make: *** [passdb/pdb_ldap.o] Error 1"

Does anyone have a solution on how to get around the I have entered the error into google and no result come up :-(


Thank you in advance
 
Old 08-17-2005, 03:40 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,568

Rep: Reputation: 164Reputation: 164
Please copy line 3288 from passdb/pdb_ldap.c file. It may be something simple, like missing header file, but it's hard to say at this stage.
 
Old 08-18-2005, 01:50 AM   #3
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 52
if you don't need ldap support try --without-ldap

if you need ldap support make sure you have openldap and openldap-devel junk installed
 
Old 08-18-2005, 04:40 AM   #4
stephen_davies
LQ Newbie
 
Registered: Aug 2005
Posts: 14

Original Poster
Rep: Reputation: 0
Line 3288 reads:

dn = smbldap_get_dn(ldap_state->smbldap_state->ldap_struct, entry);

I have installed ldap and ldap_devel from the suse rpm 8.2 CD as I had the program where it won't configure until it had found it.


Thanks for the help
 
Old 08-19-2005, 04:50 PM   #5
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,568

Rep: Reputation: 164Reputation: 164
I have found that the thing used has much to do with samba. Do you have it installed?
 
Old 08-22-2005, 05:58 AM   #6
stephen_davies
LQ Newbie
 
Registered: Aug 2005
Posts: 14

Original Poster
Rep: Reputation: 0
well I installed ldap and ldap_devel from the suse 8.2 disk and it still came up with the same error could have been that the ldap_devel is very old so it may have required a upgrade.
 
Old 08-24-2005, 02:28 PM   #7
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,568

Rep: Reputation: 164Reputation: 164
It may mean that they're incompatibile. Are you aple to download updated LDAP? It may require a big system update, however.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Making Samba not to ask user+pass guarriman Linux - Networking 1 12-01-2004 05:11 PM
Making DreamWeaver work with Samba Sagara Sanosuke Linux - Networking 6 08-10-2004 11:12 AM
Making a public samba share joncolby Linux - Software 0 06-24-2004 02:02 PM
Making Linux invisible to MS with Samba Vincent_Vega Linux - Networking 5 01-23-2004 01:11 AM
Making second HD available through samba kojima Linux - Newbie 3 10-04-2003 06:36 PM


All times are GMT -5. The time now is 10:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration