[Samba] Copy On Write VFS Modul

2007-02-18 Thread Gunther Schlegel

Hi,

is there a VFS Modul for Samba 3 that I can use to implement a copy on 
write feature for a specified file?


regards, Gunther

--
Gunther Schlegel
Manager IT Infrastructure


.
Riege Software International GmbH  Fon: +49 (2159) 9148 0
Mollsfeld 10   Fax: +49 (2159) 9148 11
40670 MeerbuschWeb: www.riege.com
GermanyE-Mail: [EMAIL PROTECTED]
------
Handelsregister:   Managing Directors:
Amtsgericht Neuss HRB-NR 4207  Johannes Riege 
USt-ID-Nr.: DE120585842Gabriele Riege
.
  YOU CARE FOR FREIGHT, WE CARE FOR YOU  



transport logistic - june 12-15, 2007
messe muenchen - hall c4, stand 429

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

[Samba] Group policies and Vista

2007-02-03 Thread Gunther Schlegel

Hi,

coming back to my old topic: How to manage clients. Up to Windows XP one 
could use the NT4-style policies, but Vista does not seem to obey them.


Are there any plans to get group policy functions on a samba-only 
domain? Or are there other ways to manage the clients?


best regards, Gunther
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Re: [SOLVED] Re: [Samba] VFS recycle - doesn't work for some users

2006-02-15 Thread Gunther Schlegel

Patrick,

just came across that problem in my installation. This is a limitation 
in the vfs recycle module that has been addressen in samba 3.0.14a by 
introducing the directory_mode parameter to the recycle module.


Your manual fix ( changing access rights ) does only work because you 
are not using the keeptree feature. See bugzilla 2978 for further 
information.


best regards, Gunther

Patrick DUBAU wrote:

Strange thing : my .corbeille folder had the following rights
  drwx--S---   2 patrick.dubau   INFORMATIQUE   4096 2005-09-29 11:00 
.corbeille
With these rights only patrick.dubau  deleted  files  are put  in  
.corbeille


I changed the rights to drwxrws---   2 patrick.dubau   INFORMATIQUE   
4096 2005-09-29 17:05 .corbeille

and now it works for any one.



Hi,

configured samba to handle the deletded files in the recycle directory.
My problem : for some users the deleted files go into the specified 
directory for other the files are just deleted and no  put  in the 
recycle directory.

Does someone already had this problem ?

My configuration
[info]
path = /samba/info
write list = @informatique
directory mask = 2770
create mask = 0770
browseable = yes

vfs objects = recycle
recycle:repository = .corbeille
recycle:keeptree = no
recycle:versions = yes
recycle:touch = yes
recycle:exclude = ~$*|*.tmp

samba 3.0.14a-3

Thanks for any help




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

[Samba] XP SP2 firewall does not activate domain profile

2004-09-07 Thread Gunther Schlegel
Hi,

MS released the wfnt.adm policy template file to create NT4 system
policies that configure the firewall.

The XP SP2 firewall offers two profiles:
- Domain profile is used when the computer is connected to a managed
network
- Standard profile is used otherwise

In our totally Samba 3.0.6 based setup the XP SP2 firewall does not
recognize to be on the managed network, instead it always activates the
standard profile.

According to MS Documentation (CableGuy column May 2004) the firewall
decides based on the DNS name of the last domain it received a group
policy from. This name is compared to the DNS name of the network
connection and the domain profile of the firewall should be activated if
both values match.

As NT4 / Samba3 does not support Group Policies there is probably no
Last group policy DNS domain name. ( At least gpresult gives not
applicable ). 

However there must be some way for the firewall to decide -- otherwise
the release of a policy file by MS would be quiet useless.

Does anyone use wfnt.adm with success?

regards, Gunther

-- 
Gunther SchlegelRiege Software International GmbH
Manager System AdministrationMollsfeld 10
 40670 Meerbusch, Germany
Email: [EMAIL PROTECTED] Phone: +49-2159-9148-0
  Fax:   +49-2159-9148-11
-


signature.asc
Description: This is a digitally signed message part
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

[Samba] findsmb and XP SP2

2004-09-01 Thread Gunther Schlegel
Hi,

I noticed that findsmb does not find Windows XP SP2 hosts, not even when
the XP internet firewall is switched off.

Is there any way to reestablish the old behavior?

