Page 81 of 106 FirstFirst ... 3171798081828391 ... LastLast
Results 801 to 810 of 1059

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

  1. #801
    Join Date
    Nov 2007
    Beans
    101

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

    oh yes of course ... every user has their own home directory... their will be one directory accessable to a select number of users... Mainly me and my dad for transfering files back and forth.... but limited to just him and I...

    thanks for your help again great how to...

    Rob

  2. #802
    Join Date
    Apr 2009
    Beans
    2

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

    Hi StormBringer,
    I went through your HOWTO exactly as you had it, and I"m still not able to gain access to my linux box from Windows. Upon the last step where you had
    "With WINS disabled:
    - Click "START"
    - Right-click "My Computer"
    - Select "Map network drive"
    - Choose the drive letter
    - Type \\<ip-address>\MyFiles
    NOTE: To find out the ip-address of your Linux box type "ifconfig" inside a terminal and find the ip for the correct interface (i.e. eth0). Don't forget to adjust the sharename to the name you chose above.
    - Click "Finish""
    I receive an error message stating "The mapped network drive could not be created because the following error has occured: The specified network name is no longer available"

    Now in my set up here is my samba file:
    [global]
    ; General server settings
    netbios name = ken-linux-desktop
    server string =
    workgroup = CTECH
    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 = no

    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

    [MyFiles]
    path = /home/samba/
    browseable = yes
    read only = no
    guest ok = no
    create mask = 0644
    directory mask = 0755
    force user = ken
    force group = ken
    ================================================== =======
    Any thoughts or ideas on how I may have my samba file setup? Or what I may be doing worng. Thanks

  3. #803
    Join Date
    Mar 2009
    Beans
    3

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

    Thank you for this. I created a thread about a month ago (then some crap came up), but I never got it working. Did it again from scratch, and this worked great.

  4. #804
    Join Date
    Mar 2006
    Location
    Kitakyushu Japan
    Beans
    9,361
    Distro
    Ubuntu 11.04 Natty Narwhal

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

    Quote Originally Posted by scorpion210 View Post
    Any thoughts or ideas on how I may have my samba file setup? Or what I may be doing worng. Thanks
    Try this smb.conf:
    Code:
    [global]
        ; General server settings
        netbios name = ken-linux-desktop
        workgroup = CTECH
        socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=8192 SO_SNDBUF=8192
    
        passdb backend = tdbsam
        security = user
        name resolve order = hosts wins bcast
    
        wins support = no
    
        printing = CUPS
        printcap name = CUPS
    
        syslog = 1
        syslog only = yes
    
    [MyFiles]
        path = /home/samba/
        browseable = yes
        read only = no
        guest ok = no
        create mask = 0644
        directory mask = 0755
        force user = ken

  5. #805
    Join Date
    Nov 2007
    Location
    Netherlands, Leiden
    Beans
    16
    Distro
    Ubuntu 8.10 Intrepid Ibex

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

    Hey all,

    I've managed to get Samba up and running.
    What I want to do is this.
    I have a harddrive with Ubuntu 8.10 server on it.
    "parted" says:
    Code:
    Model: ATA Maxtor 6Y160P0 (scsi)
    Disk /dev/sda: 164GB
    Sector size (logical/physical): 512B/512B
    Partition Table: msdos
    
    Number  Start   End    Size   Type      File system  Flags
     1      32.3kB  163GB  163GB  primary   ext3         boot
     2      163GB   164GB  757MB  extended
     5      163GB   164GB  757MB  logical   linux-swap
    Windows says my share is 149 GB big.
    What I want to do it make one piece of my harddrive, the lastmost part, a chuck of 140 GB which I can mount under my encrypted folder. The rest I want to leave for the OS, logs and whatnot.

    The 140 GB piece is something I want to use as a samba share, a place where I can download media to (from linux itself) and share that via Samba. Also, I want to use more than one useraccount since I want to share the drive with my housemates.

    Finally, I want every user to have his/her own little folder which is read/write only for that user, and have all other folders and the main root folder of the share be read-only for everyone but myself. The only real unix user is the one I created upon installl, I want all rights across the entire Samba Share.

    How do I set this up and more importantly, can I still set this up?

  6. #806
    Join Date
    Apr 2009
    Beans
    2

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

    I figured out what the issue was. For WINS I had it set to NO. I changed that to yes, then used the \\ipaddress\MyFiles\ when I mapped it on my WINXP box. Then had to allow Firestarter Firewall to accept incoming connections from the WINXP box. Thank you StormBringer for your HOWTO. Thank you.

  7. #807
    Join Date
    Nov 2007
    Beans
    87
    Distro
    Ubuntu 12.04 Precise Pangolin

    Red face Nt_status_no_such_user

    Hi, I had a problem connecting to the file share. Printing and listing of the resources worked fine.

    I kept getting the windows error 2221 "user name not found". And in the /var/log/samba/log.wb-KUBUNTU there was this error
    [2009/04/27 08:11:41, 0] winbindd/winbindd_passdb.c:sid_to_name(159)
    Possible deadlock: Trying to lookup SID S-XXXXXXX with passdb backend

    I had to remove the winbind as discussed here
    http://ubuntuforums.org/archive/index.php/t-654699.html

    It can not be the real solution though. Just dumping the winbind?

  8. #808
    Join Date
    May 2009
    Beans
    1

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

    Ok, I followed the guide and got it working sort of. Im running 9.04. I was under the impression i could just right click and share, but I cant do that with a whole drive it seems.

    If i use any of the windows PCs and login with my Ubuntu U/N and P/W access is granted.

    Problem is i have 2 drives, and I want anyone on the network to have access to them without having to type in anything. Is this even possible?
    They are separate drives and I dont care what anyone does to them.

    I stopped doing anything after editing the smb.conf
    The terminal stuff didnt seem to apply to what i was doing.. Should I keep going?

    Code:
    [global]
        ; General server settings
        netbios name = Share-PC
        server string =
        workgroup = JAPAN
        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
    
    [Sagittaron]
        path = /media/sdc1
        read only = no
        browsable = yes
        public = yes
        guest ok = yes
    
    [Music]
            path = /media/sdd1
            read only = no
            browsable = yes
            public = yes
        guest ok = yes
    Last edited by Propaganda Panda; May 4th, 2009 at 01:27 AM.

  9. #809
    Join Date
    Aug 2008
    Beans
    15

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

    I need help. After entering the information for the Map network drive in the windows xp computer that's connected to the printer, I am prompted for a username and password. I enter the hostname of my laptop, then it gets changed to "ip-address/hostname". I enter the password of my laptop, but it doesn't work. Does anyone else get this?

  10. #810
    Join Date
    May 2007
    Beans
    75

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

    Hi, I've been trying on and off for some time to get win98 networkneighborhood up on samba. I've got my three ubuntu machines to access my main 500 gig drive on my main system but not from my main system to the others. Win98 is a loss. Why do I have to manually assign IPs in place of having the router do it automatically? When all my systems were win98 that was okay! Some times I can see my win98 machine but not open the files from any ubuntu machine. I'm quite lost for something that was really simple on win98. The more I read the more I try and I think I need to do a clean all and start over from zero. Any ideas? Ian.

Page 81 of 106 FirstFirst ... 3171798081828391 ... 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
  •