Re: [Samba] dbcheck

2012-03-14 Thread Matthieu Patou

On 03/14/2012 03:31 AM, sandy.napo...@eccmg.cupet.cu wrote:

Hello list, somebody can helpe, my problem is when I run this command
./samba-tool dbcheck

Checking 6205 objects
ERROR: missing backlink attribute 'memberOf' in CN=Sandy,OU=Administrador
de Red,OU=Comercializadora,OU=CUPET,DC=eccmg,DC=cupet,DC=cu for link
member in CN=SHARE\0ADEL:ddacaf41-c14f-4e7c-8606-704eec753a4f,CN=Deleted
Objects,DC=eccmg,DC=cupet,DC=cu
Not fixing missing backlink memberOf
ERROR: missing backlink attribute 'memberOf' in
CN=openfire,OU=Administrador de
Red,OU=Comercializadora,OU=CUPET,DC=eccmg,DC=cupet,DC=cu for link member
in CN=SHARE\0ADEL:ddacaf41-c14f-4e7c-8606-704eec753a4f,CN=Deleted
Objects,DC=eccmg,DC=cupet,DC=cu
Not fixing missing backlink memberOf
Please use --fix to fix these errors
Checked 6205 objects (2 errors)

PD: when I run --fix nothing happened.
What mean it, what can I do?
Well it's a bit expected that it will fail as the object where you try 
to rebuild  is deleted.


I'm currious to understand how you end up in this situation, what is 
your samba4 version when did you remove the group ?


In theory the error will go away when the group is completely removed 
(180 days after its deletion by default).


Matthieu.

--
Matthieu Patou
Samba Team
http://samba.org

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


Re: [Samba] Samba wbinfo error message "Could not get info for user xxxxxx"

2012-03-14 Thread kartheek katakam
Hi Dale,

I haven't seen anything being updated in the log file under  /var/log --
[log.smbd, log.winbindd] when I tried to run these commands in parallel.
Any particular log file do you want me have look into to ??

in /etc/samba/smb.conf file I updated it with following lines for idmap

workgroup = TEST

realm = TEST.LAB.COM

server string = Samba Server Version %v

security = ADS

password server = TEST.LAB.COM

log file = /var/log/samba/log.%m

max log size = 50

idmap backend = nss

idmap uid = 1-2

idmap gid = 1-2

template homedir = /home/%U

template shell = /bin/bash

winbind separator = +

winbind cache time = 10

winbind enum users = Yes

winbind enum groups = Yes

winbind use default domain = Yes

winbind nss info = rfc2307

idmap config TEST:schema_mode = rfc2307

idmap config TEST:range = 1-2

idmap config TEST:default = yes

idmap config TEST:backend = ad

cups options = raw

Thanks,
Kartheek.

On Wed, Mar 14, 2012 at 3:01 PM, Dale Schroeder <
d...@briannassaladdressing.com> wrote:

> What error messages are you getting in the logs, and which idmap backend
> are you using?
>
> Dale
>
>
>
> On 03/14/2012 12:33 PM, kartheek katakam wrote:
>
>> Thanks Bernd,
>>
>> but it was helpfull, I restarted the winbind service I still see the same
>> issue.
>>
>>
>>
>> On Wed, Mar 14, 2012 at 1:06 PM, Bernd Markgraf
>> **wrote:
>>
>>  Hi,
>>>
>>> I've seen the same error today. Had to restart winbindd (after running
>>> for like 200days). That made things work nicely again.
>>>
>>>  Bernd
>>>
>>> On Wed, 2012-03-14 at 12:28 -0400, kartheek katakam wrote:
>>>
 Hi Everyone,

 I am running into this issue, when I integrated linux host to AD using
 samba.
 when I run wbinfo -u it is listing all AD users.
 but when I pick any one of the user from o/p of previous command and ran
 webinfo -i for the user I am getting this error message, any idea ??

 #wbinfo -i xx
 Could not get info for user xx
 # rpm -qa | grep samba
 samba-3.5.10-114.el6.x86_64
 samba-common-3.5.10-114.el6.**x86_64
 samba-client-3.5.10-114.el6.**x86_64
 samba-winbind-clients-3.5.10-**114.el6.x86_64
 samba-winbind-3.5.10-114.el6.**x86_64
 #

 Thanks,

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


Re: [Samba] Samba wbinfo error message "Could not get info for user xxxxxx"

2012-03-14 Thread Dale Schroeder
What error messages are you getting in the logs, and which idmap backend 
are you using?


Dale


On 03/14/2012 12:33 PM, kartheek katakam wrote:

Thanks Bernd,

but it was helpfull, I restarted the winbind service I still see the same
issue.



On Wed, Mar 14, 2012 at 1:06 PM, Bernd Markgraf
wrote:


