Page 96 of 106 FirstFirst ... 46869495969798 ... LastLast
Results 951 to 960 of 1059

Thread: HOWTO: Setup Samba peer-to-peer with Windows

  1. #951
    Join Date
    Jun 2010
    Beans
    1

    Re: HOWTO: Setup Samba peer-to-peer with Windows

    I've done your sig6 samba config and STILL I can't get Dolphin to get past smb:/WORKGROUP/ without asking for authorization (user/password).

    In Linux Mint Helena KDE4.2 it all works great.
    'findsmb' works fine and sees our entire network. (small LAN about a dozen machines)

    But in Sidux 2009-04(dual-boot on same machine) samba just won't cooperate. findsmb finds nothing! (nmblookup seems to NOT be installed, but I can't figure out why not) samba, smbclient, smbfs, winbind are all installed.

    If I use the IP to one of our servers e.g. smb:/192.168.1.10/ I get all the directories and have complete access, no questions asked. But smb:/workgroup/ asks for authorization and won't let me in even with root/password of the server!

    Any hints?

    Keith C.

  2. #952
    Join Date
    Oct 2009
    Location
    Slovakia
    Beans
    91
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: HOWTO: Setup Samba peer-to-peer with Windows

    Hi! I wanted to install and configure samba as it is written in this how-to, but my first problem - when I wanted to stop the samba, it wrote me: "command not found".
    Code:
    sudo /etc/init.d/samba stop
    sudo: /etc/init.d/samba command not found
    Can anybody write me what's wrong?

  3. #953
    Join Date
    Dec 2009
    Beans
    6,767

    Re: HOWTO: Setup Samba peer-to-peer with Windows

    2 things wrong ( a relative term. remember this is a very old HowTo ).

    (1) If your using Ubuntu 10.04 the "samba" service no longer exists. Ubuntu has turned back the clock and once again separates the old samba service into it's component parts: nmbd and smbd.

    (2) smbd is no longer in /etc/init.d

    So for you, to stop samba you need to do this:
    Code:
    sudo service smbd stop

  4. #954
    Join Date
    Oct 2009
    Location
    Slovakia
    Beans
    91
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: HOWTO: Setup Samba peer-to-peer with Windows

    Thanks for help, I think it would be good to edit it in the tutorial in order to avoid problems for other people.

    I would like to ask another (noob) question: what should I do to be able to transfer files with samba between 2 PC's both with ubuntu?

  5. #955
    Join Date
    Nov 2008
    Beans
    3

    Re: HOWTO: Setup Samba peer-to-peer with Windows

    Wonderful effort.

    Would like you to add these few lines as well if you think it makes sense.

    If there is a permission issue while trying to access from Windows, do the below -

    : Add "usershare owner only = False" to global section in smb.conf
    : Then rightclick the folder '/home/samba' (or whichever share that was mounted) -> Properties -> 'Share' tab to enable the share


  6. #956
    Join Date
    Nov 2008
    Beans
    3

    Re: HOWTO: Setup Samba peer-to-peer with Windows

    Re: HOWTO: Setup Samba peer-to-peer with Windows
    Thanks for help, I think it would be good to edit it in the tutorial in order to avoid problems for other people.

    I would like to ask another (noob) question: what should I do to be able to transfer files with samba between 2 PC's both with ubuntu?


    Hi gabe,
    I think the answer to transfering files lies in enabling the read/write access on both the PC's.
    This can be easily done by doing 'chmod 0777 /home/samba (viz your share folder)

  7. #957
    Join Date
    Dec 2009
    Beans
    6,767

    Re: HOWTO: Setup Samba peer-to-peer with Windows

    Quote Originally Posted by tibguyak View Post
    Wonderful effort.

    Would like you to add these few lines as well if you think it makes sense.

    If there is a permission issue while trying to access from Windows, do the below -

    : Add "usershare owner only = False" to global section in smb.conf
    : Then rightclick the folder '/home/samba' (or whichever share that was mounted) -> Properties -> 'Share' tab to enable the share

    You're mixing different samba methods. This HowTo is on Classic-shares. "usershare owner only = False" is usershare or Nautilus-share and is invoked using nautilus itself.

    This HowTo will create a share definition at /etc/samba/smb.conf

    Nautilus-share ( or usershares ) will create a share definition at /var/lib/samba/usershares

    It's best not to use both methods on the same target folder.

  8. #958
    Join Date
    Apr 2009
    Location
    Saitama, Japan
    Beans
    132
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOWTO: Setup Samba peer-to-peer with Windows

    I managed to get a file server up and it is *working fine but it is not doing what I want it to do. I will explain.

    From my Windows pc, I can view my mounted file via windows explorer by typing in \\serverip\filename
    However, I would like to browse my files via the IE browser. When I type in \\serverip\filename, it sends me to my website page instead.

    I am not sure what to do at this point to fix this.

  9. #959
    Join Date
    Jul 2010
    Beans
    3
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOWTO: Setup Samba peer-to-peer with Windows

    Ok i am sorry if this was answered or solved already but i must leave for work soon and dont have time to read all the comments.

    i have ubuntu running on my desktop and windows vista running on a laptop when i try to connect to my linux desktop from my vista laptop it asks for a username and password when i type in the user name and password i configured in samba (which the same username and password combo that is used for my ubuntu account my vista account and my samba account) it tells me it is wrong but when i go to type it again incase i misspled it it put the name of the windows computer infront of my user name so instead of " kodie " as the user name it fills in " Ed\kodie " for me (Ed is the name of the computer) is that the problem and if so how do i fix it
    and here is some stuff to look over


    [global]
    ; General server settings
    netbios name = campbell
    server string =
    workgroup = WORKGROUP1
    announce version = 5.0
    socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=8192 SO_SNDBUF=8192

    passdb backend = tdbsam
    security = user
    null passwords = true
    username map = /etc/samba/smbusers
    name resolve order = hosts wins bcast

    wins support = yes

    printing = CUPS
    printcap name = CUPS

    syslog = 1
    syslog only = yes

    ; NOTE: If you need access to the user home directories uncomment the
    ; lines below and adjust the settings to your hearts content.
    ;[homes]
    ;valid users = %S
    ;create mode = 0600
    ;directory mode = 0755
    ;browseable = no
    ;read only = no
    ;veto files = /*.{*}/.*/mail/bin/

    ; NOTE: Only needed if you run samba as a primary domain controller.
    ; Not needed as this config doesn't cover that matter.
    ;[netlogon]
    ;path = /var/lib/samba/netlogon
    ;admin users = Administrator
    ;valid users = %U
    ;read only = no

    ; NOTE: Again - only needed if you're running a primary domain controller.
    ;[Profiles]
    ;path = /var/lib/samba/profiles
    ;valid users = %U
    ;create mode = 0600
    ;directory mode = 0700
    ;writeable = yes
    ;browseable = no

    ; NOTE: Inside this place you may build a printer driver repository for
    ; Windows - I'll cover this topic in another HOWTO.
    [print$]
    path = /var/lib/samba/printers
    browseable = yes
    guest ok = yes
    read only = yes
    write list = root
    create mask = 0664
    directory mask = 0775

    [printers]
    path = /tmp
    printable = yes
    guest ok = yes
    browseable = no

    ; Uncomment if you need to share your CD-/DVD-ROM Drive
    ;[DVD-ROM Drive]
    ;path = /media/cdrom
    ;browseable = yes
    ;read only = yes
    ;guest ok = yes

    [samba]
    path = /home/samba
    browseable = yes
    read only = no
    guest ok = no
    create mask = 0644
    directory mask = 0755
    force user = kodie
    force group = kodie









    kodie@kodie-desktop:~$ smbclient -L localhost -U%
    Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.4.7]

    Sharename Type Comment
    --------- ---- -------
    MyFiles Disk
    print$ Disk
    psc-1310-series- Printer hp psc 1310 series
    IPC$ IPC IPC Service ()
    Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.4.7]

    Server Comment
    --------- -------
    ED-PC
    KODIE-DESKTOP kodie-desktop server (Samba, Ubuntu)

    Workgroup Master
    --------- -------
    MSHOME ACER-6E40E97492
    WORKGROUP KODIE-DESKTOP


    let me know if you need anything else

  10. #960
    Join Date
    Jan 2008
    Beans
    25

    Unhappy Re: HOWTO: Setup Samba peer-to-peer with Windows

    Hi is there a link to a tutorial for Ubuntu 10.04 (lucid)??

    I attempted to follow this one: http://reformedmusings.wordpress.com...cid-10-04-lts/

    But I was unsuccessful. I have been trying to share a Music folder that is in a NTFS partition over the network.
    When I run the testparm command this is what I get:

    Code:
    *****@Engel:~$ sudo testparm
    Load smb config files from /etc/samba/smb.conf
    rlimit_max: rlimit_max (1024) below minimum Windows limit (16384)
    Processing section "[printers]"
    Processing section "[print$]"
    Processing section "[Music]"
    Loaded services file OK.
    Server role: ROLE_STANDALONE
    Press enter to see a dump of your service definitions
    
    [global]
    	server string = %h server (Samba, Ubuntu)
    	security = SHARE
    	map to guest = Bad User
    	obey pam restrictions = Yes
    	pam password change = Yes
    	passwd program = /usr/bin/passwd %u
    	passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
    	unix password sync = Yes
    	syslog = 0
    	log file = /var/log/samba/log.%m
    	max log size = 1000
    	dns proxy = No
    	wins support = Yes
    	usershare allow guests = Yes
    	usershare owner only = No
    	panic action = /usr/share/samba/panic-action %d
    
    [printers]
    	comment = All Printers
    	path = /var/spool/samba
    	create mask = 0700
    	printable = Yes
    	browseable = No
    	browsable = No
    
    [print$]
    	comment = Printer Drivers
    	path = /var/lib/samba/printers
    
    [Music]
    	comment = My Music
    	path = /media/DATA/Music
    	guest ok = Yes
    *****@Engel:~$
    The tutorial mentioned that I had to change the folder permissions according to Samba. In my case I want to have other computers to access/read only. I could not change the ownership from root to mine own, but it is set to have all people create and delete files.

    When I go to a Windows 7 machine and click to see the network, my computer doesn't even appear on the list...

    Could someone help me share this folder over the network?
    Attached is my /etc/samba/smb.conf file
    Thanks

    Update: I found out what was wrong... the firewall was rejecting any computer to access my shared folder...
    Attached Files Attached Files
    Last edited by Beholder87; August 4th, 2010 at 07:43 PM.

Page 96 of 106 FirstFirst ... 46869495969798 ... LastLast

Bookmarks

Posting Permissions

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