LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-23-2003, 10:42 AM   #1
jmarsh
Member
 
Registered: Dec 2002
Posts: 129

Rep: Reputation: 15
samba password change


i found a web face gui to be able to change the password on samba. i am running apache on my server. i configured it and installed it but i am not sure how to actually get the web page to come up. i dont know what file i have to put where to get it to start. if anybody has used this before please help me get it started thanks. i got the source code from:

http://changepassword.sourceforge.net/
 
Old 04-23-2003, 12:36 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Well according to the README and such, it appears it should place the files in your root directory for you webserver. Have you tried looking there to see if it placed any files you haven't placed there yourself?
 
Old 04-23-2003, 12:43 PM   #3
jmarsh
Member
 
Registered: Dec 2002
Posts: 129

Original Poster
Rep: Reputation: 15
it placed a file called changepassword.cgi, executable file in my /var/www/cgi-bin directory. other then that i am new to this and i really dont know where to look to see if it placed anything in my root directory for my webserver. i believe i need to write an html page to get this working but i really dont know. thanks for your help.
 
Old 04-23-2003, 12:48 PM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Yeah, I would search your directory root in your webserver. Also see about reading the file in your cgi-bin and see if it references to any html or other files that it might have placed on your system.

My guess it might be called changepassword.html by default.
 
Old 04-23-2003, 01:00 PM   #5
jmarsh
Member
 
Registered: Dec 2002
Posts: 129

Original Poster
Rep: Reputation: 15
when i look in my /var/www directory i only have the following directories:

cgi-bin, error, html, icons

i dont have anything else under that directory. it created the executable file but no html document. i am a little lost here. i would love to have this up and running for the folks here but i cant seem to get it to work.
 
Old 04-23-2003, 02:26 PM   #6
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
What about in your html directory? If not there, I'd see about contacting the developer of it, maybe ask them since nothing is mentioned in their docs or at least state that if it was suppose to go into the default directory, why it didn't get compiled there.

You could try to recompile and specify the location?
 
Old 04-23-2003, 02:57 PM   #7
jmarsh
Member
 
Registered: Dec 2002
Posts: 129

Original Poster
Rep: Reputation: 15
i did email the person who wrote this. like i said it doesnt create any documents that will let me open the web page. it is pretty weird. i created my own script to see if cgi was working with apache and it is on my machine. it is almost like one file is missing. when he gets back to me i will let you know what he says. if you come up with somethiing before that please post. thanks.
 
Old 04-23-2003, 03:58 PM   #8
jmarsh
Member
 
Registered: Dec 2002
Posts: 129

Original Poster
Rep: Reputation: 15
i got it to work. i had to cp the changepassword.cgi file and rename it changepassword.pl, the changepassword.cgi file is located in /var/www/cgi-bin - i had to copy it and rename it and place it in the same directory

then i had to run the following command to give it the proper permissions:

chmod a+x changepassword.pl

then in the web browser i typed the following:

http://servername/cgi-bin/changepassword.pl

and it worked. a little confusing but i got it to work
 
Old 11-16-2008, 07:25 PM   #9
tkcjess
LQ Newbie
 
Registered: Jun 2004
Location: malaysia
Posts: 1

Rep: Reputation: Disabled
Changepassword configuration problem

Hello,

Is there can help me to check what this error as below:-

make
gcc -c -o smbencrypt/SMBPasswdGen.o smbencrypt/SMBPasswdGen.c
gcc -c -o smbencrypt/encrypt.o smbencrypt/encrypt.c
gcc -c -o smbencrypt/md4.o smbencrypt/md4.c
gcc -c -o smbencrypt/smbencrypt.o smbencrypt/smbencrypt.c
gcc changepassword.c -o changepassword.cgi smbencrypt/SMBPasswdGen.o smbencrypt/md4.o smbencrypt/smbencrypt.o smbencrypt/encrypt.o -lcrypt -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_LIBCRYPT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_STDIO_H=1 -DHAVE_STRING_H=1 -DHAVE_STDLIB_H=1 -DHAVE_PWD_H=1 -DHAVE_ERRNO_H=1 -DHAVE_SIGNAL_H=1 -DHAVE_SHADOW_H=1 -DHAVE_TIME_H=1 -DEnglish -DSMBPASSWD=\"/etc/samba/smbpasswd\" -DSQUIDPASSWD=\"no\" -DLOGO=\"abc.gif\" -L./smbencrypt -ldes
/usr/bin/ld: skipping incompatible ./smbencrypt/libdes.a when searching for -ldes
/usr/bin/ld: cannot find -ldes
collect2: ld returned 1 exit status
make: *** [changepassword.cgi] Error 1

Why i can get this error message like cannot find -ldes?

Best Regards,
Jess Tan

Last edited by tkcjess; 11-16-2008 at 07:45 PM.
 
Old 02-15-2010, 09:55 AM   #10
appuhay
LQ Newbie
 
Registered: Feb 2010
Posts: 1

Rep: Reputation: 0
Hi tkcjess,

Am also getting the same error.. Were u able to find a solution for it? Pls let me know!

/usr/bin/ld: skipping incompatible ./smbencrypt/libdes.a when searching for -ldes
/usr/bin/ld: cannot find -ldes
collect2: ld returned 1 exit status
make: *** [changepassword.cgi] Error 1

Thanks!
 
Old 02-18-2010, 01:56 AM   #11
keraden
LQ Newbie
 
Registered: Feb 2010
Posts: 1

Rep: Reputation: 0
Hi appuhay,

I getting the same error to. Do you find a solution ?
My server SAMBA running under Ubuntu 8.04.3 64bits.

Thanks
 
Old 09-06-2011, 03:55 AM   #12
standford
LQ Newbie
 
Registered: Sep 2011
Posts: 2

Rep: Reputation: Disabled
the compilation error seem like cause by libdes.a incompatible issue.
 
Old 09-06-2011, 03:57 AM   #13
standford
LQ Newbie
 
Registered: Sep 2011
Posts: 2

Rep: Reputation: Disabled
I found the solution for this libdes.a imcompatible problem from http://wp.me/p1KeqG-40
It work...
 
  


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
Change Samba password from Windows bsherwood Linux - Software 2 06-03-2005 08:28 AM
How to make Samba users change password on first use eflester Linux - Security 0 10-12-2004 06:41 PM
Change password from windows xp to samba fidelis Linux - Newbie 1 09-20-2004 08:54 AM
Just change Samba password, not Unix password? sorrodos Linux - Networking 1 08-14-2003 07:52 PM
Cannot change samba password from XP kragbax Linux - Networking 1 06-16-2003 12:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:24 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
Open Source Consulting | Domain Registration