[Samba] two Problems with Samba 3.0.4

2004-05-28 Thread Stefan Kania
Hello

I have to strange problems since we changed from samba 3.0.2a to 3.0.4. 
The first one is, everytime I enter SWAT the entry in smb.conf printcap
name changes from /etc/printcap to lpstat even when i switch back
to default in SWAT (wich is /etc/printcap ) i get the entry lpstat in
my smb.conf. I have to change the smb.conf by hand, everytime i opend it
with SWAT. Don't tell me don't use SWAT we need it for the local
admins.
The second problem has someting to with filesystem rights. We use acl's
with samba. But on the Windows clients we only see the acl's and not the
main group. So the main group, even if it has the right on the linux
filesystem, can't open the files or enter the directory. 
We have to Samba Servers one PDC and one BDC together with two
LDAP-Servers. The Problem is only on the filesystem of the BDC. Both
smb.conf files are exactly the same for the filesystemrights.

May be some of you can help me.

Stefan 
-- 
Kösliner Straße 75
48147 Münster
Tel. 0251 / 3835950
www.kania-online.de


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

[Samba] ldap replication

2004-05-11 Thread Stefan Kania
Hello,
I have two ldapservers with Samba PDC and BDC. I started with the PDC i
use Suse 9.0 with ldap out of the box and Samba 3.0.2a. Everything is
working fine with only the PDC running. Now i configured replication. In
my slapd.conf file on the master server i added the following lines

#permission
access to * by dn=cn=repl,dc=felix,dc=local write
# database definition
replogfile  /var/lib/ldap/slurpd/slurpd.log
replica uri=ldap://felixols01.felix.local:389
binddn=cn=repl,dc=felix,dc=local
bindmethod=simple
credentials=topsecret
tls=no

In slapd.conf of my slave server i added:

updatedncn=repl,dc=felix,dc=local
updateref   ldap://felixsch01.felix.local

I copied all database files from master to slave. Then i started all
services in the following order:
- ldapserver on slave
- ldapserver on master
- slurpd on master

I checked replication. Everything was working i added some new objects
on my master server and with the ldap-browser i could see the new object
on my master and slave server. I can change all attributes on all
objects and i can browse throug the whole ldap-tree.
But now my problem started. It is no longer possible to log in to the
system :-(. With login over ssh i got the message permission denied
when i login as root everything works, then i try su my-name i got the
message no such user my-name. Also an ldapsearch -x -h localhost
(cn=my-name) woun't bring up any results.
Is there someone who can help me, im totally lost?


Stefan

-- 
Kösliner Straße 75
48147 Münster
Tel. 0251 / 3835950
www.kania-online.de


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

[Samba] samba printers with cups

2004-04-04 Thread Stefan Kania
Hello,

when i try to add a new printer to cups i have to select a device for
the new printer. Normaly i allways find the option Windowsprinter via
SAMBA but on the new system (Suse 9.0 with cups out of the box and
SAMBA 3.0.2a) the device is not shown. But i would like to see then
Windows printers with cups. 
How can i get the device for the Windowsprinter back to work?

Stefan 
-- 
Stefan Kania [EMAIL PROTECTED]


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Re: [Samba] acl on Windows client don't work

2004-03-30 Thread Stefan Kania
Before compiling samba install libacl-devel, or acl-devel, or something
like that (depends on your distro)


Good Luck,

Geza
thank you that solved my problem 

Stefan

-- 
Stefan Kania [EMAIL PROTECTED]



signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

[Samba] acl on Windows client don't work

2004-03-29 Thread Stefan Kania
Hello to all of you,

After installing Samba i have the following Problem:
I would like to use acl's, ldap and quotas with samba so i run configure
with the options
--with-acl-support --with-ldapsam --with-ldap --with-quota

After running configure i found the following lines with acl:
checking sys/acl.h usability... no
checking sys/acl.h presence... no
checking for sys/acl.h... no
checking for _acl... no
checking for __acl... no
checking for _facl... no
checking for __facl... no

I then checked if the libacl is on the system. With rpm -qa | grep
libacl
this is the output:
felixsch01:~/downloads/samba-3.0.2a/source # rpm -qa | grep libacl
libacl-2.2.15-23

So libacl sould be ok.

After compiling samba i checked for the use of acl with ldd this is the
result:
felixsch01:~ # ldd /usr/sbin/smbd
libldap.so.2 = /usr/lib/libldap.so.2 (0x40022000)
liblber.so.2 = /usr/lib/liblber.so.2 (0x40055000)
libcrypt.so.1 = /lib/libcrypt.so.1 (0x40061000)
libresolv.so.2 = /lib/libresolv.so.2 (0x40093000)
libnsl.so.1 = /lib/libnsl.so.1 (0x400a6000)
libdl.so.2 = /lib/libdl.so.2 (0x400bb000)
libc.so.6 = /lib/i686/libc.so.6 (0x400be000)
libsasl2.so.2 = /usr/lib/libsasl2.so.2 (0x401f1000)
libssl.so.0.9.7 = /usr/lib/libssl.so.0.9.7 (0x40205000)
libcrypto.so.0.9.7 = /usr/lib/libcrypto.so.0.9.7 (0x40235000)
/lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x4000)

I mount the partion with the option acl in fstab. Then i tested the
acl with the Server and Linux client. Then i logged on with a Windows
client with the same user. But no acl :-(. I could only see the normal
rights (u-g-o) but no groups from the extended acl.
What did i wrong?  What schould i do?

Thank's for then help

Stefan


-- 
Stefan Kania [EMAIL PROTECTED]


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba