[ubuntu] Samba Help - All setup but cannot access.


HOME ยป Ubuntu
Morning all,



Struggling with Samba a little and wondering if I could have some help
please. I am fairly new to Linux so please be easy on me. I have set
everything up and all the AD stuff seems setup and its connected to my
AD can list all users and groups etc etc. When I try to access a share
it just keeps asking for username and password Here is what is
contained in samba.log:




Code:


media@TVSERVER:/var/log/samba$ tail
-f samba.log

[2015/12/31 10:50:21.003577,  2]
../source3/smbd/server.c:437(remove_child_pid)

  Could not find child 1861 -- ignoring

[2015/12/31 10:51:21.049662,  2]
../source3/smbd/server.c:437(remove_child_pid)

  Could not find child 1864 -- ignoring

[2015/12/31 10:52:21.068647,  2]
../source3/smbd/server.c:437(remove_child_pid)

  Could not find child 1866 -- ignoring

[2015/12/31 10:53:21.095951,  2]
../source3/smbd/server.c:437(remove_child_pid)

  Could not find child 1867 -- ignoring

[2015/12/31 10:54:21.157882,  2]
../source3/smbd/server.c:437(remove_child_pid)

  Could not find child 1881 -- ignoring

[2015/12/31 10:55:21.219866,  2]
../source3/smbd/server.c:437(remove_child_pid)

  Could not find child 1883 -- ignoring

[2015/12/31 10:55:24.548859,  1]
../source3/param/loadparm.c:3178(lp_do_parameter)

  WARNING: The "idmap backend" option is deprecated />
[2015/12/31 10:55:24.549016,  1]
../source3/param/loadparm.c:3178(lp_do_parameter)

  WARNING: The "idmap uid" option is deprecated

[2015/12/31 10:55:24.549101,  1]
../source3/param/loadparm.c:3178(lp_do_parameter)

  WARNING: The "idmap gid" option is deprecated

[2015/12/31 10:55:24.549349,  2]
../source3/param/loadparm.c:3581(do_section)

  Processing section "[TV Shows]"

[2015/12/31 10:55:24.549512,  2]
../source3/param/loadparm.c:3581(do_section)

  Processing section "[Movies]"

[2015/12/31 10:55:24.549658,  2]
../source3/param/loadparm.c:3581(do_section)

  Processing section "[Photos]"

[2015/12/31 10:55:24.549965,  2]
../source3/lib/interface.c:341(add_interface)

  added interface eth0 ip=192.168.1.10 bcast=192.168.1.255
netmask=255.255.255.0

[2015/12/31 10:55:24.779827,  1]
../source3/param/loadparm.c:3178(lp_do_parameter)

  WARNING: The "idmap backend" option is deprecated />
[2015/12/31 10:55:24.779938,  1]
../source3/param/loadparm.c:3178(lp_do_parameter)

  WARNING: The "idmap uid" option is deprecated

[2015/12/31 10:55:24.780041,  1]
../source3/param/loadparm.c:3178(lp_do_parameter)

  WARNING: The "idmap gid" option is deprecated

[2015/12/31 10:55:24.780304,  2]
../source3/param/loadparm.c:3581(do_section)

  Processing section "[TV Shows]"

[2015/12/31 10:55:24.780447,  2]
../source3/param/loadparm.c:3581(do_section)

  Processing section "[Movies]"

[2015/12/31 10:55:24.780615,  2]
../source3/param/loadparm.c:3581(do_section)

  Processing section "[Photos]"

[2015/12/31 10:55:24.794157,  2]
../source3/smbd/service.c:418(create_connection_session_info)

  user 'MYDOMAINMYUSER' (from session setup) not permitted to
access this share (Movies)

[2015/12/31 10:55:24.794230,  1]
../source3/smbd/service.c:550(make_connection_snum)

  create_connection_session_info failed:
NT_STATUS_ACCESS_DENIED

[2015/12/31 10:55:24.800090,  2]
../source3/smbd/service.c:418(create_connection_session_info)

  user 'MYDOMAINMYUSER' (from session setup) not permitted to
access this share (Movies)

[2015/12/31 10:55:24.800174,  1]
../source3/smbd/service.c:550(make_connection_snum)

  create_connection_session_info failed:
NT_STATUS_ACCESS_DENIED

[2015/12/31 10:55:24.806124,  2]
../source3/smbd/service.c:418(create_connection_session_info)

  user 'MYDOMAINMYUSER' (from session setup) not permitted to
access this share (Movies)

[2015/12/31 10:55:24.806173,  1]
../source3/smbd/service.c:550(make_connection_snum)

  create_connection_session_info failed:
NT_STATUS_ACCESS_DENIED

[2015/12/31 10:55:24.809358,  2]
../source3/smbd/service.c:418(create_connection_session_info)

  user 'MYDOMAINMYUSER' (from session setup) not permitted to
access this share (Movies)

[2015/12/31 10:55:24.809402,  1]
../source3/smbd/service.c:550(make_connection_snum)

  create_connection_session_info failed:
NT_STATUS_ACCESS_DENIED

[2015/12/31 10:55:24.817287,  2]
../source3/smbd/service.c:418(create_connection_session_info)

  user 'MYDOMAINMYUSER' (from session setup) not permitted to
access this share (Movies)

[2015/12/31 10:55:24.817332,  1]
../source3/smbd/service.c:550(make_connection_snum)

  create_connection_session_info failed:
NT_STATUS_ACCESS_DENIED

[2015/12/31 10:55:24.821921,  2]
../source3/smbd/service.c:418(create_connection_session_info)

  user 'MYDOMAINMYUSER' (from session setup) not permitted to
access this share (Movies)

[2015/12/31 10:55:24.821964,  1]
../source3/smbd/service.c:550(make_connection_snum)

  create_connection_session_info failed:
NT_STATUS_ACCESS_DENIED

[2015/12/31 10:55:24.846209,  2]
../source3/smbd/service.c:418(create_connection_session_info)

  user 'MYDOMAINMYUSER' (from session setup) not permitted to
access this share (Movies)

[2015/12/31 10:55:24.846264,  1]
../source3/smbd/service.c:550(make_connection_snum)

  create_connection_session_info failed:
NT_STATUS_ACCESS_DENIED


Replaced my domain and username



Here is whats in mt smb.conf:




Code:


[global]

    # No .tld

    workgroup = MYDOMAIN

    # Active Directory System

    security = ads

    # With .tld

    realm = MYDOMAIN.CO.UK

    # Just a member server

    domain master = no

    local master = no

    preferred master = no

    # Disable printing error log messages when CUPS is not
installed.

    printcap name = /etc/printcap

    load printers = no

    # Works both in samba 3.2 and 3.6.

    idmap backend = tdb

    idmap uid = 10000-999999

    idmap gid = 10000-999999

    # no .tld

    idmap config MYDOMAIN:backend = rid

    idmap config MYDOMAIN:range = 10000-99999

    winbind enum users = yes

    winbind enum groups = yes

    # This way users log in with username instead of
username@example.org

    winbind use default domain = yes

    # Inherit groups in groups

    winbind nested groups = yes

    winbind refresh tickets = yes

    winbind offline logon = true

    # Becomes /home/example/username

    template homedir = /home/%D/%U

    # No shell access

    template shell = /bin/false

    client use spnego = yes

    client ntlmv2 auth = yes

    encrypt passwords = yes

    restrict anonymous = 2

    log file = /var/log/samba/samba.log

    log level = 2



[TV Shows]

    comment = TV Shows

    path = /media/Data/TV_SHOWS

    valid users = any

    writable = yes

    read only = no

    force create mode = 0660

    create mask = 0777

    directory mask = 0777

    force directory mode = 0770

    access based share enum = yes

    hide unreadable = yes

    browseable = yes




Please help! What else do you need to know?
I've setup my samba to be a fileserver for the windows machines on my
network. Just a network drive basicly.
The folder needs to be
writeable by guest users, however, if i could deny access from local
users on the server, that would be sweet.
I don't want users
ssh'ing into the machine to have access to the folder
/home/fileserver/, but everyone accessing the folder through Samba
should have write access.
Is this possible somehow?
Ubuntu
Basically, I recently reformatted the computer that I use as a
personal server - not entirely server oriented, so it is using
standard ubuntu desktop edition instead of server edition since I do
use it for playing videos on the TV as well. I had to reformat due to
removal of the old windows partition.
Before I had been using an
older version of ubuntu and the samba file sharing worked 100%
perfectly, but when I decided to set this one up, I chose to update to
the latest version, which is apparently giving windows trouble logging
in.
The problem in detail: When I attempt to access the Shared
folder one of two errors occurs, it either asks for my password
repeated
Ubuntu
guys,i need your help on how to install samba and how to setup my file
sharing...i have to setup the file sharing on 10 computewrs,also i
also have to enable network sharing on it..please help me on
this...tnx..
Ubuntu
Hello all, I've been searching through many a posts here and have
found some similar threads, but nothing thus far to solve my problem.
Here's the low down: I'm running Karmic, newly installed with the
lastest version of Samba. Here is my (very basic) smb.conf: />[global]
netbios name = MATTSERV-SERVER
guest
account = guest
writeable = yes
workgroup =
MSHOME
os level = 20
username map =
/etc/samba/user.map
encrypt passwords = true
create
mode = 777
public = yes
directory mode = 777 />[share]
path = /home/mattserv/Shared
comment = Shared
files
Ri
Ubuntu
Hi, still green so don't hurt me :D
I'm currently setting up a
file server and am testing configs on a old system before it gets
here. I currently through trile and error got samba working with
user/pass. along with ssh somewhat settup.
Current setup
basically has just xubunto installed + samba and open_ssh. What I
would like to do is set is have the samba shares as read only unless
the user specifically requests write access to be allowed on the
shares. eg. they use putty to ssh into the box with there
username/pass then run some kind of command. (which would then give
their username write access to the samba shares they have access
to)
Also if possible I
Ubuntu
Morning all,



Struggling with Samba a little and wondering if I could have some help
please. I am fairly new to Linux so please be easy on me. I have set
everything up and all the AD stuff seems setup and its connected to my
AD can list all users and groups etc etc. When I try to access a share
it just keeps asking for username and password Here is what is
contained in samba.log:




Code:


media@TVSERVER:/var/log/samba$ tail
-f samba.log

[2015/12/31 10:50:21.003577,  2]
../source3/smbd/server.c:437(remove_child_pid)

  Could not find child 1861 -- ignoring

[2015/12/31 10:51:21.049662,  2]
../source3/smbd/server.c:437(remove_child_pid)

  Could not find child 1864 -- ignoring

[2015/12/31 10:52:21.068647,  2]
../source3/smbd/server.c:437(remove_child_pid)

  Could not find child 1866 -- ignoring

[2015/12/31 10:53:21.095951,  2]
../source3/smbd/server.c:437(remove_child_pid)

  Could not find child 1867 -- ignoring

[2015/12/31 10:54:21.157882,  2]
../source3/smbd/server.c:437(remove_child_pid)

  Could not find child 1881 -- ignoring

[2015/12/31 10:55:21.219866,  2]
../source3/smbd/server.c:437(remove_child_pid)

  Could not find child 1883 -- ignoring

[2015/12/31 10:55:24.548859,  1]
../source3/param/loadparm.c:3178(lp_do_parameter)

  WARNING: The "idmap backend" option is deprecated />
[2015/12/31 10:55:24.549016,  1]
../source3/param/loadparm.c:3178(lp_do_parameter)

  WARNING: The "idmap uid" option is deprecated

[2015/12/31 10:55:24.549101,  1]
../source3/param/loadparm.c:3178(lp_do_parameter)

  WARNING: The "idmap gid" option is deprecated

[2015/12/31 10:55:24.549349,  2]
../source3/param/loadparm.c:3581(do_section)

  Processing section "[TV Shows]"

[2015/12/31 10:55:24.549512,  2]
../source3/param/loadparm.c:3581(do_section)

  Processing section "[Movies]"

[2015/12/31 10:55:24.549658,  2]
../source3/param/loadparm.c:3581(do_section)

  Processing section "[Photos]"

[2015/12/31 10:55:24.549965,  2]
../source3/lib/interface.c:341(add_interface)

  added interface eth0 ip=192.168.1.10 bcast=192.168.1.255
netmask=255.255.255.0

[2015/12/31 10:55:24.779827,  1]
../source3/param/loadparm.c:3178(lp_do_parameter)

  WARNING: The "idmap backend" option is deprecated />
[2015/12/31 10:55:24.779938,  1]
../source3/param/loadparm.c:3178(lp_do_parameter)

  WARNING: The "idmap uid" option is deprecated

[2015/12/31 10:55:24.780041,  1]
../source3/param/loadparm.c:3178(lp_do_parameter)

  WARNING: The "idmap gid" option is deprecated

[2015/12/31 10:55:24.780304,  2]
../source3/param/loadparm.c:3581(do_section)

  Processing section "[TV Shows]"

[2015/12/31 10:55:24.780447,  2]
../source3/param/loadparm.c:3581(do_section)

  Processing section "[Movies]"

[2015/12/31 10:55:24.780615,  2]
../source3/param/loadparm.c:3581(do_section)

  Processing section "[Photos]"

[2015/12/31 10:55:24.794157,  2]
../source3/smbd/service.c:418(create_connection_session_info)

  user 'MYDOMAINMYUSER' (from session setup) not permitted to
access this share (Movies)

[2015/12/31 10:55:24.794230,  1]
../source3/smbd/service.c:550(make_connection_snum)

  create_connection_session_info failed:
NT_STATUS_ACCESS_DENIED

[2015/12/31 10:55:24.800090,  2]
../source3/smbd/service.c:418(create_connection_session_info)

  user 'MYDOMAINMYUSER' (from session setup) not permitted to
access this share (Movies)

[2015/12/31 10:55:24.800174,  1]
../source3/smbd/service.c:550(make_connection_snum)

  create_connection_session_info failed:
NT_STATUS_ACCESS_DENIED

[2015/12/31 10:55:24.806124,  2]
../source3/smbd/service.c:418(create_connection_session_info)

  user 'MYDOMAINMYUSER' (from session setup) not permitted to
access this share (Movies)

[2015/12/31 10:55:24.806173,  1]
../source3/smbd/service.c:550(make_connection_snum)

  create_connection_session_info failed:
NT_STATUS_ACCESS_DENIED

[2015/12/31 10:55:24.809358,  2]
../source3/smbd/service.c:418(create_connection_session_info)

  user 'MYDOMAINMYUSER' (from session setup) not permitted to
access this share (Movies)

[2015/12/31 10:55:24.809402,  1]
../source3/smbd/service.c:550(make_connection_snum)

  create_connection_session_info failed:
NT_STATUS_ACCESS_DENIED

[2015/12/31 10:55:24.817287,  2]
../source3/smbd/service.c:418(create_connection_session_info)

  user 'MYDOMAINMYUSER' (from session setup) not permitted to
access this share (Movies)

[2015/12/31 10:55:24.817332,  1]
../source3/smbd/service.c:550(make_connection_snum)

  create_connection_session_info failed:
NT_STATUS_ACCESS_DENIED

[2015/12/31 10:55:24.821921,  2]
../source3/smbd/service.c:418(create_connection_session_info)

  user 'MYDOMAINMYUSER' (from session setup) not permitted to
access this share (Movies)

[2015/12/31 10:55:24.821964,  1]
../source3/smbd/service.c:550(make_connection_snum)

  create_connection_session_info failed:
NT_STATUS_ACCESS_DENIED

[2015/12/31 10:55:24.846209,  2]
../source3/smbd/service.c:418(create_connection_session_info)

  user 'MYDOMAINMYUSER' (from session setup) not permitted to
access this share (Movies)

[2015/12/31 10:55:24.846264,  1]
../source3/smbd/service.c:550(make_connection_snum)

  create_connection_session_info failed:
NT_STATUS_ACCESS_DENIED


Replaced my domain and username



Here is whats in mt smb.conf:




Code:


[global]

    # No .tld

    workgroup = MYDOMAIN

    # Active Directory System

    security = ads

    # With .tld

    realm = MYDOMAIN.CO.UK

    # Just a member server

    domain master = no

    local master = no

    preferred master = no

    # Disable printing error log messages when CUPS is not
installed.

    printcap name = /etc/printcap

    load printers = no

    # Works both in samba 3.2 and 3.6.

    idmap backend = tdb

    idmap uid = 10000-999999

    idmap gid = 10000-999999

    # no .tld

    idmap config MYDOMAIN:backend = rid

    idmap config MYDOMAIN:range = 10000-99999

    winbind enum users = yes

    winbind enum groups = yes

    # This way users log in with username instead of
username@example.org

    winbind use default domain = yes

    # Inherit groups in groups

    winbind nested groups = yes

    winbind refresh tickets = yes

    winbind offline logon = true

    # Becomes /home/example/username

    template homedir = /home/%D/%U

    # No shell access

    template shell = /bin/false

    client use spnego = yes

    client ntlmv2 auth = yes

    encrypt passwords = yes

    restrict anonymous = 2

    log file = /var/log/samba/samba.log

    log level = 2



[TV Shows]

    comment = TV Shows

    path = /media/Data/TV_SHOWS

    valid users = any

    writable = yes

    read only = no

    force create mode = 0660

    create mask = 0777

    directory mask = 0777

    force directory mode = 0770

    access based share enum = yes

    hide unreadable = yes

    browseable = yes




Please help! What else do you need to know?
Ubuntu

- Technology - Languages
+ Webmasters
+ Development
+ Development Tools
+ Internet
+ Mobile Programming
+ Linux
+ Unix
+ Apple
+ Ubuntu
+ Mobile & Tablets
+ Databases
+ Android
+ Network & Servers
+ Operating Systems
+ Coding
+ Design Software
+ Web Development
+ Game Development
+ Access
+ Excel
+ Web Design
+ Web Hosting
+ Web Site Reviews
+ Domain Name
+ Information Security
+ Software
+ Computers
+ Electronics
+ Hardware
+ Windows
+ PHP
+ ASP/ASP.Net
+ C/C++/C#
+ VB/VB.Net
+ JAVA
+ Javascript
+ Programming
Privacy Policy - Copyrights Notice - Feedback - Report Violation 2018 © BigHow