[Bug 702265] Re: Error with overlapping idmap uids and gids

2011-04-06 Thread Chuck Short
We are closing this bug report because it lacks the information we need
to investigate the problem, as described in the previous comments.
Please reopen it if you can give us the missing information, and don't
hesitate to submit bug reports in the future. To reopen the bug report
you can click on the current status, under the Status column, and change
the Status back to New. Thanks again!

** Changed in: samba (Ubuntu)
   Status: Incomplete = Won't Fix

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/702265

Title:
  Error with overlapping idmap uids and gids

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 702265] Re: Error with overlapping idmap uids and gids

2011-02-18 Thread James Page
We'd like to figure out what's causing this bug for you, but we haven't
heard back from you in a while. Could you please provide the requested
information? Thanks!

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.
https://bugs.launchpad.net/bugs/702265

Title:
  Error with overlapping idmap uids and gids

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 702265] Re: Error with overlapping idmap uids and gids

2011-01-20 Thread James Page
Thank you for taking the time to report this bug and helping to make
Ubuntu better. Please execute the following command, as it will
automatically gather debugging information, in a terminal:

apport-collect 702265

When reporting bugs in the future please use apport by using 'ubuntu-
bug' and the name of the package affected. You can learn more about this
functionality at https://wiki.ubuntu.com/ReportingBugs.

** Changed in: samba (Ubuntu)
   Status: New = Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.
https://bugs.launchpad.net/bugs/702265

Title:
  Error with overlapping idmap uids and gids

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 702265] Re: Error with overlapping idmap uids and gids

2011-01-13 Thread Jesús Martínez

** Attachment added: Full smb.conf
   https://bugs.launchpad.net/bugs/702265/+attachment/1792367/+files/smb.conf

** Description changed:

  Binary package hint: samba
  
  I have set a samba domain with idmap ldap, this is my idmap config:
  
  idmap config DOMAIN:backend = ldap
  idmap config DOMAIN:readonly = no
  idmap config DOMAIN:default = yes
  idmap config DOMAIN:ldap_base_dn = ou=idmap,ou=baseou,dc=mydomain,dc=com
  idmap config DOMAIN:ldap_user_dn = cn=admin,dc=mydomain,dc=com
  idmap config DOMAIN:ldap_url = ldap://localhost
  idmap config DOMAIN:range = 5-5
  
  #idmap backend = ldap:ldap://localhost
  idmap uid = 1-1
  idmap gid = 1-1
  #idmap gid = 2-2
  idmap alloc backend = ldap
  idmap alloc config : ldap_url = ldap://localhost
  idmap alloc config:ldap_user_dn = cn=admin,dc=mydomain,dc=com
  idmap alloc config : ldap_base_dn = ou=idmap,ou=baseou,dc=mydomain,dc=com
  idmap alloc config:range = 5-5
  
  Once I have set up this in smb.conf, I stop smbd service and restart winbind, 
then I issue net sam provision command, at this point everything is ok and 
the ldap is provisioned properly. As you know, the provision creates these 
users and groups:
- - Administrator - UID=1;GID=10001
- - nobody - UID=65534;GID=65534
- - domguests - GID=65534
- - domusers - GID=1
- - domadmins - GID=10001
+ - Administrator - UID=1;GID=10001
+ - nobody - UID=65534;GID=65534
+ - domguests - GID=65534
+ - domusers - GID=1
+ - domadmins - GID=10001
  
  After that, I create a new user called usuprueba1, wich is created with
  uid=10001 and gid=1.
  
  Also, I have set up a share called usuarios where the home directories of the 
users will be placed:
  [Usuarios]
  comment = Directorios home de los usuarios
  path = /opt/usuarios
  browseable = yes
  directory mask = 0700
  read only = no
  valid users = %U
  hide unreadable = yes
  root preexec = /opt/scripts/crearHomes.sh %U
  
  The crearHomes.sh script creates automatically the home folder of the
  user, right into /opt/usuarios (i.e. /opt/usuarios/administrator or
  /opt/usuarios/usuprueba1). This is also working perfectly.
  
  as you can see, the home directories are created with 0700 mask, so,
  they are only readable by the owner user.
  
  The problem comes when I issue a smbclient command with user
  administrator and usuprueba1 against Usuarios share, it shows me up the
  both directories (administrator and usuprueba1)!
  
- root@mambo:/opt/usuarios# smbclient '//SERVER/Usuarios' -c 'dir' -U 
'usuprueba1'  -d 0  -W 'DOMAIN' -O 'TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE 
SO_RCVBUF=8192 SO_SNDBUF=8192' -b 1200 
- Enter usuprueba1's password: 
+ root@server:/opt/usuarios# smbclient '//SERVER/Usuarios' -c 'dir' -U 
'usuprueba1'  -d 0  -W 'DOMAIN' -O 'TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE 
SO_RCVBUF=8192 SO_SNDBUF=8192' -b 1200
+ Enter usuprueba1's password:
  Domain=[SAMBA-SEF] OS=[Unix] Server=[Samba 3.4.7]
-   .   D0  Thu Jan 13 09:45:48 2011
-   ..  D0  Tue Dec 28 11:30:55 2010
-   usuprueba1  D0  Thu Jan 13 09:19:14 2011
-   administrator   D0  Wed Jan 12 14:14:39 2011
+   .   D0  Thu Jan 13 09:45:48 2011
+   ..  D0  Tue Dec 28 11:30:55 2010
+   usuprueba1  D0  Thu Jan 13 09:19:14 2011
+   administrator   D0  Wed Jan 12 14:14:39 2011
  
- root@mambo:/opt/usuarios# smbclient '//SERVER/Usuarios' -c 'dir' -U 
'usuprueba1'  -d 0  -W 'DOMAIN' -O 'TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE 
SO_RCVBUF=8192 SO_SNDBUF=8192' -b 1200 
- Enter administrator's password: 
+ root@server:/opt/usuarios# smbclient '//SERVER/Usuarios' -c 'dir' -U 
'usuprueba1'  -d 0  -W 'DOMAIN' -O 'TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE 
SO_RCVBUF=8192 SO_SNDBUF=8192' -b 1200
+ Enter administrator's password:
  Domain=[SAMBA-SEF] OS=[Unix] Server=[Samba 3.4.7]
-   .   D0  Thu Jan 13 09:46:48 2011
-   ..  D0  Tue Dec 28 11:30:55 2010
-   usuprueba1  D0  Thu Jan 13 09:19:14 2011
-   administrator   D0  Wed Jan 12 14:14:39 2011
+   .   D0  Thu Jan 13 09:46:48 2011
+   ..  D0  Tue Dec 28 11:30:55 2010
+   usuprueba1  D0  Thu Jan 13 09:19:14 2011
+   administrator   D0  Wed Jan 12 14:14:39 2011
  
  I have checked permissions with ls -l and getfacl, these are the results:
- root@mambo:/opt/usuarios# ls -l
+ root@server:/opt/usuarios# ls -l
  total 44
  drwx-- 2 administrator root  4096 2011-01-12