List Info

Thread: Samba access issue




Samba access issue
country flaguser name
United States
2007-02-28 11:59:35
Hi all,

I have a bizarre situation with Samba...  I have samba setup
using
"security=ADS", grabbing permission from Windows
2003 AD.  I have
winbind service running.

I setup 3 shares already and they're all working perfectly..
And to
change users, all I do is change them in the windows AD and
it will
reflect it in samba... No problem.

Last week, I setup another share and created a group in AD
with 6 users
for access (same procedure as the other 3 shares).  Only 4
users have
access.  When the other 2 users tried to access the share,
it'll
sometimes come up with a login box and no matter what I put
it, it will
not access.  And sometimes it'll say "does not have
permission to access
this resource".

Anyone have any idea why it's doing that?  Is it because of
samba
itself?  Or could the cause be in windows AD?

My smb.conf config is below:

[Global]
        log file = /var/log/samba/%m.log
        idmap gid = 15000-20000
        preserve case = No
        socket options = TCP_NODELAY SO_RCVBUF=8192
SO_SNDBUF=8192
        default case = upper
        wins server = 192.168.1.3
        interfaces = 192.168.1.16/24
        realm = COMPANY.COM
        template shell = /bin/bash
        dns proxy = No
        cups options = raw
        server string = Samba Server
        idmap uid = 15000-20000
        password server = 192.168.1.3
        template homedir = /u/idol
        workgroup = COMPANY
        printcap name = /etc/printcap
        security = ADS
        short preserve case = No
        winbind separator = +
        max log size = 50

[public]
        comment = Public Folder
        writeable = yes
        public = yes
        create mode = 0666
        path = /share/public
        default case = upper
        directory mode = 666

[share_csv]
        comment = Limit Share
        valid users = "+COMPANY+Samba -
(share-csv)"
        writeable = yes
        create mode = 0666
        path = /share/limit_share
        directory mode = 666

[share_csv_2]
        comment = Limit Share 2
        valid users = "+COMPANY+Samba -
(share-csv-2)"
        writeable = yes
        create mode = 0666
        path = /share/limit_share_2
        directory mode = 666

[month_end]
        comment = Month End Folder
        valid users = "+COMPANY+Samba -
(month-end)"
        writeable = yes
        create mode = 0666
        path = /share/month_end
        directory mode = 666


-hobs

--
nahant-list mailing list
nahant-listredhat.com
h
ttps://www.redhat.com/mailman/listinfo/nahant-list

Re: Samba access issue
country flaguser name
United States
2007-02-28 12:14:37
On Wed, 2007-02-28 at 09:59 -0800, Michael Chien wrote:
> Last week, I setup another share and created a group in
AD with 6 users
> for access (same procedure as the other 3 shares). 
Only 4 users have
> access.  When the other 2 users tried to access the
share, it'll
> sometimes come up with a login box and no matter what I
put it, it will
> not access.  And sometimes it'll say "does not
have permission to access
> this resource".
> 
> Anyone have any idea why it's doing that?  Is it
because of samba
> itself?  Or could the cause be in windows AD?

You might want to verify time sync and time zone settings
for the
clients which are having problems connecting.  We've seen
some issues
similar to this if the clients time is off by more than 5
minutes or if
the timezone is set incorrectly.

Later,
Tom


--
nahant-list mailing list
nahant-listredhat.com
h
ttps://www.redhat.com/mailman/listinfo/nahant-list

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )