Hello, I make a samba server + ldap.
I create some users and get login in mydomain with success. After login I can't write in paste user.But is denied. #some users created brasil:x:1012:513:Brasil Telhados:/dev/null:/bin/false atleticomg:x:1013:513:Clube Atletico MG:/home/atleticomg:/bin/bash #groups crated informatica:*:1001:atleticomg,natalia,faria marketing:*:1002:faria,natalia,rodrigo,rodrigofaria,brasil,atleticomg #permissions root@debian-ldap:~# ls -las /home/atleticomg/ total 8 4 drwxr-xr-x 2 atleticomg users 4096 Ago 8 09:55 . 4 drwxr-xr-x 7 root root 4096 Ago 8 10:28 .. #my smb.conf [global] workgroup = DEFENSORIABH netbios name = DEFENSORIABH server string = %h server obey pam restrictions = Yes syslog = 0 log file = /var/log/samba/log.%m max log size = 1000 name resolve order = lmhosts host wins bcast add user script = /usr/sbin/smbldap-useradd -m "%u" delete user script = /usr/sbin/smbldap-userdel "%u" add group script = /usr/sbin/smbldap-groupadd -p "%g" delete group script = /usr/sbin/smbldap-groupdel "%g" add user to group script = /usr/sbin/smbldap-groupmod -m "%u" "%g" delete user from group script = /usr/sbin/smbldap-groupmod -x "%u" "%g" set primary group script = /usr/sbin/smbldap-usermod -g "%g" "%u" add machine script = /usr/sbin/useradd -g machines -c "%u machine account" -d /var/lib/samba -s /bin/false %u logon drive = H: domain logons = Yes os level = 100 domain master = Yes dns proxy = No wins support = Yes ldap admin dn = cn=admin,dc=defensoria,dc=net ldap group suffix = ou=groups ldap idmap suffix = ou=idmap ldap machine suffix = ou=people ldap suffix = dc=defensoria,dc=net ldap ssl = no ldap user suffix = ou=people panic action = /usr/share/samba/panic-action %d idmap backend = ldap:ldap://ldap.defensoria.net idmap uid = 10000-20000 idmap gid = 10000-20000 admin users = root [homes] comment = Home Directories valid users = %S create mask = 0640 directory mask = 0750 browseable = No [netlogon] comment = Users profiles path = /home/samba/profiles create mask = 0600 directory mask = 0700 browseable = No [printers] comment = All Printers path = /var/spool/samba printable = Yes browseable = No Any ideia ? -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
