Hello.
I can't apply Permission to Samba share via AD users.Please looking at below link and it is my Samba configure :
http://pastebin.com/YZykxPhjI
I change SElinux like below too :
chcon -t samba_share_t -R /path/to/shareand
then :
# chgrp -R "domain users" demo/
# chmod -R g+rw demo/
but not worked Any idea?
I must tell you that "testparm -s" show me an error like below :
[root@printmah ~]# testparm -s
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
params.c:Parameter() - Ignoring badly formed line in configuration file: privileges
Processing section "[test]"
Processing section "[Demo]"
Loaded services file OK.
Server role: ROLE_DOMAIN_MEMBER
Any idea?
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
I can't apply Permission to Samba shares via Active director
Re: I can't apply Permission to Samba shares via Active dire
It is doubtful you will get a useful response.
Your pastebin has been removed.
Do you mean adduser?
From testparm, i believe this is the only error:
Your pastebin has been removed.
Do you mean adduser?
From testparm, i believe this is the only error:
Code: Select all
params.c:Parameter() - Ignoring badly formed line in configuration file: privileges
800mhz, 512mb ram, dCore-jessie (Tiny Core with Debian Jessie packages) with BusyBox and Fluxbox.
Most don't have computer access, reuse or pay forward an old computer.
Most don't have computer access, reuse or pay forward an old computer.
Re: I can't apply Permission to Samba shares via Active dire
I used "wbinfo --group-info JASONDOMAINI\\linux" and the result is :
linux29281:jason
I mean that it worked correctly.
I use Windows OS and my AD username for login into system but as I said the problem is that when I want to open my share it just ask me username and password and repeat it. I can login to Linux via AD users too and it worked very nice.
I paste my directory owenership here :
[root@printmah samba]# ls -l
total 4
drwxrwxr-x+ 2 root linux 6 Feb 20 05:13 demo
[root@printmah samba]#
Is it Wrong?
I define a Log Level? I used below commands :
# Debug logging information
log level = 2
log file = /var/log/samba.log.%m
max log size = 50
debug timestamp = yes
Is it OK?
After it when I browse my share and check log I see :
[2015/03/11 01:58:28.161735, 2] ../source3/param/loadparm.c:543(max_open_files)
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
[2015/03/11 01:58:28.161933, 1] ../lib/util/params.c:350(Parameter)
params.c:Parameter() - Ignoring badly formed line in configuration file: privileges
[2015/03/11 01:58:28.162219, 2] ../source3/lib/interface.c:341(add_interface)
added interface enp0s3 ip=172.30.10.32 bcast=172.30.10.63 netmask=255.255.255.192
[2015/03/11 01:58:28.162324, 2] ../source3/lib/interface.c:341(add_interface)
added interface enp0s3 ip=172.30.10.32 bcast=172.30.10.63 netmask=255.255.255.192
[2015/03/11 01:58:28.193441, 1] ../source3/lib/tdb_validate.c:480(tdb_validate_and_backup)
tdb '/var/lib/samba/winbindd_cache.tdb' is valid
[2015/03/11 01:58:28.229333, 1] ../source3/lib/tdb_validate.c:490(tdb_validate_and_backup)
Created backup '/var/lib/samba/winbindd_cache.tdb.bak' of tdb '/var/lib/samba/winbindd_cache.tdb'
[2015/03/11 01:58:28.229794, 2] ../source3/winbindd/winbindd_util.c:255(add_trusted_domain)
Added domain BUILTIN (null) S-1-5-32
[2015/03/11 01:58:28.229871, 2] ../source3/winbindd/winbindd_util.c:255(add_trusted_domain)
Added domain PRINTMAH (null) S-1-5-21-2541196549-2125853042-4012361048
[2015/03/11 01:58:28.229950, 2] ../source3/winbindd/winbindd_util.c:255(add_trusted_domain)
Added domain JASONDOMAINI JASONDOMAIN.JJ S-1-5-21-3570103376-2371597222-4282842042
[2015/03/11 01:58:28.230390, 0] ../lib/util/become_daemon.c:136(daemon_ready)
STATUS=daemon 'winbindd' finished starting up and ready to serve connectionsAdded domain ADVER adver.JASONDOMAIN.JJ S-1-5-21-1472177942-2601914714-575203747
[2015/03/11 01:58:33.264219, 0] ../source3/libsmb/cliconnect.c:1843(cli_session_setup_spnego_send)
Kinit failed: Clock skew too great
[2015/03/11 02:00:01.915402, 2] ../lib/util/modules.c:191(do_smb_load_module)
Module 'ad' loaded
What is my problem ?
Thank you.
linux29281:jason
I mean that it worked correctly.
I use Windows OS and my AD username for login into system but as I said the problem is that when I want to open my share it just ask me username and password and repeat it. I can login to Linux via AD users too and it worked very nice.
I paste my directory owenership here :
[root@printmah samba]# ls -l
total 4
drwxrwxr-x+ 2 root linux 6 Feb 20 05:13 demo
[root@printmah samba]#
Is it Wrong?
I define a Log Level? I used below commands :
# Debug logging information
log level = 2
log file = /var/log/samba.log.%m
max log size = 50
debug timestamp = yes
Is it OK?
After it when I browse my share and check log I see :
[2015/03/11 01:58:28.161735, 2] ../source3/param/loadparm.c:543(max_open_files)
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
[2015/03/11 01:58:28.161933, 1] ../lib/util/params.c:350(Parameter)
params.c:Parameter() - Ignoring badly formed line in configuration file: privileges
[2015/03/11 01:58:28.162219, 2] ../source3/lib/interface.c:341(add_interface)
added interface enp0s3 ip=172.30.10.32 bcast=172.30.10.63 netmask=255.255.255.192
[2015/03/11 01:58:28.162324, 2] ../source3/lib/interface.c:341(add_interface)
added interface enp0s3 ip=172.30.10.32 bcast=172.30.10.63 netmask=255.255.255.192
[2015/03/11 01:58:28.193441, 1] ../source3/lib/tdb_validate.c:480(tdb_validate_and_backup)
tdb '/var/lib/samba/winbindd_cache.tdb' is valid
[2015/03/11 01:58:28.229333, 1] ../source3/lib/tdb_validate.c:490(tdb_validate_and_backup)
Created backup '/var/lib/samba/winbindd_cache.tdb.bak' of tdb '/var/lib/samba/winbindd_cache.tdb'
[2015/03/11 01:58:28.229794, 2] ../source3/winbindd/winbindd_util.c:255(add_trusted_domain)
Added domain BUILTIN (null) S-1-5-32
[2015/03/11 01:58:28.229871, 2] ../source3/winbindd/winbindd_util.c:255(add_trusted_domain)
Added domain PRINTMAH (null) S-1-5-21-2541196549-2125853042-4012361048
[2015/03/11 01:58:28.229950, 2] ../source3/winbindd/winbindd_util.c:255(add_trusted_domain)
Added domain JASONDOMAINI JASONDOMAIN.JJ S-1-5-21-3570103376-2371597222-4282842042
[2015/03/11 01:58:28.230390, 0] ../lib/util/become_daemon.c:136(daemon_ready)
STATUS=daemon 'winbindd' finished starting up and ready to serve connectionsAdded domain ADVER adver.JASONDOMAIN.JJ S-1-5-21-1472177942-2601914714-575203747
[2015/03/11 01:58:33.264219, 0] ../source3/libsmb/cliconnect.c:1843(cli_session_setup_spnego_send)
Kinit failed: Clock skew too great
[2015/03/11 02:00:01.915402, 2] ../lib/util/modules.c:191(do_smb_load_module)
Module 'ad' loaded
What is my problem ?
Thank you.