Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

Thread: Samba Server

  1. #11
    Senior Member registered user
    Join Date
    Sep 2006
    Posts
    148
    Quote Originally Posted by MAiN_PRoToCoL
    chip.ling: yup it worked just like the FAQ page said. it just sucks i gotta go through all that and it makes the GUI samba in 5.3.1 useless.

    QuadriplegicMonkey: were both on the same page. so where can I bitch about this bug????????
    I would think http://www.knoppix.net/wiki/Bugs/5.3.1DVD would be where this would go... but it seems to be locked.

    It has been a while since I looked at the script but... in /usr/sbin/sambastart on line 58 is
    while grep -q '^knoppix:1000:XXXXX' /etc/samba/smbpasswd

    then a look inside /etc/samba/smbpasswd after a successfull password change...
    it seems my password was saved in the second password field...
    knoppix:1000:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:NEWPA SSWORDCODESTOREDHERE00:[...

    and so the infinite loop... even though smbpasswd had made the change successfully.
    But also there is this extra $FORCE variable that can be present in a cmdline parm.
    Don't know what it's there for. Here is the section:
    Code:
    /usr/sbin/sambastart
    
         51
         52 FORCE=false
         53 FORCEEXPORT=false
         54 echo "$@" | grep force && FORCE=true
         55 echo "$@" | grep export && FORCEEXPORT=true
         56
         57 #loop while password is not set
         58 while grep -q '^knoppix:1000:XXXXX' /etc/samba/smbpasswd || $FORCE ; do
         59         rm -f "$TMP"
         60         $DIALOG --passwordbox "$MESSAGE1" 0 0 2>"$TMP" || break
         61         PASSWORD1="$(<$TMP)"
         62         rm -f "$TMP"
         63         $DIALOG --passwordbox "$MESSAGE2" 0 0 2>"$TMP" || break
         64         PASSWORD2="$(<$TMP)"
         65         rm -f "$TMP"
         66         if [ "$PASSWORD1" == "$PASSWORD2" ] ; then
         67                 #set samba password
         68                 echo -e "$PASSWORD1\n$PASSWORD1" | smbpasswd -a knoppix -s
         69         else
         70                 $DIALOG --msgbox "$MESSAGE3" 0 0
         71         fi
         72         #force is only executed once
         73         FORCE=false
         74 done
         75
    It should probably just test the result of the command executed...
    68 echo -e "$PASSWORD1\n$PASSWORD1" | smbpasswd -a knoppix -s
    if [ $? == 0 ] ; then
    break
    fi

    then a continous looping would indicate something is wrong...

    So how come the wiki is locked?

  2. #12
    Administrator Site Admin-
    Join Date
    Apr 2003
    Location
    USA
    Posts
    5,441
    Quote Originally Posted by johnrw
    .....So how come the wiki is locked?
    Please take this up with Eadz. I've been swampped with fighting spammers in the forums. Some past changes in the wiki software made it difficult for someone with moderator privileges to effectively fight spam there, and Eadz just yesterday mentioned to me that he had been fighting a lot of wiki spammers himself. It might be something that he did in reaction to wiki spammers, but it seems self defeating to have a wiki if legitimate users can't contribute to it.

    I do expect that he will want to know that there is an issue here, and as he may not catch the post in these forums I suggest sending him a private message.

  3. #13
    Senior Member registered user
    Join Date
    Sep 2006
    Posts
    148
    I don't mind locked wikis. The enemies of Open Source and of the little people in general and their freedoms have deep pockets.
    If the burden is getting too much for you, the dedicated staffers, then by all means... lock it down!

    I would just put a post somewhere regarding..., "this is how to add to the wiki", even if it has to be by emailing an admin desired content.
    Drastic... but I don't think there is so much activity on the wiki... that it would be that hard.
    Probably less of an effort involved than fighting the spammers.

    Is there a way to put a maximum amount of posts for newly approved members?
    Well without knowing more about the tactical side of how they get in, what they do once in, I am just guessing.

    Harry, you can edit forum posts, right?
    How about we insert a Special Tag... on legitimate bug reports in the forums?
    *** BUG KNOPPIX531DVD FIXSUGGESTED*** or something?

    The benifits would be immense if a simple site search could yield a set of links straight to bug reporting content.
    http://www.google.com/search?q=site:www.knoppix.net+BUG
    is a little vague... but keywords could order that up a little.
    http://www.google.com/search?hl=en&q...+KNOPPIX531DVD
    This link should show exactly one hit... in a while...

  4. #14
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Auckland, New Zealand
    Posts
    818
    I was trying to stop anonymous edits, but I accidentally blocked all edits. You should be able to edit now.

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Samba File server
    By sirpj in forum Networking
    Replies: 1
    Last Post: 01-22-2007, 02:39 AM
  2. Samba Server
    By bleckie in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 05-17-2005, 01:03 PM
  3. what is the samba server password?
    By venom_zx in forum General Support
    Replies: 1
    Last Post: 12-29-2004, 01:41 AM
  4. Knoppix as Samba server
    By charliet in forum Networking
    Replies: 0
    Last Post: 04-05-2004, 06:50 PM
  5. help with authentication using samba server!!!
    By npyang in forum General Support
    Replies: 0
    Last Post: 11-07-2003, 04:43 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


A8PicoCart Multicart for Atari 800xl /65xe / 130xe / XEGS picture

A8PicoCart Multicart for Atari 800xl /65xe / 130xe / XEGS

$16.95



GreaseWeazle v4 board USB floppy drive adapter Retro All Formats picture

GreaseWeazle v4 board USB floppy drive adapter Retro All Formats

$35.00



Atari 130 XE/Atari 1050 Bundle W/ Cords And Extras (Powered On) picture

Atari 130 XE/Atari 1050 Bundle W/ Cords And Extras (Powered On)

$300.00



DEFECTIVE Atari 810 Vintage Computer Disk Drive  powers on Unit Only Boo G3D picture

DEFECTIVE Atari 810 Vintage Computer Disk Drive powers on Unit Only Boo G3D

$49.29



Fujinet 1.7.1 Atari 400 800 800XL 130XE 65XE XEGS Assembled, Tested, Working picture

Fujinet 1.7.1 Atari 400 800 800XL 130XE 65XE XEGS Assembled, Tested, Working

$99.99



ATARI Mouse with Adapter for ST, STE, Mega STE, TT Optical  - USA Seller picture

ATARI Mouse with Adapter for ST, STE, Mega STE, TT Optical - USA Seller

$29.99



Atari 65XE Case, Metal Shielding, and Working Keyboard ONLY, No Motherboard picture

Atari 65XE Case, Metal Shielding, and Working Keyboard ONLY, No Motherboard

$45.00



GORF Atari/Roklan 400/800 Cartridge Brand New In Box picture

GORF Atari/Roklan 400/800 Cartridge Brand New In Box

$48.00



UNOCART-2600 SD card Multi Rom Cartridge for ATARI 2600 with CASE picture

UNOCART-2600 SD card Multi Rom Cartridge for ATARI 2600 with CASE

$34.25



Atari 800 8-bit Computer System Fully Tested Great Condition 48k READ picture

Atari 800 8-bit Computer System Fully Tested Great Condition 48k READ

$350.00