Re: [Samba] how to set valid allowed workstation logins

2006-02-14 Thread John H Terpstra
On Tuesday 14 February 2006 09:11, Chris wrote:
> On Monday 13 February 2006 23:18, John H Terpstra wrote:
> > On Sunday 12 February 2006 13:36, Chris wrote:
> > > I'm having trouble setting the Workstations value on a tdbsam
> > > backend using pdbedit. I can't seem to find the correct syntax to
> > > accomplish this.
> >
> > I have always used the NT4 Domain User Manager to configure the
> > allowed workstation setting.
> >
> > The pdbedit utility does not permit setting this constraint.
>
> Can this be fixed?
> Seems to be a sorely missing feature.

Raise a bug report. That will put your concern on record. Alternately, submit 
a patch - that way it might get fixed much earlier.

> I can't be the only who handles all such management via CLI through SSH
> on the Linux side. I also have ~150 users I would like to change in
> this regard plus there are many times I'm adding multiple users, and
> using shell scripts makes this task rather easy.

I can't comment on that. There is always someone who does things 
differently. :-)

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


[Samba] Problem changing passwords (LDAP + SMB + smbldap-tools)

2006-02-14 Thread David . Martinez
Hi everybody.

I'm having a weird behavior with my smb+ldap installation.

My server is configured as the PDC for my network. All my users are 
attached to the domain and are working fine.
Also, I'm trying to configure other web applications in order to use LDAP, 
the idea is that the users use the same credentials to log into the SMB 
domain and to log into another applications (specifically, OneOrZero 
helpdesk manager)

My problem is:
If I change user's password with "smbldap-passwd", users can authenticate 
to SMB domain and other LDAP applications.
BUT if users change their passwords from windows (CTRL+ALT+DEL -> "Change 
Password"), the new password works for the SMB domain but it does not work 
for the other LDAP applications. In fact they can log into the LDAP 
applications using the old password.
At the end, every user has two valid passwords: one for the domain and 
other for my applications using LDAP authentication.

I suppose I'm missing some kind of option in order to have synchronized 
both passwords.

My LDAP is saving this entries:
sambaNTPassword
sambaLMPassword
userPassword

What represents each of this attributes?
How can I force smbldap-tools to keep both password synchronized?


Thanks in advance.


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


[Samba] Re: migrating samba PDC from one computer to another

2006-02-14 Thread Mark Nienberg

William Reid wrote:

Hi everyone,

I'm planning on moving out old Samba PDC from its old hardware to a 
completely new system. the old system will still be running with no 
changes except samba...


What files should I worry about moving besides the passwd and smbpasswd 
files?  Do I need to worry about the secrets.tdb file or any of the 
contents in /var/cache/samba ?


Thanks
Wm


Most of the variations are covered here:

http://www.samba.org/samba/docs/man/Samba-Guide/upgrades.html#id2567617

Mark

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


[Samba] Samba MS Small Business Server 2003

2006-02-14 Thread Alex Balan

I have a Linux server running as a PDC.
Has anybody out there successfuly set up a MS Small Business Server 2003 
to run as domain controller on the same domain name ?
Or is there any way to have the 2003 running as a server for more than 
the 7 days provided for the migration purposes ?


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


Re: [Samba] Logon without Domain

2006-02-14 Thread Chris
On Tuesday 14 February 2006 08:28, David Schäfer wrote:
> How can I configure Windows that the domain Account is cached and the
> users can login to their machines, if there are outside the office
> network?

This is the default AFAIK, always worked without changes for me.

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


[Samba] share permissions

2006-02-14 Thread Donald W Watson





If I have a samba server with the following share:

  [share1]
readlist= user1
path = /tmp/share1
writelist = user2

On the surface this indicates that user1 can only read files in the share,
while user2 and read and write.  However:

1. If the share is mounted on another unix machine with "mount -t cifs"
what effect does "-o username= have on the read/write behavior
of files in the share?

2. What effect do unix ownership and permissions of the files in the share
have on read/write behavior of those files?  Does normal unix behavior
apply (e.g., a file in the share has rw permissions for root, so root can
write the file regardless of who mounted the share)?  What if root is the
file owner?

Sincerely,Don Watson
Linux Technology and Solutions; Beaverton, OR
503-578-4861/TL: 775-4861; [EMAIL PROTECTED]
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] recycle bin

2006-02-14 Thread manish vashi


Thanks for the info.

I have compiled it with --with-shared-modules=vfs_recycle and it populated 
the my /export/apps/samba/lib/vfs dir,was not sure it was required but i 
will give it a shot


drwxr-xr-x   2 root system 4096 Feb 13 16:18 .
drwxr-xr-x   8 root system 4096 Feb 13 16:21 ..
-rwxr-xr-x   1 root system 8478 Feb 13 16:18 audit.so
-rwxr-xr-x   1 root system15321 Feb 13 16:18 cap.so
-rwxr-xr-x   1 root system 4051 Feb 13 16:18 default_quota.so
-rwxr-xr-x   1 root system10080 Feb 13 16:18 expand_msdfs.so
-rwxr-xr-x   1 root system14300 Feb 13 16:18 extd_audit.so
-rwxr-xr-x   1 root system 2732 Feb 13 16:18 fake_perms.so
-rwxr-xr-x   1 root system41577 Feb 13 16:18 full_audit.so
-rwxr-xr-x   1 root system14566 Feb 13 16:18 netatalk.so
-rwxr-xr-x   1 root system22490 Feb 13 16:18 readonly.so
-rwxr-xr-x   1 root system24210 Feb 13 16:18 recycle.so
-rwxr-xr-x   1 root system10808 Feb 13 16:18 shadow_copy.so




Original Message Follows
From: Franz Strebel <[EMAIL PROTECTED]>
To: manish vashi <[EMAIL PROTECTED]>
CC: samba@lists.samba.org
Subject: Re: [Samba] recycle bin
Date: Tue, 14 Feb 2006 08:58:58 +0100

1.  No need to pass anything to configure, it is now built
by default.

2.  Sample from my smb.conf

   vfs objects = recycle
   recycle:repository = ../recycle/%U
   recycle:keeptree = true
   recycle:versions = true
   recycle:touch = true
   recycle:exclude = *.tmp,*.temp,~$*,*.$$$,*.ldb

I'm running into problems with the exclude parameter though,
it seems to be ignored.  Will start a new thread for it.

Regards,
Franz

_
Express yourself instantly with MSN Messenger! Download today - it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


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


[Samba] Logon without Domain

2006-02-14 Thread David Schäfer
Hallo,

samba works as PDC. Now I have some Notebookuser, who work not always at the
office.

How can I configure Windows that the domain Account is cached and the users
can login to their machines, if there are outside the office network?

Is this possible?

Regards
david

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


[Samba] domain member with LDAP nss

2006-02-14 Thread Gordon Messmer
I have a domain member server running samba 3.  NSS info currently comes 
from ldap, and the PDC is another samba 3 host.  The PDC is also using 
the ldap server for its data.


I'm not clear on how winbind is used in this configuration.  When I look 
at the owner/group of files from a Windows workstation, I see names of 
the form "MYHOST\gmessmer" rather than "MYDOMAIN\gmessmer".  I presume 
that this is so because samba can map my domain login 
(MYDOMAIN\gmessmer) to the unix user "gmessmer", but can't do the 
reverse without winbind.


What is the minimum amount of configuration needed to provide this 
reverse mapping?  Do I have to go so far as to replace the NSS source 
with winbind?

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


[Samba] migrating samba PDC from one computer to another

2006-02-14 Thread William Reid

Hi everyone,

I'm planning on moving out old Samba PDC from its old hardware to a 
completely new system. the old system will still be running with no 
changes except samba...


What files should I worry about moving besides the passwd and smbpasswd 
files?  Do I need to worry about the secrets.tdb file or any of the 
contents in /var/cache/samba ?


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


[Samba] Re: Logon without Domain

2006-02-14 Thread Michael Lueck

David Schäfer wrote:


How can I configure Windows that the domain Account is cached and the users
can login to their machines, if there are outside the office network?

Is this possible?


Yes it is actually, but I think I am going to loose a bit of hair tracking down 
which package I stuck that setting in. I know it works, because it is in our 
standard! ;-)

Basically what I did is to set the policy for expiring cached credentials to never stop trusting cached credentials. Mind you, doing so is a double edge sword. Once done, you can lock a person at the 
server, but Windows will not care.


Also the obvious, you'll want local profiles on those laptops.

I have a grep running, will post once I am able to dig up where I hid that. It's not in the obvious "package that joins workstations to the Samba PDC" which had been my assumption of where I would 
stick that.


--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

Remove the upper case letters NOSPAM to contact me directly.

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


Re: [Samba] Smbpasswd -m -x not working, "object class violation" error

2006-02-14 Thread Andrés Yacopino
Thanks for replying Daniel, i execute :grep -il displayName *.ldif

and i obtain:

00core.ldif
50ns-admin.ldif
50ns-iabs.ldif
99samba-schema-netscapeds5.x.ldif
99user.ldif

And also see the configuration in the console and i see:

Standard Attribute(Read Only):

Name: displayName
OID: 2.16.840.1.113730.3.1.241
Syntax: DirectoryString
Multivalued: not checked

Do you know what is wrong with this?
Thanks a lot,
Andrés.

2006/2/14, Daniel Wilson <[EMAIL PROTECTED]>:
>
> Im sure this means that its trying to delete the displayName attribute
> which is more than likely not in your LDAP schema.
>
> Look in "/slapd-/config/schema/" directory for
> your schema
>
> To see if "displayName" is part of any object classes in your LDAP
> schema search the schema files:
>
> bash# grep -il displayName
> /slapd-/config/schema/*.ldif
>
> If its not part of your schema you may want to add this attribute to
> your 99user.ldif schema file or add the attribute via the Sun LDAP
> console (recommended):
>
> bash # /startconsole &
> Server Group > Directory  Server (Open) > Configuration > Schema >
> Attributes > Create
>
> -or-
>
> you may want to just disable schema checking in your LDAP server :
>
> bash # /startconsole &
> Server Group > Directory  Server (Open) > Configuration > Schema (Disable)
>
> Regards
>
> Daniel Wilson
> Systems Manager
> Student and Learning Support
> University of Sunderland
> Tel: 0191 515 2695
>
>
>
> Andrés Yacopino wrote:
>
> > Daniel, check the log as you said and i hit this:
> >
> > [14/Feb/2006:14:19:10 +0300] - ERROR<5897> - Schema  - conn=-1 op=-1
> > msgId=-1 -
> > User error:  Entry "uid=aprueba$,ou=computers,o= acasalud.com.ar
> > ,dc=acasalud,dc=c
> > om,dc=ar", attribute "displayName" is not allowed
> >
> > What does it means?
> >
> > Thanks,
> > Andrés.
> >
> >
> >
> > 2006/2/14, Daniel Wilson < [EMAIL PROTECTED]
> > >:
> >
> > Have you checkes the Sun LDAP errors.log file for the specific
> object
> > class violation? Usually at
> > /slapd-/logs/errors.log
> >
> > Daniel Wilson
> > Systems Manager
> > Student and Learning Support
> > University of Sunderland
> > Tel: 0191 515 2695
> >
> >
> >
> > Andrés Yacopino wrote:
> >
> > >I have deployed a samba server with Sun Java Ldap Directory.
> > >
> > >I sucessfully create users and deleted them when ldap delete
> > dn=yes in
> > >smb.conf, but when ldap delete dn=no i obtain this error when i
> > issue a
> > >smbpasswd -m -x command:
> > >
> > >ldapsam_delete_entry: Could not delete attributes for
> > >uid=aprueba$,ou=computers,
> > >o= acasalud.com.ar
> > ,dc=acasalud,dc=com,dc=ar, error: Object
> > class violation ()
> > >Failed to delete entry for user aprueba$.
> > >Failed to modify password entry for user aprueba$
> > >
> > >My smb.conf is:
> > >
> > >[global]
> > >
> > >   workgroup = ACASALUDROS
> > >   server string = Sun Samba Server
> > >   security = user
> > >   dos filetimes = yes
> > >   time offset = -360
> > >   load printers = yes
> > >   printcap name = /etc/printcap
> > >   printing = cups
> > >   guest account = guest
> > >   log file = /usr/local/samba/var/log.%m
> > >   log level = 5
> > >   max log size = 50
> > >   null passwords = yes
> > >   encrypt passwords = yes
> > >   ldap password sync = yes
> > >   unix password sync = yes
> > >   username level = 2
> > >   password level = 0
> > >   passwd program = /usr/bin/passwd %u
> > >   passwd chat = *New* password* %n\n *new* password* %n\n
> > *successfully*
> > >idmap backend = ldapsam:ldap://localhost:389
> > >passdb backend = ldapsam:ldap://localhost:389
> > >ldap admin dn = cn=Directory Manager
> > >ldap suffix = o=acasalud.com.ar
> > ,dc=acasalud,dc=com,dc=ar
> > >ldap user suffix = ou=people
> > >ldap group suffix = ou=groups
> > >ldap machine suffix = ou=computers
> > >ldap idmap suffix = ou=idmap
> > >ldap delete dn = no
> > >   socket options = TCP_NODELAY=0
> > >   wins server = 10.11.0.2 
> > >   dns proxy = no
> > >
> > >what is wrong?
> > >
> > >Is that works only when
> > >
> > >   preferred master = yes
> > >   domain master = yes
> > >   local master = yes
> > >   domain logons = yes
> > >
> > >are yes?
> > >Any other ideas?
> > >
> > >Thanks a lot.
> > >
> > >
> > >--
> > >Andrés Yacopino
> > >
> > >
> >
> >
> >
> >
> >
> > --
> > Andrés Yacopino
>
>
>
>


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


Re: [Samba] recycle bin

2006-02-14 Thread Jeremy Allison
On Tue, Feb 14, 2006 at 11:06:30AM -0500, Manish Vashi wrote:
> I am trying to configure recycle bin on AIX and SUN server. After put the
> entry for vfs in smb.conf i cannot map drive. My vfs dir location is
> /export/apps/samba/lib/vfs
> 
> Samba starts fine ,but when try to map the drive it gives error
> 
>  ===
> [2006/02/14 10:06:58, 0] lib/fault.c:fault_report(37)
>   INTERNAL ERROR: Signal 11 in pid 528394 (3.0.14a)
>   Please read the appendix Bugs of the Samba HOWTO collection
> [2006/02/14 10:06:58, 0] lib/fault.c:fault_report(39)
>   ===
> [2006/02/14 10:06:58, 0] lib/util.c:smb_panic2(1495)
>   PANIC: internal error

This looks like a bug I fixed for 3.0.21.

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


Re: [Samba] Smbpasswd -m -x not working, "object class violation" error

2006-02-14 Thread Daniel Wilson
Im sure this means that its trying to delete the displayName attribute 
which is more than likely not in your LDAP schema.


Look in "/slapd-/config/schema/" directory for 
your schema


To see if "displayName" is part of any object classes in your LDAP 
schema search the schema files: 

bash# grep -il displayName 
/slapd-/config/schema/*.ldif


If its not part of your schema you may want to add this attribute to 
your 99user.ldif schema file or add the attribute via the Sun LDAP 
console (recommended):


bash # /startconsole &
Server Group > Directory  Server (Open) > Configuration > Schema > 
Attributes > Create


-or-

you may want to just disable schema checking in your LDAP server :

bash # /startconsole &
Server Group > Directory  Server (Open) > Configuration > Schema (Disable)

Regards

Daniel Wilson
Systems Manager
Student and Learning Support
University of Sunderland
Tel: 0191 515 2695



Andrés Yacopino wrote:


Daniel, check the log as you said and i hit this:

[14/Feb/2006:14:19:10 +0300] - ERROR<5897> - Schema  - conn=-1 op=-1 
msgId=-1 -
User error:  Entry "uid=aprueba$,ou=computers,o= acasalud.com.ar 
,dc=acasalud,dc=c

om,dc=ar", attribute "displayName" is not allowed

What does it means?

Thanks,
Andrés.



2006/2/14, Daniel Wilson < [EMAIL PROTECTED] 
>:


Have you checkes the Sun LDAP errors.log file for the specific object
class violation? Usually at
/slapd-/logs/errors.log

Daniel Wilson
Systems Manager
Student and Learning Support
University of Sunderland
Tel: 0191 515 2695



Andrés Yacopino wrote:

>I have deployed a samba server with Sun Java Ldap Directory.
>
>I sucessfully create users and deleted them when ldap delete
dn=yes in
>smb.conf, but when ldap delete dn=no i obtain this error when i
issue a
>smbpasswd -m -x command:
>
>ldapsam_delete_entry: Could not delete attributes for
>uid=aprueba$,ou=computers,
>o= acasalud.com.ar
,dc=acasalud,dc=com,dc=ar, error: Object
class violation ()
>Failed to delete entry for user aprueba$.
>Failed to modify password entry for user aprueba$
>
>My smb.conf is:
>
>[global]
>
>   workgroup = ACASALUDROS
>   server string = Sun Samba Server
>   security = user
>   dos filetimes = yes
>   time offset = -360
>   load printers = yes
>   printcap name = /etc/printcap
>   printing = cups
>   guest account = guest
>   log file = /usr/local/samba/var/log.%m
>   log level = 5
>   max log size = 50
>   null passwords = yes
>   encrypt passwords = yes
>   ldap password sync = yes
>   unix password sync = yes
>   username level = 2
>   password level = 0
>   passwd program = /usr/bin/passwd %u
>   passwd chat = *New* password* %n\n *new* password* %n\n
*successfully*
>idmap backend = ldapsam:ldap://localhost:389
>passdb backend = ldapsam:ldap://localhost:389
>ldap admin dn = cn=Directory Manager
>ldap suffix = o=acasalud.com.ar
,dc=acasalud,dc=com,dc=ar
>ldap user suffix = ou=people
>ldap group suffix = ou=groups
>ldap machine suffix = ou=computers
>ldap idmap suffix = ou=idmap
>ldap delete dn = no
>   socket options = TCP_NODELAY=0
>   wins server = 10.11.0.2 
>   dns proxy = no
>
>what is wrong?
>
>Is that works only when
>
>   preferred master = yes
>   domain master = yes
>   local master = yes
>   domain logons = yes
>
>are yes?
>Any other ideas?
>
>Thanks a lot.
>
>
>--
>Andrés Yacopino
>
>





--
Andrés Yacopino 


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

Re: [Samba] Smbpasswd -m -x not working, "object class violation" error

2006-02-14 Thread Andrés Yacopino
Daniel, check the log as you said and i hit this:

[14/Feb/2006:14:19:10 +0300] - ERROR<5897> - Schema  - conn=-1 op=-1
msgId=-1 -
User error:  Entry "uid=aprueba$,ou=computers,o=acasalud.com.ar
,dc=acasalud,dc=c
om,dc=ar", attribute "displayName" is not allowed

What does it means?

Thanks,
Andrés.



2006/2/14, Daniel Wilson <[EMAIL PROTECTED]>:
>
> Have you checkes the Sun LDAP errors.log file for the specific object
> class violation? Usually at /slapd-/logs/errors.log
>
> Daniel Wilson
> Systems Manager
> Student and Learning Support
> University of Sunderland
> Tel: 0191 515 2695
>
>
>
> Andrés Yacopino wrote:
>
> >I have deployed a samba server with Sun Java Ldap Directory.
> >
> >I sucessfully create users and deleted them when ldap delete dn=yes in
> >smb.conf, but when ldap delete dn=no i obtain this error when i issue a
> >smbpasswd -m -x command:
> >
> >ldapsam_delete_entry: Could not delete attributes for
> >uid=aprueba$,ou=computers,
> >o=acasalud.com.ar,dc=acasalud,dc=com,dc=ar, error: Object class violation
> ()
> >Failed to delete entry for user aprueba$.
> >Failed to modify password entry for user aprueba$
> >
> >My smb.conf is:
> >
> >[global]
> >
> >   workgroup = ACASALUDROS
> >   server string = Sun Samba Server
> >   security = user
> >   dos filetimes = yes
> >   time offset = -360
> >   load printers = yes
> >   printcap name = /etc/printcap
> >   printing = cups
> >   guest account = guest
> >   log file = /usr/local/samba/var/log.%m
> >   log level = 5
> >   max log size = 50
> >   null passwords = yes
> >   encrypt passwords = yes
> >   ldap password sync = yes
> >   unix password sync = yes
> >   username level = 2
> >   password level = 0
> >   passwd program = /usr/bin/passwd %u
> >   passwd chat = *New* password* %n\n *new* password* %n\n *successfully*
> >idmap backend = ldapsam:ldap://localhost:389
> >passdb backend = ldapsam:ldap://localhost:389
> >ldap admin dn = cn=Directory Manager
> >ldap suffix = o=acasalud.com.ar,dc=acasalud,dc=com,dc=ar
> >ldap user suffix = ou=people
> >ldap group suffix = ou=groups
> >ldap machine suffix = ou=computers
> >ldap idmap suffix = ou=idmap
> >ldap delete dn = no
> >   socket options = TCP_NODELAY=0
> >   wins server = 10.11.0.2
> >   dns proxy = no
> >
> >what is wrong?
> >
> >Is that works only when
> >
> >   preferred master = yes
> >   domain master = yes
> >   local master = yes
> >   domain logons = yes
> >
> >are yes?
> >Any other ideas?
> >
> >Thanks a lot.
> >
> >
> >--
> >Andrés Yacopino
> >
> >
>
>
>


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


[Samba] Logon without Domain

2006-02-14 Thread David Schäfer
Hallo,

samba works as PDC. Now I have some Notebookuser, who work not always at the
office.

How can I configure Windows that the domain Account is cached and the users
can login to their machines, if there are outside the office network?

Is this possible?

Regards
david

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


[Samba] AIX 52 and long (>8) character Windows usernames

2006-02-14 Thread Kent Wick
Env: AIX 5.2 ML07 with Samba 3.0.21b (compiled in-house) with config options of:
  --with-pam --with-winbind --with-acl-support --with-aio-support

Can anybody shed any light on why users that have 8 characters or less
(Windows and AIX) and are defined in /etc/passwd can access the defined
Samba share while those users with a Windows username of 9 characters
or more (who have been defined in the "username map" file are always 
presented with an authentication window?

Is there something that I have wrong that I am just not seeing?

This Samba server is functioning as a member server in an existing Windows NT 
domain.

smb.conf reads:
[global]
workgroup = ERSSECURITY
netbios name = SAMBASRVR
server string = Samba
security = DOMAIN
algorithmic rid base = 50
username map = /usr/local/samba/lib/nt_dom_2_unix_user_map
ldap ssl = no
idmap uid = 10001-3
idmap gid = 10001-3
winbind separator = +

[denali_d]
path = /samba/denali_d
read only = No
#   guest ok = Yes

The file noted in "username map" reads:
brad=ERSSECURITY/bstafford
mrutherf=ERSSECURITY/mrutherford
sambat2=ERSSECURITY/sambatest
sambat2=sambatest

/etc/pam.conf reads:
#   Authentication
#
login   authrequired/usr/lib/security/pam_winbind.so
login   authrequired/usr/lib/security/pam_aix try_first_pass
#  loginauthrequired/usr/lib/security/pam_aix
#  loginauthrequired/usr/lib/security/pam_winbind.so 
try_first_pass
su  authsufficient  /usr/lib/security/pam_aix
OTHER   authrequired/usr/lib/security/pam_aix
#
#   Account Mgmt
#
#  loginaccount required/usr/lib/security/pam_aix
login   account sufficient  /usr/lib/security/pam_winbind.so try_first_pass
OTHER   account required/usr/lib/security/pam_aix
#
#   Session Mgmt
#
OTHER   session required/usr/lib/security/pam_aix
#
#   Password Mgmt
#
OTHER   passwordrequired/usr/lib/security/pam_aix




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


Re: [Samba] recycle bin

2006-02-14 Thread William Jojo



On Tue, 14 Feb 2006, Manish Vashi wrote:


I am trying to configure recycle bin on AIX and SUN server. After put the
entry for vfs in smb.conf i cannot map drive. My vfs dir location is
/export/apps/samba/lib/vfs

Samba starts fine ,but when try to map the drive it gives error



This is a bug I'm working on for AIX. It's a linker option that I'm 
testing to make certain it loads the shared object and binds external 
references correctly.


I'm hoping to be done this week.


Cheers,

Bill


===
[2006/02/14 10:06:58, 0] lib/fault.c:fault_report(37)
 INTERNAL ERROR: Signal 11 in pid 528394 (3.0.14a)
 Please read the appendix Bugs of the Samba HOWTO collection
[2006/02/14 10:06:58, 0] lib/fault.c:fault_report(39)
 ===
[2006/02/14 10:06:58, 0] lib/util.c:smb_panic2(1495)
 PANIC: internal error




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


Re: [Samba] how to set valid allowed workstation logins

2006-02-14 Thread Chris
On Monday 13 February 2006 23:18, John H Terpstra wrote:
> On Sunday 12 February 2006 13:36, Chris wrote:
> > I'm having trouble setting the Workstations value on a tdbsam
> > backend using pdbedit. I can't seem to find the correct syntax to
> > accomplish this.
>
> I have always used the NT4 Domain User Manager to configure the
> allowed workstation setting.
>
> The pdbedit utility does not permit setting this constraint.

Can this be fixed?
Seems to be a sorely missing feature.

I can't be the only who handles all such management via CLI through SSH 
on the Linux side. I also have ~150 users I would like to change in 
this regard plus there are many times I'm adding multiple users, and 
using shell scripts makes this task rather easy.

> > I found some references in an older version of the HOWTO where
> > there existed "Chapter 10. Account Information Databases". This
> > whole chapter is missing from the current HOWTO even though it is
> > referenced in the newest version (a link in chapter 33 under
> > "Passdb Backends and Authentication"). In fact, it seems that there
> > is very little information on pdbedit and these backends in the
> > version I'm now viewing.
>
> Thanks for pointing me to this breakage. I just fixed it in SVN.
> Expect the next update of the Samba3-HOWTO to again include this
> documentation.

Super. Thank you.

> > Also, virtually every link in the HOWTO points to the TOC instead
> > of directly to the section in question. Is this by design?
>
> Nope. It has been fixed.
>
> - John T.

Thanks again.

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


[Samba] Re: problem with Too many open files(REASON FOUND)

2006-02-14 Thread Michael Lueck

Hans B. Randgaard wrote:


Sorry for wasting Samba mailing list bandwidth ;-)


No no, thank YOU for coming back with what you found was the actual cause / 
solution. I had been keeping an eye on your thread as it was a good puzzler 
indeed. Good old uncle Billy Gates strikes again!

P.S. What about switching to aaahhh, what's that thing... Thunderbird?! ;-)

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

Remove the upper case letters NOSPAM to contact me directly.

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


[Samba] recycle bin

2006-02-14 Thread Manish Vashi
I am trying to configure recycle bin on AIX and SUN server. After put the
entry for vfs in smb.conf i cannot map drive. My vfs dir location is
/export/apps/samba/lib/vfs

Samba starts fine ,but when try to map the drive it gives error

 ===
[2006/02/14 10:06:58, 0] lib/fault.c:fault_report(37)
  INTERNAL ERROR: Signal 11 in pid 528394 (3.0.14a)
  Please read the appendix Bugs of the Samba HOWTO collection
[2006/02/14 10:06:58, 0] lib/fault.c:fault_report(39)
  ===
[2006/02/14 10:06:58, 0] lib/util.c:smb_panic2(1495)
  PANIC: internal error



This is how my smb.conf looks like


# from 172.19.148.152 (172.19.148.152)
# Date: 2005/07/02 04:23:03

# Global parameters
[global]
workgroup = aryan.u
netbios name = aryan
server string = aryan
security = SERVER
password server = pmark10-sg1
username map = /export/apps/samba/lib/username.map
vfs = /export/apps/samba/lib
max log size = 1
name resolve order = host
deadtime = 30
max open files = 1014
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
load printers = No
show add printer wizard = No
lm announce = No
preferred master = No
domain master = No
browse list = No
enhanced browsing = No
dns proxy = No
kernel oplocks = No
ldap ssl = no
invalid users = root, bin, daemon, sys, adm, uucp, lp, nuucp, www,
sysadm
create mask = 0664
directory mask = 0775
dont descend = /dev,/etc,/sbin,/var,/bin,/kernel,/platform

[template]
comment = template
path = /template
valid users = template
read only = No
browseable = No

[data]
comment = data
path = /data
read only = No
browseable = No
vfs objects = recycle
recycle:repository = /data/recycle
recycle:keeptree = true
recycle:versions = true
recycle:touch = true
recycle:exclude = *.tmp,*.temp,~$*,*.$$$,*.ldb
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Smbpasswd -m -x not working, "object class violation" error

2006-02-14 Thread Daniel Wilson
Have you checkes the Sun LDAP errors.log file for the specific object 
class violation? Usually at /slapd-/logs/errors.log


Daniel Wilson
Systems Manager
Student and Learning Support
University of Sunderland
Tel: 0191 515 2695



Andrés Yacopino wrote:


I have deployed a samba server with Sun Java Ldap Directory.

I sucessfully create users and deleted them when ldap delete dn=yes in
smb.conf, but when ldap delete dn=no i obtain this error when i issue a
smbpasswd -m -x command:

ldapsam_delete_entry: Could not delete attributes for
uid=aprueba$,ou=computers,
o=acasalud.com.ar,dc=acasalud,dc=com,dc=ar, error: Object class violation ()
Failed to delete entry for user aprueba$.
Failed to modify password entry for user aprueba$

My smb.conf is:

[global]

  workgroup = ACASALUDROS
  server string = Sun Samba Server
  security = user
  dos filetimes = yes
  time offset = -360
  load printers = yes
  printcap name = /etc/printcap
  printing = cups
  guest account = guest
  log file = /usr/local/samba/var/log.%m
  log level = 5
  max log size = 50
  null passwords = yes
  encrypt passwords = yes
  ldap password sync = yes
  unix password sync = yes
  username level = 2
  password level = 0
  passwd program = /usr/bin/passwd %u
  passwd chat = *New* password* %n\n *new* password* %n\n *successfully*
   idmap backend = ldapsam:ldap://localhost:389
   passdb backend = ldapsam:ldap://localhost:389
   ldap admin dn = cn=Directory Manager
   ldap suffix = o=acasalud.com.ar,dc=acasalud,dc=com,dc=ar
   ldap user suffix = ou=people
   ldap group suffix = ou=groups
   ldap machine suffix = ou=computers
   ldap idmap suffix = ou=idmap
   ldap delete dn = no
  socket options = TCP_NODELAY=0
  wins server = 10.11.0.2
  dns proxy = no

what is wrong?

Is that works only when

  preferred master = yes
  domain master = yes
  local master = yes
  domain logons = yes

are yes?
Any other ideas?

Thanks a lot.


--
Andrés Yacopino
 

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

[Samba] RE: problem with Too many open files(REASON FOUND)

2006-02-14 Thread Hans B. Randgaard
Hi again,

 

For what it is worth, we found out that MS Outlook on Citrix

now and then opens thousands(17-18000) of references(filehandles)

 to the same PAB(Personal Address Book) files and then

give up these references again after a while !? This was what

made Samba chooke. We will now remove all PAB access

from Outlook.

 

Sorry for wasting Samba mailing list bandwidth ;-)

 

Kind regards, Hans.

 



From: Hans B. Randgaard 
Sent: 12. februar 2006 22:10
To: 'samba@lists.samba.org'
Subject: problem with Too many open files

 

Hi Samba community,

 

Last year we upgraded from version 3.0.10 to 3.0.20b and at the same
time

switch from NT-domain controller membership to AD membership. After this

upgrade we began to experience that drives sometimes were not mapped.

We saw this both on our Citrix servers and on our XP PCs.

A couple of weeks back we then moved to 3.0.21b in the hope that this

misbehaviour would disappear, but in fact it didn't. I noticed that we
see

the error message:

"Too many open files"

each time drives are not mapped.

 

In the log files I can see that it has happened even when we ran version
3.0.10.

 

We run Samba on Solaris and have previously increased both "rlim_fd_cur"
and

"rlim_fd_max" to 1024. Do we need to increase these values further ?

If I do "plimit " it says:

  resourcecurrent maximum

  time(seconds)unlimited  unlimited

  file(blocks) unlimited  unlimited

  data(kbytes)   unlimited  unlimited

  stack(kbytes) 8192unlimited

  coredump(blocks)   unlimited  unlimited

  nofiles(descriptors) 10020   10020

  vmemory(kbytes)unlimited  unlimited

 

I have tried increasing "nofiles" to 20040 without any success :-(

 

Here are some examples of the full error messages from the logs:

 

[2005/04/21 08:45:36, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(204)

  startsmbfilepwent_internal: unable to open file
/usr/local/samba/private/smbpasswd. Error was: Too many open files

[2005/04/21 08:45:36, 0]
passdb/pdb_smbpasswd.c:smbpasswd_getsampwnam(1326)

  Unable to open passdb database.

 

another example:

 

[2006/01/26 08:19:06, 0] lib/debug.c:reopen_logs(591)

  Unable to open new log file /usr/local/samba/var/log.pcped250: Too
many open files

 

Have any of you experienced the same and if yes what did you do to

get Samba to behave ?

It is as if files are not closed...

 

Any help would be appreciated !

 

Kind regards, Hans.

 

PS. below is an extract of smb.conf(testparm -v) parameters(excluding
all the shares: LOTS)

 


**
This e-mail and any files transmitted with it are confidential and 
intended solely for the use of the individual or entity to which they 
are addressed. If you have received this e-mail in error please notify 
the system manager at [EMAIL PROTECTED]

This e-mail and its contents do not constitute and shall not be 
considered as a financial commitment of Maersk Olie og Gas AS 
and its affiliates. 
Maersk Olie og Gas AS expressly disclaims any responsibility
as to the accuracy and use of this e-mail and its contents.
**

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


[Samba] smbclient -L misses some shares when using NULL-Sessions

2006-02-14 Thread Tobias Glemser

List,

while trying to list all shares in my network using smbclient I 
recognized that some shares are missing. ("hostname" is a Win2K Box).


smbclient -L -U "" -N hostname
shows no shares (using NULL-Session-Logon as you can see)

if I use a windows box to connect to "hostname" using
net use \\hostname "" /User:""
I can see all shares of this box in the explorer. On samba-based boxes, 
smblient seems to retrieve all shares.


But don't blame it only on the Null-Session-Logon, also if I connect to 
the box using

smbclient -L -U "Administrator" -N hostname
I only get the admin-shares.

Is there an option I missed on smbclient to also see the missing share?
And, by the way, is there a way to retrieve the admin shares using NULL 
Session Logon like some w$nd0ws based audit tools?


Thanks in advance!

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


[Samba] Smbpasswd -m -x not working, "object class violation" error

2006-02-14 Thread Andrés Yacopino
I have deployed a samba server with Sun Java Ldap Directory.

I sucessfully create users and deleted them when ldap delete dn=yes in
smb.conf, but when ldap delete dn=no i obtain this error when i issue a
smbpasswd -m -x command:

ldapsam_delete_entry: Could not delete attributes for
uid=aprueba$,ou=computers,
o=acasalud.com.ar,dc=acasalud,dc=com,dc=ar, error: Object class violation ()
Failed to delete entry for user aprueba$.
Failed to modify password entry for user aprueba$

My smb.conf is:

[global]

   workgroup = ACASALUDROS
   server string = Sun Samba Server
   security = user
   dos filetimes = yes
   time offset = -360
   load printers = yes
   printcap name = /etc/printcap
   printing = cups
   guest account = guest
   log file = /usr/local/samba/var/log.%m
   log level = 5
   max log size = 50
   null passwords = yes
   encrypt passwords = yes
   ldap password sync = yes
   unix password sync = yes
   username level = 2
   password level = 0
   passwd program = /usr/bin/passwd %u
   passwd chat = *New* password* %n\n *new* password* %n\n *successfully*
idmap backend = ldapsam:ldap://localhost:389
passdb backend = ldapsam:ldap://localhost:389
ldap admin dn = cn=Directory Manager
ldap suffix = o=acasalud.com.ar,dc=acasalud,dc=com,dc=ar
ldap user suffix = ou=people
ldap group suffix = ou=groups
ldap machine suffix = ou=computers
ldap idmap suffix = ou=idmap
ldap delete dn = no
   socket options = TCP_NODELAY=0
   wins server = 10.11.0.2
   dns proxy = no

what is wrong?

Is that works only when

   preferred master = yes
   domain master = yes
   local master = yes
   domain logons = yes

are yes?
Any other ideas?

Thanks a lot.


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


[Samba] default printer's option configuration

2006-02-14 Thread Jerome Tournier
Hello,
I have a samba server acting as a printer server allowing clients to use
printer's drivers. I'm using contrustor drivers.
I defined the printer driver with "setdriver" commande.
Every thing is fine exept one application (forms) that crashes when it
tried to get default printer's options.
So if i set the default printer's options, whatever are the values
(http://us3.samba.org/samba/docs/man/Samba-HOWTO-Collection/classicalprinting.html#id2587663),
the application can run and print.
But this must be done from a Windows workstation.
So my question is: is there a way to do this with rpcclient or something
else directly on the server ? Have you example of such a command ?


Thanks.
-- 
Jerome

This email is solely intended to the addressees and contains confidential
information. Unless stated, the opinions and comments written down in this
document are the sender's property and not the official vision of our Group.
If you receive this email in error, please notify us by sending it back
immediately to the email address of the sender and then please delete it from
your own system. Please don't copy, use or forward the content of this document
and its attachments to another person for any reason.
Thank you for your understanding.

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


[Samba] status of samba joining Windows 2003 SP1 ADS

2006-02-14 Thread Greg Dickie

Hi,

  I haven't been keeping up with my list reading lately so I apologize
in advance if this is a stupid question... I tried joining a 3.0.21b
samba server to a windows 2003 SP1 ADS yesterday and it seemed to join
fine except the logs were full of "failed to verify incoming ticket"
messages which I gather indicates a problem with kerberos. The server is
based on redhat 9 and so has MIT krb5 1.2.7. Is this supposed to work?

Thanks,
Greg


-- 
Greg Dickie
just a guy
Maximum Throughput

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


[Samba] authentication error after primary group change

2006-02-14 Thread Júnior Rosante
Hello guys!

I have a problem. After changing the primary group of my users, samba don't 
recognize them anymore.
Am I supposed to exclude and reinclude everyone via pdbedit?
Is there another way to rebuild the base without having so pain?
My machine is a FreeBSD and samba version 3.0.21a.
Global conf:

[global]

   workgroup = SKYLAB
   netbios name = maryeva
   server string = Samba PDC-Server
   passdb backend = tdbsam

   load printers = yes
   printcap name = cups
   printing = cups

   guest account = pcguest

   log file = /export/samba/logs/smb.log
   max log size = 1GB
   log level = 1

   security = user
   admin users = root
   encrypt passwords = yes
   pam password change = yes

   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

   local master = yes
   os level = 99
   domain master = yes
   preferred master = yes
   domain logons = yes


   logon path = \\%L\profiles\%U
   logon drive = X:
   logon home = \\%L\%U\.profile
   logon script = %S.bat
   wins support = yes


Thanks!


Júnior César Rosante
Adm. Redes
STI - Unesp - Tupã
14-3404.4200
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] chown DOMAIN+mylogin /dir fails (Please help)

2006-02-14 Thread Doug VanLeuven

David Shapiro wrote:

What is the KRB5A option going to provide?
 


The daemon winbindd resolves uid/gid to sids and vice versa

The AIX WINBIND provides authentication services by calling a PDC

The AIX KRB5A provides authentication services by Kerberos
and can use a windows AD server.  IBM has a writeup.  Only thing
I would add to it - it is possible to make it work with
samba managing the system keytab.

I looked back on your posts, and I'm unclear on what your
environment is.

Regards, Doug

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


[Samba] Re: Samba not listening on 127.0.0.1... hua???

2006-02-14 Thread Michael Lueck

Kristaps Rāts wrote:


1) Do you have the user pianoman in your passdb?


Yes indeed, "smbpasswd -a pianoman"


2) Is pianoman a member of the Domain Admins group?


net groupmap modify ntgroup="Domain Admins"  unixgroup=domadmin

#/etc/group
domadmin:x:2000:pianoman

I don't have time to track it down right now, but for some crazy reason it looks like it is not obeying the linkage from Samba over to /etc/group just for domain admin. I have a readonly share with 
the write list specified as a group lookup, and the ID allowed to write is able to write. That is a custom ntgroup name vs adding a unixgroup to a pre-existing ntgroup.


At one point I presented to KLUG on our initial Samba 3 PDC configuration...
ftp://ftp.lueckdatasystems.com/pub/presentations/klugsamba3pdc-bookreview.pdf

Needs to be updated greatly. Bugs which existed then are all squashed... SpoolSS printing works great now for example. "admin users" has been removed and the "net rpc rights grant..." has been put in 
its place. The page showing how I mapped security groups still stands as-was I think. (I refer to our full notes, not what was generic enough to present and build the PDC on the fly during the meeting.)


And the crazy thing... "net groupmap" does not challenge me to authenticate... it just goes and does it. "net rpc rights grant", that has to get all excited about seeing if I am allowed to do it. THAT 
I do not understand. If I blow away the /var/lib/samba/group_mapping.tdb file, restart samba so I am back to defaults... net rpc still complains, and wants me to authenticate. So it's not like my 
settings by mapping the groups first changed the net command's behavior for my next script. "Research it all someday and quit complaining here..." ;-)


--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

Remove the upper case letters NOSPAM to contact me directly.

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


Re: [Samba] Computers changing names in DOMAIN

2006-02-14 Thread Andrew Bartlett
On Mon, 2006-02-13 at 11:35 -0500, Patrick Zaloum wrote:
> Hi, Is it possible to let a computer change names on the domain with a samba
> PDC ? The only way I have been able to is by removing it from the domain and
> adding it with a different name.. ??

Yes, the only way is to remove and re-add.  Attempting a rename
operation will just cause a mess.

> Samba 2.2.2

This is quite an old version, and there have been a number of security
fixes since then.  I suggest you look at Samba 3.0

Andrew Bartlett

-- 
Andrew Bartletthttp://samba.org/~abartlet/
Authentication Developer, Samba Team   http://samba.org
Student Network Administrator, Hawker College  http://hawkerc.net


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

Re: [Samba] recycle:exclude

2006-02-14 Thread Robert Schetterer

Franz Strebel schrieb:

Hello,

The recycle bin vfs module is working with samba 3.0.21b
as it does move deleted files to the bin.  However, it seems
to ignore my settings in the exclude parameter.  Any ideas?
This is the relevant line in my smb.conf:

  recycle:exclude = *.tmp,*.temp,~$*,*.$$$,*.ldb

Thanks in advance for any help.

Regards,
Franz
  

Hi Franz on suse system this syntax works

  recycle:repository = Papierkorb/
  recycle:keeptree = yes
  recycle:versions = yes
  recycle:touch = yes
  recycle:exclude = ?~$*,~$*,*.tmp,index*.pl,index*.htm*,*.temp,*.TMP
  recycle:exclude_dir=  /tmp,/temp,/cache
  recycle:noversions = *.doc,*.xls,*.ppt

Regards

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


Re: [Samba] libldap not found

2006-02-14 Thread Franz Strebel
I see that when you configured LDAP, you included

--enable-shared=no

It should be yes (which I think is the default)

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


Re: {MCP?} [Samba] recycle:exclude

2006-02-14 Thread Franz Strebel
Thanks Noel,

I forgot to mention that I actually tried

recycle:exclude = *.tmp

to no avail.

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


Re: [Samba] How to delete NON-EMPTY directories through a Samba share?

2006-02-14 Thread Sandor Balogh
Hi,

The shared folder is owned by root:products_admin
drwxrwsr-x2 root products_admins 4096 Feb 13 07:56 data

This directory contains another directory created through his samba share
drwxrwsr-x2 bas  products_admins 4096 Feb 14 09:08
a_new_directory

As you can see, the directory is owned by user bas (that would be me) and by
the group products_admin.
User bas is member of group products_admin.

The content of directory a_new_directory:
-rwxrwxr-x1 bas  products_admins 6769 Dec 12 10:14 softice.txt

I am trying to delete the directory with the same user bas, but this only
succeeds when the directory is empty. Still I can rename it independently of
it's content.

I know that in UNIX world, you can delete a folder which has some contents,
only if you delete it's contents recursively. This should be specified in
command line using option -R (-r). By default UNIX does not ask you if you
want to delete the content of the directory. It's just give you an error
message saying that wht are you trying to delete is a directory (he thinks
that you don't kno that :))  I think here is the same kind of problem.

Thanks,
Sandor


On 2/14/06, Louis van Belle <[EMAIL PROTECTED]> wrote:
>
> most likely the rights ( owner ) of the folder is not
> the users u used to deleted.
>
> This is not but, just a rights problem.
>
> Louis
>
>
> >-Oorspronkelijk bericht-
> >Van: [EMAIL PROTECTED]
> >[mailto: [EMAIL PROTECTED]
> >Namens Sandor Balogh
> >Verzonden: maandag 13 februari 2006 17:31
> >Aan: samba@lists.samba.org
> >Onderwerp: [Samba] How to delete NON-EMPTY directories through
> >a Samba share?
> >
> >Hi all,
> >
> >I have setup a Samba server as file and print server. Everything works
> >perfectly, I can print, I can write, delete files through
> >Samba. But, the
> >only thing that does not work is to delete a NON-EMPTY
> >directory. No error
> >message received, just don't want to delete it. As soon as I delete all
> >files from the directory, then the directory can be deleted
> >too. The problem
> >is recursive for subdirectories. Just think how awful is to delete a
> >directory with lots of subdirectories. I don't think it's a permission
> >problem (it can't be) and I could't find any posts on this
> >problem over the
> >internet.
> >
> >Thanks for help,
> >Sandor
> >--
> >To unsubscribe from this list go to the following URL and read the
> >instructions:   https://lists.samba.org/mailman/listinfo/samba
> >
>
>
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: {MCP?} [Samba] recycle:exclude

2006-02-14 Thread Noel Kelly

Hi Franz,

I think if you remove the commas and just leave spaces in the exclude 
list you might have more luck.


Cheers
Noel

Franz Strebel wrote:


Hello,

The recycle bin vfs module is working with samba 3.0.21b
as it does move deleted files to the bin.  However, it seems
to ignore my settings in the exclude parameter.  Any ideas?
This is the relevant line in my smb.conf:

 recycle:exclude = *.tmp,*.temp,~$*,*.$$$,*.ldb

Thanks in advance for any help.

Regards,
Franz
 


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


[Samba] recycle:exclude

2006-02-14 Thread Franz Strebel
Hello,

The recycle bin vfs module is working with samba 3.0.21b
as it does move deleted files to the bin.  However, it seems
to ignore my settings in the exclude parameter.  Any ideas?
This is the relevant line in my smb.conf:

  recycle:exclude = *.tmp,*.temp,~$*,*.$$$,*.ldb

Thanks in advance for any help.

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


RE: [Samba] How to delete NON-EMPTY directories through a Samba share?

2006-02-14 Thread Louis van Belle
most likely the rights ( owner ) of the folder is not 
the users u used to deleted.

This is not but, just a rights problem.

Louis
 

>-Oorspronkelijk bericht-
>Van: [EMAIL PROTECTED] 
>[mailto:[EMAIL PROTECTED] 
>Namens Sandor Balogh
>Verzonden: maandag 13 februari 2006 17:31
>Aan: samba@lists.samba.org
>Onderwerp: [Samba] How to delete NON-EMPTY directories through 
>a Samba share?
>
>Hi all,
>
>I have setup a Samba server as file and print server. Everything works
>perfectly, I can print, I can write, delete files through 
>Samba. But, the
>only thing that does not work is to delete a NON-EMPTY 
>directory. No error
>message received, just don't want to delete it. As soon as I delete all
>files from the directory, then the directory can be deleted 
>too. The problem
>is recursive for subdirectories. Just think how awful is to delete a
>directory with lots of subdirectories. I don't think it's a permission
>problem (it can't be) and I could't find any posts on this 
>problem over the
>internet.
>
>Thanks for help,
>Sandor
>-- 
>To unsubscribe from this list go to the following URL and read the
>instructions:  https://lists.samba.org/mailman/listinfo/samba
>

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


Re: [Samba] recycle bin

2006-02-14 Thread Franz Strebel
1.  No need to pass anything to configure, it is now built
by default.

2.  Sample from my smb.conf

   vfs objects = recycle
   recycle:repository = ../recycle/%U
   recycle:keeptree = true
   recycle:versions = true
   recycle:touch = true
   recycle:exclude = *.tmp,*.temp,~$*,*.$$$,*.ldb

I'm running into problems with the exclude parameter though,
it seems to be ignored.  Will start a new thread for it.

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