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
  •  


TP-Link TL-SG105 5-Port Gigabit Ethernet Unmanaged Metal Desktop Network Switch picture

TP-Link TL-SG105 5-Port Gigabit Ethernet Unmanaged Metal Desktop Network Switch

$19.99



TP-Link TL-SG1048 48-Port Gigabit Rackmount Switch New Factory Sealed picture

TP-Link TL-SG1048 48-Port Gigabit Rackmount Switch New Factory Sealed

$199.99



NETGEAR GS308EP Essential Series 8-Port Gigabit PoE+ Unmanaged Switch picture

NETGEAR GS308EP Essential Series 8-Port Gigabit PoE+ Unmanaged Switch

$49.99



D-Link DGS-1210-28P 28-Port PoE Gigabit Web Smart Switch With Cord picture

D-Link DGS-1210-28P 28-Port PoE Gigabit Web Smart Switch With Cord

$49.99



5 Port Gigabit Unmanaged Ethernet Switch, Home Network Hub, Office Ethernet S... picture

5 Port Gigabit Unmanaged Ethernet Switch, Home Network Hub, Office Ethernet S...

$9.64



TP-Link TL-SG105, 5 Port Gigabit Unmanaged Ethernet Switch, Network Hub, Ethern picture

TP-Link TL-SG105, 5 Port Gigabit Unmanaged Ethernet Switch, Network Hub, Ethern

$15.25



NETGEAR 5-Port Gigabit Ethernet Unmanaged Switch (Gs305) - Desktop Quiet Fanless picture

NETGEAR 5-Port Gigabit Ethernet Unmanaged Switch (Gs305) - Desktop Quiet Fanless

$16.41



10-Port Gigabit PoE Network Switch with 8 PoE+ Ports with 2 Combo SFP Slots 125W picture

10-Port Gigabit PoE Network Switch with 8 PoE+ Ports with 2 Combo SFP Slots 125W

$39.99



Cisco WS-C3650-12X48UR-L 48-Port Stackable Layer 3 8x10G SFP+ Port Switch picture

Cisco WS-C3650-12X48UR-L 48-Port Stackable Layer 3 8x10G SFP+ Port Switch

$129.99



5Ports Gigabit Network Switch w/ 4 PoE+ Ports Total 52W each port 30W Plug&Play picture

5Ports Gigabit Network Switch w/ 4 PoE+ Ports Total 52W each port 30W Plug&Play

$31.99