regards, Gunther

-- 
Gunther SchlegelRiege Software International GmbH
Manager System AdministrationMollsfeld 10
 40670 Meerbusch, Germany
Email: [EMAIL PROTECTED]  Phone: +49-2159-9148-0
  Fax:   +49-2159-9148-11
-

Disclaimer:
You may grab my GPG key from http://www.keyserver.net .
A nonproportional font is recommended for reading.


signature.asc
Description: This is a digitally signed message part
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Re: [Samba] wbinfo -u does not work on local samba pdc

2004-08-31 Thread Gunther Schlegel
Jerry,

 WInbindd running on a Samba DC should only return the users
 from trusted domains.  So the error message is a little
 misleading.

indeed. 

I am still a little confused whether it makes sense to run winbind on
DCs when there are no trusted domains.

regards, Gunther

-- 
Gunther SchlegelRiege Software International GmbH
Manager System AdministrationMollsfeld 10
 40670 Meerbusch, Germany
Email: [EMAIL PROTECTED]  Phone: +49-2159-9148-0
  Fax:   +49-2159-9148-11
-

Disclaimer:
You may grab my GPG key from http://www.keyserver.net .
A nonproportional font is recommended for reading.


signature.asc
Description: This is a digitally signed message part
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

[Samba] mounting homes share with smbfs and unix extensions - access problem

2004-08-06 Thread Gunther Schlegel
Hi,

I mount my Home Folder to my Linux box. The server offers the unix
extensions. The files permissions and ownerships are all correct, but
the folder itself is owned by root, therefore I cannot write to it:


Server: Fedora Core 1, Samba 3.0.4 (Fedora RPM)
Folder on server:
[EMAIL PROTECTED] schlegel]# pwd
/home/schlegel
[EMAIL PROTECTED] schlegel]# ll -d
drwx--  8 schlegel schlegel 4096 Aug  6 08:40 .

2 sample files:

[EMAIL PROTECTED] schlegel]# ll dead.letter ppu.tgz 
-rw---  1 schlegel schlegel   1106 Aug 28  2003 dead.letter
-rw-r--r--  1 root root 1116793786 Feb  4  2004 ppu.tgz


Client: Fedora Core 2, Samba 3.0.3 (Fedora RPM)
[EMAIL PROTECTED] schlegel]$ ll -d /mnt/home/
drwxr-xr-x  1 root root 4096 Aug  6 09:37 /mnt/home/
[EMAIL PROTECTED] home]$ ll ppu.tgz dead.letter
-rw---  1 schlegel schlegel   1106 Aug 28  2003 dead.letter
-rw-r--r--  1 root root 1116793786 Feb  4  2004 ppu.tgz


- The unix extensions obviously work very well on the files, but not on
the shares root folder.

I could not match this to any bug or post on the mailinglist or samba /
RedHat bugzilla.

regards, Gunther

-- 
Gunther SchlegelRiege Software International GmbH
Manager System AdministrationMollsfeld 10
 40670 Meerbusch, Germany
Email: [EMAIL PROTECTED]  Phone: +49-2159-9148-0
  Fax:   +49-2159-9148-11
-

Disclaimer:
You may grab my GPG key from http://www.keyserver.net .
A nonproportional font is recommended for reading.


signature.asc
Description: This is a digitally signed message part
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

[Samba] ntlmv2 smbpasswd problem

2004-07-19 Thread Gunther Schlegel
Hi,

has anyone seen this before?

[EMAIL PROTECTED] schlegel]$ smbpasswd
Old SMB password:
New SMB password:
Retype new SMB password:
Server did not provide 'target information', required for NTLMv2
rpc_pipe_bind: rpc_send_auth_reply failed.
machine 127.0.0.1 does not support SAMR connections, but LANMAN password
changed are disabled
Failed to change password for schlegel

PDC ist Fedora Core 1 / samba-3.0.4-1.FC1, client is FC1 or FC2, same
result. Ldap based setup.

smb.conf excerpt:

min protocol = NT1
lanman auth = no
client lanman auth = no
client ntlmv2 auth = yes


regards, Gunther

-- 
Gunther SchlegelRiege Software International GmbH
Manager System AdministrationMollsfeld 10
 40670 Meerbusch, Germany
