Bug 459 - problems with acl-support in 3.0.0rc4(!)
problems with acl-support in 3.0.0rc4(!)
Status: RESOLVED LATER
Product: Samba 3.0
Classification: Unclassified
Component: File Services
3.0.0preX
Other other
: P3 normal
: none
Assigned To: Gerald (Jerry) Carter
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2003-09-16 05:06 UTC by Marc Schoechlin
Modified: 2005-02-07 09:06 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marc Schoechlin 2003-09-16 05:06:31 UTC
Hi ! 
 
Sorry the bugtracking-system does not have 3.0.0rc4 as samba-version... 
 
I have a debian-linux box with a 2.4.22-xfs-linuxkernel. 
 
I compiled my samba with  "./configure --with-acl-support". 
(see my documented steps at the end of the message) 
 
My win2k-testbox has all actual patches, and has access to 
a share at my samba-pdc. 
(the share "public" in the config below) 
 
The result of changes in the properties-window of win2k, if i change a  
are a little bit strange. 
 
I did the following: 
-- 
root@uml: # cd /serv/share && mkdir www && chmod 000 www && chown ms:users 
www/ 
root@uml: # getfacl www/ 
# file: www 
# owner: ms 
# group: users 
user::--- 
group::--- 
other::--- 
# Now i change the rights of the user "ms" in the file-properies of win2k to 
# full-access. 
# After that new groups "creator-group" and "creator-owner" appear. 
# In the rightlist of the user "ms" and the groups  "creator-group" and "creator-owner" 
# is now nothing selected 
# The filesystem looks like this - this looks good. 
root@uml: # getfacl www/ 
# file: www 
# owner: ms 
# group: users 
user::rwx 
group::--- 
other::--- 
default:user::rwx 
default:group::--- 
default:other::--- 
# The rightlist of the parent directory looks like this: 
root@uml: # getfacl ../share/ 
# file: ../share 
# owner: ms 
# group: users 
user::rwx 
group::rwx 
other::rwx 
-- 
 
I have a test-setup here - i you would like to let me make some 
tests - write a mail :-)) 
 
Best regards 
 
Marc Schoechlin 
--- 
### Installation 
 
  $$ apt-get install acl-dev libacl1 libattr1 
 
  $$ wget 'http://de.samba.org/samba/ftp/rc/samba-[V].tar.gz' 
 
  $!$ tar zxvf samba-[V].tar.gz 
  $$ cd samba-[V] 
 
  * ACL_Support 
  * LDAP_Support 
 
  $$ cd source 
  $$ ./configure --with-acl-support 
  $$ make 
  $$ make install 
 
 
###  Anpassungen && Konfiguration 
 
  $$ touch /usr/local/samba/lib/lmhosts 
  $$ chmod 0755 /usr/local/samba/var/locks 
 
  $$ cp examples/smb.conf.default /usr/local/samba/lib/smb.conf 
 
 
  * Lokale Gruppen auf Win2k-Gruppen auf den Workstations mappen 
 
  $$ net groupmap modify ntgroup="Domain Admins" unixgroup=admins type=domain 
  $$ net groupmap modify ntgroup="Domain Users" unixgroup=users type=domain 
 
  * Ergebnis des Mappings kontrollieren 
 
  $$ net groupmap list 
 
  Pfad Anpassungen 
 
  $$ export MANPATH=/usr/local/samba/man/:/usr/share/man 
  $$ export PATH=/usr/local/samba/bin/:/usr/local/samba/sbin/$PATH 
 
 
 
  $$ /usr/local/samba/sbin/nmbd 
  $$ /usr/local/samba/sbin/smbd 
-- 
 
The config: 
-- 
[global] 
 
  netbios name = UMLSERV 
  workgroup = UML 
 
  admin users = @admins 
  server string = Samba Server 
 
  passdb backend = smbpasswd, guest 
 
  log level = 3 
  load printers = yes 
 
  log file = /usr/local/samba/var/log.%m 
 
  # max log size = 50 
  security = user 
  encrypt passwords = yes 
  socket options = TCP_NODELAY 
 
  domain master = yes 
 
  add user script = /usr/sbin/useradd -d /dev/null -g machines -c 'Desktop PC' -s 
/bin/false -M %u 
 
  preferred master = yes 
  domain logons = yes 
  local master = yes 
  os level = 65 
 
  logon path = \\%L\profiles\%u 
  logon drive = Z: 
  logon script = logon.cmd 
 
[homes] 
   comment = Home Directories 
   browseable = no 
   writable = yes 
 
[netlogon] 
   comment = Network Logon Service 
   path = /serv/netlogon 
   read only = yes 
   write list = ntadmin 
 
[profiles] 
    path = /serv/profiles 
    read only = no 
    create mask = 0600 
    directory mask = 0700 
 
[printers] 
   comment = All Printers 
   path = /usr/spool/samba 
   browseable = no 
   guest ok = no 
   writable = no 
   printable = yes 
   public = yes 
 
[public] 
   comment = Public Stuff 
   path = /serv/share 
   public = yes 
   writable = yes 
   printable = no 
   write list = @users 
 
--
Comment 1 Gerald (Jerry) Carter 2003-11-04 19:58:09 UTC
I don't understand what the problem here is.  Could 
you tell me specificly what is not working as you
expect?
Comment 2 Gerald (Jerry) Carter 2003-12-07 22:15:02 UTC
no feedback in over a month.  Closing.
Comment 3 Gerald (Jerry) Carter 2005-02-07 09:06:00 UTC
originally reported against one of the 3.0.0rc[1-4] releases.
Cleaning up non-production versions.