[Samba] Samba4 Alpha17 missing libCHARSET3.so

2012-02-14 Thread Brad C
Hello There,

I seem to be missing the libCHARSET3.so library in my compiled samba
package on ubuntu, the logical deduction would be that I should find it in
the git repo and ensure it is present, then recompile and package with it,
though seems it has no longer there?

root@test:~# samba-tool
Traceback (most recent call last):
  File /usr/sbin/samba-tool, line 30, in module
from samba.netcmd.domain import cmd_domain
  File /usr/lib/python2.7/dist-packages/samba/netcmd/domain.py, line 44,
in module
from samba.samba3 import Samba3
  File /usr/lib/python2.7/dist-packages/samba/samba3/__init__.py, line
29, in module
import passdb
ImportError: /usr/lib/x86_64-linux-gnu/samba/libCHARSET3.so: version
`SAMBA_4.0.0ALPHA17' not found (required by
/usr/lib/x86_64-linux-gnu/libsmbconf.so.0)


root@test:/usr/src/samba-master# git grep --name-only libCHARSET3.so

Does anyone have any pointers or ideas?

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


Re: [Samba] Samba LDAP troubleshooting

2009-03-18 Thread Brad C
Hi There,

Yep, Ok now I understand the SID needs to be the same as the server the
client formed the initial security relationship with,

Is this correct?

Kind Regards
Brad

On Tue, Mar 17, 2009 at 7:47 PM, Adam Williams awill...@mdah.state.ms.uswrote:

 well the user's sid is invalid.  does it match the domain's sid with net
 getdomainsid?


 Brad C wrote:

 Hello

 I'm hoping someone can provide some insight, sample snippet from smb.conf
 and the samba log.
 Password authentication is working  succeeding, complains about an
 invalid
 SID which I know is the trust relationship that is formed between server
 and
 client, this is a duplicate ldap database from a samba domain controller.

 On the topic, anyone have a good book to recommend on Samba, I feel I am
 only using 10% of its capability and not really well at that... something
 is
 staring me in the face and Im missing it.

 [global]
workgroup = companyx
printing = cups
 hosts allow = 192.168.1.printcap name = cups
printcap cache time = 750
cups options = raw
map to guest = Bad User
include = /etc/samba/dhcp.conf
security = user
encrypt passwords = Yes
obey pam restrictions = No
log level = 2
passdb backend = ldapsam:ldap://127.0.0.1/
ldap admin dn = cn=manager,dc=companyx,dc=co,dc=za
ldap suffix = dc=companyx,dc=co,dc=za
ldap group suffix = ou=Groups
ldap user suffix = ou=Users
ldap machine suffix = ou=Computers
ldap idmap suffix = ou=Users
ldap ssl = off
ldap delete dn = Yes

 [testdir]
comment = test1
path = /data/test
browseable = yes
writable = yes
read only = no
available = yes
valid users = bradleyc
admin users = bradleyc



 [2009/03/13 08:36:39,  2]
 lib/access.c:check_access(406)

  Allowed connection from ___192.168.2.154
 (:::192.168.2.154)

 [2009/03/13 08:36:39,  2]
 lib/smbldap.c:smbldap_open_connection(796)

  smbldap_open_connection: connection
 opened

 [2009/03/13 08:36:39,  2]
 passdb/pdb_ldap.c:init_sam_from_ldap(571)

  init_sam_from_ldap: Entry found for user:
 bradleyc

 [2009/03/13 08:36:39,  2]
 passdb/pdb_ldap.c:init_group_from_ldap(2344)

  init_group_from_ldap: Entry found for group:
 513

 [2009/03/13 08:36:39,  2]
 passdb/pdb_ldap.c:init_group_from_ldap(2344)

  init_group_from_ldap: Entry found for group:
 513

 [2009/03/13 08:36:39,  2]
 passdb/pdb_ldap.c:init_group_from_ldap(2344)

  init_group_from_ldap: Entry found for group:
 1010

 [2009/03/13 08:36:39,  2]
 passdb/pdb_ldap.c:init_group_from_ldap(2344)

  init_group_from_ldap: Entry found for group:
 512

 [2009/03/13 08:36:39,  2]
 auth/auth.c:check_ntlm_password(308)

  check_ntlm_password:  authentication for user [bradleyc] - [bradleyc] -
 [bradleyc] succeeded
 [2009/03/13 08:36:39,  2]
 passdb/pdb_ldap.c:init_group_from_ldap(2344)

  init_group_from_ldap: Entry found for group:
 544

 [2009/03/13 08:36:39,  2]
 lib/access.c:check_access(406)

  Allowed connection from :::192.168.2.154
 (:::192.168.2.154)

 [2009/03/13 08:36:39,  2]
 passdb/pdb_ldap.c:init_sam_from_ldap(571)

  init_sam_from_ldap: Entry found for user:
 bradleyc

 [2009/03/13 08:36:39,  2]
 passdb/pdb_ldap.c:init_group_from_ldap(2344)

  init_group_from_ldap: Entry found for group:
 513

 [2009/03/13 08:36:39,  0]
 passdb/passdb.c:lookup_global_sam_name(595)

  User bradleyc with invalid SID
 S-1-5-21-1571991244-1820204139-1100571284-3420 in
 passdb
 [2009/03/13 08:36:39,  2]
 smbd/service.c:make_connection_snum(736)

  user 'bradleyc' (from session setup) not permitted to access this share
 (testdir)



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


[Samba] Samba LDAP troubleshooting

2009-03-13 Thread Brad C
Hello

I'm hoping someone can provide some insight, sample snippet from smb.conf
and the samba log.
Password authentication is working  succeeding, complains about an invalid
SID which I know is the trust relationship that is formed between server and
client, this is a duplicate ldap database from a samba domain controller.

On the topic, anyone have a good book to recommend on Samba, I feel I am
only using 10% of its capability and not really well at that... something is
staring me in the face and Im missing it.

[global]
workgroup = companyx
printing = cups
hosts allow = 192.168.1.printcap name = cups
printcap cache time = 750
cups options = raw
map to guest = Bad User
include = /etc/samba/dhcp.conf
security = user
encrypt passwords = Yes
obey pam restrictions = No
log level = 2
passdb backend = ldapsam:ldap://127.0.0.1/
ldap admin dn = cn=manager,dc=companyx,dc=co,dc=za
ldap suffix = dc=companyx,dc=co,dc=za
ldap group suffix = ou=Groups
ldap user suffix = ou=Users
ldap machine suffix = ou=Computers
ldap idmap suffix = ou=Users
ldap ssl = off
ldap delete dn = Yes

[testdir]
comment = test1
path = /data/test
browseable = yes
writable = yes
read only = no
available = yes
valid users = bradleyc
admin users = bradleyc



[2009/03/13 08:36:39,  2]
lib/access.c:check_access(406)

  Allowed connection from ___192.168.2.154
(:::192.168.2.154)

[2009/03/13 08:36:39,  2]
lib/smbldap.c:smbldap_open_connection(796)

  smbldap_open_connection: connection
opened

[2009/03/13 08:36:39,  2]
passdb/pdb_ldap.c:init_sam_from_ldap(571)

  init_sam_from_ldap: Entry found for user:
bradleyc

[2009/03/13 08:36:39,  2]
passdb/pdb_ldap.c:init_group_from_ldap(2344)

  init_group_from_ldap: Entry found for group:
513

[2009/03/13 08:36:39,  2]
passdb/pdb_ldap.c:init_group_from_ldap(2344)

  init_group_from_ldap: Entry found for group:
513

[2009/03/13 08:36:39,  2]
passdb/pdb_ldap.c:init_group_from_ldap(2344)

  init_group_from_ldap: Entry found for group:
1010

[2009/03/13 08:36:39,  2]
passdb/pdb_ldap.c:init_group_from_ldap(2344)

  init_group_from_ldap: Entry found for group:
512

[2009/03/13 08:36:39,  2]
auth/auth.c:check_ntlm_password(308)

  check_ntlm_password:  authentication for user [bradleyc] - [bradleyc] -
[bradleyc] succeeded
[2009/03/13 08:36:39,  2]
passdb/pdb_ldap.c:init_group_from_ldap(2344)

  init_group_from_ldap: Entry found for group:
544

[2009/03/13 08:36:39,  2]
lib/access.c:check_access(406)

  Allowed connection from :::192.168.2.154
(:::192.168.2.154)

[2009/03/13 08:36:39,  2]
passdb/pdb_ldap.c:init_sam_from_ldap(571)

  init_sam_from_ldap: Entry found for user:
bradleyc

[2009/03/13 08:36:39,  2]
passdb/pdb_ldap.c:init_group_from_ldap(2344)

  init_group_from_ldap: Entry found for group:
513

[2009/03/13 08:36:39,  0]
passdb/passdb.c:lookup_global_sam_name(595)

  User bradleyc with invalid SID
S-1-5-21-1571991244-1820204139-1100571284-3420 in
passdb
[2009/03/13 08:36:39,  2]
smbd/service.c:make_connection_snum(736)

  user 'bradleyc' (from session setup) not permitted to access this share
(testdir)
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Samba LDAP troubleshooting

2009-03-13 Thread Brad C
Hi Julian,

It is not acting as a domain controller, I would like to use the ldap
backend of the pdc to authenticate instead of having to setup separate
passwords.
I have not reset passwords, its a duplicate database of the pdc.

net getlocalsid

SID for domain ITSHARE is: S-1-5-21-1243312448-3956249592-3341015638

Kind Regards
Brad


On Fri, Mar 13, 2009 at 12:39 PM, j...@bordengrammar.kent.sch.uk wrote:

 Hiya,

 A few questions.

 Is the machine a PDC

 what's the output of the command net getlocalsid in a terminal

 What scripts are you using to change passwords? smbldaptools?

 Cheers,

 Julian


  Hello
 
  I'm hoping someone can provide some insight, sample snippet from smb.conf
  and the samba log.
  Password authentication is working  succeeding, complains about an
  invalid
  SID which I know is the trust relationship that is formed between server
  and
  client, this is a duplicate ldap database from a samba domain controller.
 
  On the topic, anyone have a good book to recommend on Samba, I feel I am
  only using 10% of its capability and not really well at that... something
  is
  staring me in the face and Im missing it.
 
  [global]
  workgroup = companyx
  printing = cups
  hosts allow = 192.168.1.printcap name = cups
  printcap cache time = 750
  cups options = raw
  map to guest = Bad User
  include = /etc/samba/dhcp.conf
  security = user
  encrypt passwords = Yes
  obey pam restrictions = No
  log level = 2
  passdb backend = ldapsam:ldap://127.0.0.1/
  ldap admin dn = cn=manager,dc=companyx,dc=co,dc=za
  ldap suffix = dc=companyx,dc=co,dc=za
  ldap group suffix = ou=Groups
  ldap user suffix = ou=Users
  ldap machine suffix = ou=Computers
  ldap idmap suffix = ou=Users
  ldap ssl = off
  ldap delete dn = Yes
 
  [testdir]
  comment = test1
  path = /data/test
  browseable = yes
  writable = yes
  read only = no
  available = yes
  valid users = bradleyc
  admin users = bradleyc
 
 
 
  [2009/03/13 08:36:39,  2]
  lib/access.c:check_access(406)
 
Allowed connection from ___192.168.2.154
  (:::192.168.2.154)
 
  [2009/03/13 08:36:39,  2]
  lib/smbldap.c:smbldap_open_connection(796)
 
smbldap_open_connection: connection
  opened
 
  [2009/03/13 08:36:39,  2]
  passdb/pdb_ldap.c:init_sam_from_ldap(571)
 
init_sam_from_ldap: Entry found for user:
  bradleyc
 
  [2009/03/13 08:36:39,  2]
  passdb/pdb_ldap.c:init_group_from_ldap(2344)
 
init_group_from_ldap: Entry found for group:
  513
 
  [2009/03/13 08:36:39,  2]
  passdb/pdb_ldap.c:init_group_from_ldap(2344)
 
init_group_from_ldap: Entry found for group:
  513
 
  [2009/03/13 08:36:39,  2]
  passdb/pdb_ldap.c:init_group_from_ldap(2344)
 
init_group_from_ldap: Entry found for group:
  1010
 
  [2009/03/13 08:36:39,  2]
  passdb/pdb_ldap.c:init_group_from_ldap(2344)
 
init_group_from_ldap: Entry found for group:
  512
 
  [2009/03/13 08:36:39,  2]
  auth/auth.c:check_ntlm_password(308)
 
check_ntlm_password:  authentication for user [bradleyc] - [bradleyc]
  -
  [bradleyc] succeeded
  [2009/03/13 08:36:39,  2]
  passdb/pdb_ldap.c:init_group_from_ldap(2344)
 
init_group_from_ldap: Entry found for group:
  544
 
  [2009/03/13 08:36:39,  2]
  lib/access.c:check_access(406)
 
Allowed connection from :::192.168.2.154
  (:::192.168.2.154)
 
  [2009/03/13 08:36:39,  2]
  passdb/pdb_ldap.c:init_sam_from_ldap(571)
 
init_sam_from_ldap: Entry found for user:
  bradleyc
 
  [2009/03/13 08:36:39,  2]
  passdb/pdb_ldap.c:init_group_from_ldap(2344)
 
init_group_from_ldap: Entry found for group:
  513
 
  [2009/03/13 08:36:39,  0]
  passdb/passdb.c:lookup_global_sam_name(595)
 
User bradleyc with invalid SID
  S-1-5-21-1571991244-1820204139-1100571284-3420 in
  passdb
  [2009/03/13 08:36:39,  2]
  smbd/service.c:make_connection_snum(736)
 
user 'bradleyc' (from session setup) not permitted to access this share
  (testdir)
  --
  To unsubscribe from this list go to the following URL and read the
  instructions:  https://lists.samba.org/mailman/options/samba
 
 



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


Re: [Samba] Re: Samba LDAP troubleshooting

2009-03-13 Thread Brad C
Hi Jamrock,

Thanks for the advice.

Kind Regards
Brad

On Fri, Mar 13, 2009 at 2:35 PM, jamrock news_jamr...@yahoo.com wrote:

 Brad C bradleydanec...@gmail.com wrote in message
 news:2d2102ba0903130148g251b0e70l7fc2f48894730...@mail.gmail.com...
  Hello
 

  On the topic, anyone have a good book to recommend on Samba, I feel I am
  only using 10% of its capability and not really well at that... something
 is
  staring me in the face and Im missing it.


 The best books I have seen are the Official How To and Samba by Example.
 Both are available in the Learn Samba section at www.samba.org.

 You can purchase Samba by Example in book stores.  It is also available
 online at Amazon or Barnes and Noble.

 Samba by Example gives you step by step instructions re: setting up various
 types of Samba machines.  The Official How To explains a lot of the
 concepts
 re:  how Samba works.

 You can use Samba by Example to learn how to set up a PDC.  You can then
 use
 the Offical How To in order to get a deeper understanding of how SID's work
 or how Linux to Windows user mapping works.



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

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


[Samba] Samba VFS recyclebin hide

2008-09-09 Thread Brad C
Hi Guys  Girls,

Samba VFS Recyclebin is a brilliant feature but I need to figure a way to
make it non-visible to end users as often files deleted are done so
maliciously.
The VFS module defaulty places the Recyclebin directory in the of whichever
share it is active on, Ive tried a couple of ways to hide it but none
successful.
hide files veto files... ?

smb.conf below

[global]
workgroup = Companyx
netbios name = server
server string = MBB Samba Server
name resolve order = wins bcast files
log level = 3
username map = /etc/samba/users.map
security = user
load printers = no
log file = /var/log/samba/log.%m
max log size = 50
socket options = TCP_NODELAY
local master = yes
domain master = yes
preferred master = yes
domain logons = yes
dns proxy = no
wins support = yes
time server = Yes
add user script = /usr/sbin/useradd -s /bin/false -g users -m %u
add group script = /usr/sbin/groupadd %g
add machine script = /usr/sbin/useradd -s /bin/false -g computers -c PC %u
delete user script = /usr/sbin/userdel %u
delete group script = /usr/sbin/groupdel %g
logon path =
logon home =
logon script = %u.bat

[homes]
comment = Home Directories
browseable = no
writable = no

[netlogon]
force user = samba
comment = Network Logon Service
path = /data/netlogon
guest ok = yes
writeable = yes
write list = administrator
share modes = no

*[public]
force user = samba
comment = Public Data
path = /data/public
writeable = yes
valid users = @users, administrator,
write list = @users, administrator,
hide dot files = yes
vfs objects = recycle
recycle:repository = .recyclebin/%U
recycle:directory_mode = 0770
recycle:keeptree = Yes
recycle:touch_mtime = Yes
recycle:versions = Yes
recycle:maxsize = 0
*
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] universal netlogon script

2008-09-03 Thread Brad C
Hi Guys,

Advise, I have 200 users, they all have access to 20 shares in different
combinations. They all have their own netlogon scripts... its a management
nightmare,
is there a way to create a universal netlogon script that I can include all
the shares to mount and it will silently fail on the ones it cant? Perhaps
there is a smarter way to implement this idea,
lynching is welcome, so is advice.

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


[Samba] NT_STATUS_OBJECT_NAME_COLLISION

2008-05-22 Thread Brad C
Hi guys/girls,

How are you keeping ? I'm running Samba-3.0.28a-SerNET-SuSe under
SLES9 – a Windows XP user is attempting to copy a folder containing
files off their local PC to a share on the Samba server. The user
received an Access denied message and the following is seen in the
Samba log:


[2008/05/22 10:23:41, 2] passdb/pdb_ldap.c:init_group_from_ldap(2162)
  init_group_from_ldap: Entry found for group: 512
[2008/05/22 10:23:49, 2] smbd/open.c:open_directory(2092)
  open_directory: unable to create DOCUMENTS/HR. Error was
NT_STATUS_OBJECT_NAME_COLLISION
[2008/05/22 10:24:10, 2] smbd/open.c:open_directory(2092)
  open_directory: unable to create DOCUMENTS/HR/QC STOCK TAKE PROC
DRAFT. Error was NT_STATUS_OBJECT_NAME_COLLISION
[2008/05/22 10:24:18, 2] smbd/open.c:open_directory(2092)
  open_directory: unable to create DOCUMENTS/HR/QC STOCK TAKE PROC
DRAFT. Error was NT_STATUS_OBJECT_NAME_COLLISION
[2008/05/22 10:24:50, 2] smbd/open.c:open_directory(2092)
  open_directory: unable to create DOCUMENTS/HR/QC STOCK TAKE PROC
DRAFT. Error was NT_STATUS_OBJECT_NAME_COLLISION

Any ideas what could be causing this ?
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] fun with compiling samba

2008-03-03 Thread Brad C
Hi Guys,

Please look at this when making after configuring on SLES9

make: *** No rule to make target `modules/vfs_afsacl.po', needed by
`bin/afsacl.so'. Stop.

samba-3.0.28/source
./configure --with-smbmount --with-cifsmount --with-acl-support
--with-winbind --with-vfs-afsacl --with-quotas --with-ldap

this is the only other reference I have to it.. :|

http://threebit.net/mail-archive/samba/msg04581.html
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Samba malformed ACL

2008-02-27 Thread Brad C
Hi guys,

I've got a Samba PDC configured, with authenticating off an LDAP backend.

My client is trying to set permissions through Windows, and for some reason
no matter what I try the everyone group is always showing up as having
access.

When an admin user tries to set permissions on the share through windows I
get the following errors in my /var/log/messages

Feb 27 11:28:16 northcity smbd[16707]: [2008/02/27 11:28:16, 0]
smbd/posix_acls.c:create_canon_ace_lists(1468)
Feb 27 11:28:16 northcity smbd[16707]:   create_canon_ace_lists: malformed
ACL in inheritable ACL ! Deny entry after Allow entry. Failing to set on
file STORE KPI/filename.txt.

I presume this is because he's try to deny the everyone group access after
it's being allowed at the top.

Below is my smb.conf

[global]
workgroup = NCW
server string = Linux server
passdb backend = ldapsam:ldap://localhost
username map = /etc/samba/smbusers
encrypt passwords = yes
log level = 1
log file = /var/log/samba/log.%m
max log size = 1000
name resolve order = wins bcast hosts
time server = Yes
socket options = IPTOS_LOWDELAY TCP_NODELAY
add user script = /usr/local/sbin/smbldap-useradd -m %u
delete user script = /usr/local/sbin/smbldap-userdel %u
add group script = /usr/local/sbin/smbldap-groupadd -p %g
delete group script = /usr/local/sbin/smbldap-groupdel %g
add user to group script = /usr/local/sbin/smbldap-groupmod -m %u
%g
delete user from group script = /usr/local/sbin/smbldap-groupmod -x
%u %g
set primary group script = /usr/local/sbin/smbldap-usermod -g %g
%u
add machine script = /usr/local/sbin/smbldap-useradd -w %u
logon path =
logon drive = Z:
logon home =
logon script = logon.bat
domain logons = Yes
os level = 65
domain master = yes
preferred master = Yes
local master = Yes
wins support = Yes
ldap admin dn = cn=Manager,dc=northcity,dc=net
ldap user suffix = ou=Users
ldap group suffix = ou=Groups
ldap machine suffix = ou=Computers
ldap passwd sync = Yes
ldap suffix = dc=northcity,dc=net
utmp = Yes
admin users = @Domain Admins
map acl inherit = Yes
hide files = */desktop.ini/*
nt acl support = yes
utmp = yes
level2 oplocks = yes
oplocks = yes

[EMAIL PROTECTED]
comment = Document share
path = /data
create mask = 0770
force user = root
writeable = yes
guest ok = yes

I've tried setting guest ok = no and this makes no difference.
If I do getfacl data/ I get the following.

# file: data
# owner: root
# group: root
user::rwx
group::rwx
group:Domain\040Admins:rwx
mask::rwx
other::---

Below is the output from ls -al on this dir.

drwxrwx---+   8 root  root4096 Feb 26 17:13 data

I've tried removing perms, changing perms, changing users/groups using
setfacl and normal chown/chmod and nothing I do seems to get rid of the
everyone group access.

Below is more info about my samba version and filesystem info.

smbd --version
Version 3.0.26a-SerNet-SuSE
 mount -v
/dev/sda6 on / type reiserfs (rw,acl,user_xattr)
/dev/sdb1 on /data type ext3 (rw,acl,user_xattr)

I've tried the same permissions/acl's on both filesystem types without any
luck.

I'm running SLES9 Linux 2.6.5-7.257-smp #1 x86_64

Any help will be greatly appreciated.

Thanks.

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


[Samba] samba acls recursive

2008-02-22 Thread Brad C
Hi Guys,

Unusual issue with setting ACL's permission ownership recursively on a
directory, please look at samba logs if anyone has any idea, please
advise...

Kind Regards


   1. [2008/02/22 10:30:37, 3] smbd/service.c:close_cnum(1230)
   2.   max (192.168.1.254) closed connection to service IPC$
   3. [2008/02/22 10:30:37, 3] smbd/connection.c:yield_connection(69)
   4.   Yielding connection to IPC$
   5. [2008/02/22 10:30:37, 3] smbd/sec_ctx.c:set_sec_ctx(241)
   6.   setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
   7. [2008/02/22 10:30:44, 3] smbd/error.c:error_packet_set(106)
   8.   error packet at smbd/notify.c(140) cmd=160 (SMBnttrans)NT_STATUS_OK
   9. [2008/02/22 10:30:44, 3] smbd/process.c:process_smb(1068)
   10.   Transaction 4834067 of length 88
   11. [2008/02/22 10:30:44, 3] smbd/process.c:switch_message(926)
   12.   switch message SMBnttrans (pid 8561) conn 0x9d6d10
   13. [2008/02/22 10:30:44, 3] smbd/sec_ctx.c:set_sec_ctx(241)
   14.   setting sec ctx (0, 544) - sec_ctx_stack_ndx = 0
   15. [2008/02/22 10:30:44, 3]smbd/nttrans.c:call_nt_transact_notify_change
   (1913)
   16.   call_nt_transact_notify_change
   17. [2008/02/22 10:30:44, 3]smbd/nttrans.c:call_nt_transact_notify_change
   (1928)
   18.   call_nt_transact_notify_change: notify change called on .,
   filter = FILE_NAME|DIR_NAME, recursive = 1
   19. [2008/02/22 10:30:44, 3] smbd/error.c:error_packet_set(106)
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Invalid hash for xattr (system.posix_acl_access) associated with [NULL]

2007-09-20 Thread Brad C
Resolved  note to self, never switch log level to 10, it slows things down
incredibly.

On 9/19/07, Volker Lendecke [EMAIL PROTECTED] wrote:

 On Wed, Sep 19, 2007 at 03:58:47PM +0200, Brad C wrote:
  Version 3.0.23c-SerNet-SuSE
  Symtoms: extremely extremely slow, high processor usage, in the dmesg,
  hundreds of these entries... which direction should I
  go...

 Get the data off reiserfs on a real file system like ext3. QUICK.

 Volker


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


[Samba] Invalid hash for xattr (system.posix_acl_access) associated with [NULL]

2007-09-19 Thread Brad C
Hi There,

Version 3.0.23c-SerNet-SuSE
Symtoms: extremely extremely slow, high processor usage, in the dmesg,
hundreds of these entries... which direction should I go...


ReiserFS: sdb1: warning: Invalid hash for xattr (system.posix_acl_access)
associated with [NULL]
ReiserFS: sdb1: warning: Invalid hash for xattr (system.posix_acl_access)
associated with [NULL]
ReiserFS: sdb1: warning: Invalid hash for xattr (system.posix_acl_access)
associated with [NULL]
ReiserFS: sdb1: warning: Invalid hash for xattr (system.posix_acl_access)
associated with [NULL]
ReiserFS: sdb1: warning: Invalid hash for xattr (system.posix_acl_access)
associated with [NULL]
ReiserFS: sdb1: warning: Invalid hash for xattr (system.posix_acl_access)
associated with [NULL]
ReiserFS: sdb1: warning: Invalid hash for xattr (system.posix_acl_access)
associated with [NULL]
ReiserFS: sdb1: warning: Invalid hash for xattr (system.posix_acl_access)
associated with [NULL]

Any advice would be appreciated.

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


[Samba] Re: Samba 18GB file Transfer

2007-08-28 Thread Brad C
bump :)

On 8/21/07, Brad C [EMAIL PROTECTED] wrote:

 Hello Guys,

 Having a bit of trouble transferring an 18GB file for backup purposes from
 a windows system to a Samba Server. I think the 2GB limit issue was resolved
 a long time ago? It transfers fine to another windows host.


Running Version:
 Version 3.0.23c-SerNet-SuSE

 The error on the windows client side ( this is done in some type of bat
 script )
 file creation error the network connection was aborted by the local
 system.

 tailing the samba logs, I think the part in bold is where things go wrong,
 though i cant find anything on it. Any advice would be really welcome:

 [2007/08/20 13:13:20, 3]
 smbd/sesssetup.c:reply_sesssetup_and_X_spnego(691)
   NativeOS=[Windows Server 2003 R2 3790 Service Pack 1] NativeLanMan=[]
 PrimaryDomain=[Windows Server 2003 R2 5.2]
 [2007/08/20 13:13:20, 3] libsmb/ntlmssp.c:ntlmssp_server_auth(672)
   Got user=[root] domain=[ARCH-SERVER] workstation=[ARCH-SERVER] len1=24
 len2=24
 [2007/08/20 13:19:26, 3] smbd/oplock.c:init_oplocks(862)
   open_oplock_ipc: initializing messages.
 [2007/08/20 13:19:26, 3]
 smbd/oplock_linux.c:linux_init_kernel_oplocks(260)
   Linux kernel oplocks enabled
 [2007/08/20 13:19:26, 3] smbd/process.c:process_smb(1110)
   Transaction 0 of length 137
 [2007/08/20 13:19:26, 3] smbd/process.c:switch_message(914)
   switch message SMBnegprot (pid 30689) conn 0x0
 [2007/08/20 13:19:26, 3] smbd/sec_ctx.c:set_sec_ctx(241)
   setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
 [2007/08/20 13:19:26, 3] smbd/negprot.c:reply_negprot(487)
   Requested protocol [PC NETWORK PROGRAM 1.0]
 [2007/08/20 13:19:26, 3] smbd/negprot.c:reply_negprot(487)
   Requested protocol [LANMAN1.0]
 [2007/08/20 13:19:26, 3] smbd/negprot.c:reply_negprot(487)
   Requested protocol [Windows for Workgroups 3.1a]
 [2007/08/20 13:19:26, 3] smbd/negprot.c:reply_negprot(487)
   Requested protocol [ LM1.2X002]
 [2007/08/20 13:19:26, 3] smbd/negprot.c:reply_negprot(487)
   Requested protocol [LANMAN2.1]
 [2007/08/20 13:19:26, 3] smbd/negprot.c:reply_negprot(487)
   Requested protocol [NT LM 0.12]
 [2007/08/20 13:19:26, 3] smbd/negprot.c:reply_nt1(357)
   using SPNEGO
 [2007/08/20 13:19:26, 3] smbd/negprot.c:reply_negprot(580)
   Selected protocol NT LM 0.12
 [2007/08/20 13:19:26, 3] smbd/process.c:process_smb(1110)
   Transaction 1 of length 282
 [2007/08/20 13:19:26, 3] smbd/process.c:switch_message(914)
   switch message SMBsesssetupX (pid 30689) conn 0x0
 [2007/08/20 13:19:26, 3] smbd/sec_ctx.c:set_sec_ctx(241)
   setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
 [2007/08/20 13:19:26, 3] smbd/sesssetup.c:reply_sesssetup_and_X(849)
   wct=12 flg2=0xc807
 [2007/08/20 13:19:26, 2] smbd/sesssetup.c:setup_new_vc_session(799)
   setup_new_vc_session: New VC == 0, if NT4.x compatible we would close
 all old resources.
 [2007/08/20 13:19:26, 3]
 smbd/sesssetup.c:reply_sesssetup_and_X_spnego(660)
   Doing spnego session setup
 [2007/08/20 13:19:26, 3]
 smbd/sesssetup.c:reply_sesssetup_and_X_spnego(691)
   NativeOS=[Windows Server 2003 R2 3790 Service Pack 1] NativeLanMan=[]
 PrimaryDomain=[Windows Server 2003 R2 5.2]
 [2007/08/20 13:19:26, 3] smbd/sesssetup.c:reply_spnego_negotiate(551)
   Got OID 1 3 6 1 4 1 311 2 2 10
 [2007/08/20 13:19:26, 3] smbd/sesssetup.c:reply_spnego_negotiate(554)
   Got secblob of size 40
 [2007/08/20 13:19:26, 3] libsmb/ntlmssp.c:debug_ntlmssp_flags(63)
   Got NTLMSSP neg_flags=0xe2088297
 [2007/08/20 13:19:26, 3] smbd/process.c:process_smb(1110)
   Transaction 2 of length 408
 [2007/08/20 13:19:26, 3] smbd/process.c:switch_message(914)
   switch message SMBsesssetupX (pid 30689) conn 0x0
 [2007/08/20 13:19:26, 3] smbd/sec_ctx.c:set_sec_ctx(241)
   setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
 [2007/08/20 13:19:26, 3] smbd/sesssetup.c:reply_sesssetup_and_X(849)
   wct=12 flg2=0xc807
 [2007/08/20 13:19:26, 2] smbd/sesssetup.c:setup_new_vc_session(799)
   setup_new_vc_session: New VC == 0, if NT4.x compatible we would close
 all old resources.
 [2007/08/20 13:19:26, 3]
 smbd/sesssetup.c:reply_sesssetup_and_X_spnego(660)
   Doing spnego session setup
 [2007/08/20 13:19:26, 3]
 smbd/sesssetup.c:reply_sesssetup_and_X_spnego(691)
   NativeOS=[Windows Server 2003 R2 3790 Service Pack 1] NativeLanMan=[]
 PrimaryDomain=[Windows Server 2003 R2 5.2]
 [2007/08/20 13:19:26, 3] libsmb/ntlmssp.c:ntlmssp_server_auth(672)
   Got user=[root] domain=[ARCH-SERVER] workstation=[ARCH-SERVER] len1=24
 len2=24



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


Re: [Samba] Re: Samba 18GB file Transfer

2007-08-23 Thread Brad C
Hi Doug,

bit of a mixup, im uploading a file from a windows to the linux system. the
file can be transferred fine to another host.


On 8/22/07, Doug VanLeuven [EMAIL PROTECTED] wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Brad C wrote:
  Hmm.. this is windows to linux, the file however does copy across to a
  windows system just fine. does anyone have experience with copying large
  files using samba?

 You are using mount -t cifs ?  If you're using -t smbfs that could
 explain your issues.

 Regards, Doug
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.5 (GNU/Linux)
 Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

 iD8DBQFGzIC5FqWysr/jOHMRAnTXAJ4m3w01z/7EpDpePgZjbexngBaVcACgxc6+
 s90UBIwPtHkGiWOk5LyLWLk=
 =cMdz
 -END PGP SIGNATURE-

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


Re: [Samba] Re: Samba 18GB file Transfer

2007-08-22 Thread Brad C
Hmm.. this is windows to linux, the file however does copy across to a
windows system just fine. does anyone have experience with copying large
files using samba?


On 8/22/07, Derek Croxton [EMAIL PROTECTED] wrote:
 
  Brad C wrote:
   Hello Guys,
  
   Having a bit of trouble transferring an 18GB file for backup purposes
  to a
   Samba Server. I think the 2GB limit issue was resolved a long time
  ago?
   Running Version:
   Version 3.0.23c-SerNet-SuSE
  
   The error on the windows client side ( this is done in some type of
  bat
   script )
   file creation error the network connection was aborted by the local
  system.
  
   tailing the samba logs, I think the part in bold is where things go
  wrong,
   though i cant find anything on it. Any advice would be really welcome:
  
   [2007/08/20 13:13:20, 3]
  smbd/sesssetup.c:reply_sesssetup_and_X_spnego(691)
 NativeOS=[Windows Server 2003 R2 3790 Service Pack 1]
  NativeLanMan=[]
   PrimaryDomain=[Windows Server 2003 R2 5.2]
   [2007/08/20 13:13:20, 3] libsmb/ntlmssp.c:ntlmssp_server_auth(672)
 Got user=[root] domain=[ARCH-SERVER] workstation=[ARCH-SERVER]
  len1=24
   len2=24
   [2007/08/20 13:19:26, 3] smbd/oplock.c:init_oplocks(862)
 open_oplock_ipc: initializing messages.
   [2007/08/20 13:19:26, 3]
  smbd/oplock_linux.c:linux_init_kernel_oplocks(260)
 Linux kernel oplocks enabled
   [2007/08/20 13:19:26, 3] smbd/process.c:process_smb(1110)
 Transaction 0 of length 137
   [2007/08/20 13:19:26, 3] smbd/process.c:switch_message(914)
 switch message SMBnegprot (pid 30689) conn 0x0
   [2007/08/20 13:19:26, 3] smbd/sec_ctx.c:set_sec_ctx(241)
 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
   [2007/08/20 13:19:26, 3] smbd/negprot.c:reply_negprot(487)
 Requested protocol [PC NETWORK PROGRAM 1.0]
   [2007/08/20 13:19:26, 3] smbd/negprot.c:reply_negprot(487)
 Requested protocol [LANMAN1.0]
   [2007/08/20 13:19:26, 3] smbd/negprot.c:reply_negprot(487)
 Requested protocol [Windows for Workgroups 3.1a]
   [2007/08/20 13:19:26, 3] smbd/negprot.c:reply_negprot(487)
 Requested protocol [LM1.2X002]
   [2007/08/20 13:19:26, 3] smbd/negprot.c:reply_negprot(487)
 Requested protocol [LANMAN2.1]
   [2007/08/20 13:19:26, 3] smbd/negprot.c:reply_negprot(487)
 Requested protocol [NT LM 0.12]
   [2007/08/20 13:19:26, 3] smbd/negprot.c:reply_nt1(357)
 using SPNEGO
   [2007/08/20 13:19:26, 3] smbd/negprot.c:reply_negprot(580)
 Selected protocol NT LM 0.12
   [2007/08/20 13:19:26, 3] smbd/process.c:process_smb(1110)
 Transaction 1 of length 282
   [2007/08/20 13:19:26, 3] smbd/process.c:switch_message(914)
 switch message SMBsesssetupX (pid 30689) conn 0x0
   [2007/08/20 13:19:26, 3] smbd/sec_ctx.c:set_sec_ctx(241)
 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
   [2007/08/20 13:19:26, 3] smbd/sesssetup.c:reply_sesssetup_and_X(849)
 wct=12 flg2=0xc807
   [2007/08/20 13:19:26, 2] smbd/sesssetup.c:setup_new_vc_session(799)
 setup_new_vc_session: New VC == 0, if NT4.x compatible we would
  close all
   old resources.
   [2007/08/20 13:19:26, 3]
  smbd/sesssetup.c:reply_sesssetup_and_X_spnego(660)
 Doing spnego session setup
   [2007/08/20 13:19:26, 3]
  smbd/sesssetup.c:reply_sesssetup_and_X_spnego(691)
 NativeOS=[Windows Server 2003 R2 3790 Service Pack 1]
  NativeLanMan=[]
   PrimaryDomain=[Windows Server 2003 R2 5.2]
   [2007/08/20 13:19:26, 3] smbd/sesssetup.c:reply_spnego_negotiate(551)
 Got OID 1 3 6 1 4 1 311 2 2 10
   [2007/08/20 13:19:26, 3] smbd/sesssetup.c:reply_spnego_negotiate(554)
 Got secblob of size 40
   [2007/08/20 13:19:26, 3] libsmb/ntlmssp.c:debug_ntlmssp_flags(63)
 Got NTLMSSP neg_flags=0xe2088297
   [2007/08/20 13:19:26, 3] smbd/process.c:process_smb(1110)
 Transaction 2 of length 408
   [2007/08/20 13:19:26, 3] smbd/process.c:switch_message(914)
 switch message SMBsesssetupX (pid 30689) conn 0x0
   [2007/08/20 13:19:26, 3] smbd/sec_ctx.c:set_sec_ctx(241)
 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
   [2007/08/20 13:19:26, 3] smbd/sesssetup.c:reply_sesssetup_and_X(849)
 wct=12 flg2=0xc807
   [2007/08/20 13:19:26, 2] smbd/sesssetup.c:setup_new_vc_session(799)
 setup_new_vc_session: New VC == 0, if NT4.x compatible we would
  close all
   old resources.
   [2007/08/20 13:19:26, 3]
  smbd/sesssetup.c:reply_sesssetup_and_X_spnego(660)
 Doing spnego session setup
   [2007/08/20 13:19:26, 3]
  smbd/sesssetup.c:reply_sesssetup_and_X_spnego(691)
 NativeOS=[Windows Server 2003 R2 3790 Service Pack 1]
  NativeLanMan=[]
   PrimaryDomain=[Windows Server 2003 R2 5.2]
   [2007/08/20 13:19:26, 3] libsmb/ntlmssp.c:ntlmssp_server_auth(672)
 Got user=[root] domain=[ARCH-SERVER] workstation=[ARCH-SERVER]
  len1=24
   len2=24
 
  When mounting in Linux, I found I had to use -o lfs at the end to get
  around the 2GB limit.  But I don't know from a Windows client.
 
 
  --
  Sincerely,
  Derek
 
  --
  To unsubscribe from this list go

[Samba] Samba 18GB file Transfer

2007-08-21 Thread Brad C
Hello Guys,

Having a bit of trouble transferring an 18GB file for backup purposes to a
Samba Server. I think the 2GB limit issue was resolved a long time ago?
Running Version:
Version 3.0.23c-SerNet-SuSE

The error on the windows client side ( this is done in some type of bat
script )
file creation error the network connection was aborted by the local system.

tailing the samba logs, I think the part in bold is where things go wrong,
though i cant find anything on it. Any advice would be really welcome:

[2007/08/20 13:13:20, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(691)
  NativeOS=[Windows Server 2003 R2 3790 Service Pack 1] NativeLanMan=[]
PrimaryDomain=[Windows Server 2003 R2 5.2]
[2007/08/20 13:13:20, 3] libsmb/ntlmssp.c:ntlmssp_server_auth(672)
  Got user=[root] domain=[ARCH-SERVER] workstation=[ARCH-SERVER] len1=24
len2=24
[2007/08/20 13:19:26, 3] smbd/oplock.c:init_oplocks(862)
  open_oplock_ipc: initializing messages.
[2007/08/20 13:19:26, 3] smbd/oplock_linux.c:linux_init_kernel_oplocks(260)
  Linux kernel oplocks enabled
[2007/08/20 13:19:26, 3] smbd/process.c:process_smb(1110)
  Transaction 0 of length 137
[2007/08/20 13:19:26, 3] smbd/process.c:switch_message(914)
  switch message SMBnegprot (pid 30689) conn 0x0
[2007/08/20 13:19:26, 3] smbd/sec_ctx.c:set_sec_ctx(241)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2007/08/20 13:19:26, 3] smbd/negprot.c:reply_negprot(487)
  Requested protocol [PC NETWORK PROGRAM 1.0]
[2007/08/20 13:19:26, 3] smbd/negprot.c:reply_negprot(487)
  Requested protocol [LANMAN1.0]
[2007/08/20 13:19:26, 3] smbd/negprot.c:reply_negprot(487)
  Requested protocol [Windows for Workgroups 3.1a]
[2007/08/20 13:19:26, 3] smbd/negprot.c:reply_negprot(487)
  Requested protocol [LM1.2X002]
[2007/08/20 13:19:26, 3] smbd/negprot.c:reply_negprot(487)
  Requested protocol [LANMAN2.1]
[2007/08/20 13:19:26, 3] smbd/negprot.c:reply_negprot(487)
  Requested protocol [NT LM 0.12]
[2007/08/20 13:19:26, 3] smbd/negprot.c:reply_nt1(357)
  using SPNEGO
[2007/08/20 13:19:26, 3] smbd/negprot.c:reply_negprot(580)
  Selected protocol NT LM 0.12
[2007/08/20 13:19:26, 3] smbd/process.c:process_smb(1110)
  Transaction 1 of length 282
[2007/08/20 13:19:26, 3] smbd/process.c:switch_message(914)
  switch message SMBsesssetupX (pid 30689) conn 0x0
[2007/08/20 13:19:26, 3] smbd/sec_ctx.c:set_sec_ctx(241)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2007/08/20 13:19:26, 3] smbd/sesssetup.c:reply_sesssetup_and_X(849)
  wct=12 flg2=0xc807
[2007/08/20 13:19:26, 2] smbd/sesssetup.c:setup_new_vc_session(799)
  setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all
old resources.
[2007/08/20 13:19:26, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(660)
  Doing spnego session setup
[2007/08/20 13:19:26, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(691)
  NativeOS=[Windows Server 2003 R2 3790 Service Pack 1] NativeLanMan=[]
PrimaryDomain=[Windows Server 2003 R2 5.2]
[2007/08/20 13:19:26, 3] smbd/sesssetup.c:reply_spnego_negotiate(551)
  Got OID 1 3 6 1 4 1 311 2 2 10
[2007/08/20 13:19:26, 3] smbd/sesssetup.c:reply_spnego_negotiate(554)
  Got secblob of size 40
[2007/08/20 13:19:26, 3] libsmb/ntlmssp.c:debug_ntlmssp_flags(63)
  Got NTLMSSP neg_flags=0xe2088297
[2007/08/20 13:19:26, 3] smbd/process.c:process_smb(1110)
  Transaction 2 of length 408
[2007/08/20 13:19:26, 3] smbd/process.c:switch_message(914)
  switch message SMBsesssetupX (pid 30689) conn 0x0
[2007/08/20 13:19:26, 3] smbd/sec_ctx.c:set_sec_ctx(241)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2007/08/20 13:19:26, 3] smbd/sesssetup.c:reply_sesssetup_and_X(849)
  wct=12 flg2=0xc807
[2007/08/20 13:19:26, 2] smbd/sesssetup.c:setup_new_vc_session(799)
  setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all
old resources.
[2007/08/20 13:19:26, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(660)
  Doing spnego session setup
[2007/08/20 13:19:26, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(691)
  NativeOS=[Windows Server 2003 R2 3790 Service Pack 1] NativeLanMan=[]
PrimaryDomain=[Windows Server 2003 R2 5.2]
[2007/08/20 13:19:26, 3] libsmb/ntlmssp.c:ntlmssp_server_auth(672)
  Got user=[root] domain=[ARCH-SERVER] workstation=[ARCH-SERVER] len1=24
len2=24
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] VFS recyclebin module exclude directory

2007-08-21 Thread Brad C
Hi There,

The Samba VFS recyclebin works brilliantly, though I need to exclude certain
directories from the recyclebin as they are cleared out and re-created
nightly. This means that in no time im scrambling for space, ive tried the
recycle:exclude_dir = syntax as below with both the full path and the path
visible at share level and both arent excluding, is there something basic im
missing?

[EMAIL PROTECTED]
comment = Document share
path = /data
create mask = 0770
writeable = yes
guest ok = yes
hide files = /Recycle Bin/*
veto files = /Recycle Bin/*
delete veto files = no
vfs objects = recycle
recycle:repository = Recycle Bin/%U
recycle:directory_mode = 0770
recycle:keeptree = Yes
recycle:touch_mtime = Yes
recycle:versions = Yes
recycle:maxsize = 0
recycle:exclude_dir = /data/SOFTWARE/BACKUPS,/SOFTWARE/BACKUPS

on another note, for those of you that want to clear out their recyclebin
files older than X days, you might find this script useful.

#!/bin/bash
# deletes only files older than 60 days
find /data/Recycle\ Bin/ -type f -mtime +60 | xargs rm


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