Email: [EMAIL PROTECTED]  Phone: +49-2159-9148-0
  Fax:   +49-2159-9148-11
-

Disclaimer:
You may grab my GPG key from http://www.keyserver.net .
A nonproportional font is recommended for reading.


signature.asc
Description: This is a digitally signed message part
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Re: [Samba] Samba 3.0.4 on RHEL3

2004-06-30 Thread Gunther Schlegel
Hi,


 I want to run Samba 3.0.4 on RHEL3.  The version provided by RedHat is
 samba-3.0.2-6.3E.  I can't find any other RPMs or SRPMs for RHEL3.  Any help
 you can provide would be much appreciated.

a) Complain to RedHat. It is their job to produce packages for their
distribution. Though, from my experiences with them they will not
release an update before RHEL3 Update3 unless absolutely necessary.
Though, Jay Fenlason may already have unofficial builds in
people.redhat.com.

b) You can just use the Fedora RPMS. There are 3.0.4 packages released
for FC1. -- fedora.redhat.com

c) I found out that FC1 samba 3.0.4 and FC2 member servers can't login
to a Domain with a 3.0.2 PDC. So put the 3.0.4 packages on the domain
controllers first. 3.0.4 DCs work well with 3.0.2 member servers.

regards, Gunther

-- 
Gunther SchlegelRiege Software International GmbH
Manager System AdministrationMollsfeld 10
 40670 Meerbusch, Germany
Email: [EMAIL PROTECTED]  Phone: +49-2159-9148-0
  Fax:   +49-2159-9148-11
-

Disclaimer:
You may grab my GPG key from http://www.keyserver.net .
A nonproportional font is recommended for reading.


signature.asc
Description: This is a digitally signed message part
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Re: [Samba] poledit policy-file for w2k offline folders

2004-06-25 Thread Gunther Schlegel
To add an answer for the list archive:

I received an NT4 poledit adm File that contains lots of options for XP
and W2K. It is to big to be posted to the list, but I will pass it on if
someone asks for it.

 I am looking for a NT4 policy template (.adm) file I can deploy using
 samba 3 to change the behavior of the make folders available offline
 feature.

-- 
Gunther SchlegelRiege Software International GmbH
Manager System AdministrationMollsfeld 10
 40670 Meerbusch, Germany
Email: [EMAIL PROTECTED]  Phone: +49-2159-9148-0
  Fax:   +49-2159-9148-11
-

Disclaimer:
You may grab my GPG key from http://www.keyserver.net .
A nonproportional font is recommended for reading.


signature.asc
Description: This is a digitally signed message part
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

[Samba] vfs revision control module ?

2003-12-11 Thread Gunther Schlegel
Hi,

I wonder if somebody has written / is working on a vfs module that saves
the history of files in a way similar to cvs or subversion.

regards, Gunther

-- 
Gunther SchlegelRiege Software International GmbH
Manager System AdministrationMollsfeld 10
 40670 Meerbusch, Germany
Email: [EMAIL PROTECTED]  Phone: +49-2159-9148-0
  Fax:   +49-2159-9148-11
-

Disclaimer:
You may grab my GPG key from http://www.keyserver.net .
A nonproportional font is recommended for reading.


signature.asc
Description: This is a digitally signed message part
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Re: [Samba] client code page and valid chars

2003-12-05 Thread Gunther Schlegel

 What can I do to configure the correct code page without loosing the
 visiblity of filenames with german umlauts?

shutdown samba
convert them
start samba with fixed configuration.

There is a neat little perl script mentioned in the Samba3 HowTo
Collection named convmv. It can rename all files in your tree to
correct names under unix.

regards, Gunther

-- 
Gunther SchlegelRiege Software International GmbH
Manager System AdministrationMollsfeld 10
 40670 Meerbusch, Germany
Email: [EMAIL PROTECTED]  Phone: +49-2159-9148-0
  Fax:   +49-2159-9148-11
-

Disclaimer:
You may grab my GPG key from http://www.keyserver.net .
A nonproportional font is recommended for reading.


signature.asc
Description: This is a digitally signed message part
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Re: [Samba] Samba 3.0 Admin members

2003-10-16 Thread Gunther Schlegel
read the chapter on Group Mapping in the Samba HowTo Collection. I
believe it is chapter 12... There is no domain admin group anymore.

On Wed, 2003-10-15 at 15:02, Torsten_Bergeest/[EMAIL PROTECTED] wrote:
 Hi,
 
 I am currently trying to configure Samba 3.0 as PDC in our Domain.
 Through which parameter can I tell Samba who is member of the
 Domain Admin group ? In the old version it was domain admin group = 
 @adm...
 but this parameter has obviously been dropped in 3.0 . I just joined
 a machine to the domain by using root , but I think this was just because
 root is admin member by default.
 
 Thanks in advance,
 Torsten Bergeest
-- 
Gunther SchlegelRiege Software International GmbH
Manager System AdministrationMollsfeld 10
 40670 Meerbusch, Germany
Email: [EMAIL PROTECTED]  Phone: +49-2159-9148-0
  Fax:   +49-2159-9148-11
-

Disclaimer:
You may grab my GPG key from http://www.keyserver.net .
A nonproportional font is recommended for reading.


signature.asc
Description: This is a digitally signed message part
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Re: [Samba] samba3: domain member server: user mapping problem (ldap)

2003-09-30 Thread Gunther Schlegel
Hi Jelmer,

thanks for your message.

 You should set 'security = domain' (that way, the user and group lists
 are retrieved from the PDC), no 'passdb backend'. Though 'idmap backend'
 should be set (SID-to-UID and SID-to-GID mappings can't be retrieved
 from the PDC).

This is in fact the first configuration I tried because it seemed to be
the natural solution. 

I still have some questions and hope you can help me again:

a) I had to use winbind to get any use of the passdb backend setting.
However, in opposite to the HowTo Collection §10.2.3 / Example table
10.1 the line in smb.conf had to be 

idmap backend  = ldap:ldap://leibniz.rsidus.riege.de, and not
 

idmap backend  = ldapsam:ldap://leibniz.rsidus.riege.de
 ^^^ 

b) am I supposed to use winbind at all? I am already using pam_ldap and
nss_ldap on the server. The winbind settings are:

idmap uid = 1-2
idmap gid = 1-2
winbind trusted domains only = yes

The UIDs/GIDs actually used in LDAP are in between 600 and 3000.

c) net groupmap still does not list anything.

d) In windows the system still shows the rights as [member
server]\username instead of DOMAIN\username. 

e) do I have to adjust the member servers SID? It created it's own one
and it is different from the domains SID. 

regards, Gunther

-- 
Gunther SchlegelRiege Software International GmbH
Manager System AdministrationMollsfeld 10
 40670 Meerbusch, Germany
Email: [EMAIL PROTECTED]  Phone: +49-2159-9148-0
  Fax:   +49-2159-9148-11
-

Disclaimer:
You may grab my GPG key from http://www.keyserver.net .
A nonproportional font is recommended for reading.


signature.asc
Description: This is a digitally signed message part
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Re: [Samba] samba3: domain member server: user mapping problem (ldap)

2003-09-30 Thread Gunther Schlegel
Hi Jelmer,

  idmap backend  = ldap:ldap://leibniz.rsidus.riege.de, and not
   
  idmap backend  = ldapsam:ldap://leibniz.rsidus.riege.de
   ^^^ 
 Thanks, I fixed it in the documentation.

You may change it there as well:
- example §5.3
- §20.1: ( at bootom of page): If idmap backend has been specifies as
ldapsam:url ...

The text about using winbind on BDCs and member servers at the end of
paragraph 5.3 would be of great help in paragraph 6.3 as well. ;)

Overall this idmap / winbind thing was merged quite late with the Howto
I suppose, because I did not read it when I set up the PDC / BDC ( about
the time when rc1/rc2 came out ) and the chapter on winbind still seems
to have the winbind 2.2 in mind - overall winbind now seems to be able
to act as a snap in replacement for nss_ldap/pam_ldap, but on the other
hand I tend to stick with the latter in a plain linux server
environment.

  b) am I supposed to use winbind at all? I am already using pam_ldap and
  nss_ldap on the server. The winbind settings are:
  
  idmap uid = 1-2
  idmap gid = 1-2
  winbind trusted domains only = yes
  
  The UIDs/GIDs actually used in LDAP are in between 600 and 3000.

 I figure idmap is not working correctly (or it's supposed to work
 differently as the last time I looked at it..)

sic

  c) net groupmap still does not list anything.
 'net groupmap list' does not give any output _at all_ ?

