Re: attach XP computer to network.

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
+ (text/plain)
Delete this message
Reply to this message
Author: Michael Havens
Date:  
To: John, Main PLUG discussion list
Subject: Re: attach XP computer to network.
well....I ran apt-get install samba but was told the samba that was
installed was the most recent version.
then I restarted smbd and nmbd but it still refuses to print.
then I tried reloading the smbd/nmbd service (probably different way to do
what I already did) with the same result.... no printing.

Hey.... I was instructed to add or modify the user in /etc/samba/smb.conf
but I'm not sure how you mean to do that. The user name that I deleted
wasn't in the file so I don't know what to modify. The new user name is
'MarksPlace'. so would I just add these lines to the .conf file??

     [MarksPlace]
     comment = ????
     path = ????
     valid users = MarksPlace
     public = yes
     writable = yes


is comment whatever I want to say?
Is path the path on the ubuntu machine where I want it to store or write
whatever it needs to store or write?




On Sun, Mar 4, 2012 at 5:03 PM, John <> wrote:

> service smbd restart
>
> That should be
>
> ------------------------------
> *From:* John <>
> *To:* Main PLUG discussion list <>
> *Sent:* Sunday, March 4, 2012 4:32 PM
>
> *Subject:* Re: attach XP computer to network.
>
> Try:
>
> sudo service smb restart
>
> ------------------------------
> *From:* Michael Havens <>
> *To:* John <>; Main PLUG discussion list <
> >
> *Sent:* Sunday, March 4, 2012 4:06 PM
> *Subject:* Re: attach XP computer to network.
>
> so I got to:
>
>      service smb restart

>
> and the reply was:
>
>      bmike1@Michaels-PC:~$ sudo service smb restart
>      smb: unrecognized service
>      bmike1@Michaels-PC:~$ /etc/init.d/smb reload
>      bash: /etc/init.d/smb: No such file or directory
>      bmike1@Michaels-PC:~$

>
>
> so I guess this means samba isn't started?
> so I googled starting samba with these results:
>
>      bmike1@Michaels-PC:~$ sudo /etc/init.d/samba start
>      sudo: /etc/init.d/samba: command not found
>      bmike1@Michaels-PC:~$ sudo start /etc/init.d/samba start
>      start: Unknown job: /etc/init.d/samba
>      bmike1@Michaels-PC:~$ sudo start /etc/init.d/samba
>      start: Unknown job: /etc/init.d/samba
>      bmike1@Michaels-PC:~$

>
> I don't know what to say now! How does one start samba: What stat up file
> do I place this command in so I don't need to restart it every time I
> restart my computer?
>
> After scouring the internet I finally found the right commands (I think)!
> (at least it didn't complain when I issued them)
>
>      bmike1@Michaels-PC:~$ /usr/sbin/smbd -D
>      bmike1@Michaels-PC:~$ /usr/sbin/nmbd -D
>      bmike1@Michaels-PC:~$

>
> yipee! Now will it print?.... and NO. It doesn't. So I ran the previous
> two commands again but added the word start after the 'D's but that didn't
> help either.
> As for the instructions to add modify the user I'm not sure how you mean
> to do that. The user name that I deleted wasn't in the file so I don't know
> what to modify. The new user name is 'MarksPlace'. so would I just add
> these lines?
>
>      [MarksPlace]
>      comment = ????
>      path = ????
>      valid users = MarksPlace
>      public = yes
>      writable = yes

>
> is comment whatever I want to say?
> Is path the path on the ubuntu machine where I want it to store or write
> whatever it needs to store or write?
>
>
> --
> :-)~MIKE~(-:
>
>
> # sudo useradd $name
> # sudo smbpasswd -a $name
> # sudo service smb restart
>
> You might also want to verify your configuration (we are using a share
> called accounts below):
>
> Open /etc/samba/smb.conf file and add/modify share called [accounts]:
>
> [accounts]
> comment = Accounts data directory
> path = /data/accounts
> valid users = vivek raj joe
> public = no
> writable = yes
>
> If you edit anything, BE SURE TO SAVE ORIGINAL TO BACKUP FIRST, and of
> course reload the service with 'sudo service smb restart' after.
>
> And of course if any of these steps fails, please read and apply this link:
>
> Reference:
> http://www.cyberciti.biz/faq/adding-a-user-to-a-samba-smb-share/
>
> --
>
>
> --
> :-)~MIKE~(-:
>
>
>
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>
>
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>




--
:-)~MIKE~(-:
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss