Web lists-archives.com

Re: [Samba] Mounting samba share




On Fri, 15 Jun 2018 14:50:23 +0000
Suman Koirala <koiralasu@xxxxxxxxxxx> wrote:

> 
> 
> Hi Rowland,
> 
> I got permission denied messge when I tried to login mount. Could you
> please help me to figure out the problem. I am using ubuntu 18.04
> for both server and client and samba 4.7.6. Thank You
> 
> ________________________________________
> From: samba <samba-bounces@xxxxxxxxxxxxxxx> on behalf of Suman
> Koirala via samba <samba@xxxxxxxxxxxxxxx> Sent: Friday, June 15, 2018
> 8:04 AM To: samba@xxxxxxxxxxxxxxx
> Subject: [Samba] Mounting samba share
> 
> Hi,
> 
> 
> I was trying to mount a samba share from a host server using
> pam_mount module. This is my smb.conf for client machine and my
> pam-mount.conf.xml.
> 
> 
> [global]
>         log level = all:10
>         security = ads
> #        auth methods = guest sam winbind:ntdomain
>         client ldap sasl wrapping = seal
>         netbios name = STAT1
>         realm = EXAMPLE.EDU
>         workgroup = WORKGROUP
>         client max protocol = NT1
>         idmap config * : backend      = ldap
>         #idmap config * : ldap_url     = ldaps://newserver.example.edu
>         idmap config * : ldap_url     = ldap://newserver.example.edu
>         idmap config * : ldap_base_dn =
> ou=idmap,dc=newserver,dc=example,dc=edu idmap config * : ldap_user_dn
> = cn=admin,dc=newserver,dc=example,dc=edu idmap config * : default =
> yes #idmap config * : range = 120001-190000
>         idmap config * : range = 10000-999999
>         winbind separator = +
>         winbind enum users = yes
>         winbind enum groups = yes
>         winbind use default domain = yes
>         template homedir = /home/mountpoint/%U
>         template shell = /bin/bash
>         client use spnego = yes
>         domain master = no
>         local master = no
>         preferred master = no
>         os level = 0
>         wins support = no
>         name resolve order = wins bcast host
>         ldap admin dn = cn=admin,dc=newserver,dc=example,dc=edu
>         ldap ssl = no
> 
> gsumk

See my reply to your other post, your smb.conf is up the spout (and if
you do not understand that, I mean it is not a good smb.conf)

Rowland

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba