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
  •  


Dell 6P85J 4TB ST4000NM0063 7.2k 6Gb/s 3.5” SAS SED Hard Drive with Tray picture

Dell 6P85J 4TB ST4000NM0063 7.2k 6Gb/s 3.5” SAS SED Hard Drive with Tray

$39.99



Western Digital HUS726T4TAL5204 4TB 7.2K SAS 12Gb/s 3.5

Western Digital HUS726T4TAL5204 4TB 7.2K SAS 12Gb/s 3.5" 512e HDD NetApp X375A

$64.00



DELL 2TB Enterprise HDD (7200RPM, 3.5

DELL 2TB Enterprise HDD (7200RPM, 3.5", SATA III, 128MB Cache) HUS722T2TALA600

$49.95



Seagate ST8000NM0075 Enterprise Capacity 3.5 HDD 8TB SAS Hard Drive 8TB EXOS picture

Seagate ST8000NM0075 Enterprise Capacity 3.5 HDD 8TB SAS Hard Drive 8TB EXOS

$184.99



Seagate ST4000NM0034 Enterprise 4TB 7200RPM SAS 12Gb/s HDD v4 picture

Seagate ST4000NM0034 Enterprise 4TB 7200RPM SAS 12Gb/s HDD v4

$39.00



Seagate ST500DM009 BarraCuda 500 GB 3.5

Seagate ST500DM009 BarraCuda 500 GB 3.5" SATA III Desktop Hard Drive

$14.99



Dell ST6000NM0034 1HT27Z-150 NWCCG 6TB SAS 3.5 7.2K ENTERPRISE SERVER DRIVE picture

Dell ST6000NM0034 1HT27Z-150 NWCCG 6TB SAS 3.5 7.2K ENTERPRISE SERVER DRIVE

$68.99



2TB Seagate Barracuda ST2000DM001 7200RPM SATA 6Gbps 64MB Cache 3.5

2TB Seagate Barracuda ST2000DM001 7200RPM SATA 6Gbps 64MB Cache 3.5" HDD

$39.95



(ST8000NM0045) SEAGATE ENTERPRISE 8TB 7200RPM 4Kn SATA 6Gb/s 3.5

(ST8000NM0045) SEAGATE ENTERPRISE 8TB 7200RPM 4Kn SATA 6Gb/s 3.5" HARD DRIVE

$199.99



Seagate ST12000NM0127 12TB 256MB 7200RPM 3.5

Seagate ST12000NM0127 12TB 256MB 7200RPM 3.5" SATA 6.0Gb/s Enterprise Hard Drive

$318.99