Hi,

I've seen the same error today. Had to restart winbindd (after running
for like 200days). That made things work nicely again.

  Bernd

On Wed, 2012-03-14 at 12:28 -0400, kartheek katakam wrote:

Hi Everyone,

I am running into this issue, when I integrated linux host to AD using
samba.
when I run wbinfo -u it is listing all AD users.
but when I pick any one of the user from o/p of previous command and ran
webinfo -i for the user I am getting this error message, any idea ??

#wbinfo -i xx
Could not get info for user xx
# rpm -qa | grep samba
samba-3.5.10-114.el6.x86_64
samba-common-3.5.10-114.el6.x86_64
samba-client-3.5.10-114.el6.x86_64
samba-winbind-clients-3.5.10-114.el6.x86_64
samba-winbind-3.5.10-114.el6.x86_64
#

Thanks,




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


[Samba] max path length - ExcludeProfileDirs not sufficient - temporary profile

2012-03-14 Thread Stefan Bauer
Good evening dear users and developers,

I'm using samba 3.5.6 on Debian Squeeze as Domain-Controller for several 
Windows XP clients. Config below.

One user installed a software with settings in C:\documents and 
settings\martin\.vkbstandalone/.metadata/.plugins/de.vkb.standalone.tomcat/work/catalina/localhost/eba_standalone_web/org/apache/jsp/jsp/composite/angebot/angebot
 zum versicherungsnehmer/html/angaben zum versicherungsn

Indeed quite a long path so i expected problems and used a patch to not sync 
this specific folder .vkbstandalone to the server ...

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USERSoftwareMicrosoftWindows NTCurrentVersionWinlogon]
"ParseAutoexec"="1"
"ExcludeProfileDirs"="Lokale Einstellungen;Temporary Internet 
Files;Verlauf;Temp;.vkbstandalone"
"BuildNumber"=dword:0a28

That works - this path is not synced. Now the strange part:

Even though this path is not synced, windows complains about it cannot find the 
path and serves a temporary profile - WHY?!

This path is locally available.

snippets from config:

domain logons = Yes
workgroup = FSH

[netlogon]
comment = Network Logon Service
path = /home/samba/netlogon
browseable = No

[profiles]
comment = Users profiles
path = /home/samba/profiles
read only = No
create mask = 0600
directory mask = 0700
guest ok = Yes
browseable = No

I would really appreciate any hints and ideas.

Regards

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


Re: [Samba] Samba wbinfo error message "Could not get info for user xxxxxx"

2012-03-14 Thread kartheek katakam
Thanks Bernd,

but it was helpfull, I restarted the winbind service I still see the same
issue.



On Wed, Mar 14, 2012 at 1:06 PM, Bernd Markgraf
wrote:

> Hi,
>
> I've seen the same error today. Had to restart winbindd (after running
> for like 200days). That made things work nicely again.
>
>  Bernd
>
> On Wed, 2012-03-14 at 12:28 -0400, kartheek katakam wrote:
> > Hi Everyone,
> >
> > I am running into this issue, when I integrated linux host to AD using
> > samba.
> > when I run wbinfo -u it is listing all AD users.
> > but when I pick any one of the user from o/p of previous command and ran
> > webinfo -i for the user I am getting this error message, any idea ??
> >
> > #wbinfo -i xx
> > Could not get info for user xx
> > # rpm -qa | grep samba
> > samba-3.5.10-114.el6.x86_64
> > samba-common-3.5.10-114.el6.x86_64
> > samba-client-3.5.10-114.el6.x86_64
> > samba-winbind-clients-3.5.10-114.el6.x86_64
> > samba-winbind-3.5.10-114.el6.x86_64
> > #
> >
> > Thanks,
>
>
>
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Samba wbinfo error message "Could not get info for user xxxxxx"

2012-03-14 Thread Bernd Markgraf
Hi,

I've seen the same error today. Had to restart winbindd (after running
for like 200days). That made things work nicely again.

  Bernd

On Wed, 2012-03-14 at 12:28 -0400, kartheek katakam wrote:
> Hi Everyone,
> 
> I am running into this issue, when I integrated linux host to AD using
> samba.
> when I run wbinfo -u it is listing all AD users.
> but when I pick any one of the user from o/p of previous command and ran
> webinfo -i for the user I am getting this error message, any idea ??
> 
> #wbinfo -i xx
> Could not get info for user xx
> # rpm -qa | grep samba
> samba-3.5.10-114.el6.x86_64
> samba-common-3.5.10-114.el6.x86_64
> samba-client-3.5.10-114.el6.x86_64
> samba-winbind-clients-3.5.10-114.el6.x86_64
> samba-winbind-3.5.10-114.el6.x86_64
> #
> 
> Thanks,


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


[Samba] Samba wbinfo error message "Could not get info for user xxxxxx"

2012-03-14 Thread kartheek katakam
Hi Everyone,

I am running into this issue, when I integrated linux host to AD using
samba.
when I run wbinfo -u it is listing all AD users.
but when I pick any one of the user from o/p of previous command and ran
webinfo -i for the user I am getting this error message, any idea ??

#wbinfo -i xx
Could not get info for user xx
# rpm -qa | grep samba
samba-3.5.10-114.el6.x86_64
samba-common-3.5.10-114.el6.x86_64
samba-client-3.5.10-114.el6.x86_64
samba-winbind-clients-3.5.10-114.el6.x86_64
samba-winbind-3.5.10-114.el6.x86_64
#

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


[Samba] dbcheck

2012-03-14 Thread sandy . napoles
Hello list, somebody can helpe, my problem is when I run this command
./samba-tool dbcheck

Checking 6205 objects
ERROR: missing backlink attribute 'memberOf' in CN=Sandy,OU=Administrador
de Red,OU=Comercializadora,OU=CUPET,DC=eccmg,DC=cupet,DC=cu for link
member in CN=SHARE\0ADEL:ddacaf41-c14f-4e7c-8606-704eec753a4f,CN=Deleted
Objects,DC=eccmg,DC=cupet,DC=cu
Not fixing missing backlink memberOf
ERROR: missing backlink attribute 'memberOf' in
CN=openfire,OU=Administrador de
Red,OU=Comercializadora,OU=CUPET,DC=eccmg,DC=cupet,DC=cu for link member
in CN=SHARE\0ADEL:ddacaf41-c14f-4e7c-8606-704eec753a4f,CN=Deleted
Objects,DC=eccmg,DC=cupet,DC=cu
Not fixing missing backlink memberOf
Please use --fix to fix these errors
Checked 6205 objects (2 errors)

PD: when I run --fix nothing happened.
What mean it, what can I do?
thanks


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


Re: [Samba] Robocopy from Windows to Samba (3.6.3) with backup flag

2012-03-14 Thread Vincent Miszczak
I have done further investigations about non backup mode ACL copy failure and 
I'm pretty sure backup mode failure is related to what I found.

The problem happens on XFS but not on Ext4.

I've been decomposing all ACL attribution with C# client source code, and was 
able to find exactly where the mess happens.

The test is simple :
Create a new directory on the destination
Foreach ACE in source ACL, copy ACE

Failure occurs at the 31st ACE (in Windows GUI). Whatever the ACE is (user, 
permission, right) or the tool used (code or Windows GUI) , it is impossible to 
add a new one. I get "The parameter is incorrect".

At the point of faillure, extended attributes are : 
security.NTACL=0sAwADAgAEAAIAAQCFe2P/a3WyjlERw8jwpQr5sD0CT7MhEbSoBinyXSc7gQABAASNZHQAhAECAAAWAQABAgAAFgIAAgDsAx4AABgA/wEfAAECAAAFICACAyQAvwETAAEFAAAFFQAAAHgAbR9SqshoB+U7K94EAyQAvwETAAEFAAAFFQAAAHgAbR9SqshoB+U7Kz0FAyQAvwETAAEFAAAFFQAAAHgAbR9SqshoB+U7K14FAyQAqQASAAEFAAAFFQAAAHgAbR9SqshoB+U7K5AFAyQAvwETAAEFAAAFFQAAAHgAbR9SqshoB+U7K9EFAyQAqQASAAEFAAAFFQAAAHgAbR9SqshoB+U7K7IIAyQAvwETAAEFAAAFFQAAAHgAbR9SqshoB+U7K8cIAyQAqQASAAEFAAAFFQAAAHgAbR9SqshoB+U7K+cJAyQA/wEfAAEFAAAFFQAAAHgAbR9SqshoB+U7K0YLAyQAvwETAAEFAAAFFQAAAHgAbR9SqshoB+U7K2MLAyQAqQASAAEFAAAFFQAAAHgAbR9SqshoB+U7K3ELAyQA/wEfAAEFAAAFFQAAAHgAbR9SqshoB+U7K48LAyQAqQASAAEFAAAFFQAAAHgAbR9SqshoB+U7K0AMAyQA/wEfAAEFAAAFFQAAAHgAbR9SqshoB+U7K1cMAyQAvwETAAEFAAAFFQAAAHgAbR9SqshoB+U7K4MNAyQA/wEfAAEFAAAFFQAAAHgAbR9SqshoB+U7K9AOAyQA/wEfAAEFAAAFFQAAAHgAbR9SqshoB+U7K/gOAyQA/wEfAAEFAAAFFQAAAHgAbR9SqshoB+U7K/kOAyQA/wEfAAEFAAAFFQAAAHgAbR9SqshoB+U7K/sOAyQA/wEfAAEFAAAFFQAAAHgAbR9SqshoB+U7K5YPAyQA/wEfAAEFAAAFFQAAAHgAbR9SqshoB+U7K94WAyQA/wEfAAEFAAAFFQAAAHgAbR9SqshoB+U7K/oWAyQA/wEfAAEFAAAFFQAAAHgAbR9SqshoB+U7Kx0XAyQA/wEfAAEFAAAFFQAAAHgAbR9SqshoB+U7KwUeEBgA/wEfAAECAAAWAQAAGxQA/wEfAAEBAAADAAAQGACpABIAAQIAABYCAAAbFACpABIAAQEAAAMBABMUAKkAEgABAQAAAQA=