no, it just maps everything to -1:

[EMAIL PROTECTED] samba]# net groupmap list
System Operators (S-1-5-32-549) - -1
Replicators (S-1-5-32-552) - -1
Guests (S-1-5-32-546) - -1
Domain Admins (S-1-5-21-1454018726-3595976858-1671193852-512) - -1
Domain Guests (S-1-5-21-1454018726-3595976858-1671193852-514) - -1
...

while on the PDC/BDC it is more like this:
[EMAIL PROTECTED] schlegel]# net groupmap list
Domain Admins (S-1-5-21-4157288312-2978303034-1700589767-2201) -
administratoren
Domain Users (S-1-5-21-4157288312-2978303034-1700589767-512) - smbuser
Domain Guests (S-1-5-21-4157288312-2978303034-1700589767-514) - nobody
develop (S-1-5-21-4157288312-2978303034-1700589767-3013) - develop
...

however, wbinfo -g gives output on BDC and member server:

[EMAIL PROTECTED] samba]# wbinfo -g
RIEGE\Domain Admins
RIEGE\Domain Users
RIEGE\Domain Guests
RIEGE\develop
...

Maybe net groupmap is not intended / necessary on member servers using
winbind? The SIDs get mapped in a correct way now except for the
following issue.

  d) In windows the system still shows the rights as [member
  server]\username instead of DOMAIN\username. 

No hints on this one?

  e) do I have to adjust the member servers SID? It created it's own one
  and it is different from the domains SID. 
 Have you joined the domain correctly? 

definitely. net rpc join, and it succeeded and the PDC added the account
in the ldap tree.

 Each workstation also has it's own
 SID, so that shouldn't be a problem.

This is what I expects, I am just not sure whether the member servers
SID has to partly match the domains SID or something like this.

I think I figured out that my main problem ( d), member server name
instead of domain name in from of the users name ) is gone if I change
the SID of the member server, on the other hand I expect things to get
odd and break if the SID is not unique...

regards, Gunther

-- 
Gunther SchlegelRiege Software International GmbH
Manager System AdministrationMollsfeld 10
 40670 Meerbusch, Germany
Email: [EMAIL PROTECTED]  Phone: +49-2159-9148-0
  Fax:   +49-2159-9148-11
-

Disclaimer:
You may grab my GPG key from http://www.keyserver.net .
A nonproportional font is recommended for reading.


signature.asc
Description: This is a digitally signed message part
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

[Samba] samba3: domain member server: user mapping problem (ldap)

2003-09-29 Thread Gunther Schlegel
Hi,

I have noticed a strange behavior regarding samba 3 domain member
servers:

I have a LDAP based Samba3 PDC + BDC setup running and want to add a
third machine as Domain member server (name: HILBERT ). 

Problem:
When I look up the file ownership from a W2K Workstation Client both PDC
and BDC show the owners account to be a domain account: 
e.g.: DOMAIN\schlegel

Hilbert behaves differently. It shows local users and mapped group in
the form:
HILBERT\[local user on hilbert|centrally mapped group]

and ldap-users like this:

HILBERT\(the Users SID)

I expect it to at least show mapped groups and ldap users in the form
DOMAIN\username.

I am also not quite sure whether I should run the server in domain or
user security mode, but I found out I have to use the LDAP backend to
get the central group mapping. I also found out that both setups work
and that the domain setup is talking to the PDC while the user setup
does not. This is like I expected it.

However, the behavior regarding hostname vs. domainname is the same.

nss_ldap + pam_ldap work fine, the UIDs are mapped on the OS level.
Environment software is openldap 2.1.22, nss_ldap 202, RedHat 9.

can anyone help me? I attached testparm -s output of hilbert.

regards, Gunther











-- 
Gunther SchlegelRiege Software International GmbH
Manager System AdministrationMollsfeld 10
 40670 Meerbusch, Germany
Email: [EMAIL PROTECTED]  Phone: +49-2159-9148-0
  Fax:   +49-2159-9148-11
-

Disclaimer:
You may grab my GPG key from http://www.keyserver.net .
A nonproportional font is recommended for reading.
Processing section [procars]
Load smb config files from /etc/samba/smb.conf
Loaded services file OK.
# Global parameters
[global]
workgroup = RIEGE
server string = Development Server
passdb backend = ldapsam:ldap://XXX, guest
lanman auth = No
client NTLMv2 auth = Yes
client lanman auth = No
client plaintext auth = No
log level = 2
min protocol = NT1
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = No
wins server = 
ldap suffix = ou=Riege Software,dc=riege,dc=com
ldap machine suffix = ou=SMB Machines,ou=Accounts,ou=Riege 
Software,dc=riege,dc=com
ldap user suffix = ou=RSIDUS,ou=Accounts,ou=Riege Software,dc=riege,dc=com
ldap group suffix = ou=Groups,ou=Riege Software,dc=riege,dc=com
ldap idmap suffix = ou=Riege Software,dc=riege,dc=com
ldap admin dn = cn=,ou=Riege 
Software,dc=riege,dc=com
ldap ssl = start tls
ldap passwd sync = Yes
idmap backend = ldapsam:ldap://XXX
hosts allow = XXX, 127.0.0.1
hosts deny = 0.0.0.0/0
hide special files = Yes
veto files = /lost+found/
delete readonly = Yes
dos filetimes = Yes

[procars]
comment = Development PROCARS installations
path = /opt/rsi
valid users = @develop


signature.asc
Description: This is a digitally signed message part
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Re: [Samba] Charset

2003-09-24 Thread Gunther Schlegel

 I have upgraded on my debian server from samba 2.2.3 (stable ) to samba
 3.0rc4 (unstable).
 The only problem that I have on my PDC is that italian character as à (a') ù
 (u') etc. are non treated as they should and this can cause profiles non to
 load correctly.

- read the samba hoto collection chapters on migration from 2.2 and
unicode.
- find out the native charset of you OS and adjust the unix charset
parameter in smb.cond if it is not UTF-8.
- there is a nice utility convmv to convert existing filenames. You
find the download location in the samba howto, mentioned chapters.

regards, Gunther

-- 
Gunther SchlegelRiege Software International GmbH
Manager System AdministrationMollsfeld 10
 40670 Meerbusch, Germany
Email: [EMAIL PROTECTED]  Phone: +49-2159-9148-0
  Fax:   +49-2159-9148-11
-

Disclaimer:
You may grab my GPG key from http://www.keyserver.net .
A nonproportional font is recommended for reading.


signature.asc
Description: This is a digitally signed message part
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Re: [Samba] Deleted smb.conf

2003-09-19 Thread Gunther Schlegel
run

rpm -Uvh --force [rpm]

On Do, 2003-09-18 at 22:44, Mulayrama, Satish HS wrote:
 I have RedHat 9.1 running.  Installed Samba that comes along with the OS to
 test it out.  When I was playing with it, I deleted the smb.conf file
 inadvertently.
 
 I uninstalled and reinstalled the Samba utilities, but that didn't help.
 How do I get back the default smb.conf file?
 
 Thanks in advance.
 
 Satish Kumar
-- 
Gunther SchlegelRiege Software International GmbH
Manager System AdministrationMollsfeld 10
 40670 Meerbusch, Germany
Email: [EMAIL PROTECTED]  Phone: +49-2159-9148-0
  Fax:   +49-2159-9148-11
-

Disclaimer:
You may grab my GPG key from http://www.keyserver.net .
A nonproportional font is recommended for reading.


signature.asc
Description: This is a digitally signed message part
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

[Samba] Samba3: machine account uid

2003-09-09 Thread Gunther Schlegel
Hello,

Setup: Samba 3rc3 PDC, ldapsam based, Openldap 2.1, RedHat 9

Question: Is it possible to assign the same UID to all machine accounts?
I am referring just to the number, of course there has to be one entry
for each machine with it's own unique username. 

Questions Background: Personally I would prefer a non unix account
solution for Windows machine accounts. Nevertheless this is not in
samba3. From my point of view these accounts are just containers to
store a password in that will never operate on the servers files. 

To add users I need to define the add machine script in smb.conf with
some ldapadd command. It is a nuisance that I have to publish a
username/password pair with appropriate rights on the ldap server in
smb.conf anyways, but I can at least circumvent this a bit with a user
that has only access to the ou that stores the machine accounts. It
would be a nice feature to have an ldap machine add setting which
would imply the use of the ldap proot dn for the operation. 

I still need to specify a uid for the machine account and I want to have
the machine accounts in a different number range from the normal user
accounts - so I wondered whether this uid has to be unique.

thanks a lot for all comments that enlighten me. ;)

regards, Gunther

-- 
Gunther SchlegelRiege Software International GmbH
Manager System AdministrationMollsfeld 10
 40670 Meerbusch, Germany
Email: [EMAIL PROTECTED]  Phone: +49-2159-9148-0
  Fax:   +49-2159-9148-11
-

Disclaimer:
You may grab my GPG key from http://www.keyserver.net .
A nonproportional font is recommended for reading.


signature.asc
Description: This is a digitally signed message part
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

[Samba] Samba3: group mapping with samba PDC, LDAP account flags

2003-09-09 Thread Gunther Schlegel
Hello again,

this mainly affects documentation:

a) net groupmap is a fine thing. Though: is it optional or do I have to
map some groups for proper client operation ( W2k/XP pro) ? If so, which
Windows groups have to be mapped?

b) There are Account flags both visible in the LDAP directory as well
as in pdbedit's output. The examples always refer to UX, while smbpasswd
just sets the U-flag on my system. What are these falgs about. They are
mentioned once in the Howto Collection in chapter 7, but that does not
really explain the matter.

thanks for answers.

regards, Gunther

-- 
Gunther SchlegelRiege Software International GmbH
Manager System AdministrationMollsfeld 10
 40670 Meerbusch, Germany
Email: [EMAIL PROTECTED]  Phone: +49-2159-9148-0
  Fax:   +49-2159-9148-11
-

Disclaimer:
You may grab my GPG key from http://www.keyserver.net .
A nonproportional font is recommended for reading.


signature.asc
Description: This is a digitally signed message part
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Re: [Samba] Samba 3.0rc3 - German Umlauts

2003-09-09 Thread Gunther Schlegel
Hi,

I have the same problem on RedHat9 with Samba 3rc3, Client Win XP (
German ), all smb.conf charset settings pointing to defaults (UTF-8). 

It did work with rc1. This is a showstopper if it is not related to
configuration errors.

from smbd.log:
[2003/09/09 16:10:26, 0] smbd/statcache.c:stat_cache_add(123)
  OOPS - tried to store stat cache entry for werid length paths [P] 2
and [pm]
 4)!
[2003/09/09 16:10:26, 0] smbd/statcache.c:stat_cache_add(123)
  OOPS - tried to store stat cache entry for werid length paths [P] 2
and [pm]
 4)!



 Unfortunately samba-3 is not yet usable due to problems with german
 umlauts.
 The following combination of charsets seems to be the only one which

  [2003/09/09 15:50:12, 1] smbd/service.c:make_connection_snum(696)
 dadi (192.168.123.178) connect to service peter initially as user
  peter (uid=500, gid=100) (pid 29204)
  [2003/09/09 15:50:12, 0] smbd/statcache.c:stat_cache_add(123)
 
 OOPS - tried to store stat cache entry for werid length paths 
 [B] 2 and [b.txt.txt] 10)!
  [2003/09/09 15:50:12, 2] smbd/open.c:open_file(250)
 peter opened file b.txt.txt read=Yes write=No (numopen=1)
  [2003/09/09 15:50:23, 2] smbd/close.c:close_normal_file(228)
 peter closed file b.txt.txt (numopen=0)
  [2003/09/09 15:51:46, 0] lib/util_sock.c:read_socket_data(342)
 read_socket_data: recv failure for 4. Error = Connection reset 
 by peer
  [2003/09/09 15:51:46, 2] smbd/server.c:exit_server(558)
 Closing connections
  [2003/09/09 15:51:46, 1] smbd/service.c:close_cnum(878)
 
 Samba is 3.0rc3 on SuSe 8.2, Client OS is Windows 2000 (German)
 
 Is it a bug or a feature ?
 
regards, Gunther

-- 
Gunther SchlegelRiege Software International GmbH
Manager System AdministrationMollsfeld 10
 40670 Meerbusch, Germany
Email: [EMAIL PROTECTED]  Phone: +49-2159-9148-0
  Fax:   +49-2159-9148-11
-

Disclaimer:
You may grab my GPG key from http://www.keyserver.net .
A nonproportional font is recommended for reading.


signature.asc
Description: This is a digitally signed message part
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba