Re: [Samba] ACLs set in Windows not honored

2009-04-25 Thread Helmut Hullen
Hallo, Brandon,

Du meintest am 24.04.09:

> Silly me!  My apologies ... the Samba server is CentOS 5.3 running
> Samba 3.0.33.  I attached the smb.conf in my original post.

Don't try to send attachments - the maillist manager cuts them (and I  
like this way to keep the list readable).

You can include small text files with "copy and paste". And you should  
upload big text files (which don't interest every subscriber of this  
list but take a long time to download them) to your web space and tell  
only this download address. Thank you!

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


Re: Fwd: [Samba] ACLs set in Windows not honored

2009-04-25 Thread Helmut Hullen
Hallo, John,

Du meintest am 25.04.09:

> I have no idea why his attachment is not working but I got it on my
> side so I am forwarding it to you and the list as well.

No attachment.

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


Fwd: [Samba] ACLs set in Windows not honored

2009-04-25 Thread John Drescher
I have no idea why his attachment is not working but I got it on my
side so I am forwarding it to you and the list as well.

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

Re: [Samba] ACLs set in Windows not honored

2009-04-25 Thread Miguel Medalha



Aye aye aye.  Alright, trying again.  Thanks for your patience, everyone.

  


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


Re: [Samba] Changing users home directory location

2009-04-25 Thread Miguel Medalha




But again, no go. So I am assuming there must be another setting


Create a symbolic link from /home to your new home location.
You won't need to change anything in your smb.conf.

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


[Samba] samba as a domain-member(using clustering with ctdb)

2009-04-25 Thread Wolfgang Hotwagner
Hello,
i want to use samba as a domain-member together with clustering(with ctdb).
So i have configured 2 "active" samba server using ctdb and
glusterfs(sharing store).
The smb.conf is identically on both server. I have 2 shared public
adresses for ctdb and each server has it's own public address too.
On the windows-dns-server i have a "round-robin-record" with all 4 ip
addresses for the "netbios"-name:
dslin.office.may.co.at -> 172.30.50.{83|84|85|86}

The krb5.conf is identically too on both server.

When i do a net ads join -UAdministrator% on both server, it
just works on the second node:

r...@dslin2:~# net ads join -UAdministrator%
Using short domain name -- OFFICE
Joined 'DSLIN' to realm 'office.may.co.at'
DNS update failed!


r...@dslin1:~# net ads join -UAdministrator%
Using short domain name -- OFFICE
Joined 'DSLIN' to realm 'office.may.co.at'
[2009/04/25 21:49:32,  0] libads/kerberos.c:ads_kinit_password(356)
  kerberos_kinit_password dsl...@office.may.co.at failed:
Preauthentication failed

When i try to connect to dslin2 using the ip \\172.30.50.86,  i can
connect and reach the share
but when i try to connect to dslin1 i just get a password-request. When
i try to connect to the "shared" netbiosname \\dslin i also get a
password-request.

wbinfo -u and -g works on both server and returns the users/groups of
the active directory

I don't know why it works on the one server, but not at the other one. I
am using Debian Lenny and it's samba-version: 3.2.5
Maybe anybody could help me or give me a hint

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


[Samba] Changing users home directory location

2009-04-25 Thread dnk

Hi there,

I have a pretty stock samba setup, but had been getting low on drive  
space. I dropped in another hard drive, and added it as the mount  
point /home/users.


I then moved all my user folders into the /home/users folder  
(effectively moving them to another hard drive), and left my existing  
public samba shares where they were /home/samba/share. I didn't want  
to have to much with my ACL's, etc.


I then used the usermod tool to update all the users home directory.

# usermod -d /home/users/username username

now my smb.conf currently has (home directory related - rest trimmed):

logon home = \\%L\%U

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

Now after restarting smb, and trying to access my mapped drives

\\xxx.xxx.xxx.xxx\username

They are not accessible. How does samba determine that path?

I also tried making my homes share like:

[homes]
comment = Home Directories
path = /home/users
valid users = %S
read only = No
browseable = No

But again, no go. So I am assuming there must be another setting

Then I tried:

[homes]
comment = Home Directories
path = /home/users/%u
valid users = %S
read only = No
browseable = No

and

[homes]
comment = Home Directories
path = /home/users/%U
valid users = %S
read only = No
browseable = No


Any pointers here?

Thanks in advance!




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


[Samba] Bug in sernet RPM's postun?

2009-04-25 Thread Richard Foltyn
Hi,

I was just wondering whether this possible bug with the Sernet Samba3
RPMs for CentOS 5 is known, since it has not yet been fixed.

When uninstalling the Sernet RPMs for Samba3 (in this case Samba 3.2.x)
the %postun scriptlet fails every time with:

# rpm -e samba3-3.2.0-36
/var/tmp/rpm-tmp.56356: line 2: fg: no job control
error: %postun(samba3-3.2.0-36.x86_64) scriptlet failed, exit status 1

Consequently, yum reports an constantly increasing number of unfinished
transactions and cannot uninstall outdated versions of Samba:

# rpm -q samba3
samba3-3.2.1-37
samba3-3.2.3-37
samba3-3.2.5-37
samba3-3.2.6-37
samba3-3.2.7-37
samba3-3.2.7-38
samba3-3.2.8-38
samba3-3.2.10-38.el5
samba3-3.2.11-38.el5

Google finds several other people having the same problem for some
months now.

The solution is not to run %postun

# rpm -e --nopostun samba3-3.2.1-37

but this does not work with yum and has to be done manually every time,
so it would be great if this was fixed in some future release.

Also, many thanks to the Sernet team for providing these RPMs.

Richard

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