And Linux ACL has 50 entries.

On Ext4, a successful ACL copy gives :

security.NTACL=0sAwADAgAEAAIAAQDCvZs3JTPb5mk5sCjyLjy5osfckFiBIttFGaZfUShSgQABAASNZHQAhAECAAAWAQABAgAAFgIAAgCUBzgAABgA/wEfAAECAAAFICACAyQA/wEfAAEFAAAFFQAAAHgAbR9SqshoB+U7K/QBAyQA/wEfAAEFAAAFFQAAAHgAbR9SqshoB+U7KwcCAyQAvwETAAEFAAAFFQAAAHgAbR9SqshoB+U7K94EAyQAvwETAAEFAAAFFQAAAHgAbR9SqshoB+U7Kz0FAyQAvwETAAEFAAAFFQAAAHgAbR9SqshoB+U7K14FAyQAqQASAAEFAAAFFQAAAHgAbR9SqshoB+U7K5AFAyQAvwETAAEFAAAFFQAAAHgAbR9SqshoB+U7K6MFAyQAvwETAAEFAAAFFQAAAHgAbR9SqshoB+U7K6UFAyQAvwETAAEFAAAFFQAAAHgAbR9SqshoB+U7K9EFAyQAqQASAAEFAAAFFQAAAHgAbR9SqshoB+U7K7IIAyQAvwETAAEFAAAFFQAAAHgAbR9SqshoB+U7K8cIAyQAvwETAAEFAAAFFQAAAHgAbR9SqshoB+U7K+IIAyQAvwETAAEFAAAFFQAAAHgAbR9SqshoB+U7K3cJAyQAqQASAAEFAAAFFQAAAHgAbR9SqshoB+U7K+cJAyQAqQASAAEFAAAFFQAAAHgAbR9SqshoB+U7KwULAyQAqQASAAEFAAAFFQAAAHgAbR9SqshoB+U7KwYLAyQAqQASAAEFAAAF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QA/wEfAAEFAAAFFQAAAHgAbR9SqshoB+U7Kx0XAyQA/wEfAAEFAAAFFQAAAHgAbR9SqshoB+U7K20XAyQAvwETAAEFAAAFFQAAAHgAbR9SqshoB+U7K88YAyQAvwETAAEFAAAFFQAAAHgAbR9SqshoB+U7K6IaAyQAqQASAAEFAAAFFQAAAHgAbR9SqshoB+U7K8YdAyQAqQASAAEFAAAFFQAAAHgAbR9SqshoB+U7K/gdAyQA/wEfAAEFAAAFFQAAAHgAbR9SqshoB+U7KwUeEBgA/wEfAAECAAAWAQAAGxQA/wEfAAEBAAADAAAQGACpABIAAQIAABY

Re: [Samba] follow symlinks + allow insecure wide links

2012-03-14 Thread frank schwarz
Hi,

i simply missed the parameter "wide links = yes". everything fine now.

frank

 Original-Nachricht 
> Datum: Mon, 12 Mar 2012 16:05:23 +0100
> Von: "frank schwarz" 
> An: samba@lists.samba.org
> Betreff: [Samba] follow symlinks + allow insecure wide links

> Hi List,
> 
> i did a fresh  3.6.3 installation and have a problem with symlinks:
> 
> a look in the logfiles shows:
> 
> doing parameter follow symlinks = yes
> doing parameter allow insecure wide links = yes
> doing parameter unix extensions = no
> 
> but when i try to access a symlink the log message is:
> 
> check_reduced_name: Bad access attempt: link-test/desktop.ini is a symlink
> outside the share path
> 
> i thought my parameter set would allow following symlinks pointing
> somewhere outside the share path?
> 
> regards
> 
> frank
> -- 
> Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
> belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba

-- 
NEU: FreePhone 3-fach-Flat mit kostenlosem Smartphone!  

Jetzt informieren: http://mobile.1und1.de/?ac=OM.PW.PW003K20328T7073a
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba