Author Topic: Users / Groups Permission  (Read 2589 times)

abidos

  • Zen Apprentice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Users / Groups Permission
« on: November 27, 2008, 04:14:12 pm »
Hello,

I installed Ebox 0.12.3 from the iso. I'm running samba as a file sharing and not as a PDC.

My problem is : when i create a share and allow a group in the permission I don't have problems BUT when i allow user in the permission it ask me always for a login/password

I can't access to my home folder also

can someone help me ??

javi

  • Zen Hero
  • *****
  • Posts: 1042
  • Karma: +0/-0
    • View Profile
Re: Users / Groups Permission
« Reply #1 on: November 27, 2008, 05:13:04 pm »
Interesting, can you please post the content of /etc/samba/smb.conf ?

abidos

  • Zen Apprentice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Users / Groups Permission
« Reply #2 on: November 27, 2008, 05:36:39 pm »
Quote
[global]
 unix charset = UTF8
 workgroup = Luni
 netbios name = gateway
 server string = Luni Server
 enable privileges = yes
 interfaces = eth0,lo
 bind interfaces only = Yes
 passdb backend = ldapsam:ldapi://%2fvar%2frun%2fslapd%2fldapi
 log level = 1
 syslog = 0
 log file = /var/log/samba/%m
 max log size = 50
 smb ports = 137 138 139 445
 name resolve order = wins bcast hosts
 time server = Yes
 printcap name = CUPS
 wins support = Yes
 dny proxy = Yes
 ldap suffix = dc=ebox
 ldap machine suffix = ou=Computers
 ldap user suffix =  ou=Users
 ldap group suffix =  ou=Groups
 ldap idmap suffix = ou=Idmap
 ldap admin dn = cn=admin,dc=ebox
 map acl inherit = Yes
 printing = cups


[homes]
 comment = Home Directories
 valid users = %S
 read only = No
 browseable = Yes



[commun]
 comment = Commun
 path = /home/samba/shares/commun
 valid users = @"Luni"
 read list =
 write list =
 admin users = @"Luni"
 read only = No
 browseable = Yes

[test]
 comment = test
 path = /home/samba/shares/test
 valid users = "abidos"
 read list =
 write list =
 admin users = "abidos"
 read only = No
 browseable = Yes



[ebox-internal-backups]
 path = /var/lib/ebox/conf//backups
 read only = No
 valid users = @"Domain Admins"
 admin users = @"Domain Admins"
 force group = ebox
 force user = ebox
 browseable = Yes

[print$]
 comment = Printer Drivers
 path = /var/lib/samba/printers
 browseable = yes
 read only = yes
 guest ok = no
 write list = @"Domain Admins"

           



with this config, i can browse the share "commun" as a member of luni group, but i can't browse the "test" share

javi

  • Zen Hero
  • *****
  • Posts: 1042
  • Karma: +0/-0
    • View Profile
Re: Users / Groups Permission
« Reply #3 on: November 27, 2008, 06:17:18 pm »
Thanks a lot for your help, I'm still trying to figure out what's wrong with your installation.

Could you try add a new user and see what happens?

And also, it would be very helpful if you send me a bug report which can be downloaded if you access https://YOUR_IP/ebox/EBox/Bug

Please send it to my private address: juruen at warp dot es

irishbitte

  • Zen Apprentice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Users / Groups Permission
« Reply #4 on: December 03, 2008, 05:12:42 am »
hi there, taking a quick look through the smb.conf file posted by OP, i notice that the NETBIOS name is set as 'gateway'. This may cause issues in a Windows environment, so far as I know? This should be set the same as the server string, and both should have no spaces to be NETBIOS compatible.

I'm no expert, just my two cents.. ;)

Simon Matthews

  • Zen Apprentice
  • *
  • Posts: 38
  • Karma: +1/-0
    • View Profile
Re: Users / Groups Permission
« Reply #5 on: December 06, 2008, 03:16:43 am »
Javi... this seems to be the same SID problem as most people have had.

drapsag

  • Zen Apprentice
  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
Re: Users / Groups Permission
« Reply #6 on: December 13, 2008, 06:59:16 pm »
same bug here...


javi

  • Zen Hero
  • *****
  • Posts: 1042
  • Karma: +0/-0
    • View Profile
Re: Users / Groups Permission
« Reply #7 on: December 13, 2008, 07:49:25 pm »
If you have the SID problem, you can try disable and enable the samba module and save changes. By doing that the SID issue should be fixed, if not, please send me a bug report to javi at warp.es downloading it from https://your_ip/ebox/EBox/Bug

Thanks!

drapsag

  • Zen Apprentice
  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
Re: Users / Groups Permission
« Reply #8 on: December 13, 2008, 11:01:23 pm »
The problem is solved by manually do the sid fix mentioned before. I will post some result when I add some new users...

Some other question: there are some folders that always show up: printers (without enabled the printer module), ebox_internal_backups and the user home folder. Is there way to hide this?

Thnx!