Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
SMS Forum Index » SMS User Support

Post new topic   Reply to topic
Gadmin-samba installation problem + Samba question
View previous topic :: View next topic  
Author Message
CbIP
Junior Member


Joined: 21 Aug 2010
Posts: 2

PostPosted: Sat Aug 21, 2010 9:12 am    Post subject: Gadmin-samba installation problem + Samba question Reply with quote

Hi all! Today I tried to install Gadmin-samba (GSAMBA) and install script sent me a message:
Code:
root@CbIP-server:~/gadmin/gadmin-samba-0.2.9# ./Autoinstall
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for OS type... Linux (i686-pc-linux-gnu) found.
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for library containing strerror... none required
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... /lib/cpp
configure: error: in `/root/gadmin/gadmin-samba-0.2.9':
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.


How to fix this error? I'd like to use not only GPROFTPD, but also GSAMBA and GHTTPD

Also, please help me with Samba-configuration:
Code:
[global]
   log file = /var/log/samba.%m
   netbios name = CbIP-samba
   ldap ssl = No
   restrict anonymous = no
   max protocol = NT1
   server string = CbIP Samba Server
   default = CbIP server
   acl compatibility = winnt
   workgroup = WORKGROUP
   os level = 20
   server signing = Auto
   domain master = no
   public = yes
   preferred master = no
   max log size = 50
   wins support = true

[rootfs]
   browseable = no
   writeable = yes
   path = /
   write list = CbIP,root
   valid users = CbIP,root
   user = CbIP,root


Yes, I need an accesss to /, but when I try to connect to 'rootfs' share using 'CbIP' or 'root' logins and passwords, my Windows 7 says 'incorrect password'
Back to top
View user's profile Send private message
CbIP
Junior Member


Joined: 21 Aug 2010
Posts: 2

PostPosted: Sat Aug 21, 2010 9:37 am    Post subject: Reply with quote

Wow! Just got this error while MySQL startup:
Code:
 [ERROR] Fatal error: Can't open and lock privilege tables: Incorrect key file                      for table 'user'; try to repair it

How to fix it too?
Back to top
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1757
Location: Greece

PostPosted: Sat Aug 21, 2010 12:40 pm    Post subject: Reply with quote

Quote:
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.

You need to install development packages (devel series) or at least gcc package.

Assuming users exists and passwords are set use
Code:
[rootfs]
   read only = no
   path = /
   write list = CbIP,root
   valid users = CbIP,root
   user = CbIP,root

And add "Security = user"
But you never get CbIP user to access / only /home/CbIP.

Quote:
[ERROR] Fatal error: Can't open and lock privilege tables: Incorrect key file for table 'user'; try to repair it


You need to rename in /var/lib/mysql/mysql/ user.MYI.new and user.MYD.new and grant/create users again if you add anyone or downgrade your mysql to 5.1.48.

gerasimos_h

_________________
Superb! Mini Server Project Manager
http://sms.it-ccs.com
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    SMS Forum Index » SMS User Support All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

SMS - Superb! Mini Server Project © 2016
Powered by phpBB © 2001, 2002 phpBB Group
iCGstation v1.0 Template By Ray © 2003, 2004 iOptional